In this essay we sketch the role that the notion of habit has played in the work of pragmatist authors such as James, Peirce, and Dewey, and give an account of its ambivalent role in the development of psychology and of cognitive sciences from James’s introspectionism, through behaviorism and computationalism, up to 4E cognition and its rediscovery of a pragmatist action-oriented stance to cognition. We then investigate in the second section how the abandonment of the notion of habit in cognitive sciences in the second half of the twentieth century was paralleled by the adoption of a dualism between automatic routine and intelligent action and by an approach to cognition based on the notion of mental representation. This notion wa...