The rostromedial tegmental nucleus (RMTg), a structure located just posterior to the ventral tegmental area (VTA), is an important site involved in aversion processes. The RMTg contains γ-aminobutyric acid neurons responding to noxious stimuli, densely innervated by the lateral habenula and providing a major inhibitory projection to reward-encoding dopamine (DA) neurons in the VTA. Here, we studied how RMTg neurons regulate both spontaneous firing of DA cells and their response to the cannabinoid agonist WIN55212-2 (WIN), morphine, cocaine, and nicotine. We utilized single-unit extracellular recordings in anesthetized rats and whole-cell patch clamp recordings in brain slices to study RMTg-induced inhibition of DA cells and inhibitory postsynaptic currents (IPSCs) evoked by stimulation of caudal afferents, respectively. The electrical stimulation of the RMTg elicited a complete suppression of spontaneous activity in approximately half of the DA neurons examined. RMTg-induced inhibition correlated with firing rate and pattern of DA neurons and with their response to a noxious stimulus, highlighting that inhibitory inputs from the RMTg strongly control spontaneous activity of DA cells. Both morphine and WIN depressed RMTg-induced inhibition of DA neurons in vivo and IPSCs evoked by RMTg stimulation in brain slices with presynaptic mechanisms. Conversely, neither cocaine nor nicotine modulated DA neuron responses to RMTg stimulation. Our results further support the role of the RMTg as one of the main inhibitory afferents to DA cells and suggest that cannabinoids and opioids might disinhibit DA neurons by profoundly influencing synaptic responses evoked by RMTg activation.