Auto-titrating CPAP (APAP) using algorithms based on detection of flow limitation and snoring have been developed. Auto-titration devices adjust nasal pressure to the minimum pressure needed to maintain airway patency at any point in time and can accommodate a range of background states that affect airway collapsibility and hence CPAP pressure requirement including sedation, alcohol, airway inflammation, body position and sleep state.