Diarrhea is not a common side effect of CPAP therapy, but it does appear on the list of gastrointestinal complaints reported by some users. The more typical culprit behind gut trouble during CPAP use is aerophagia, the medical term for swallowing air pushed into the esophagus and stomach by the machine’s pressurized airflow. That swallowed air can set off a cascade of abdominal symptoms that occasionally includes loose stools, even if bloating, gas, and belching are far more frequent. The relationship between CPAP and your digestive system turns out to involve more than just errant air, though, and understanding the full picture helps separate fixable annoyances from signs that something else is going on.
How a CPAP Machine Sends Air to Your Gut
A CPAP machine works by blowing a continuous stream of pressurized air through a mask into your upper airway, holding it open so you can breathe through the night without the repeated collapses that define obstructive sleep apnea. That air is meant for your lungs, but some of it inevitably finds its way down the esophagus instead. This is aerophagia, and it is one of the most recognized side effects of positive airway pressure therapy. The swallowed air inflates the stomach, and that gastric distension can trigger a chain reaction: it increases transient relaxations of the valve between the stomach and esophagus, which is the most common mechanism behind acid reflux.1PubMed Central. Symptoms of aerophagia are common in patients on continuous positive airway pressure therapy and are related to the presence of nighttime gastroesophageal reflux
Once your stomach and intestines are distended with excess air, the downstream effects can include cramping, abdominal pain, a heavy feeling of fullness, and increased passage of gas. In some people, the intestinal irritation and altered motility that come with all that trapped air translate into looser or more urgent bowel movements. Diarrhea in this context is usually not the watery, infectious kind but rather softer stools driven by the gut trying to move things along faster in response to distension and discomfort.
How Common Are Gut Symptoms With CPAP
A study of 753 patients on CPAP or BiPAP therapy in a sleep clinic found that about 7% developed aerophagia significant enough to be classified as a clinical problem. More than half of those patients reported discomfort, yet fewer than half mentioned it to their doctor.2PubMed. Prevalence of continuous positive airway pressure-related aerophagia in obstructive sleep apnea: an observational study of 753 cases undergoing CPAP/BiPAP treatment in a sleep clinic – part one of a two-part series That underreporting is a recurring theme in the research: many CPAP users assume stomach trouble is just something they have to live with, or they don’t connect it to the machine at all.
A questionnaire study that tracked gastrointestinal symptoms before and during CPAP use found that flatulence was the most bothersome symptom, with scores rising significantly once therapy began. Dry mouth also increased substantially. Interestingly, some gut symptoms actually improved with CPAP: heartburn and belching both decreased, suggesting that treating the sleep apnea itself has some protective effects on the upper digestive tract even while the pressurized air introduces new issues lower down.3PubMed Central. Gastrointestinal symptoms and CPAP-related aerophagia: A questionnaire study
Diarrhea specifically was included among the symptoms assessed in that study, sitting alongside bloating, nausea, abdominal pain, and loss of appetite as part of the recognized spectrum of CPAP-related gastrointestinal complaints.3PubMed Central. Gastrointestinal symptoms and CPAP-related aerophagia: A questionnaire study But it is not one of the leading complaints. If you are experiencing persistent, watery diarrhea after starting CPAP, the machine may not be the primary explanation, and it is worth looking at other causes.
Who Is Most at Risk for CPAP-Related Gut Problems
Not every CPAP user swallows significant amounts of air. The research points to a few factors that raise the odds. Higher CPAP pressure settings are one of the strongest predictors: each increment in pressure increases the likelihood of aerophagia. Having pre-existing gastroesophageal reflux disease (GERD) roughly doubles the risk. On the other hand, older age and higher body mass index were associated with lower aerophagia rates, which may seem counterintuitive but likely reflects differences in swallowing patterns and esophageal tone.2PubMed. Prevalence of continuous positive airway pressure-related aerophagia in obstructive sleep apnea: an observational study of 753 cases undergoing CPAP/BiPAP treatment in a sleep clinic – part one of a two-part series
Mouth breathing during sleep also seems to play a role, though the mechanics are debated. When you breathe through your mouth with a nasal mask on, you can create a circuit where air flows in through the nose and out through the mouth, sometimes redirecting pressurized air toward the esophagus. Full-face masks, which cover both the nose and mouth, can reduce this but may introduce their own aerophagia issues at higher pressures.
People who already have a sensitive gut, whether from irritable bowel syndrome, functional dyspepsia, or anxiety-related digestive issues, tend to notice CPAP-related gastrointestinal symptoms more acutely. Their threshold for discomfort from gastric distension is lower, so even modest amounts of swallowed air can produce noticeable symptoms.
Sleep Apnea Itself Disrupts Your Gut
Before blaming the CPAP machine for digestive trouble, it is worth considering that untreated sleep apnea takes its own toll on the gut. The repeated drops in blood oxygen that happen during apnea episodes, called intermittent hypoxia, have been shown to alter the composition of gut bacteria in animal studies. Mice exposed to intermittent hypoxia developed shifts in their microbiome, with increases in certain bacterial groups and decreases in others.4European Respiratory Journal. Intermittent hypoxia alters gut microbiota diversity in a mouse model of sleep apnoea While translating mouse findings directly to humans requires caution, the implication is that sleep apnea itself creates an intestinal environment that may predispose people to digestive symptoms.
The clinical data supports this connection. In a study comparing patients with confirmed sleep apnea to those without, the prevalence of irritable bowel syndrome was roughly three times higher in the sleep apnea group.5PubMed Central. Association of irritable bowel syndrome and sleep apnea in patients referred to sleep laboratory IBS involves chronic abdominal pain, bloating, and altered bowel habits including diarrhea, so for many people starting CPAP, the diarrhea they notice may have been developing before they ever put on a mask. They just start paying closer attention to their body once a new medical device enters their nightly routine.
The autonomic nervous system is a plausible bridge between the two conditions. Sleep apnea fragments the normal cycling between sympathetic (“fight or flight”) and parasympathetic (“rest and digest”) nervous system activity throughout the night. Since gut motility, secretion, and sensation are all under autonomic control, chronic disruption of that balance could easily manifest as bowel irregularity.
CPAP Treatment Can Actually Improve Bowel Symptoms
Here is where the story gets more encouraging. Research evaluating the effect of CPAP on IBS symptoms in people who have both conditions has found that sticking with CPAP therapy leads to meaningful improvements. One study measured IBS symptom severity scores after three and six months of CPAP treatment and found significant reductions at both time points.6ScienceDirect. Evaluating the impact of obstructive sleep apnea-hypopnea syndrome on irritable bowel syndrome The likely explanation is that by restoring normal oxygenation and sleep architecture, CPAP reduces the autonomic and inflammatory burden on the gut.
This creates a somewhat paradoxical situation for new CPAP users. In the first weeks, aerophagia-related symptoms like gas, bloating, and occasionally looser stools may be at their worst as you adjust to the therapy. But over the longer term, treating the sleep apnea can actually calm a previously irritable gut. If you are experiencing diarrhea in the first few weeks of CPAP use, it may be worth pushing through the adjustment period rather than abandoning therapy, particularly if you also have symptoms suggestive of IBS.
Lowering Pressure and Switching to Auto-Titrating Machines
Since higher pressure settings are a key driver of aerophagia, one of the most effective interventions is reducing the pressure your machine delivers. This needs to be done carefully, because the whole point of CPAP is to keep your airway open at a pressure high enough to prevent apneas. Dropping pressure too far defeats the purpose of therapy.
Auto-titrating positive airway pressure machines, often called APAP, offer a practical middle ground. Instead of blowing a fixed pressure all night, they adjust moment to moment based on what your airway needs. During lighter sleep stages or when you are on your side and your airway is more stable, the machine dials down; during deeper sleep or when you roll onto your back, it ramps up. A randomized crossover trial comparing APAP to fixed CPAP in patients with aerophagia symptoms found that APAP significantly reduced both the median and peak pressures delivered. More importantly, patients on APAP reported less bloating, less flatulence, and less belching, with no difference in how well the therapy controlled their sleep apnea.7PubMed Central. A Randomized Crossover Trial Comparing Autotitrating and Continuous Positive Airway Pressure in Subjects With Symptoms of Aerophagia: Effects on Compliance and Subjective Symptoms
If you are on a fixed-pressure CPAP and dealing with gut symptoms, asking your sleep specialist about switching to an auto-titrating machine is one of the first conversations worth having. Many modern home CPAP devices already have auto-titrating capability built in and just need the settings adjusted.
Other Practical Steps to Reduce Swallowed Air
Beyond pressure adjustments, several other strategies can help minimize aerophagia and its gastrointestinal consequences:
- Sleep position: Elevating the head of your bed slightly, or sleeping on your side rather than your back, can reduce the amount of pressurized air directed toward the esophagus. A wedge pillow is a simple way to achieve this.
- Mask fit: A poorly sealed mask leads to air leaks, which the machine compensates for by increasing pressure. That higher pressure increases aerophagia risk. Checking your mask fit regularly and replacing worn cushions makes a real difference.
- Ramp settings: Most CPAP machines have a ramp feature that starts at a lower pressure and gradually increases over 15 to 30 minutes as you fall asleep. Using this can reduce the amount of air you swallow while still awake and more prone to swallowing reflexes.
- Expiratory pressure relief: Many machines offer a feature (branded as EPR, C-Flex, or similar) that drops the pressure slightly when you exhale. This makes breathing against the machine feel more natural and can reduce the sensation that triggers air swallowing.
- Avoiding carbonated drinks and large meals before bed: If your stomach is already distended from food or gas when you start CPAP, the additional air from aerophagia compounds the problem.
When to Look Beyond the CPAP Machine
If you are experiencing true, persistent diarrhea, meaning frequent watery stools multiple times a day, it is unlikely that aerophagia alone is responsible. The gastrointestinal symptoms most directly linked to CPAP aerophagia are bloating, gas, a feeling of fullness, and belching. These reflect a stomach and upper intestine distended with air, not the kinds of changes in fluid secretion or inflammation that typically cause real diarrhea.
Persistent diarrhea after starting CPAP warrants thinking about a few other possibilities. Some CPAP users develop anxiety around their new therapy, and stress is a well-known trigger for IBS flares, including diarrhea-predominant IBS. A change in sleep schedule or routine can also shift bowel patterns temporarily. And of course, diarrhea that starts around the same time as CPAP may be completely coincidental, related to dietary changes, medication side effects, infections, or conditions like celiac disease or inflammatory bowel disease that happen to surface at the same time.
It is also worth noting that side effects in general weigh heavily on whether people stick with sleep apnea treatment. Survey research on patient preferences for sleep apnea therapies found that gastrointestinal symptoms were among the side effects with the most negative impact on how acceptable patients considered a treatment to be.8ScienceDirect. Patient-reported preferences for sleep apnoea treatments in an Australian community sample So if gut symptoms are pushing you toward abandoning CPAP, you are not alone in that reaction, but the evidence suggests that adjustments to pressure, machine type, or mask fit can resolve the problem for most people without giving up the therapy entirely.
The Underreporting Problem
One of the more striking findings in the aerophagia research is how rarely patients bring up their symptoms. In the large observational study mentioned earlier, fewer than half of patients experiencing CPAP-related aerophagia reported it to their physician.2PubMed. Prevalence of continuous positive airway pressure-related aerophagia in obstructive sleep apnea: an observational study of 753 cases undergoing CPAP/BiPAP treatment in a sleep clinic – part one of a two-part series This matters because the fixes are often straightforward, a pressure adjustment, a switch to APAP, a different mask, but they require your sleep clinician to know the problem exists.
Part of the issue is that follow-up appointments for CPAP users tend to focus on adherence data and residual apnea numbers pulled from the machine’s memory card. Questions about stomach symptoms, bowel changes, or nighttime reflux are not always part of the standard conversation. If you are noticing digestive changes that started with CPAP, raising them yourself is the fastest path to a solution. Sleep medicine clinicians deal with aerophagia regularly and have a toolkit of adjustments to try, but they need you to tell them it is happening.
Gut Microbiome Changes and Long-Term Effects
The relationship between sleep-disordered breathing and the gut microbiome is still in its early stages of investigation, but the direction of the findings is consistent. Animal models show that the intermittent drops in oxygen characteristic of sleep apnea shift the balance of gut bacteria in ways associated with inflammation and metabolic dysfunction.4European Respiratory Journal. Intermittent hypoxia alters gut microbiota diversity in a mouse model of sleep apnoea Whether CPAP therapy reverses those microbiome changes in humans is an open question that researchers are actively pursuing.
What we do know is that CPAP improves the downstream consequences of sleep apnea’s gut disruption: IBS symptom severity goes down with consistent use, and the autonomic nervous system dysfunction that links poor sleep to poor digestion gradually normalizes.6ScienceDirect. Evaluating the impact of obstructive sleep apnea-hypopnea syndrome on irritable bowel syndrome For someone who started CPAP and noticed loose stools, the realistic trajectory is that aerophagia-related symptoms tend to peak early and then stabilize or improve as you find the right settings, while any pre-existing gut dysfunction from untreated sleep apnea should slowly get better the longer you stay on therapy. That is not a guarantee that every digestive complaint will resolve, but it is a solid reason to work on optimizing the therapy rather than walking away from it.