Hiatal Hernia: Why the Stomach Slips Up, What It Does to Reflux and When Surgery Is Needed

Between your chest and your abdomen sits a sheet of muscle, the diaphragm. The oesophagus passes through a small opening in it, called the hiatus, on its way to the stomach. When that opening widens and part of the stomach pushes up through it into the chest, the result is a hiatal hernia.
It sounds alarming. Usually it is not. Hiatal hernias are extremely common, especially after fifty, and most people who have one never find out. They are spotted by chance on a scan or a camera test done for something else.
When they do cause trouble, the trouble is almost always reflux: heartburn, acid in the throat, a sour taste at night. A smaller group of larger hernias behave differently and occasionally need surgery. This guide covers both, starting with the kind most people actually have.

🧩 Why a small gap causes heartburn
The lower end of the oesophagus has its own muscular valve. On its own it is not very strong. What keeps acid in the stomach is the valve working together with the diaphragm, which wraps around it and squeezes it shut like a second hand closing over the first.
In a hiatal hernia, the valve slides up above the diaphragm. The two stop working together, and the seal loosens. There is a second effect too. A small pocket of acid tends to sit in the part of the stomach trapped above the diaphragm, and from there it washes back into the oesophagus far more easily, particularly when lying down.
That is why hiatal hernia and reflux travel together so often. It also explains why the worst symptoms tend to come at night, after large meals, and when bending over.
📋 The two main kinds
| Sliding hernia | Paraoesophageal hernia | |
|---|---|---|
| How common | About nine in ten | About one in ten |
| What moves | The junction of oesophagus and stomach slides up into the chest | Part of the stomach rolls up beside the oesophagus; sometimes other organs follow |
| Main problem | Reflux | Pressure, fullness, pain; rarely the stomach twists |
| Usual treatment | Lifestyle changes and acid-reducing medicine | Often surgery if it causes symptoms |
| Risk of emergency | Very low | Small but real |
Doctors sometimes number them from type I to type IV. Type I is the sliding hernia. Types II to IV are variations of the paraoesophageal kind, growing in size and in what gets pulled up with the stomach.
⚖️ Who gets one
Anything that raises pressure inside the abdomen, or weakens the tissue around the hiatus, makes a hernia more likely:
- 📈 Age, as the supporting tissue loosens
- ⚖️ Extra weight around the waist — the strongest factor you can change
- 🤰 Pregnancy
- 💨 Long-standing cough, for example with smoking or lung disease
- 🏋️ Repeated heavy straining, including constipation and heavy lifting
- 🩺 Previous surgery in the upper abdomen
🔥 Symptoms
Small sliding hernias usually produce either nothing or classic reflux. Larger hernias add symptoms of their own, because a piece of stomach sitting in the chest takes up space.
| Common with any hernia | More typical of a large hernia |
|---|---|
| Heartburn, especially after meals or at night | Feeling full after a few mouthfuls |
| Acid or food coming back into the mouth | Pressure or pain in the chest after eating |
| Sour taste, frequent belching | Breathlessness after a meal |
| Hoarse voice or cough in the morning | Food sticking on the way down |
| Worse when bending or lying flat | Tiredness from slow blood loss and anaemia |
The last point in that table is easy to miss. Large hernias can develop small erosions where the stomach rubs against the edge of the diaphragm. They bleed very slowly and cause iron deficiency anaemia. The person just feels exhausted, and the hernia is found only when a doctor looks for the reason.
💡 Chest pain is chest pain first. Reflux can feel remarkably like heart pain, and heart pain can feel like indigestion. New chest pain, especially with breathlessness, sweating, or pain spreading to the arm, jaw or back, needs to be treated as a possible heart problem until proven otherwise.
🚨 When it is an emergency
Very rarely, a large paraoesophageal hernia twists or gets trapped, cutting off its own blood supply. This is a surgical emergency.
🔴 Call emergency services for:
- Sudden severe chest or upper abdominal pain, particularly in someone known to have a large hernia
- Retching without being able to bring anything up, together with that pain
- Being unable to swallow even saliva
- Vomiting blood, or material that looks like coffee grounds
- Black, tarry stools
🔬 How it is found
Many hernias turn up during an endoscopy, a camera test of the oesophagus and stomach, done because of reflux or indigestion. Endoscopy also shows whether acid has inflamed the lining, and it can take small samples. A barium swallow, where you drink a liquid that shows up on X-ray, gives a clearer picture of the hernia's size and shape. A CT scan often finds larger ones by accident. Before surgery, a pressure test of the oesophagus checks how well it pushes food down.
An endoscopy is especially worth having if you are over fifty-five with new symptoms, have trouble swallowing, are losing weight without trying, or have anaemia.
🛏️ What helps without medicine
Because the problem is partly mechanical, the most effective changes are mechanical too. Some of them work better than any tablet.
- Lose weight from the waist, if you carry extra
- Even a modest loss lowers the pressure pushing the stomach upward. Of all the changes, this has the strongest evidence.
- Leave three hours between your last meal and bed
- An empty stomach has little to reflux. Late large meals are the classic trigger for night-time symptoms.
- Raise the head of the bed, not your head
- Put blocks of 15 to 20 cm under the bed legs at the head end, or use a wedge under the mattress. Extra pillows just bend you at the waist and can make things worse.
- Sleep on your left side
- The stomach sits lower than the oesophagus in this position, so acid pools away from the valve. The right side tends to worsen reflux.
- Eat smaller meals
- A full stomach presses harder against a weak valve.
- Stop smoking
- Nicotine relaxes the valve, and smokers cough, which adds pressure.
- Find your own triggers
- Alcohol, coffee, chocolate, mint, fatty and spicy food bother some people and not others. Keep a short diary for two weeks rather than banning everything.
- Avoid tight belts and heavy straining after meals
- Both push stomach contents upward.
💊 Medicines for the reflux
No tablet pulls the stomach back into place. What medicines do is reduce the acid that refluxes, so the oesophagus stops hurting and can heal.
| Medicine | How it helps | Practical point |
|---|---|---|
| Proton pump inhibitors | Strongest acid reduction. First choice for frequent symptoms or inflamed oesophagus | Take 30 to 60 minutes before breakfast; taken at other times they work much less well |
| H2 blockers | Moderate acid reduction, works within an hour | Useful at bedtime or as needed |
| Alginates | Form a floating raft on top of stomach contents | Good after meals and at bedtime |
| Antacids | Neutralise acid already there | Fast, short relief for occasional symptoms |
Proton pump inhibitors in our gastrointestinal category include Nexium (Esomeprazole) and Prilosec (Omeprazole). For a bedtime or as-needed option, famotidine is available as Pepcid (Famotidine). It is the usual choice now that ranitidine has been withdrawn.
⏳ Using acid reducers sensibly
Proton pump inhibitors are safe for most people, and when there is a clear reason to take them long-term, such as a damaged oesophagus, the benefit outweighs the risks. The aim is still the lowest dose that controls symptoms.
- Start with a four to eight week course, then review
- Step down gradually, for example to every other day, rather than stopping suddenly. Abrupt stopping causes a rebound of acid for a couple of weeks that feels like the illness returning
- Long-term use is linked to low magnesium, low vitamin B12, gut infections and weaker bones, so it deserves a periodic review
- If a full dose taken correctly does not help after eight weeks, the diagnosis needs checking rather than the dose simply raising
📝 A note on metoclopramide. This older medicine speeds stomach emptying and was once used for reflux. It is no longer recommended for it, because long use can cause movement disorders that may not go away. It still has a place for short-term nausea, which is a different job.
🏥 When surgery makes sense
Most people with a sliding hernia never need an operation. Surgery is considered when:
- a paraoesophageal hernia causes symptoms such as fullness, pain or anaemia
- reflux stays troublesome despite correctly taken medicine
- someone cannot or does not want to take medicine for life, and tests confirm reflux
- complications develop, such as bleeding or narrowing of the oesophagus
The standard operation is done through small keyhole cuts. The surgeon pulls the stomach back into the abdomen, tightens the opening in the diaphragm with stitches, and usually wraps the top of the stomach around the lower oesophagus to rebuild the valve. This wrap is called a fundoplication.
| What to expect afterwards | Detail |
|---|---|
| Soft diet for a few weeks | Swallowing is often tight at first while swelling settles |
| Bloating and difficulty belching | Common early on; usually improves |
| Return to work | Typically two to three weeks for desk work |
| Reflux control | Good in most people |
| Recurrence | Large hernias can come back over the years, which is one reason weight control still matters |
🧬 Long-term reflux and the oesophagus
Years of untreated reflux can change the lining of the lower oesophagus into a different type of tissue, a condition called Barrett oesophagus. It raises the risk of oesophageal cancer, although most people with it never develop cancer. Screening is usually offered to people with long-standing reflux plus other risk factors: male sex, age over fifty, extra weight around the waist, smoking, or a close relative with Barrett oesophagus or oesophageal cancer.
If reflux has troubled you most weeks for years, it is worth raising with a doctor even if tablets keep it under control.
🤰 Pregnancy
Heartburn affects most pregnant women in the later months, as the growing womb pushes upward and hormones relax the valve. It usually disappears after birth. Small meals, not eating late and raising the head of the bed help. Alginates and antacids are generally used first, and stronger medicines are prescribed if needed.
💬 Common questions about daily life
Exercise is good, and helps weight. Heavy lifting, sit-ups and deep bending straight after a meal tend to bring symptoms on, so time them for an empty stomach.
Breathing exercises that train the diaphragm have some small studies behind them for reflux. They are harmless and may help, as an addition rather than a replacement.
Other causes of upper abdominal pain, from ulcers to the pancreas, are covered in our guides to stomach ulcers and left-sided stomach pain.
🚑 When to see a doctor
- Food sticking when you swallow
- Weight loss you cannot explain
- Vomiting blood or black stools — urgent
- Tiredness and pallor that could be anaemia
- Heartburn most days despite medicine taken correctly for eight weeks
- New symptoms after 55
- Chest pain you are not sure about — treat as possible heart pain
❓ Frequently asked questions
Is a hiatal hernia dangerous?
Usually not. Most are small sliding hernias that cause no symptoms or only reflux. A minority of larger paraoesophageal hernias can cause anaemia or, rarely, twist and need emergency surgery. Sudden severe chest pain with retching and inability to vomit needs emergency care.
Can a hiatal hernia heal on its own?
The opening in the diaphragm does not close by itself. Symptoms, however, can settle completely with weight loss, meal timing and acid-reducing medicine, and many people live with a small hernia without ever noticing it.
What is the best sleeping position with a hiatal hernia?
On the left side, with the head of the bed raised 15 to 20 cm using blocks or a wedge under the mattress. Stacking pillows bends you at the waist and can increase reflux. Leaving three hours between eating and lying down helps as much as position.
Does omeprazole or esomeprazole fix a hiatal hernia?
No. They reduce acid, which relieves reflux and allows the oesophagus to heal, but they do not change the hernia itself. They work best taken 30 to 60 minutes before breakfast.
Can a hiatal hernia cause chest pain or breathlessness?
Yes. Reflux can cause burning chest pain, and a large hernia can cause pressure and breathlessness after meals. Because heart problems cause similar symptoms, new chest pain should always be checked as a possible heart problem first.
When is surgery needed for a hiatal hernia?
When a paraoesophageal hernia causes symptoms such as fullness, pain or anaemia, when reflux persists despite correctly taken medicine, or when complications such as bleeding develop. Most sliding hernias never need an operation.
What foods should I avoid with a hiatal hernia?
Triggers vary between people. Common ones are alcohol, coffee, chocolate, mint, fatty and spicy food. A two-week symptom diary is more useful than a blanket ban. Meal size and timing usually matter more than any single food.
Can I exercise with a hiatal hernia?
Yes, and exercise helps weight control, which is one of the best treatments. Heavy lifting, sit-ups and deep bending soon after meals tend to trigger reflux, so do them on an empty stomach.
Is it safe to take acid reducers long term?
For most people, yes, when there is a clear reason. Long-term use is linked to low magnesium and vitamin B12, gut infections and weaker bones, so the lowest effective dose and periodic review are sensible. Stop gradually to avoid rebound acid.
Can a hiatal hernia cause anaemia?
Yes, large hernias can. Small erosions form where the stomach rubs against the diaphragm and bleed slowly, causing iron deficiency. Unexplained tiredness and pallor in someone with a large hernia should prompt a blood test.
📑 Sources and editorial
- Guidelines on the diagnosis and management of gastro-oesophageal reflux disease
- Guidelines on the management of hiatal and paraoesophageal hernias, including surgical indications
- Studies of weight loss, head-of-bed elevation, left-side sleeping and meal timing in reflux
- Reviews of long-term proton pump inhibitor safety and deprescribing
- Guidance on screening for Barrett oesophagus
- Regulatory safety information on metoclopramide
- Related reading: stomach ulcers, left-sided stomach pain
- Related products: Nexium (Esomeprazole), Prilosec (Omeprazole), Pepcid (Famotidine)
- RXshop Editorial Team — reviewed by Emily Chen, MD, Internal Medicine
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.