Sleeping on your left side with your upper body elevated is the single most effective position for reducing heartburn during pregnancy. But positioning alone often isn’t enough, especially as pregnancy progresses. A combination of how you sleep, when and what you eat, and sometimes medication can make the difference between a miserable night and a restful one.
Heartburn affects the majority of pregnant women at some point, and it tends to get worse at night when you’re lying flat. Understanding why it happens during pregnancy helps explain why certain strategies work better than others.
Why Pregnancy Makes Nighttime Heartburn Worse
Two things are working against you. First, rising levels of progesterone and estrogen relax the muscular valve between your esophagus and stomach. This valve normally acts as a one-way door, keeping stomach acid where it belongs. During pregnancy, pressure in that valve drops progressively, reaching its lowest point around 36 weeks. After delivery, valve pressure returns to normal, which is why pregnancy heartburn resolves on its own postpartum.
Second, your growing uterus pushes up against your stomach, physically compressing it and making it easier for acid to travel upward. When you lie down, gravity is no longer helping keep acid in your stomach, so these two factors combine to make nighttime the worst time for reflux.
The Best Sleep Position for Heartburn
Left-side sleeping is consistently better than right-side sleeping for heartburn. The reason is anatomical: when you lie on your right side, your esophagus sits lower than the junction where it connects to your stomach, essentially creating a downhill path for acid to flow into your throat. Lying on your left side reverses this arrangement, making it harder for acid to escape upward. Left-side sleeping also happens to be the position most recommended during pregnancy for blood flow to the placenta, so it’s a two-for-one benefit.
Elevating your head and upper body adds another layer of protection. A wedge pillow angled between 30 and 45 degrees, raising your head 6 to 12 inches above the mattress, is the most practical way to do this. Regular pillows stacked behind your head tend to slide and can kink your neck without actually elevating your esophagus above your stomach. A wedge pillow lifts your entire torso on a gradual incline, which is what actually prevents acid from traveling upward.
If you don’t have a wedge pillow, placing blocks or risers under the legs at the head of your bed achieves a similar effect. The goal is a gentle slope from your waist to your head, not just a propped-up neck.
What and When to Eat Before Bed
Avoid lying down for at least 30 minutes after eating, though many women find that a longer gap of two to three hours makes a bigger difference for nighttime symptoms. Eating a large meal close to bedtime is one of the most reliable triggers for overnight heartburn because a full stomach puts more pressure on that already-weakened valve.
Smaller, more frequent meals throughout the day keep your stomach from overfilling at any one time. This matters more than almost any specific food you could avoid, though certain foods are well-known reflux triggers worth cutting from your evening routine:
- Citrus fruits and tomato-based foods, which increase stomach acidity
- Chocolate and peppermint, which relax the esophageal valve further
- Fried or high-fat foods, which slow stomach emptying
- Spicy dishes, which irritate the esophageal lining
- Carbonated drinks and coffee, which can increase acid production and bloating
Drink fluids between meals rather than during them. Drinking while you eat increases the total volume in your stomach, which raises pressure against the valve. Keeping a water bottle handy and sipping throughout the day, then cutting back in the hour or two before bed, helps reduce both reflux and middle-of-the-night bathroom trips.
What to Wear and How to Settle In
Tight clothing around your midsection increases abdominal pressure, which pushes acid upward. Loose-fitting pajamas or nightgowns make a noticeable difference, especially in the second and third trimesters when your belly is already compressed. Avoid anything with a snug waistband.
Some women find that chewing gum after their last meal helps. It stimulates saliva production, which is naturally alkaline and helps neutralize acid in the esophagus. Sugar-free gum works fine for this. Even 15 to 20 minutes of chewing can reduce the acid sitting in your esophagus before you lie down.
Medications That Are Safe During Pregnancy
When lifestyle changes aren’t enough, medication follows a step-up approach, starting with the mildest option and moving to stronger ones only if needed.
Antacids
Calcium-based antacids (like Tums) are the standard first choice. They neutralize acid on contact and work within minutes, making them useful for breakthrough symptoms that wake you up at night. If you’re 19 or older, the safe upper limit for calcium during pregnancy is 2,500 mg per day, including what you get from food and prenatal vitamins. For those 14 to 18, the upper limit is 3,000 mg. Staying within these limits, calcium-based antacids are considered safe throughout pregnancy. Avoid antacids containing sodium bicarbonate (baking soda), which can cause fluid retention.
Acid-Reducing Medications
If antacids aren’t controlling your symptoms, the next step is a class of drugs that reduce how much acid your stomach produces. Famotidine (Pepcid) is the most commonly used option in this category. Large studies comparing thousands of pregnant women who took these medications to those who didn’t have found no increased risk of birth defects, miscarriage, or preterm delivery.
Stronger Acid Blockers
For persistent heartburn that doesn’t respond to the options above, proton pump inhibitors are the strongest available treatment. Most options in this category are considered safe in pregnancy, with multiple meta-analyses showing no significant difference in outcomes between exposed and unexposed pregnancies. These are typically reserved for cases where heartburn is severe enough to interfere with eating or sleeping despite trying other approaches.
The key point is that you don’t need to just tough it out. All three levels of medication have good safety data in pregnancy, and the step-up approach lets you use the least amount of medication that controls your symptoms.
A Practical Nighttime Routine
Putting all of this together, a typical evening routine that minimizes overnight heartburn looks something like this: eat your last meal at least two to three hours before bed, keeping it small and avoiding your known trigger foods. Sip water between meals rather than with them. Change into loose pajamas. If you need a snack closer to bedtime, keep it bland and small. Pop a calcium antacid if you feel the burn starting. Then settle onto your left side on a wedge pillow or an inclined bed, with a body pillow between your knees for comfort.
Many women find that the third trimester is the worst stretch, peaking around 36 weeks when valve pressure is at its lowest and the uterus is at its largest. The reassuring part is that this resolves after delivery, typically within days, as hormone levels drop and the mechanical pressure disappears.

