Caffeine stimulates the respiratory system and can increase the muscle tone of the airway, yet the research on whether it meaningfully changes the course of obstructive sleep apnea in adults is surprisingly thin. The clearest medical use of caffeine for breathing disorders is in premature infants, where it is the standard drug for treating pauses in breathing. For adults with sleep apnea, the picture is muddier: caffeine does not appear to reduce the severity of the condition, and the way it disrupts deep sleep may actually work against the restful sleep that people with sleep apnea desperately need.
How Caffeine Acts on Breathing
Caffeine belongs to a class of compounds called methylxanthines, which work primarily by blocking adenosine receptors in the brain and body. Adenosine is a chemical that accumulates during waking hours and promotes sleepiness, but it also plays a role in regulating breathing. By blocking adenosine’s action, caffeine increases the sensitivity of the brainstem’s respiratory centers, making them more responsive to carbon dioxide buildup in the blood. The result is a mild boost to respiratory drive: breathing becomes slightly faster and more regular after a dose of caffeine.
Animal research has shown that caffeine exposure upregulates adenosine receptors in brainstem regions that control heart rate and breathing, and increases activity in those areas as measured by markers of neural activation.1Elsevier / Experimental Neurology. Neonatal caffeine treatment up-regulates adenosine receptors in brainstem and hypothalamic cardio-respiratory related nuclei of rat pups In practical terms, caffeine nudges the brain’s breathing control centers to work a bit harder.
There is also evidence that caffeine and related compounds affect the muscles that keep the upper airway open during sleep. A study in healthy adults found that a low dose of aminophylline, a close chemical relative of caffeine, increased the electrical activity of the nasal dilator muscles by roughly 87% without changing diaphragm activity.2Respiration Physiology. Low dose aminophylline selectively increases upper airway motor activity in normals The researchers suggested this selective boost to upper airway muscle tone might come from stimulation of the brain’s arousal systems. This is relevant because obstructive sleep apnea happens when those upper airway muscles relax too much during sleep, allowing the airway to collapse. In theory, a drug that keeps those muscles more active could help prevent obstruction.
The Gold Standard in Neonatal Medicine
The strongest evidence for caffeine as a breathing treatment comes from an entirely different population: premature babies. Infants born before about 34 weeks of gestation frequently experience apnea of prematurity, episodes where breathing stops for 20 seconds or more. Their brainstems are not yet mature enough to maintain a steady breathing rhythm, and caffeine has been the go-to treatment for decades.
Caffeine is effective in reducing these breathing pauses, cutting intermittent drops in blood oxygen, and helping premature infants come off mechanical ventilation sooner.3PubMed Central. Caffeine therapy in preterm infants A large trial involving nearly 2,000 premature infants found that those given caffeine were weaned off breathing support about a week earlier than those given a placebo, and fewer of them needed supplemental oxygen at 36 weeks.4PubMed. Caffeine therapy for apnea of prematurity A separate placebo-controlled study confirmed that caffeine citrate significantly reduced apnea episodes within days of treatment and was well tolerated.5PubMed. Caffeine citrate for the treatment of apnea of prematurity: a double-blind, placebo-controlled study
Caffeine also suppresses periodic breathing, a related pattern in premature infants where breathing alternates between normal and abnormally shallow for stretches of time. One study found caffeine reduced time spent in periodic breathing by about 91%, though it was less effective against prolonged apnea episodes compared with supplemental oxygen.6PubMed. Caffeine and supplemental oxygen effectively suppress periodic breathing with only minor effects during long episodes of apnoea in preterm infants This distinction matters: caffeine is better at preventing mild, rhythmic breathing irregularities than at rescuing longer breathing pauses once they are underway.
One reason caffeine works so well in premature infants is that their bodies clear the drug extremely slowly. The half-life of caffeine in a premature newborn can exceed 100 hours, compared to roughly 5 hours in a healthy adult.7PubMed. Pharmacokinetic profile of caffeine in the premature newborn infant with apnea Even at 35 weeks, the half-life remains around 87 hours, meaning caffeine can linger in a preterm infant’s system for days after the last dose.8Journal of Perinatology. Apnea of prematurity and caffeine pharmacokinetics: potential impact on hospital discharge This prolonged exposure keeps blood levels steady and helps maintain the respiratory stimulation. In adults, however, the drug washes out far more quickly, which limits how long any breathing benefits last.
Does Caffeine Help Adult Obstructive Sleep Apnea?
Given caffeine’s proven effect on infant breathing and its ability to boost upper airway muscle tone, you might expect it to help adults with obstructive sleep apnea. The evidence so far does not support that expectation. Two separate studies have looked at the relationship between caffeine intake and the severity of obstructive sleep apnea in adults and found essentially nothing.
A study evaluating patients who were being assessed for sleep-disordered breathing found no correlation between how much coffee, tea, or soft drinks they consumed and their apnea-hypopnea index, the standard measure of how many times per hour breathing is disrupted during sleep.9Journal of Caffeine Research. Evaluation of Caffeine Consumption in Subjects Undergoing Evaluation for Sleep Disordered Breathing Another study went further, measuring actual blood levels of caffeine rather than relying on self-reported consumption. It found that while people with obstructive sleep apnea had higher caffeine levels in their blood than control subjects, the caffeine itself was not associated with disease severity. Arousals during sleep were linked to having sleep apnea, but caffeine did not contribute to that association.10PubMed Central. Dysmetabolism and Sleep Fragmentation in Obstructive Sleep Apnea Patients Run Independently of High Caffeine Consumption
The finding that sleep apnea patients tend to have higher caffeine levels is worth pausing on. It likely reflects self-medication: people who sleep poorly reach for more coffee to get through the day, not the other way around. This is a common trap in observational studies of caffeine. You see a correlation between caffeine use and poor sleep, but the causal arrow often points from bad sleep to caffeine, not from caffeine to bad sleep. In the case of obstructive sleep apnea, the data suggest caffeine is a symptom of the problem rather than a contributor to it.
Why Caffeine’s Breathing Benefits Do Not Translate to Adults
There are several reasons the respiratory effects of caffeine that work so well in neonates do not meaningfully carry over to adult sleep apnea. The type of apnea differs. Apnea of prematurity is primarily central, meaning the brain intermittently fails to send the signal to breathe. Caffeine addresses this by stimulating the brainstem’s respiratory centers. Adult obstructive sleep apnea, by contrast, is largely a mechanical problem: the soft tissue of the throat collapses under gravity when the airway muscles relax during sleep. While caffeine can perk up those muscles to some degree, the effect is not powerful enough to counteract the physical forces in play, especially in people with anatomical risk factors like a narrow airway or excess tissue around the throat.
Pharmacokinetics also work against the idea. An adult metabolizes caffeine roughly 20 times faster than a premature infant. A cup of coffee consumed at dinner might boost your respiratory drive for a few hours, but by the middle of the night, most of the caffeine is gone. Sleep apnea events tend to worsen during the later sleep cycles, particularly during REM sleep, when muscle relaxation is most profound. By then, any airway-stiffening effect from caffeine consumed earlier in the evening has largely dissipated.
How Caffeine Disrupts Sleep Quality
Even if caffeine had a meaningful effect on preventing airway obstruction in adults, it would come with a significant trade-off: worse sleep quality. A systematic review and meta-analysis of caffeine’s effects on sleep found that caffeine increases the amount of light sleep by about 6 minutes while reducing deep sleep by about 11 minutes.11PubMed. The effect of caffeine on subsequent sleep: A systematic review and meta-analysis Those numbers may sound modest, but deep sleep is the stage that matters most for physical restoration, immune function, and clearing metabolic waste from the brain.
A detailed review of how caffeine affects brain wave patterns during sleep found that the most consistent effect is suppression of slow-wave activity, the signature electrical pattern of deep sleep. This suppression is especially strong during the first stretch of the night, when deep sleep normally peaks. In one study of late-middle-aged adults, a bedtime dose of caffeine cut deep sleep in the first three hours from about 66 minutes down to 38 minutes, a reduction of roughly 42%.12PubMed Central. The Caffeinated Brain Part 2: The Effect of Caffeine on Sleep-Related Electroencephalography (EEG)—A Systematic and Mechanistic Review Even doses as low as 100 milligrams, roughly one small cup of coffee, were enough to dampen slow-wave activity after sleep onset.
For someone with sleep apnea, this is a problem. Sleep apnea already fragments sleep and reduces time spent in deep, restorative stages. Adding caffeine to the mix could deepen that deficit. A person with untreated sleep apnea who drinks coffee to cope with daytime fatigue may inadvertently make their sleep lighter and less restorative, setting up a cycle where they need still more caffeine the next day.
The Tolerance and Withdrawal Angle
One wrinkle in all of this is tolerance. Regular caffeine users develop tolerance to many of the drug’s effects within days. A controlled study that gave participants caffeine three times daily for six days found that by the end of that period, they actually felt less alert than they did at the start, even though they were still receiving caffeine. When caffeine was then withdrawn, participants reported sleeping longer and more soundly.13Karger Publishers (“Neuropsychobiology”). Acute and Chronic Effects of Caffeine on Performance, Mood, Headache, and Sleep This suggests that chronic caffeine use may not be providing the alertness boost that regular users believe it is. After tolerance develops, much of the perceived benefit of the morning cup is simply relief from overnight withdrawal, not a genuine boost above baseline.
For someone with sleep apnea, this pattern is worth understanding. If you are a habitual caffeine user, your daily intake may not actually be helping you feel more awake so much as preventing you from feeling the withdrawal symptoms that set in during sleep. And the caffeine is still disrupting your sleep architecture in the background, even after tolerance to the alertness effects has developed. The respiratory stimulation from caffeine also likely diminishes with regular use, though this has been studied less directly in adults.
Genetic Differences in Caffeine Sensitivity
Not everyone responds to caffeine the same way, and genetics play a surprisingly large role in how much caffeine disrupts your sleep. The gene ADORA2A, which codes for one of the adenosine receptors caffeine blocks, has several common variants that influence caffeine sensitivity. A study of over 1,000 working adults found that certain variants of this gene were associated with nearly double the odds of sleep complaints and insomnia, while other variants appeared protective. Among people who consumed less than about 300 milligrams of caffeine per day (roughly three cups of coffee), the effect of these genetic variants on total sleep time and sleep quality was measurable and consistent.14PubMed Central. The Impact of Genetic Variations in ADORA2A in the Association between Caffeine Consumption and Sleep
This matters for sleep apnea patients because it means blanket advice about caffeine cutoff times may not apply equally to everyone. A person with a caffeine-sensitive genotype who also has sleep apnea is getting hit from two directions: their genetics make caffeine more disruptive to sleep, and their sleep apnea is already fragmenting whatever sleep they get. Someone with a less sensitive genotype might tolerate an afternoon coffee without measurable harm to their sleep. Since genetic testing for caffeine sensitivity is not standard practice, the practical takeaway is that if you have sleep apnea and notice that even moderate caffeine use seems to worsen your sleep, your genes may be part of the explanation.
Caffeine and Sleep in Children and Adolescents
Pediatric sleep apnea is common, often caused by enlarged tonsils or adenoids, and children are also increasingly heavy consumers of caffeine through energy drinks and soft drinks. A study comparing children and adolescents who regularly consumed caffeine with those who did not found striking differences. The caffeine-consuming group went to bed nearly an hour later, spent about 53 fewer minutes in bed, and showed lower brain wave power in the deep-sleep frequency range during the first two hours of sleep compared with the non-consuming group.15PubMed Central. Caffeine Consuming Children and Adolescents Show Altered Sleep Behavior and Deep Sleep
For a child who also has sleep apnea, these effects compound. Reduced deep sleep, later bedtimes, and shorter total sleep time all worsen the daytime consequences of sleep-disordered breathing, including trouble concentrating, mood problems, and behavior issues that can mimic attention deficit disorders. Parents of children with suspected or confirmed sleep apnea should pay particular attention to caffeine intake from sodas, energy drinks, tea, and chocolate, especially in the afternoon and evening.
When Caffeine Combines with Other Substances
Many people with untreated sleep apnea use not just caffeine but also nicotine, and the combination appears to be worse than either alone. A study of individuals with untreated obstructive sleep apnea found that those who both smoked and consumed caffeine had shorter sleep duration, took longer to fall asleep, spent more time in the lightest stage of sleep, and less time in stage 2 sleep compared with people who used only caffeine. The combined group also had nearly five times the odds of chronic pain.16PubMed Central. Nicotine, Alcohol, and Caffeine use Among Individuals With Untreated Obstructive Sleep Apnea
Nicotine, like caffeine, is a stimulant that can increase upper airway muscle tone in the short term but disrupts sleep architecture. When paired with caffeine in someone whose sleep is already broken by apnea events, the result is a sleep profile that skews heavily toward light, unrestorative sleep. If you have sleep apnea and are also a smoker who relies on caffeine, tackling one substance alone is less effective than addressing both. Alcohol, which is also common in this population, works in the opposite direction: it relaxes the airway muscles and can increase the frequency and duration of apneas. The interplay between these three substances and sleep apnea is worth discussing with a physician, since the net effect depends on the timing, dose, and combination.
Practical Guidance for Sleep Apnea Patients
If you have been diagnosed with obstructive sleep apnea, caffeine is unlikely to serve as any kind of treatment. The respiratory stimulation it provides is too weak, too short-lived, and too poorly targeted to overcome the mechanical airway collapse that defines the condition. The standard treatments, continuous positive airway pressure (CPAP), oral appliances, positional therapy, weight management, and in some cases surgery, address the root cause in ways caffeine simply cannot.
Where caffeine matters more is on the sleep quality side of the equation. Sleep apnea already robs you of deep sleep, and caffeine consumption, especially in the afternoon or evening, can make that deficit worse. The general recommendation of stopping caffeine at least six hours before bed is a reasonable starting point, but some people may need a longer buffer depending on their metabolism and genetics. Paying attention to how your sleep quality varies with caffeine timing is more useful than following a one-size-fits-all rule.
The cycle of poor sleep leading to more caffeine leading to poorer sleep is one of the most common traps for people with undiagnosed or undertreated sleep apnea. If you find yourself needing steadily increasing amounts of caffeine to function during the day, that pattern itself is a signal worth investigating. Excessive daytime sleepiness is one of the hallmark symptoms of obstructive sleep apnea, and treating the underlying apnea often reduces or eliminates the perceived need for caffeine, which in turn can improve sleep quality in a positive feedback loop.