Consciousness can be defined by two major attributes: awareness of environment and self, and arousal, which reflects the level of awareness. The return of arousal after general anesthesia presents an experimental tool for probing the neural mechanisms that control consciousness. Here we have identified that systemic or intracerebral injection of the cannabinoid CB1 receptor (CB1R) antagonist AM281 into the dorsomedial nucleus of the hypothalamus (DMH) — but not the adjacent perifornical area (Pef) or the ventrolateral preoptic nucleus of the hypothalamus (VLPO) — accelerates arousal in mice recovering from general anesthesia. Anesthetics selectively activated endocannabinoid (eCB) signaling at DMH glutamatergic but not GABAergic synapses, leading to suppression of both glutamatergic DMH-Pef and GABAergic DMH-VLPO projections. Deletion of CB1R from widespread cerebral cortical or prefrontal cortical (PFC) glutamatergic neurons, including those innervating the DMH, mimicked the arousal-accelerating effects of AM281. In contrast, CB1R deletion from brain GABAergic neurons or hypothalamic glutamatergic neurons did not affect recovery time from anesthesia. Inactivation of PFC-DMH, DMH-VLPO, or DMH-Pef projections blocked AM281-accelerated arousal, whereas activation of these projections mimicked the effects of AM281. We propose that decreased eCB signaling at glutamatergic terminals of the PFC-DMH projection accelerates arousal from general anesthesia through enhancement of the excitatory DMH-Pef projection, the inhibitory DMH-VLPO projection, or both.