Enduring memories of sensory cues associated with drug intake drive addiction. It is well known that stressful experiences increase addiction vulnerability. However, it is not clear how repeated stress promotes learning of cue-drug associations, as repeated stress generally impairs learning and memory processes unrelated to stressful experiences. Here, we show that repeated social defeat stress in rats causes persistent enhancement of long-term potentiation (LTP) of NMDA receptor-mediated glutamatergic transmission in the ventral tegmental area (VTA). Protein kinase A-dependent increase in the potency of inositol 1,4,5-triphosphate-induced Ca2+ signaling underlies LTP facilitation. Notably, defeated rats display enhanced learning of contextual cues paired with cocaine experience assessed using a conditioned place preference (CPP) paradigm. Enhancement of LTP in the VTA and cocaine CPP in behaving rats both require glucocorticoid receptor activation during defeat episodes. These findings suggest that enhanced glutamatergic plasticity in the VTA may contribute, at least partially, to increased addiction vulnerability following repeated stressful experiences. DOI: http://dx.doi.org/10.7554/eLife.15448.001, eLife digest Daily stress increases the likelihood that people who take drugs will become addicted. A very early step in the development of addiction is learning that certain people, places, or paraphernalia are associated with obtaining drugs. These ‘cues’ – drug dealers, bars, cigarette advertisements, etc. – become powerful motivators to seek out drugs and can trigger relapse in recovering addicts. It is thought that learning happens when synapses (the connections between neurons in the brain) that relay information about particular cues become stronger. However, it is not clear how stress promotes the learning of cue-drug associations. Stelly et al. investigated whether repeated episodes of stress make it easier to strengthen synapses on dopamine neurons, which are involved in processing rewards and addiction. For the experiments, rats were repeatedly exposed to a stressful situation – an encounter with an unfamiliar aggressive rat – every day for five days. Stelly et al. found that these stressed rats formed stronger associations between the drug cocaine and the place where they were given the drug (the cue). Furthermore, a mechanism that strengthens synapses was more sensitive in the stressed rats than in unstressed rats. These changes persisted for 10-30 days after the stressful situation, suggesting that stress might begin a period of time during which the individual is more vulnerable to addiction. The experiments also show that a hormone called corticosterone – which is released during stressful experiences – is necessary for stress to trigger the changes in the synapses and behavior of the rats. However, corticosterone must work with other factors because giving this hormone to unstressed rats was not sufficient to trigger the changes seen in the stressed rats. Future experiments will investigate what these other stress factors are and how they work together with corticosterone. DOI: http://dx.doi.org/10.7554/eLife.15448.002