This study shows that overexpression of Ngb in mice significantly attenuates cognitive and behavioral deficits induced by long-term exposures to intermittent hypoxia modeling sleep apnea. Here, NGB is linked to sleep apnea syndrome.