If stomach acid is keeping you up at night, the fix usually starts with gravity and timing. Lying flat lets stomach contents press against the valve between your stomach and esophagus, so the acid that stays down during the day can creep up at night. Sleeping with your head and upper body raised, finishing meals at least three hours before bed, and lying on your left side are the most practical steps to reduce nighttime reflux.
None of these steps cure reflux. They lower how often acid reaches your esophagus while you sleep, which is when symptoms tend to be worst and hardest to notice. For many people, that is enough to make sleep possible again.
Why does stomach acid get worse when you lie down?
Gravity is doing quiet work for you all day. When you sit or stand, swallowed food and acid sit low in the stomach. A ring of muscle called the lower esophageal sphincter acts as a one-way valve at the top of the stomach, and it stays mostly closed between swallows.
When you lie flat, that valve has less help. Stomach contents can shift toward the esophagus, and if the sphincter relaxes at the wrong moment, acid moves upward. This is why heartburn often shows up within an hour of going to bed, especially after a late or heavy meal.
Sleep adds a second problem. When you are awake, you swallow often and produce saliva, and both help clear acid out of the esophagus. During sleep, swallowing slows sharply and saliva flow drops. Acid that reaches the esophagus stays there longer. That longer contact time is part of why nighttime reflux can damage the esophagus more than daytime reflux, and why it is linked to more severe disease in some people.
Many people with nighttime reflux do not fully wake up. They may notice a morning sore throat, hoarseness, a bad taste, or a cough, without realizing acid was the cause.
What is the best sleeping position for acid reflux?
Sleep with your head and upper body elevated, and lie on your left side. Those two positions have the most support behind them for reducing nighttime acid exposure.
Elevation works by keeping the stomach below the esophagus. Raising just your head with extra pillows does not do this well. It bends your neck and can put pressure on your abdomen. What helps is a gradual slope from the waist up, so your whole upper body is higher than your stomach.
Wedge pillows designed for reflux create that slope. So does placing blocks under the legs at the head of the bed. Some research indicates that elevating the head of the bed reduces reflux episodes and esophageal acid exposure compared with lying flat. The effect comes from the angle, not from the pillow under your head.
Left-side sleeping has a physiological basis. The stomach sits on the left side of the body, and the connection between the stomach and esophagus sits higher when you lie on your left. Lying on your right side puts the stomach above that junction, which makes reflux easier. Some studies have found more acid exposure when people sleep on their right side.
Pregnancy deserves a separate note. Left-side sleeping is commonly recommended in later pregnancy, and some clinicians suggest it for reflux as well. If you are pregnant, follow the guidance from your own clinician, since sleep positioning advice in pregnancy also relates to blood flow and other factors beyond reflux.
How long before bed should you stop eating?
Give yourself at least three hours between your last meal and lying down. That window is widely recommended in clinical guidance for reflux, and it makes mechanical sense. A full stomach presses upward, and digestion is still active for hours after you eat.
Three hours is a general starting point, not a rule that fits everyone. People with slow stomach emptying may need longer. The key is that your stomach should not be full when you get into bed.
What you eat matters too, but timing often matters more at night. Large meals, high-fat meals, alcohol, chocolate, mint, coffee, and carbonated drinks are commonly reported to worsen reflux. The evidence for each trigger varies, and individual responses differ. Keeping a simple symptom diary for a week or two can tell you more about your own triggers than any general list.
One detail people often miss: the problem is not just what you eat late, but how much. A small snack well before bed is less likely to cause trouble than a normal dinner eaten at 9 p.m.
What else helps reflux at night?
Small changes to your evening routine can lower reflux without medication. None of them are dramatic on their own, but they add up.
- Loosen tight waistbands and belts before bed. Pressure on the abdomen pushes stomach contents upward.
- Avoid lying down within two to three hours of vigorous exercise, since bending and straining can trigger reflux.
- If you smoke, quitting reduces reflux symptoms. Smoking relaxes the lower esophageal sphincter and reduces saliva, and the evidence for this is strong.
- If you carry extra weight, gradual weight loss reduces reflux symptoms in many people. This is one of the better-supported lifestyle measures.
- Raise the head of the bed rather than stacking pillows under your head.
- Wait at least two hours after eating before lying down for a nap, not just at night.
Chewing gum after meals may help some people by increasing saliva and swallowing, which clears acid. The evidence is modest, and it is not a substitute for the steps above.
When should you see a doctor about nighttime reflux?
See a doctor if reflux symptoms happen more than twice a week, if they interfere with sleep regularly, or if you have used over-the-counter acid reducers for more than two weeks without relief. Frequent reflux is worth evaluating rather than managing indefinitely on your own.
Some symptoms need prompt medical attention. These include difficulty swallowing, pain when swallowing, vomiting blood, black or tarry stools, unexplained weight loss, or chest pain. Chest pain can be a sign of a heart problem, and it should never be assumed to be reflux without medical assessment.
Persistent nighttime reflux is also linked to complications, including inflammation of the esophagus and, over years, a condition called Barrett’s esophagus in a minority of people. That is one reason not to dismiss symptoms that keep returning.
Treatment options your doctor may discuss include acid-reducing medications, and for some people, testing to measure acid exposure or to examine the esophagus. Some clinicians recommend a trial of medication alongside lifestyle changes rather than lifestyle changes alone, particularly when symptoms are frequent or when the esophagus shows signs of inflammation. The right approach depends on your history and should come from your clinician, not from a general article.
Does sleeping elevated actually work?
Yes, for many people, and the mechanism is straightforward. Elevating the head of the bed keeps stomach contents below the esophagus, and studies have found it reduces reflux episodes and acid exposure during sleep.
The catch is consistency. A wedge that slips, or pillows that flatten overnight, undo the benefit. If you try elevation, set it up so it holds through the night. Blocks under the bed frame are more reliable than a stack of pillows.
Elevation is not a treatment for everyone. Some people find it uncomfortable, and it can shift pressure on the back or hips. If it does not suit you, left-side sleeping and meal timing are the next best steps.
Frequently Asked Questions
Should I sleep on my left or right side with acid reflux?
Left side is the better choice. Lying on your left keeps the stomach below the junction with the esophagus, and some studies have found less acid exposure on the left than on the right.
Does raising the head of the bed help acid reflux?
Yes, for many people. Elevating the whole upper body on a slope reduces reflux episodes during sleep, though raising just your head with pillows does not work the same way.
How long before bed should I stop eating if I have reflux?
Aim for at least three hours between your last meal and lying down. People with slow stomach emptying may need a longer gap.
Can nighttime reflux damage my esophagus?
Yes, over time in some people. Acid stays in contact with the esophagus longer during sleep because swallowing and saliva flow slow down, and persistent reflux is linked to esophageal inflammation and, in a minority, Barrett’s esophagus.

