Our Services
Medical Information
Helpful Resources
Published on: 5/5/2026
Repeated nighttime gasping can point to either obstructive sleep apnea, which features loud snoring, choking arousals, and daytime sleepiness, or anxiety-driven panic attacks marked by palpitations, intense fear, and rapid breathing without snoring. Distinguishing between them matters since treatments range from CPAP, weight loss, and positional therapy for sleep apnea to cognitive behavioral therapy, relaxation exercises, and medications for anxiety.
There are several factors to consider, so see below for more details on symptoms, diagnosis, treatment options, and next steps.
Waking up gasping for air can be alarming. You might wonder whether it's a sign of sleep apnea or simply nighttime anxiety. Understanding the differences, recognizing the key symptoms, and knowing what steps to take can help you get the answers and relief you need.
Everyone experiences occasional breathlessness in their sleep—maybe you rolled onto your back and felt a bit stuffed up. But when gasping for air happens repeatedly, it could point to an underlying issue:
Two common causes are obstructive sleep apnea (OSA) and nighttime anxiety or panic attacks. Although they can feel similar, each has distinct features and treatments.
Obstructive sleep apnea is a condition where the airway repeatedly narrows or closes during sleep. This leads to brief pauses in breathing (apneas) and abrupt awakenings to restart airflow.
Key signs of sleep apnea include:
Why it happens:
Health risks if untreated:
Anxiety can also cause you to wake up gasping for air. Unlike OSA, anxiety-driven gasps often come with intense fear or panic even when you're already asleep.
Common features of nighttime anxiety:
Why it happens:
Health impacts if unaddressed:
While both conditions can cause you to wake up gasping for air, these distinguishing factors can help clarify which you might be dealing with:
| Feature | Sleep Apnea | Nighttime Anxiety |
|---|---|---|
| Breathing pattern | Pauses followed by loud gasping/snorting | Rapid, shallow breathing without snoring |
| Sensation at awakening | Choking or suffocating | Overwhelming fear or panic |
| Daytime symptoms | Heavy sleepiness, morning headaches | Persistent worry, difficulty focusing |
| Risk factors | Obesity, large neck, male gender, older age | High stress, history of anxiety/panic disorders |
| Sleep partner reports | Loud snoring, witnessed apneas | Restlessness, repeated awakenings but quiet |
Keep a Sleep Diary
Talk to a Sleep Partner
Assess Your Sleep Environment
Monitor Stress and Anxiety
Check Your Symptoms Online
If you're experiencing repeated episodes of gasping for air at night along with snoring or daytime fatigue, take Ubie's free AI-powered Sleep Apnea Syndrome symptom checker to get personalized insights about your symptoms and understand whether you should pursue a professional sleep evaluation.
If your diary or symptom check points toward sleep apnea, your doctor may recommend:
Polysomnography (Sleep Study)
A night in a sleep lab monitors breathing, oxygen levels, heart rate, and brain waves.
Home Sleep Apnea Testing
A simplified version of a lab study you can take home for one or two nights.
For anxiety:
Psychological Assessment
Questionnaires or interviews to evaluate anxiety and stress levels.
Medical Review
Rule out other medical causes of nighttime awakenings (e.g., asthma, GERD).
Sleep Apnea Treatments:
Anxiety Treatments:
While occasional gasping can happen, certain warning signs deserve prompt evaluation:
If you experience any of these symptoms, call emergency services or go to the nearest emergency department.
Waking up gasping for air can stem from sleep apnea, anxiety, or other medical issues. Keeping track of your symptoms, talking to a partner or friend, and using tools like Ubie's free AI-powered Sleep Apnea Syndrome symptom checker can guide your next steps. Most importantly, discuss any persistent or frightening symptoms with a healthcare professional. Early diagnosis and treatment can greatly improve your sleep quality and overall health.
Speak to a doctor if you have concerns about your breathing, heart health, or mental well-being. Your nights—and days—can be calmer and more restorative with the right support.
(References)
* Kurepa D, Komatina D, Kostić M, Stajić Z, Kostić V. Anxiety disorders and sleep apnea: common comorbidity. Vojnosanit Pregl. 2017 Mar;74(3):284-288. doi: 10.2298/VSP1403284K. PMID: 28422177.
* Li Y, Ghassemi M, Jaffe D, Khass M, Singh V, Pincus P. Nocturnal Panic Attacks and Obstructive Sleep Apnea: A Review of the Literature. J Psychiatr Pract. 2021 Nov;27(6):499-506. doi: 10.1097/PRA.0000000000000593. PMID: 34789523.
* Maamra M, Al-Alawi M, Al-Zakwani I, Al-Adawi S. Anxiety versus Sleep Apnea: A Comprehensive Review of the Overlap and Differential Diagnosis. Sleep Breath. 2023 Dec;27(6):2005-2012. doi: 10.1007/s11325-023-02875-9. PMID: 37402636.
* Watenpaugh CR, Zuniga P, Lott L, Al-Zoubi R, Aljudi T, Alnouri M, Al-Zoubi RM. The Relationship Between Anxiety Disorders and Obstructive Sleep Apnea. Cureus. 2024 Mar 22;16(3):e56689. doi: 10.7759/cureus.56689. PMID: 38651034.
* Chen W, Huang K, Chang Y, Chen C, Su H, Lin C, Tsai Y. Obstructive sleep apnea and generalized anxiety disorder: A possible link? J Psychosom Res. 2015 Mar;78(3):284-9. doi: 10.1016/j.jpsychores.2014.12.003. PMID: 25524388.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.