Headaches and vomiting are closely linked because the same brain regions that process pain also control your gut. During a migraine, more than 90% of people experience nausea, and nearly 70% actually vomit. This isn’t a coincidence or a sign of weakness. It’s a predictable neurological chain reaction that starts in your brainstem and ripples through your digestive system.
How a Headache Triggers Vomiting
Your brainstem contains a small structure that sits at the floor of one of the brain’s fluid-filled chambers. This structure acts as the brain’s vomiting center, collecting chemical signals from your blood and neural signals from surrounding brain tissue. When a migraine or severe headache activates this area, it disrupts the normal balance of chemical messengers, and the result is nausea and vomiting.
At the same time, your autonomic nervous system (the part that controls things you don’t think about, like heart rate, digestion, and blood vessel size) goes haywire during a headache. The branch that speeds things up becomes overactive while the branch that keeps digestion running smoothly slows down. This imbalance causes your stomach to essentially stop emptying its contents, a condition called gastric stasis. Food and fluid sit in your stomach longer than normal, producing that heavy, nauseated feeling that can escalate to vomiting.
This stomach slowdown also explains why pain relievers taken by mouth often don’t work well during a bad headache. The pill just sits in your stomach instead of being absorbed.
Nausea Can Happen Before, During, and After the Pain
If you’ve noticed that your stomach feels off even before the headache fully arrives, that’s normal. Migraine attacks unfold in phases. Nausea can start during the early warning phase (prodrome), intensify during the headache itself, and linger even after the pain fades. This post-headache hangover period can last anywhere from a few hours to two full days, and nausea is one of its hallmark symptoms. The room may feel like it’s spinning during this recovery window, which only makes the queasiness worse.
For many people, the vomiting actually marks a turning point. Some migraine sufferers report that once they throw up, the headache begins to ease. Researchers believe this may relate to the autonomic nervous system resetting itself, though the exact reason isn’t fully understood.
Migraine Is the Most Common Cause
The overwhelming majority of people who vomit with a headache are experiencing migraines, even if they’ve never been formally diagnosed. Migraine is widely underdiagnosed, partly because people assume migraines always come with an aura (visual disturbances like flashing lights). They don’t. The combination of moderate to severe head pain plus nausea or vomiting is one of the strongest clinical predictors of migraine.
Other autonomic symptoms that often ride along with migraine-related nausea include diarrhea, pale or flushed skin, goosebumps, and sweating. If any of these sound familiar during your headaches, migraine is very likely the explanation.
Children Get a Unique Version
In kids, the connection between the gut and migraine takes an unusual form called abdominal migraine. Instead of head pain, children experience recurring episodes of moderate to severe belly pain centered around the navel, along with nausea, vomiting, and pale skin with dark circles under the eyes. These episodes last 2 to 72 hours, and the child feels completely fine between attacks. Headache typically doesn’t occur during abdominal migraine episodes, which makes them easy to misdiagnose as a stomach bug or food sensitivity. Most children with abdominal migraine go on to develop typical migraine headaches later in life.
What Helps When You’re Vomiting With a Headache
The core problem is that your stomach has slowed to a crawl, so swallowing a standard pain reliever is unlikely to help quickly. Treatments that bypass the stomach work better. Nasal sprays, dissolving tablets placed on the tongue, and suppositories all deliver medication without relying on a functioning digestive system. Anti-nausea medications taken alongside a pain reliever are more effective than either one alone, because they address both the vomiting reflex and the stomach slowdown simultaneously. Some anti-nausea drugs actually help restart normal stomach emptying, which improves absorption of whatever pain medication you take next.
If you’re managing at home and can’t keep anything down, a rectal anti-nausea medication can break the cycle. Once the nausea settles enough to keep fluids down, an oral pain reliever has a much better chance of working. Timing matters too: treating early in the attack, before full vomiting sets in, dramatically improves the odds that oral medication will be absorbed.
When Headache and Vomiting Signal Something Serious
Most headache-related vomiting is migraine, but certain patterns point to something more dangerous. Increased pressure inside the skull produces a specific kind of headache: it tends to be worst in the morning, feels like throbbing or bursting across the whole head, and gets worse when you cough, sneeze, or strain. Vomiting with this type of headache, especially combined with vision changes like double vision, is considered a hallmark of elevated brain pressure and needs urgent evaluation.
A sudden, explosive headache that reaches maximum intensity within seconds (sometimes called a thunderclap headache) with vomiting can be the only initial symptom of a brain bleed. This is a medical emergency. The key distinction is the speed of onset: migraine builds over minutes to hours, while a thunderclap headache peaks almost instantly.
Other warning signs that headache-related vomiting has a serious underlying cause include:
- Fever with headache: raises concern for infection of the brain or its surrounding membranes
- New headache after age 65: older adults with new-onset headaches have a higher rate of serious secondary causes
- Headache that changes position: pain that dramatically worsens or improves when you stand up or lie down can signal abnormal spinal fluid pressure
- Progressive worsening over days to weeks: a headache that gradually intensifies rather than coming and going in discrete episodes
- Neurological changes: weakness on one side, confusion, difficulty speaking, or decreasing alertness alongside the headache and vomiting
- Headache after head trauma: vomiting with a headache that started after a blow to the head
If your headaches with vomiting follow a recognizable pattern, happen periodically, and resolve fully between episodes, migraine is by far the most likely explanation. If the pattern changes, if the vomiting becomes more forceful or persistent than usual, or if any of the red flags above apply, that’s a fundamentally different situation that warrants imaging and further workup.

