Acid Reflux Headaches: Is There a Proven Connection?
- GPhC registered UK pharmacy, registration number 9012878
- Pharmacy team advice on treating reflux and headaches without making either worse
- Online consultation with UK registered prescribers for frequent reflux
- Clinical assessment before any prescription medicine is supplied
Acid reflux does not directly cause headaches, and no study has proven that it does. What is well documented is that the two often occur together, and that they are connected through things they share: the medicines people take for each, the triggers they have in common, the sleep that night reflux ruins, and a nerve pathway that links the gut and the head. Population studies find that migraine and reflux disease occur together more often than chance would predict, but a shared cause is a different thing from one causing the other. Gastroesophageal reflux disease affects about 20% of adults in Western cultures.
That matters in practice, because the usual response, a painkiller for the head and an antacid for the chest, can make both problems worse. For adults in the UK dealing with frequent acid reflux and headaches, this guide from the EveryDayMeds pharmacy team explains the real links, how reflux medicines and headache treatments can affect each other, what a headache with nausea and heartburn can be a sign of, which warning signs need urgent medical attention, and how to manage both symptoms safely without aggravating either one.
Can acid reflux cause headaches?
Not directly. Acid reflux, or gastroesophageal reflux, happens when stomach contents or stomach acid flows back into the oesophagus, and the burning it causes is felt in the chest and throat, not the head. There is no mechanism by which acid in the oesophagus produces head pain. When reflux and headaches arrive together, the explanation is almost always one of five indirect links.
Key things to know
- There is no proven direct cause. Reflux and headaches are both very common, and they share triggers, medicines and sleep effects.
- Anti-inflammatory painkillers such as ibuprofen and aspirin, taken for headaches, irritate the stomach and oesophagus. NICE lists them among medicines that can cause reflux symptoms.
- Proton pump inhibitors and H2 blockers, taken for reflux, list headache as a common side effect in their leaflets.
- Taking painkillers on too many days can cause headaches of its own. NICE says to consider medication overuse headache in people taking paracetamol, aspirin or an anti-inflammatory on 15 or more days a month, or triptans, opioids or combination painkillers on 10 or more days a month, for three months or more.
- Night reflux disrupts sleep, and poor sleep is a recognised headache trigger.
- Alcohol, caffeine, skipped meals, large late meals, stress and excess weight trigger both.
- Nausea, headache and heartburn together have several causes, from migraine to pregnancy. A few, including a heart attack, are emergencies.
What does the evidence actually show about the gut brain axis?
The evidence shows an association, not a cause. Population studies have found that people with migraine report reflux symptoms more often than people without, and that people with reflux disease report headaches more often than average. Research, including a 2022 study, found that gastrointestinal disorders raise migraine risk by about 3.5 times. Those findings are consistent with shared risk factors, shared medicines and overlapping nerve pathways. No trial has shown that treating reflux prevents headaches in people without reflux related sleep loss, and no trial has shown that acid in the oesophagus triggers head pain. In this research, GERD was the most common GI condition linked with migraines. The honest summary is that the link is real, indirect and worth understanding, because the indirect links are the ones you can do something about.
What are the real links between reflux and headaches?
Five links account for most cases in which reflux and headaches occur together. Each has a different fix. Researchers are also studying acid reflux and headaches, including the link between acid reflux and autonomic pathways, because GERD is associated with impaired autonomic nervous system function.
| Link | How it works | What to do about it |
|---|---|---|
| Painkillers for headaches cause reflux | Anti-inflammatory painkillers reduce the stomach's protective lining and irritate the oesophagus | Ask a pharmacist about an alternative for headache pain. Take any tablet upright with a full glass of water |
| Reflux medicines cause headaches | Proton pump inhibitors and H2 blockers list headache as a common side effect | Usually mild and often settles. Tell your prescriber if it persists rather than stopping a course |
| Night reflux ruins sleep | Waking with reflux, or shallow sleep from silent reflux, leads to morning headaches | Earlier evening meals, a raised bed head, and treating the reflux |
| Shared triggers | Alcohol, caffeine, skipped meals, large late meals, stress, dehydration and excess weight provoke both | A single diary for both symptoms usually shows the shared trigger |
| The gut brain connection | The vagus nerve links the digestive system and the head. Nausea in migraine and the sensitivity of the gut in reflux both involve it | Not something to treat directly. Treating either condition well tends to help the other |
Why do painkillers for headaches make reflux worse?
Anti-inflammatory painkillers such as ibuprofen, naproxen and aspirin damage the stomach's protective mucus layer, which lets acid irritate the lining and can cause gastritis, ulcers and reflux symptoms. Taken lying down or with little water, they can irritate the oesophagus directly. NICE advises reviewing anti-inflammatory painkillers in people with reflux symptoms. Paracetamol does not irritate the stomach in the same way, which is why pharmacists often suggest it first for headache in people with reflux, within the limits on the pack.
Why do reflux medicines cause headaches?
Proton pump inhibitors such as omeprazole, esomeprazole and lansoprazole list headache as a common side effect, and so do H2 blockers such as famotidine. The mechanism is not fully understood. The headache is usually mild and often fades as the course continues. If it does not, a prescriber may suggest a different medicine in the same class rather than stopping treatment altogether. Do not stop a prescribed course because of a mild headache without advice, and do not double a dose after a missed one.
How does night reflux lead to morning headaches?
Night reflux wakes people, and it also causes lighter, more broken sleep even when they do not remember waking. Poor sleep is a very common headache trigger. This may show up as tension headaches, with a dull pain or a tight band feeling around the head, and a morning headache with a sore throat, hoarseness or a sour taste is a recognisable pattern. NICE says raising the head of the bed and having a main meal well before bed may help some people with reflux. Treating the night reflux is the route to the headache in this case, not the other way round.

Nausea, headache and heartburn: are they acid reflux symptoms or signs of something else?
Nausea, headache and heartburn, along with other symptoms, are most often signs of a migraine, a hangover, a stomach upset, pregnancy or a medicine side effect. A small number of causes are serious, and the combination should never be dismissed when it is new or severe.
| Possible cause | Typical clues | What usually happens |
|---|---|---|
| Migraine | Throbbing, often one sided headache, sensitivity to light and sound, nausea. Reflux and indigestion often occur during an attack | Migraine care. Reflux is a passenger |
| Hangover or alcohol | Headache, nausea and reflux the morning after drinking. Alcohol relaxes the valve and dehydrates | Fluids, rest, and less alcohol. NICE lists alcohol as a reflux precipitant |
| Stomach bug or food poisoning | Sudden nausea, vomiting, diarrhoea, headache from dehydration | Settles in a day or two with fluids |
| Pregnancy | Nausea in early pregnancy, heartburn later, headaches throughout | Common. Check any medicine with a midwife or pharmacist. See the pregnancy red flag below |
| Medicine side effects | Started after a new medicine. Reflux medicines, some antibiotics, weight loss injections and others | A medicines review. Do not stop a prescribed medicine yourself |
| Medication overuse headache | Frequent painkiller use, daily or near daily headache, often with stomach symptoms from the painkillers | Assessment and a supervised change in painkiller use |
| Caffeine withdrawal | Headache and nausea a day after cutting coffee, sometimes while cutting it to help reflux | Reduce coffee gradually rather than stopping abruptly |
| Dehydration | Headache, nausea, dark urine, tiredness | Fluids |
| Heart attack | Chest pain, pressure or discomfort with nausea, sweating or breathlessness. Can feel like indigestion, particularly in women, older people and people with diabetes | Call 999 |
Can it be a sign of a heart problem?
Yes, and this is the reason the combination deserves respect. A heart attack does not always cause the crushing chest pain people expect. NICE guidance on chest pain says symptoms that may indicate a heart attack include chest pain with nausea and vomiting, marked sweating or breathlessness, and it notes that not everyone presents with central chest pain as the main feature. Nausea and indigestion like discomfort with a headache, sweating or breathlessness, especially in someone with diabetes, high blood pressure or a history of heart disease, needs a 999 call, not an antacid.
What about pregnancy?
Nausea, heartburn and headaches are all common in pregnancy and are usually harmless. There is one important exception. A severe headache in the second half of pregnancy, particularly with visual disturbance, pain below the ribs, vomiting or sudden swelling of the face, hands or feet, can be a sign of pre-eclampsia and needs same day assessment by a midwife or doctor. NICE guidance on hypertension in pregnancy lists these as symptoms to report. Do not put a severe pregnancy headache down to reflux or tiredness.
How do you treat reflux without causing headaches?
You treat reflux without causing headaches by leaning on the measures that have no side effects first, and by managing any medicine related headache with your prescriber rather than by stopping treatment. These lifestyle modifications and lifestyle changes help manage acid reflux and can effectively alleviate discomfort.
- Start with the measures NICE recommends. Maintaining a healthy weight can reduce acid reflux symptoms, quitting smoking, avoiding nicotine products because nicotine can relax the valve, allowing acid to move upward, avoiding precipitants such as alcohol, coffee, chocolate and fatty foods, an earlier evening meal and a raised bed head. None causes headaches, and several help treat gerd.
- Use antacids and alginates for episodes. They act in the stomach and do not list headache as a side effect. Check the sodium content if you have high blood pressure or heart or kidney disease. They may also help treat acid reflux between meals.
- Expect that a proton pump inhibitor course may cause a mild headache at first. It usually settles. If it does not, tell the prescriber, who may suggest an alternative within the class. NICE recommends a full dose proton pump inhibitor for four or eight weeks for reflux disease, so a course is worth completing where possible.
- Cut caffeine gradually. Stopping coffee abruptly to help reflux is a common cause of a week of headaches.
- Keep hydrated in the right way. Sips of water through the day, rather than large drinks with meals or at bedtime, which make reflux worse.
How do you treat headaches without causing reflux?
You treat headaches without causing reflux by choosing painkillers that do not irritate the stomach, taking them correctly, and keeping the number of days you use them under the thresholds NICE sets.
- Ask about paracetamol first. It does not damage the stomach lining in the way anti-inflammatory painkillers do, and it may help relieve headaches without the same stomach irritation risk. Stay within the pack limits.
- Be cautious with ibuprofen, naproxen and aspirin. If you need them, take them with food and a full glass of water, sitting upright, and not on an empty stomach. Ask a pharmacist whether a protective medicine is appropriate for regular use.
- Watch the day count. NICE says to consider medication overuse headache in people taking paracetamol, aspirin or an anti-inflammatory on 15 or more days a month, or triptans, opioids or combination painkillers on 10 or more days a month, for three months or more. Frequent painkillers cause headaches as well as reflux.
- Treat migraine as migraine. If your headaches are one sided, throbbing, with nausea and sensitivity to light, or fit migraine headaches, ask a GP about a proper migraine plan. Reflux treatment will not fix them.
- Fix the sleep. If the headaches are morning ones, night reflux measures may do more than any painkiller.
What commonly goes wrong?
- Taking ibuprofen for the headache and an antacid for the burning, every day. The painkiller drives the reflux, and the daily use drives more headaches.
- Stopping a reflux course because of a mild headache. The course fails and the reflux returns. A conversation with the prescriber is the right step.
- Cutting coffee to zero overnight. Withdrawal headaches follow and get blamed on the reflux.
- Blaming reflux for a migraine. The nausea and indigestion are part of the migraine, and it needs its own treatment.
- Ignoring the combination when it is new. Nausea, indigestion like discomfort and a headache with sweating or breathlessness is a 999 call.
When should reflux or headaches be checked?
See a GP if headaches occur on more than a few days a month, if you are using painkillers on 10 to 15 or more days a month, if reflux occurs most days, if GERD symptoms wake you regularly, or if either symptom has changed in character; persistent acid reflux symptoms or frequent headaches should be assessed rather than self-managed indefinitely. NICE says community pharmacists should offer initial help for people with reflux symptoms, including advice on when to consult a GP.
What are the red flags for headache?
NICE guidance on headaches lists features that need further investigation or referral. Seek urgent help if a headache:
- Comes on suddenly and reaches full intensity within five minutes.
- Is worsening and accompanied by fever.
- Comes with new weakness, numbness, speech difficulty, confusion, drowsiness or a change in personality.
- Follows a head injury within the past three months.
- Is triggered by coughing, sneezing, straining or exercise, or changes with posture.
- Comes with jaw pain on chewing or visual disturbance in someone over 50.
- Is a substantial change from your usual headaches.
What are the red flags for reflux and the heart?
- Chest pain or discomfort with sweating, breathlessness, nausea, or pain spreading to the arm, neck, jaw or back: call 999.
- Vomiting blood, vomit like coffee grounds, or black, tarry stools: call 999 or go to A&E.
- Difficulty swallowing, or food sticking: see your GP urgently. NICE recommends an urgent endoscopy, within two weeks.
- Aged 55 or over with unintended weight loss and reflux, indigestion or upper abdominal pain: see your GP urgently.
- A severe headache in the second half of pregnancy, with visual disturbance, swelling or pain below the ribs: contact your midwife or doctor the same day.
How can EveryDayMeds help?
Tell us what you take for each symptom and how often. The pattern of painkillers and reflux products, and how many days a month they are used, usually shows our pharmacy team where the two problems are feeding each other, and which change breaks the loop. EveryDayMeds is a GPhC registered UK pharmacy, registration number 9012878.
Where reflux is frequent, an online consultation with UK registered prescribers can assess whether a course of treatment is appropriate, help manage symptoms with appropriate prescription or over the counter treatments when suitable, and the consultation asks about your other medicines, including painkillers. An independent prescriber reviews your answers before anything is supplied. Frequent headaches themselves need a GP, and we will say so.
Medical Disclaimer
This article is for general information only and does not replace advice from a doctor, pharmacist or other qualified healthcare professional. It is not a diagnosis. Always read the patient information leaflet supplied with any medicine and keep within the limits on the pack. If you have chest discomfort with nausea, sweating or breathlessness, or a sudden severe headache, call 999.









