 Sleep apnea is often diagnosed with an overnight sleep study.For a diagnosis of sleep apnea, more than five episodes per hour must occur.Treatment may include lifestyle changes, mouthpieces, breathing devices, and surgery.