Nausea, headache and heartburn together usually trace back to an ordinary problem rather than a dangerous one. The usual sources are your stomach, a migraine, a medicine you take, or stress and poor sleep. The stomach and the brain are wired closely together, so a problem that starts in one often makes itself felt in the other.1PubMed Central. Migraine and the Gut–Brain Axis—The Role of Microbiome-Targeted Biotics A short list of warning signs, rather than the symptoms themselves, tells you whether to wait it out or get help.
Reflux, Gastritis and Ulcers
Three stomach conditions are the most common link. Gastroesophageal reflux disease, or GERD, is long-lasting reflux, where stomach acid often leaks up into the food pipe. It causes heartburn and nausea, and sometimes headaches.2Montrose Emergency Room. Nausea, Headache & Heartburn – What’s Going On? Signs You Shouldn’t Ignore in Houston Gastritis, an inflamed stomach lining, brings nausea, heartburn and upper belly pain.2Montrose Emergency Room. Nausea, Headache & Heartburn – What’s Going On? Signs You Shouldn’t Ignore in Houston Peptic ulcers are sores in the stomach or the first part of the small intestine, and they also bring nausea and heartburn.2Montrose Emergency Room. Nausea, Headache & Heartburn – What’s Going On? Signs You Shouldn’t Ignore in Houston
Day to day, reflux burns behind the breastbone and often leaves a sour taste, especially after big meals or when you lie down. Reflux is more tied to posture: bending over or lying flat after a meal brings it on. Gastritis tends to be a gnawing ache high in the belly, with a feeling of getting full early. Ulcer pain may ease or worsen with eating and can wake you at night. Because they overlap so much, you usually can’t tell them apart from the feeling alone. A doctor sorts them out by the pattern over time and sometimes by testing. An antacid that clears the burn for an hour or two fits with any of the three, so quick relief doesn’t show which one you have.
The headache can come from the reflux itself. Reflux is often worse at night when you lie down, so it can break up your sleep, and poor sleep is a common headache trigger. If the headache tends to show up on mornings after a bad night of reflux, broken sleep may be the link, and it may fade as the reflux is controlled. A headache that keeps its own schedule, apart from the stomach symptoms, more likely has another cause.
An occasional burn after a rich meal is normal. Heartburn on more than two days a week, or heartburn that wakes you at night, is the point where it deserves attention rather than just another antacid.
A few simple steps often ease reflux-driven symptoms. Eat smaller meals and stop eating two to three hours before bed. Raise the head of the bed rather than stacking pillows. Cut back on alcohol, heavy fatty meals and late coffee, which commonly make reflux worse. Over-the-counter antacids or acid reducers help in the short term, but see a doctor if you need them for more than two weeks.
Migraine and the Gut-Brain Link
During a migraine, the pain system in the head activates a brain area that controls vomiting, which can cause nausea.3PubMed Central. A link between gastrointestinal disorders and migraine: Insights into the gut–brain connection The brain chemical serotonin is involved in both the head pain and the nausea.3PubMed Central. A link between gastrointestinal disorders and migraine: Insights into the gut–brain connection Attacks are also linked to a slower-emptying stomach.4PubMed Central. Role of Calcitonin Gene-Related Peptide on the Gastrointestinal Symptoms of Migraine—Clinical Considerations In one small comparison, a meal took about 150 minutes to half-empty from the stomach during an attack, versus about 112 minutes in people without migraine.4PubMed Central. Role of Calcitonin Gene-Related Peptide on the Gastrointestinal Symptoms of Migraine—Clinical Considerations That means pills swallowed during an attack can be absorbed more slowly and may work less well.4PubMed Central. Role of Calcitonin Gene-Related Peptide on the Gastrointestinal Symptoms of Migraine—Clinical Considerations Some people with migraine have a slow stomach even between attacks.5PubMed Central. Gastrointestinal disorders associated with migraine: A comprehensive review
That slowed stomach can leave you feeling full, bloated or burning during an attack, so some heartburn-like discomfort can belong to the migraine itself. If the burning lingers well after the head pain has gone, or comes on without any headache, treat it as its own stomach problem.
Several signs point toward migraine rather than a stomach problem. The headache is often one-sided and throbbing, and lasts from hours to three days. Sensitivity to light, sound or smell alongside the nausea fits migraine, as do gut symptoms that come and go with the headache.
It also looks different from a stomach bug or food poisoning. Migraine nausea follows the headache’s rhythm: it builds as the head pain builds and eases as the attack ends, usually without the diarrhea or fever that mark an infection. People often feel entirely well between attacks, and the same pattern repeats over months or years, which a one-off bug doesn’t do. A migraine can also begin with a warning phase hours earlier, with yawning, food cravings, a stiff neck or a low mood, and nausea may be part of that phase before any head pain arrives.
Take migraine medicine early in the attack, before the stomach slows much. If pills don’t work, ask a doctor about dissolving tablets, nasal sprays or injections. Anti-nausea medicine can help some migraine pills absorb and stay down.
The link may run both ways. Gut inflammation and changes in gut bacteria may help keep migraine pain pathways sensitive.1PubMed Central. Migraine and the Gut–Brain Axis—The Role of Microbiome-Targeted Biotics The stomach infection H. pylori has been linked to migraine in some studies,6PubMed. Primary Headache and Helicobacter Pylori but other research found no link with having headaches at all, only with how often they come.7PubMed. A cross-sectional study on the association between Helicobacter pylori infection and headache
Medicines That Cause All Three
NSAIDs, the group of painkillers that includes ibuprofen, naproxen and aspirin, clearly raise the risk of indigestion.8Bentham Science / PubMed Central. Non-Steroidal Anti-Inflammatory Drugs (NSAIDs) Induced Dyspepsia They can also inflame the food pipe and lead to ulcers and, rarely, bleeding.8Bentham Science / PubMed Central. Non-Steroidal Anti-Inflammatory Drugs (NSAIDs) Induced Dyspepsia How bad the indigestion feels doesn’t tell you whether an ulcer is there.8Bentham Science / PubMed Central. Non-Steroidal Anti-Inflammatory Drugs (NSAIDs) Induced Dyspepsia So someone taking ibuprofen often for headaches can end up with heartburn and nausea from the very pills meant to help.
That can turn into a loop. Frequent headaches lead to frequent painkiller use, and the pills irritate the stomach. Painkillers like ibuprofen taken on more than about ten to fifteen days a month can also cause rebound headaches, which feed the cycle. Acetaminophen is gentler on the stomach, but if you need painkillers often, ask a doctor about a plan.
The newer injections are another common cause. GLP-1 medicines such as semaglutide and liraglutide most commonly cause nausea.9PubMed Central. Adverse Effects of GLP-1 Receptor Agonists They slow the stomach’s emptying, which also brings indigestion and early fullness.10PubMed. Gastrointestinal Motility Effects of GLP-1 Receptor Agonists About 1 in 4 people on them get nausea, usually temporary.11PubMed. The pharmacologic basis for clinical differences among GLP-1 receptor agonists and DPP-4 inhibitors Headache is another common side effect.9PubMed Central. Adverse Effects of GLP-1 Receptor Agonists Raising the dose slowly cuts the nausea.11PubMed. The pharmacologic basis for clinical differences among GLP-1 receptor agonists and DPP-4 inhibitors
Timing is the best clue to whether a medicine is behind your symptoms. It’s a more convincing suspect when symptoms began within days or weeks of starting it or raising the dose, and a less convincing one if you’ve taken it unchanged for years. Symptoms that arrive an hour or two after each dose and settle before the next make it a stronger suspect than random ones. Check the full list, not just painkillers and injections: iron tablets, some antibiotics and many supplements also commonly upset the stomach, and the leaflet usually lists nausea or headache if they’re known effects.
Take painkillers like ibuprofen with food and at the lowest dose that works. Don’t stop a prescribed drug on your own; ask the prescriber about slower dosing or alternatives. Black stools or vomiting blood while on those painkillers needs urgent care.
Stress, Poor Sleep and Body-Wide Conditions
Work stress is linked to physical symptoms, and stomach problems and poor sleep are tied to more kinds of stress than other symptoms are.12Taylor & Francis Online. Can work make you sick? A meta-analysis of the relationships between job stressors and physical symptoms A tense week with little sleep can bring on tension headaches, nausea and heartburn together.
Tension and short sleep feed one another: a poor night raises next-day stress, and stress makes it harder to sleep, so symptoms can persist for days. Stress can make the gut more sensitive, so ordinary amounts of acid or stomach movement feel like burning or queasiness. Tense neck and scalp muscles from long hours at a desk or from clenching your jaw are a common route to a tension headache. Stress also changes habits, such as skipped meals, more coffee, more alcohol and late-night eating, and those habits trigger reflux and headache on their own.
Clues that point this way include symptoms that flare in busy weeks and ease on holidays, and a band-like headache across the forehead, which is typical of tension headache. Regular sleep, meals and breaks often reduce all three symptoms. Symptoms that wake you from sleep, steadily worsen or come with weight loss or vomiting are not explained by stress alone and should be checked.
Some less common conditions involve all three symptoms. Postural orthostatic tachycardia syndrome, or POTS, makes the heart race on standing and often brings headache and gut problems.13PubMed. Postural orthostatic tachycardia syndrome: clinical presentation, aetiology and management The same faulty nerve control that affects the heart can upset how the gut moves.14PubMed. Gastrointestinal dysfunction in postural tachycardia syndrome A condition called mast cell activation syndrome can cause recurring nausea and heartburn.15PubMed. Mast Cell Activation Syndrome: A Primer for the Gastroenterologist Cyclic vomiting syndrome causes repeated bouts of vomiting and often runs in families with migraine.16PubMed. Cyclic Vomiting Syndrome in Adults and Children: A Hypothesis
Each has a clue worth raising with a doctor. Dizziness or a racing heart on standing up suggests POTS. Flushing, hives or reactions to many foods suggest mast cell problems. Repeated vomiting episodes with normal periods between them suggest cyclic vomiting syndrome.
Pregnancy is a common cause too: heartburn, nausea and vomiting are all common in pregnancy.17PubMed Central. Heartburn, Nausea, and Vomiting During Pregnancy
Warning Signs That Need Urgent Care
Headache with vomiting can mean pressure is building in the skull from bleeding, a tumor or a head injury.18McGraw-Hill Medical. Acute Abdominal Pain; Nausea and Vomiting; Disorders Presenting Primarily With Diarrhea That headache is usually all over the head, throbbing, worst in the morning, and worse with coughing, sneezing or lying down.19PubMed Central. A Review of the Clinical Presentation, Causes, and Diagnostic Evaluation of Increased Intracranial Pressure in the Emergency Department Blurred vision and confusion or drowsiness may come with it.20ManipalCigna. Increased Intracranial Pressure Symptoms: Key Signs to Watch For
A dangerous headache differs from an ordinary one in its story. One that is new, steadily worsening over days, or unlike any you’ve had deserves more caution than one that matches a familiar pattern. A headache that begins after a bump to the head, even a minor one days earlier, should be taken seriously, especially in people on blood thinners.
Go to the ER now for any of these:
- A sudden, explosive headache, the worst of your life
- Headache with fever and stiff neck, weakness, numbness or slurred speech
- Chest pain with nausea and what feels like heartburn
- Vomiting blood or coffee-ground material, or black tarry stools
The chest pain item matters because a heart attack can feel like pressure or burning in the chest with nausea. Pain spreading to the arm, jaw or back, or shortness of breath, makes a heart problem more likely, but their absence doesn’t rule one out. Women and people with diabetes more often have vague symptoms like nausea. When in doubt, call emergency services rather than taking an antacid and waiting.
Carbon monoxide can mimic everyday illness. Low-level exposure can cause headache, dizziness, tiredness, nausea and belly pain, so it is easily mistaken for a recurring bug or stress.21PubMed Central. Occult carbon monoxide poisoning Symptoms that ease when you leave home and return when you’re back, or that affect several people or pets in one house, are a warning sign. Leave the building and call emergency services, and fit a carbon monoxide alarm.
If a red flag is present, don’t drive yourself; call emergency services or have someone take you, because symptoms can worsen suddenly. Don’t take more painkillers or antacids while waiting, since they can mask symptoms and do nothing for the underlying cause. Tell the responders or the triage nurse exactly when symptoms began and which medicines you’ve taken, as timing influences treatment.
Seeing a Doctor and What to Expect
Symptoms that keep returning together can be a sign of reflux or another stomach condition that needs treatment.2Montrose Emergency Room. Nausea, Headache & Heartburn – What’s Going On? Signs You Shouldn’t Ignore in Houston Ongoing symptoms while taking painkillers deserve a check. Ask your doctor about a test for H. pylori, a stomach infection that can be treated with a course of medicine.
An appointment within a week or two suits symptoms that recur, last beyond two weeks or haven’t improved with simple steps, but are otherwise stable. Same-day or urgent attention is for new red flags such as vomiting blood, black stools, severe worsening pain or trouble swallowing. A pharmacist is a reasonable first stop for mild, short-lived symptoms and can advise on whether over-the-counter treatments suit you alongside your other medicines.
Some symptoms need prompt checking whatever else is going on. Losing weight without trying, alongside these symptoms, is one. Food sticking on the way down is a reason to be seen soon. Persistent vomiting can cause dehydration and needs medical help.
Before the visit, keep a diary of when each symptom happens, along with meals, sleep and stress. List every medicine and supplement, including over-the-counter painkillers. Note whether the headache or the stomach symptoms come first.
Expect questions about the timing of each symptom, what eases or worsens it, your medicines, alcohol, smoking and family history of migraine or stomach disease. The doctor will usually press on the belly and check blood pressure and heart rate, and may check your eyes and nervous system if the headache is a concern.
Tests depend on what you describe. These may include a breath, stool or blood test for H. pylori, or a trial of acid-reducing medicine to see if symptoms ease. A camera test of the stomach is considered if there’s weight loss, trouble swallowing or bleeding, and a neurologist referral if headaches dominate or change pattern. Many people leave the first visit without a firm diagnosis, since the first step is often a treatment trial and review rather than a test.

