Sleep apnea and nightmares can occur together, and some studies have reported fewer nightmares after treatment for obstructive sleep apnea (OSA). However, a bad dream does not diagnose sleep apnea, and nightmares have several possible causes.

If frightening dreams keep waking you, affect your day or make you reluctant to sleep, discuss them with a healthcare professional. Mention breathing symptoms too, rather than assuming that one explanation accounts for everything.
What does the research actually show?
A study published in Sleep Medicine examined patients with diagnosed OSA and nightmares and followed their experience with CPAP. It reported improvement in nightmare occurrence with treatment. This supports investigating sleep-disordered breathing when appropriate; it does not show that every nightmare is caused by OSA.
A separate retrospective study involved 69 veterans with both post-traumatic stress disorder (PTSD) and OSA. Nightmare frequency decreased after CPAP treatment. Because these participants had both conditions and the study reviewed medical records, the findings should not be presented as a universal prediction for people with occasional bad dreams.
Why might sleep and dreams change?
OSA interrupts breathing during sleep and can cause repeated arousals. Researchers have explored how sleep disruption relates to dream recall and distressing dreams. The relationship is not simple enough to diagnose low oxygen, a hormone change or a specific sleep stage from the content of a dream.
A dream about choking is therefore not a home test for OSA. Describe any actual waking symptoms or witnessed breathing interruptions separately from the story you remember dreaming.
Other explanations need consideration
Nightmares can be associated with stress, anxiety, traumatic experiences, sleep deprivation and medicines. Royal Papworth Hospital also notes that vivid dreams can occur with other sleep disorders. A clinical conversation helps decide which possibilities are relevant.
Do not stop prescribed medication yourself if nightmares began after a change. Tell the prescriber when they started and ask whether the medicine could be contributing.
When to mention sleep apnea
Tell a healthcare professional if nightmares occur alongside loud recurring snoring, witnessed breathing pauses, choking or gasping during sleep, or marked daytime sleepiness. These symptoms may justify assessment for a breathing disorder.
Our guide to snoring signs that need assessment explains why the wider symptom pattern matters. Nightmares alone are not enough to identify the cause.
If you already use CPAP
Continue prescribed treatment and tell your sleep service about persistent nightmares or difficulties using the equipment. Improvement in dreams can be useful to report, but neither improvement nor persistence tells you by itself whether OSA is controlled.
CPAP treats the diagnosed breathing problem. Ongoing nightmares may need separate assessment or treatment, particularly when trauma or significant distress is involved. Avoid changing machine settings or adding sleep medicines without appropriate advice.
Prepare a useful account for your appointment
- Note approximately how often nightmares occur and whether you wake remembering them.
- Record how they affect sleep and daily life.
- List recent medicine changes and relevant stressors you feel comfortable discussing.
- Describe any witnessed breathing pauses, gasping or daytime sleepiness.
- If you use CPAP, mention comfort, usage problems and follow-up arrangements.
A short record is enough to start a discussion. You do not need to interpret your dreams or buy a monitoring device first.
Sources and further reading
- Study: OSA patients with nightmares and response to CPAP
- Study: CPAP and nightmares in veterans with PTSD and OSA
- Royal Papworth Hospital: Vivid dreams or nightmares
- NHS: Night terrors and nightmares
Editorial review: 2 October 2026. Published by TannerMedico A/S, the manufacturer of Asonor. General information, not a substitute for individual medical advice.
