The dorsal pons has long been implicated in the generation of rapid eye movement (REM) sleep, but the underlying circuit mechanisms remain poorly understood. Using cell-type-specific microendoscopic Ca(2+) imaging in and near the laterodorsal tegmental nucleus, we found that many glutamatergic neurons are maximally active during REM sleep (REM-max), while the majority of GABAergic neurons are maximally active during wakefulness (wake-max). Furthermore, the activity of glutamatergic neurons exhibits a medio-lateral spatial gradient, with medially located neurons more selectively active during REM sleep.