Sleep Apnea Gave Me Migraines—CPAP Stopped Them Overnight

Rewind to 2014, and I started waking up with severe headaches and migraines that would make me vomit.

sleep apnea migraine headaches

They weren’t just bad headaches. These were crushing migraines that forced me to lie in a completely dark room for an entire day before I felt better. The pain was so intense I’d vomit, then lie there in the darkness, waiting for it to pass.

I had met my future wife by this point, and she watched me go through this over and over. Days lost to lying in bed with the curtains drawn, unable to move without triggering another wave of nausea. I’m honestly surprised she married me.

At the time, I had no idea these crushing migraine headaches were connected to my loud snoring. I’d been a loud snorer for years—loud enough that back in 2001, someone in an Australian hostel yelled out, “Hey mate, do you realize how bloody loud you snore?” I didn’t even stay another night. I spent more money on a hotel room just to avoid embarrassing myself again.

But when I finally got tested and found out I had severe obstructive sleep apnea with an AHI of 51, everything suddenly made sense.

The migraines weren’t random. They were a direct result of my brain being starved of oxygen night after night, hour after hour. Fifty-one times per hour, to be exact.

Here’s how sleep apnea causes migraine headaches, what happened when I started CPAP therapy, and how the migraines stopped the very first morning I used it.


Can Sleep Apnea Cause Migraines? My Experience Says Yes

Yes—absolutely. And I’m living proof.

Before I knew I had sleep apnea, I just thought I was someone who got bad migraines. There wasn’t a clear pattern I could identify. They’d just hit me, seemingly out of nowhere, and destroy my entire day.

I didn’t connect the dots between my loud snoring and waking up with crushing headaches.

The Medical Connection

Here’s what was actually happening to me every night:

When you have sleep apnea, your breathing stops repeatedly throughout the night. In my case, with an AHI (Apnea-Hypopnea Index) of 51, I was stopping breathing 51 times per hour. Almost once every single minute, all night long.

When the test results came back showing that number, I was shocked. My wife insisted I get tested, but I don’t think either of us expected it to be that severe.

To put it in perspective:

  • Mild sleep apnea: AHI 5-15
  • Moderate: AHI 15-30
  • Severe: AHI 30+
  • Mine: 51 (well into severe territory)

Each time your breathing stops, your brain isn’t getting the oxygen it needs. This triggers:

  • Blood vessel dilation in your brain
  • Increased carbon dioxide levels
  • Disrupted sleep stages that prevent proper recovery
  • Inflammation

All of these contribute to morning headaches and migraines. Your brain is essentially suffocating over and over, and when you wake up, it’s screaming at you with pain.

My Migraines Were Getting Progressively Worse

Looking back now, I can see how the migraines escalated over the years.

I’d been a loud snorer since my younger years, but the migraines didn’t start until later. When they first began, I might get one every couple of weeks. Annoying, but manageable.

But by the time my wife convinced me to get tested, these migraines were happening multiple times per week. Some weeks I’d lose two or three days to lying in a dark room.

I tried over-the-counter painkillers. They barely touched the pain. Nothing seemed to help—I’d just have to wait for the migraine to pass on its own.

Nobody—not me, not my doctors—had suggested that my snoring and my migraines might be connected. If someone had made that connection earlier, I could have avoided years of suffering.


What My Sleep Apnea Migraine Headaches Felt Like

Let me be specific about what I was dealing with, because if you’re reading this article searching for answers, you might be experiencing something similar.

The Pattern:

Almost every morning, I’d wake up with a headache already starting. Sometimes it was just at the back of my head, a dull throb. Other times it felt like pressure building behind my eyes.

Within an hour or two of waking up, it would escalate into a full-blown migraine.

The pain was intense. Debilitating. The kind of pain that makes you feel sick to your stomach.

And then I would vomit.

What I Had to Do:

Once a migraine hit, there was only one option: complete darkness and silence.

I’d have to:

  • Close all the curtains and blinds
  • Lie completely still in bed
  • No noise, no light, no movement
  • Sometimes for an entire day
  • Cancel whatever plans I had

My wife would check on me, but there was nothing she could do. I just had to wait it out.

The Impact on My Life

These migraines were taking over my life.

I was losing days—sometimes multiple days per week—to lying in a dark room. I couldn’t make plans with confidence because I never knew when a migraine would hit. Social events, work commitments, even simple things like going out for dinner—everything was uncertain.

My wife was understandably worried. She could see how much I was suffering, and she knew this couldn’t continue. That’s why she insisted I get tested.

The worst part? I had no idea why this was happening to me. I just thought I was someone who got terrible migraines. Bad luck, bad genes, who knows.


Getting Diagnosed: My AHI Was 51

When my wife insisted I get a sleep study done, I’ll be honest—I was skeptical. What would a sleep test tell me about my migraines?

But she was right to push me. She always is.

I ordered a home sleep study test, wore the device for one night, and sent it back for analysis.

When the results came back, I was absolutely shocked.

I had severe obstructive sleep apnea with an AHI of 51.

Fifty-one. Times. Per. Hour.

That meant that every single hour I was asleep, my breathing stopped 51 times. More than once per minute, my body was panicking because it wasn’t getting oxygen.

Suddenly, everything made sense.

The loud snoring that had embarrassed me in that Australian hostel years ago? Sleep apnea.

The morning headaches that turned into crushing migraines? My brain being starved of oxygen all night long.

The constant fatigue I’d been feeling? I wasn’t actually sleeping properly—I was suffocating.

My sleep specialist explained it to me: When you stop breathing, your brain doesn’t get oxygen. Blood vessels dilate, carbon dioxide builds up, and inflammation occurs. Do that 51 times an hour, every night, and you wake up with a migraine.

It wasn’t bad luck. It wasn’t genetics. It was sleep apnea.

And there was a solution.


My First Night with CPAP (And the Rocky Start)

My sleep specialist told me the treatment was a CPAP machine—a device that would keep my airways open by delivering continuous positive air pressure through a mask.

CPAP stands for Continuous Positive Airway Pressure.

When the machine arrived and I unpacked it, I looked at this mask and thought, “How the heck am I going to sleep with this thing on my face?”

It’s one thing to be told about CPAP. It’s another to actually put it on and realize you’re going to sleep like this every night for the rest of your life.

The First Night Was Rough

I put on the ResMed F20 full face mask, turned on my ResMed AirSense 10, and tried to sleep.

It felt like a tornado blowing into my mouth.

I pulled the mask off. Put it back on. Pulled it off again. Put it back on.

I managed to get some sleep, but it was fitful. And when I woke up the next morning, something felt wrong.

My heart felt strained. Like it had been working too hard all night.

The Adjustment That Changed Everything

I went back to the sleep center and told them about the heart strain and the uncomfortable pressure.

They adjusted the settings, reducing the air pressure slightly.

That night was completely different. Far more comfortable. I could actually sleep.

And here’s the thing that surprised me: I took to CPAP like a duck to water.

Most people struggle for weeks or months to adjust to CPAP therapy. They fight with masks, deal with leaks, wake up multiple times, and some even give up entirely.

Not me. Once they got the pressure right, I was fine.

Maybe it was because the migraines had been so bad that sleeping with a mask seemed like a small price to pay. Or maybe I was just lucky. But after that pressure adjustment, CPAP just worked for me.


How CPAP Stopped My Migraine Headaches—Immediately

Here’s the part that still amazes me: the migraines stopped immediately.

Not gradually. Not over weeks or months.

Immediately.

The very first morning after sleeping with CPAP—once they’d adjusted the pressure properly—I woke up without a headache.

After years of waking up with that dull throb that would escalate into a crushing migraine, I woke up, and my head felt… normal.

No pain. No pressure building behind my eyes. No nausea. No dread about the day being destroyed.

Just… nothing. Normal.

I remember lying there in bed, waiting for the headache to start. Waiting for that familiar sensation. But it never came.

My AHI Dropped Overnight

The data from my CPAP machine told the story. My AHI—which had been 51 during my sleep study—dropped to under 2 that very first night.

That meant instead of stopping breathing 51 times per hour, I was barely stopping at all. The CPAP was keeping my airways open, oxygen was flowing to my brain, and my body could finally rest properly.

And just like that, the migraines were gone.

Ten Years Later: Still Migraine-Free

It’s been 10 years now since I started CPAP therapy.

I still use the same type of mask—the ResMed F20 full face mask. I’m on my second ResMed AirSense machine (the bearings went on the first one after about 5 years and it started making a loud howling noise, so I had to replace it).

And in those 10 years, I haven’t had a single one of those crushing migraines that used to destroy my life.

No more vomiting. No more days lost to lying in a dark room. No more canceling plans because a migraine hit.

I check my myAir app every morning and see my AHI consistently under 4. My sleep quality is good. And I wake up feeling rested instead of in pain.

The relief was immediate, and it’s lasted for a decade.

CPAP literally saved my life—or at the very least, gave me my life back.


Why My Migraines Stopped So Quickly

I’ve talked to other CPAP users over the years, and many experienced gradual improvement with their symptoms. Headaches got less frequent, less severe, then eventually disappeared.

Mine stopped on day one.

I think there are a few reasons why:

1. My migraines were directly caused by oxygen deprivation

Some people’s migraines have multiple triggers—stress, diet, hormones, weather. Mine were purely from sleep apnea. When the oxygen deprivation stopped, the migraines stopped.

2. CPAP worked immediately for me

Once they adjusted the pressure, my AHI dropped from 51 to under 4 right away. There was no gradual adaptation period where my body was still struggling. It just… worked.

3. I adapted to CPAP easily

Unlike many people who struggle for weeks or months with mask leaks, discomfort, and waking up throughout the night, I took to CPAP like a duck to water. I slept through the night with the mask on, and my body got the oxygen it desperately needed.

The combination of all three meant immediate relief.

If your symptoms don’t improve immediately, don’t worry—that’s actually more common. Many people see gradual improvement over weeks or months. But for me, the relief was instant and dramatic.


Could Your Headaches Be From Sleep Apnea?

If you’re reading this and thinking “that sounds like me,” here are the signs I wish I’d recognized earlier.

Common Symptoms I Had:

Loud snoring – People had been telling me for years that I snored incredibly loudly

Morning headaches – Almost every morning, I’d wake up with a headache starting

Migraines that got progressively worse – They escalated from occasional to multiple times per week

Extreme daytime fatigue – I was always tired, even after “sleeping” all night

No clear trigger for the migraines – They seemed random, not related to diet, stress, or anything else

What You Should Do:

If you’re experiencing morning headaches or migraines along with loud snoring, please talk to your doctor about sleep apnea.

1. Get a sleep study

I did a home sleep test, which was convenient and less expensive than an in-lab study. The results came back quickly and gave me a definitive diagnosis.

2. Don’t wait

My migraines got progressively worse over time. The longer I waited, the more my quality of life deteriorated. And untreated sleep apnea doesn’t just cause migraines—it increases your risk of heart disease, stroke, and other serious health conditions.

3. Give CPAP a real chance

I know the idea of sleeping with a mask sounds intimidating. When I first saw my CPAP machine, I thought the same thing.

But after years of suffering with migraines, sleeping with a mask is nothing. It’s a small adjustment for a massive improvement in quality of life.

And in my case, the migraines stopped the very first morning. The relief was immediate.


Living with CPAP After 10 Years

I won’t lie to you—CPAP does require some adjustment and daily maintenance.

My Daily Routine:

Every morning, I clean my mask with warm water and a tiny spot of detergent, then dry it. I rinse and dry the humidifier chamber. It takes maybe 5 minutes.

Once a week, I rinse the air hose and flick the dust out of the filter.

Every 6-12 months, I replace the mask cushion because the seal eventually stretches and starts to leak.

Is it annoying? Sometimes. But you know what’s more annoying? Vomiting from a migraine and losing an entire day to lying in a dark room.

The Trade-Off:

Yes, I sleep with a mask on my face every single night.

Of course, I have to pack my CPAP machine when I travel (though I’ve gotten good at this—check out my CPAP travel tips).

Yes, there’s daily cleaning and maintenance involved.

But I also:

  • Don’t get migraines anymore
  • Sleep through the night
  • Wake up feeling rested
  • Can make plans without worrying about a migraine ruining them
  • Am not at increased risk of heart disease and stroke from untreated sleep apnea

It’s not even close. CPAP is 100% worth it.

My Current Setup:

After 10 years, here’s what I’m using:

I’ve never needed to switch masks or try different styles. The F20 has worked perfectly for me from day one.


The Connection Between Snoring and Migraines

Looking back, I can see the progression clearly now.

In 2001, I was already a loud snorer. Loud enough to get kicked out of that Australian hostel. But I wasn’t getting migraines yet—or at least not frequently enough to be a major problem.

Over the next 10 years, my sleep apnea must have been getting worse. The snoring got louder (according to my wife), and the migraines started and escalated.

By 2011, I was in full crisis mode. Multiple migraines per week, vomiting, days lost to lying in darkness.

If I had known that loud snoring was a warning sign of sleep apnea—and that sleep apnea causes migraines—I could have been treated years earlier.

That’s why I’m sharing my story. If you’re a loud snorer and you’re getting frequent headaches or migraines, please get tested. The connection might seem random, but it’s very real.


Why Some People Adapt to CPAP Easily (And Others Struggle)

I mentioned earlier that I took to CPAP like a duck to water. Once they adjusted my pressure, I was fine.

I think there are a few reasons why:

1. My symptoms were so bad

When you’ve been suffering with crushing migraines that make you vomit, wearing a mask at night seems like a very small price to pay. I was motivated.

2. I found the right mask immediately

The ResMed F20 full face mask worked for me from day one. I’ve never needed to try a different mask in 10 years. Some people struggle for months trying different masks—I just got lucky.

3. They adjusted my pressure quickly

After that first rough night when my heart felt strained, the sleep center reduced my pressure and it was immediately more comfortable. If they hadn’t been responsive, I might have struggled more.

4. I saw results immediately

That first morning without a headache? That was all the motivation I needed. When you get immediate relief from years of suffering, you’ll do whatever it takes to keep using CPAP.

If you’re struggling with CPAP, don’t give up. Work with your doctor or sleep clinic to adjust settings, try different masks, and give it time. The payoff is worth it.


Frequently Asked Questions

Can sleep apnea cause migraines?

Yes, sleep apnea can absolutely cause migraines. When I had an AHI of 51, I was getting severe migraines multiple times per week that made me vomit and forced me to lie in a dark room for entire days. The repeated oxygen deprivation from sleep apnea triggers blood vessel dilation and inflammation in the brain, which causes migraine headaches. Once I started CPAP therapy and my airways stayed open, the migraines stopped immediately—literally the first morning after proper treatment.

Can sleep apnea cause migraine headaches every morning?

Yes. Before I was diagnosed, I was waking up with headaches almost every single morning, and many would escalate into full migraines by mid-morning. This happens because sleep apnea causes the most oxygen deprivation during the night, and you wake up with the accumulated effects—headache, nausea, and sometimes a full migraine. CPAP therapy stopped my morning headaches completely on day one.

How long after starting CPAP did your migraines stop?

The migraines stopped immediately—literally the first morning after I started using CPAP with the correct pressure setting. After years of waking up with headaches that would turn into crushing migraines, I woke up that first morning and felt… normal. No pain. No pressure. Nothing. My AHI dropped from 51 to under 4 overnight, and with proper oxygen flow to my brain, the migraines just stopped. Ten years later, I still haven’t had one of those crushing migraines again.

Could migraines cause sleep apnea?

No, migraines don’t cause sleep apnea. However, both conditions can be related to similar underlying factors. In my case, the sleep apnea was definitely causing the migraines—once I started CPAP and my AHI dropped from 51 to under 4, the migraines stopped immediately.

Do you still get headaches with CPAP?

No, I don’t get those crushing migraines anymore. I might occasionally get a mild headache from dehydration or if I’m coming down with a cold, but nothing like the migraines I used to experience. Those severe, vomiting-inducing migraines that would force me to lie in a dark room all day are completely gone. They stopped the first morning I used CPAP properly, and in 10 years, they haven’t come back.

What was your AHI before and after CPAP?

My AHI before CPAP was 51—well into the “severe” sleep apnea category. That meant I was stopping breathing 51 times per hour, every single hour, all night long. No wonder I was getting migraines.

After starting CPAP therapy, my AHI dropped to under 4 on the very first night. I check my myAir app every morning, and it’s consistently under 8. That means CPAP is keeping my airways open and I’m breathing normally through the night—and I haven’t had a migraine since.

Did you try anything else to fix your migraines before CPAP?

I tried over-the-counter painkillers like ibuprofen and acetaminophen, but they barely touched the pain. The migraines were too severe. I didn’t try prescription migraine medications because I never connected the migraines to sleep apnea—I just thought I was unlucky. If I had known sooner that they were caused by oxygen deprivation from sleep apnea, I could have gotten treated years earlier and avoided all that suffering.

What made you finally get tested for sleep apnea?

My wife insisted. She was worried about my health and could see how much I was suffering from the migraines. Next, she pushed me to get a sleep study, even though I was skeptical at first. She saved my life—or at least my quality of life. Without her insisting I get tested, I might have gone on for years more suffering with those crushing migraines.

Will CPAP help my migraines immediately like it did for you?

It might, but everyone’s different. My migraines were directly caused by oxygen deprivation from sleep apnea, so when CPAP fixed the oxygen problem, the migraines stopped immediately. But some people have migraines from multiple causes—stress, diet, hormones, sleep apnea—so their improvement might be more gradual. The only way to know is to get tested and try CPAP. For me, it was life-changing on day one.


Final Thoughts: CPAP Changed My Life

If you’re waking up with migraine headaches and someone has told you that you snore loudly, please get tested for sleep apnea.

I suffered for years with crushing migraines because I didn’t know they were connected to my breathing at night. An AHI of 51 meant my brain was being starved of oxygen more than once per minute, every single minute, all night long. And my body was screaming at me with pain every morning.

CPAP therapy literally changed my life in one night. No more migraines. No more days lost lying in a dark room. The vomiting from the pain has gone. No more worrying about when the next one would hit.

Just restful sleep, normal mornings, and the confidence to make plans without fear.

Ten years later, I’m still using my ResMed AirSense machine and my F20 mask every single night. It’s as much a part of my routine as brushing my teeth.

And I wouldn’t trade it for anything.

The first morning I woke up without a headache—after years of suffering—I knew my life had changed forever.

If you have questions about sleep apnea, CPAP therapy, or the equipment I use after 10 years of experience, feel free to leave a comment below. I’m here to help.

⚠️ MEDICAL DISCLAIMER This blog provides general information only and is not a substitute for professional medical advice, diagnosis, or treatment. Sleep apnea is a serious condition, and CPAP equipment should be used under proper medical supervision. Always consult your doctor or sleep specialist before starting, stopping, or changing any therapy. I share personal experiences as a CPAP user, not as a medical professional. Individual results vary. For medical guidance, please consult a qualified clinician or the American Academy of Sleep Medicine (aasm.org).

Similar Posts