The type 1 cannabinoid receptor (CB1) modulates numerous neurobehavioral processes and is therefore explored as a target for the treatment of several mental and neurological diseases. However, previous studies have investigated CB1 by targeting it globally, regardless of its two main neuronal localizations on glutamatergic and GABAergic neurons. In the context of cocaine addiction this lack of selectivity is critical since glutamatergic and GABAergic neuronal transmission is involved in different aspects of the disease. To determine whether CB1 exerts different control on cocaine seeking according to its two main neuronal localizations, we used mutant mice with deleted CB1 in cortical glutamatergic neurons (Glu-CB1) or in forebrain GABAergic neurons (GABA-CB1). In Glu-CB1, gene deletion concerns the dorsal telencephalon, including neocortex, paleocortex, archicortex, hippocampal formation and the cortical portions of the amygdala. In GABA-CB1, it concerns several cortical and non-cortical areas including the dorsal striatum, nucleus accumbens, thalamic, and hypothalamic nuclei. We tested complementary components of cocaine self-administration, separating the influence of primary and conditioned effects. Mechanisms underlying each phenotype were explored using in vivo microdialysis and ex vivo electrophysiology. We show that CB1 expression in forebrain GABAergic neurons controls mouse sensitivity to cocaine, while CB1 expression in cortical glutamatergic neurons controls associative learning processes. In accordance, in the nucleus accumbens, GABA-CB1 receptors control cocaine-induced dopamine release and Glu-CB1 receptors control AMPAR/NMDAR ratio; a marker of synaptic plasticity. Our findings demonstrate a critical distinction of the altered balance of Glu-CB1 and GABA-CB1 activity that could participate in the vulnerability to cocaine abuse and addiction. Moreover, these novel insights advance our understanding of CB1 neuropathophysiology.