The molecular targets of anaesthetics and the neuronal mechanisms through which they induce reversible loss of consciousness have been long-standing mysteries. This Review discusses the most important anaesthetic targets and the implications of the latest imaging studies, which show that there are striking similarities between anaesthetic-induced loss of consciousness and deep sleep.