The disclosed embodiments relate to a system and method for titration of airway pressure in the treatment of hypoventilation. An exemplary method comprises examining both a signal indicative of ventilation of a patient and a signal indicative of oxygen saturation of the patient to determine a condition of hypoventilation, and applying a pressure to the nasal passage of the patient if the condition of hypoventilation is identified.