Stress and exposure to glucocorticoids (GC) during early life render individuals vulnerable to brain disorders by inducing structural and chemical alterations in specific neural substrates. Here we show that adult rats that had been exposed to in utero GCs (iuGC) display increased preference for opiates and ethanol, and are more responsive to the psychostimulatory actions of morphine. These animals presented prominent changes in the nucleus accumbens (NAcc), a key component of the mesolimbic reward circuitry; specifically, cell numbers and dopamine (DA) levels were significantly reduced, whereas DA receptor 2 (Drd2) mRNA expression levels were markedly upregulated in the NAcc. Interestingly, repeated morphine exposure significantly downregulated Drd2 expression in iuGC-exposed animals, in parallel with increased DNA methylation of the Drd2 gene. Administration of a therapeutic dose of L-dopa reverted the hypodopaminergic state in the NAcc of iuGC animals, normalized Drd2 expression and prevented morphine-induced hypermethylation of the Drd2 promoter. In addition, L-dopa treatment promoted dendritic and synaptic plasticity in the NAcc and, importantly, reversed drug-seeking behavior. These results reveal a new mechanism through which drug-seeking behaviors may emerge and suggest that a brief and simple pharmacological intervention can restrain these behaviors in vulnerable individuals.