Heartburn during pregnancy is caused by a combination of hormonal changes and physical pressure from the growing uterus. Progesterone, which rises steadily throughout pregnancy, relaxes the muscular valve between your esophagus and stomach, making it easier for acid to flow upward. As the pregnancy progresses, the expanding uterus crowds the stomach and pushes acid higher. These two forces work together, which is why heartburn affects roughly a third of pregnant women in the first trimester and nearly half by the third.
How Progesterone Opens the Door to Acid Reflux
The primary driver of pregnancy heartburn is progesterone. This hormone rises continuously from early pregnancy onward to support the uterine lining and prevent contractions. But progesterone has a direct relaxing effect on smooth muscle throughout the body, including the ring of muscle at the bottom of your esophagus called the lower esophageal sphincter (LES). Normally, the LES acts as a one-way valve: it opens to let food into the stomach and then closes to keep acid from splashing back up.
As progesterone levels climb, the pressure this valve can exert drops progressively. The result is a weaker seal that allows stomach acid to creep into the esophagus, especially when you’re lying down or bending over. This hormonal effect starts early, which is why some women experience heartburn well before they’re showing. It also explains why heartburn can appear alongside other smooth-muscle effects of progesterone, like slower digestion and bloating.
The Growing Uterus Adds Physical Pressure
Hormones start the problem, but physical crowding makes it worse. As the fetus grows, the uterus expands and pushes upward against the stomach. This crowds the stomach into a smaller space and increases the pressure inside your abdomen, forcing acid up through the already-weakened sphincter. It’s the same principle as squeezing a tube of toothpaste from the bottom.
This mechanical pressure is why heartburn tends to escalate over time. In a study of pregnant women, the prevalence of gastroesophageal reflux was 35.4% in the first trimester, 30.7% in the second, and jumped to 46.8% in the third. The third trimester is when the fetus and uterus are at their largest, leaving the least room for the stomach and other organs.
Why Certain Foods Hit Harder During Pregnancy
Foods that might have caused mild discomfort before pregnancy can become significantly worse when the LES is already compromised and the stomach is under pressure. Spicy foods, citrus, tomato-based sauces, chocolate, and caffeine all tend to relax the LES further or stimulate acid production. Fatty or fried foods slow stomach emptying, which means acid sits in the stomach longer and has more opportunity to reflux.
Meal size matters more during pregnancy than at other times. A large meal fills the stomach to capacity in a space that’s already compressed, increasing the odds that acid will push past the weakened valve. Eating smaller, more frequent meals gives the stomach less volume to manage at once. Similarly, lying down within an hour or two of eating removes gravity’s help in keeping acid where it belongs. Propping the head of your bed up a few inches, or using an extra pillow, can make a noticeable difference at night.
What Helps: Practical Relief Options
Lifestyle adjustments are the first line of defense. Beyond smaller meals and staying upright after eating, wearing loose-fitting clothing around the midsection and avoiding eating close to bedtime can reduce episodes. Some women find that cold milk or yogurt provides quick, temporary relief.
When those changes aren’t enough, over-the-counter antacids containing aluminum, magnesium, or calcium are generally regarded as safe during pregnancy. These work by neutralizing stomach acid directly and tend to provide fast but short-lived relief. If antacids alone aren’t controlling your symptoms, acid-reducing medications that block histamine receptors (the category that includes famotidine) are considered the next step. These are more effective for persistent symptoms, though most specialists suggest avoiding them during the first trimester when possible due to limited early-pregnancy data. The over-the-counter versions are half the strength of prescription forms.
When It Might Not Be Heartburn
Most pregnancy heartburn is harmless, if uncomfortable. But there’s one situation where pain that feels like heartburn deserves immediate attention. Preeclampsia, a serious pregnancy complication involving high blood pressure, can cause upper abdominal pain, typically under the ribs on the right side. This pain is frequently confused with heartburn, gallbladder trouble, or indigestion.
The key differences: preeclampsia pain tends to be a steady, deep ache rather than the burning sensation of acid reflux. It often comes alongside other symptoms like sudden swelling in the face or hands, severe headaches, vision changes, or a general feeling that something is wrong. If you’re experiencing upper abdominal pain that doesn’t respond to antacids, especially after 20 weeks of pregnancy, contact your provider right away rather than assuming it’s just heartburn.
Why It Usually Resolves After Delivery
The reassuring part of pregnancy heartburn is that both of its root causes disappear after birth. Progesterone levels drop sharply once the placenta is delivered, allowing the esophageal sphincter to regain its normal tone. The physical compression on the stomach resolves immediately as the uterus begins to shrink. Most women find that their heartburn improves dramatically within days of delivery, though it can take a few weeks for the digestive system to fully return to its pre-pregnancy state.

