Obesity hypoventilation syndrome is diagnosed in obese patients (BMI ≥30 kg/m2) with awake hypercapnia (PaCO2 >45 mm Hg) and no other cause of hypoventilation. It is evaluated with blood gases, chest x-ray, pulmonary function tests, thyroid function tests, and polysomnography. Treatment involves nocturnal positive pressure ventilation as first-line, weight loss through bariatric surgery if needed, avoiding sedatives, and using respiratory stimulants only as a last resort.