Whether emotional state affects the perception of outcomes, and the possible consequences of this interaction remain unclear. Here the authors use behavioural tests and brain imaging to study the bidirectional interaction between emotional state and learning in humans and find that this interaction may play a role in mood instability.