Sleeping with a hiatal hernia comes down to two things: keeping your upper body elevated and choosing the right sleep position. When you lie flat, gravity no longer helps keep stomach acid where it belongs, and the weakened junction between your esophagus and stomach lets acid creep upward. The good news is that a few targeted changes to your sleep setup and evening routine can dramatically reduce nighttime symptoms.
Why Lying Down Makes It Worse
A hiatal hernia changes the geometry of the junction where your esophagus meets your stomach. Normally, this junction acts as a tight seal. With a hernia, part of the stomach pushes up through the diaphragm, making that seal shorter and more easily stretched open. This creates a pocket of unbuffered acid that sits right above the junction.
When you’re upright, gravity pulls that acid back down into the stomach. The moment you recline, gravity stops helping. Acid lingers in the esophagus longer because your body can’t clear it as efficiently. This is why many people with a hiatal hernia feel fine during the day but wake up with burning, coughing, or a sour taste at night.
Elevate Your Upper Body, Not Just Your Head
The single most effective change you can make is raising your entire upper body while you sleep. The goal is to create a gentle slope from your waist to your head so gravity works in your favor all night. Most clinical trials have used an elevation of about 20 to 28 centimeters (roughly 8 to 11 inches), which translates to an angle of around 20 to 22 degrees.
You have two main options:
- Bed risers or blocks: Place sturdy blocks or risers under the two legs at the head of your bed. This tilts the entire mattress and keeps your body in a natural position. Start with 6-inch blocks and work up to 8 or more if needed.
- Wedge pillow: A foam wedge sits on top of your mattress and elevates your torso. Most wedge pillows designed for reflux range from a 30- to 45-degree angle and raise the head between 6 and 12 inches, according to Cleveland Clinic guidance. The steeper angle can feel awkward at first, so give yourself a week to adjust.
What doesn’t work: stacking regular pillows. They tend to bend you at the waist rather than creating a smooth incline, which can actually increase pressure on your stomach and make reflux worse. You need a continuous slope from your midsection upward.
Sleep on Your Left Side
Your stomach naturally curves to the left side of your body, with the junction to your esophagus sitting higher than the bulk of the stomach. When you sleep on your left side, that junction stays above the pool of stomach acid, making it harder for acid to escape upward. The opposite happens on your right side: the junction dips below the acid level, essentially pouring acid toward your esophagus.
If you tend to roll onto your back or right side during the night, a body pillow tucked behind you can help you stay in position. Some people place a tennis ball in a pocket sewn onto the back of their sleep shirt to discourage rolling over. Combining left-side sleeping with upper body elevation gives you the strongest protection against nighttime reflux.
What and When to Eat Before Bed
Meal timing matters more than most people expect. A study comparing dinner-to-bedtime intervals found that people who ate less than three hours before lying down were about 7.5 times more likely to experience reflux compared to those who waited four hours or more. That’s not a small difference. Aim for at least three hours between your last meal and bedtime, and ideally four.
Certain foods are especially likely to relax the muscle at the bottom of your esophagus or irritate it directly. The biggest nighttime offenders include:
- Spicy and fried foods
- Chocolate and mint (both relax the esophageal sphincter)
- Tomato-based sauces, particularly with garlic
- Citrus fruits and juices
- Alcohol
If you get hungry close to bedtime, a small, bland snack like a banana or a handful of crackers is far less likely to trigger symptoms than anything acidic, fatty, or heavy. Carbonated drinks are also worth avoiding in the evening because they expand the stomach and put pressure on that already-weakened junction.
Nighttime Medication Timing
If you already take a daily acid-reducing medication, you may have noticed it controls daytime symptoms well but doesn’t fully cover the overnight hours. This is common. Research shows that more than 75% of people on twice-daily acid-reducing medication still experience a surge of stomach acid during the night, a phenomenon called nocturnal acid breakthrough.
Adding a different type of acid blocker (an H2 blocker, available over the counter) at bedtime can fill that gap. In one study of patients with reflux disease, the percentage of overnight hours with well-controlled stomach acid jumped from 51% with standard medication alone to 96% when a bedtime H2 blocker was added. The duration of acid exposure in the esophagus during breakthrough episodes also dropped from an average of 42 minutes to 18 minutes. If your current medication isn’t covering your nights, this is worth discussing with your doctor as an add-on strategy.
Other Habits That Help
Wearing loose clothing to bed sounds simple, but tight waistbands and compression garments increase pressure on your abdomen and push acid upward. Switch to loose pajama bottoms or sleep in something without an elastic waist.
Excess body weight directly increases abdominal pressure, which worsens hernia symptoms. Even modest weight loss can make a noticeable difference. Studies on patients with both hiatal hernias and obesity have shown that significant weight reduction leads to complete resolution of reflux symptoms in some cases. You don’t need to reach an ideal weight to see benefits; losing even 10 to 15 pounds can reduce the pressure enough to improve your nights.
Avoid vigorous exercise within two to three hours of bedtime. While regular physical activity helps with weight management and overall digestion, intense movement right before sleep can jostle stomach contents and trigger reflux.
Signs Your Nighttime Symptoms Need Attention
Most nighttime reflux from a hiatal hernia is uncomfortable but manageable. However, some symptoms suggest acid is reaching your throat and lungs, which can cause real damage over time. Watch for a chronic dry cough that’s worse at night, wheezing or shortness of breath that started in adulthood (sometimes misdiagnosed as late-onset asthma), frequent throat clearing, hoarseness in the morning, or recurrent chest infections. Aspiration of stomach contents into the lungs is significantly worse when lying down, and these symptoms indicate it may be happening regularly.

