Drug seeking is associated with the ventral tegmental area (VTA) dopaminergic (DA) activity. Previously, we have shown that brief optogenetic inhibition of VTA DA neurons with 1s pulses delivered every 9s attenuates cocaine seeking under extinction conditions in rats without producing overt signs of dysphoria or locomotor sedation. Whether recruitment of neuronal pathways inhibiting VTA neuronal activity would suppress drug seeking remains unknown. Here, we asked if optogenetic stimulation of the lateral habenula (LHb) efferents in the rostromedial tegmental nucleus (RMTg) as well as RMTg efferents in VTA would reduce drug seeking. To investigate this, we measured how recruitment of elements of this inhibitory pathway affects cocaine seeking in male rats under extinction conditions. The effectiveness of brief optogenetic manipulations was confirmed electrophysiologically at the level of electrical activity of VTA DA neurons. Real-time conditioned place aversion (RT-CPA) and open field tests were performed to control for potential dysphoric/sedating effects of brief optogenetic stimulation of LHb-RMTg-VTA circuitry. Optogenetic stimulation of either RMTg or LHb inhibited VTA DAergic neuron firing, whereas similar stimulation of RMTg efferents in VTA or LHb efferents in RMTg reduced cocaine seeking under extinction conditions. Moreover, stimulation of LHb-RMTg efferents produced an effect that was maintained 24 h later, during cocaine seeking test without stimulation. This effect was specific, as brief optogenetic stimulation did not affect locomotor activity and was not aversive. Our results indicate that defined inhibitory pathways can be recruited to inhibit cocaine seeking, providing potential new targets for non-pharmacological treatment of drug craving.