In rats, opioids produce analgesia in large part by their effects on two cell populations in the medullary raphe magnus (RM). To extend our mechanistic understanding of opioid analgesia to the genetically tractable mouse, we characterized behavioral reactions and RM neural responses to opioid administration. d-Ala(2), N-Me-Phe(4)-Gly(5)ol-enkephalin, a mu-opioid receptor agonist, microinjected into the murine RM produced cardiorespiratory depression and reduced slow wave electroencephalographic activity as well as increased the noxious heat-evoked withdrawal latencies. As in rat, RM cell types that were excited and inhibited by noxious stimuli, termed on and off cells, respectively, were observed in mice. However, in contrast to findings in rat, opioid doses that suppressed withdrawals did not alter the background discharge rate of murine on and off cells, suggesting that the cellular mechanisms by which the murine RM generates opioid analgesia are substantially different from those in rats. Murine on cell discharge did not predict the latency or magnitude of an ensuing withdrawal but did correlate to the magnitude and latency of concurrent withdrawals. Although opioids failed to alter the background discharge of on and off cells, they reduced the responses of RM neurons to noxious stimulation, further evidence that RM modulates on-going withdrawals. In characterizing the role of RM in respiratory modulation, we found that on cells burst and off cells paused during tachypneic events. The effects of opioids in the murine RM on homeostasis and the association of on and off cell discharge with tachypnea corroborate roles for opioid signaling in RM beyond analgesia.