Nucleus accumbens neurons serve to integrate information from cortical and limbic regions to direct behaviour. Addictive drugs are proposed to hijack this system, enabling drug-associated cues to trigger relapse to drug seeking. However, the connections affected and proof of causality remain to be established. Here we use a mouse model of delayed cue-associated cocaine seeking with ex vivo electrophysiology in optogenetically delineated circuits. We find that seeking correlates with rectifying AMPA (α-amino-3-hydroxy-5-methyl-4-isoxazole propionic acid) receptor transmission and a reduced AMPA/NMDA (N-methyl-D-aspartate) ratio at medial prefrontal cortex (mPFC) to nucleus accumbens shell D1-receptor medium-sized spiny neurons (D1R-MSNs). In contrast, the AMPA/NMDA ratio increases at ventral hippocampus to D1R-MSNs. Optogenetic reversal of cocaine-evoked plasticity at both inputs abolishes seeking, whereas selective reversal at mPFC or ventral hippocampus synapses impairs response discrimination or reduces response vigour during seeking, respectively. Taken together, we describe how information integration in the nucleus accumbens is commandeered by cocaine at discrete synapses to allow relapse. Our approach holds promise for identifying synaptic causalities in other behavioural disorders.