The experience of controlling our own actions is an important feature of human mental life. The processes giving rise to this experience are thought to be disrupted in some psychiatric disorders. In this article, Haggard describes recent developments in our understanding of the cognitive processes and neural mechanisms underlying the sense of agency.