How does the brain encode memories? We think learning occurs by changes in the strength of synaptic connections between neurons, but the precise mechanisms by which this synaptic plasticity occurs is often unknown.