Illness Guides

Headache and Heartburn at the Same Time: What the Combination Can Mean

By the Advanced Urgent Care Team
Person experiencing headache and heartburn at the same time

Most of us know each of these miseries on its own: the pounding head after a stressful day, or the burning in the chest after a heavy dinner. When they arrive together, and keep arriving together, patients often ask us whether that pairing means something. The short answer: headache and heartburn really do travel together for many people, usually for understandable and treatable reasons, but a few specific combinations deserve prompt medical attention. Here is how our clinical team thinks through it.

Yes, headache and heartburn can be connected

Heartburn is the classic symptom of acid reflux: stomach acid moving up into the esophagus, causing a burning sensation behind the breastbone. When reflux is frequent or persistent, it is called gastroesophageal reflux disease, or GERD. Research has repeatedly found that people with GERD report headaches, including migraines, more often than people without it, and the relationship appears to run in both directions: people with frequent headaches also report more reflux. The exact mechanism is still being studied, but several plausible links are well described.

The shared triggers

The simplest explanation is that many everyday triggers set off both problems at once:

  • Stress, which increases muscle tension in the head and neck and also increases acid sensitivity in the gut
  • Poor or interrupted sleep
  • Skipped meals followed by a large meal
  • Fatty, fried, or spicy food
  • Alcohol and excess caffeine, both classic reflux triggers and classic headache triggers
  • Dehydration

If your headache and heartburn tend to show up after the same kinds of days or the same kinds of meals, shared triggers are the most likely story, and the fix starts with the triggers themselves.

How reflux itself can contribute to head pain

The vagus nerve. This long nerve runs from the brainstem to the digestive tract and carries signals in both directions. Irritation of the esophagus and stomach can stimulate vagal pathways that are also involved in headache, which is one proposed reason the two symptoms track together.

Sleep disruption. Reflux is often worse when lying flat, so untreated GERD is a common cause of fragmented sleep. Poor sleep is one of the most reliable headache triggers there is. Many patients who wake with both a sour taste and a headache are living this exact loop.

Nutrient absorption. Long term use of some acid reducing medications can lower absorption of magnesium and vitamin B12, and deficiencies of either can contribute to fatigue and headaches. This is a reason to review long term antacid use with a clinician rather than simply continuing it for years.

Medications that can cause both symptoms

Medicines are an underappreciated cause of this pairing:

  • NSAIDs such as ibuprofen, naproxen, and aspirin are the usual go-to for headaches, but they irritate the stomach lining and can cause or worsen heartburn, especially when taken often or on an empty stomach.
  • Frequent pain reliever use can itself produce rebound headaches, called medication overuse headache. If you are treating headaches several days a week, the treatment may be feeding the problem.
  • Some reflux medications list headache among their more common side effects.
  • Nitrates and some blood pressure medicines can cause headaches and can also relax the valve at the top of the stomach, worsening reflux.

Bring a full medication list, including over the counter products, to any visit for these symptoms. Sometimes the answer is as simple as changing what you reach for.

Combinations that need prompt attention

Most headache plus heartburn is benign. These situations are different:

  • Chest discomfort that might not be heartburn. A heart attack can feel like burning or pressure in the chest. If chest discomfort comes with shortness of breath, sweating, nausea, lightheadedness, pain spreading to the arm, neck, or jaw, or if it begins with exertion, call 911. Do not try to sort this out at home. When the picture is less dramatic but uncertain, we can perform an EKG on site as part of the evaluation.
  • Severely elevated blood pressure. Very high blood pressure can cause headache, and untreated hypertension often produces no symptoms at all until it is severe. A headache with a blood pressure reading above 180/120 needs immediate care.
  • Pregnancy after 20 weeks. A new or severe headache together with pain in the upper abdomen, especially under the right ribs, can signal preeclampsia, a serious blood pressure disorder of pregnancy. Visual changes, sudden swelling, or nausea strengthen the concern. This combination should be evaluated the same day, not watched overnight.
  • Alarm symptoms with reflux, such as trouble swallowing, unintentional weight loss, vomiting blood, or black stools, which need timely workup.

What you can do at home

  • Eat smaller meals and avoid lying down for two to three hours after eating
  • Raise the head of the bed if nighttime reflux wakes you
  • Limit alcohol, caffeine, and the specific foods your symptom diary implicates
  • Drink water consistently through the day
  • Manage stress and protect a regular sleep schedule
  • Use NSAIDs sparingly and with food, and ask about alternatives if you need pain relief often

When to come see us

If headache and heartburn keep occurring together, if either symptom is escalating, or if over the counter measures are not working after a couple of weeks, it is time for an evaluation rather than more guessing. At Advanced Urgent Care of Pasadena we can examine you, check your blood pressure, run lab work on site, perform an EKG when the story warrants one, and treat both the headache and the digestive side of the problem. No appointment is needed: walk in Monday through Friday 8 AM to 8 PM or weekends 9 AM to 5 PM, and note that we take our last patient 30 minutes prior to close. We are at 797 S Arroyo Pkwy in Pasadena with free parking, serving Pasadena, South Pasadena, and Altadena. Questions? Call (626) 304-0404.

Frequently Asked Questions

Can acid reflux really cause headaches?

The two conditions are clearly associated. People with GERD report headaches and migraines more often than people without it, and reflux that disturbs sleep, triggers medication use, or irritates the vagus nerve can all contribute to head pain. Treating the reflux often improves both problems.

Why do I get a headache and heartburn after eating?

Large, fatty, or spicy meals, alcohol, and caffeine can trigger both acid reflux and headaches at the same time. Skipped meals followed by overeating is another common pattern. A symptom diary for two weeks usually reveals the trigger.

When is heartburn actually an emergency?

Call 911 if chest discomfort comes with shortness of breath, sweating, nausea, pain spreading to the arm, neck, or jaw, or if it starts with exertion. A heart attack can feel like bad heartburn, and that is not a distinction to make at home.

I am pregnant and have a bad headache with upper stomach pain. What should I do?

After 20 weeks of pregnancy, a new or severe headache combined with pain under the ribs, visual changes, or sudden swelling can be a sign of preeclampsia. This needs medical evaluation the same day. Call your obstetrician or come in immediately.

Do I need an appointment?

No, we are a true walk-in clinic. Just come in during business hours and you will be seen. If you prefer, you can also reserve a time online through our booking page.

What are your hours?

Monday through Friday 8:00 AM to 8:00 PM, and Saturday and Sunday 9:00 AM to 5:00 PM. We take our last patient 30 minutes prior to close.

Contact Us Directions 626-304-0404