Heartburn in pregnancy: what helps and what is safe

Last updated September 4, 2026.

Heartburn is one of the most common complaints of pregnancy, driven by hormones that loosen the valve above the stomach and, later, a uterus pressing up from below. Smaller meals, staying upright after eating, and the right antacid control most of it. Pain below the ribs with headache or vision changes is a different problem and a same-day call.

Why is heartburn so common during pregnancy?

What helps without medicine?

Find relief for your heartburn

Start a free AI doctor consult →

Which antacids are safe during pregnancy?

Calcium carbonate antacids are generally considered the first choice in pregnancy, and alginate-based products that form a foam barrier are also commonly recommended. Check with your doctor or midwife before taking any medicine while pregnant, including over-the-counter ones. Avoid antacids high in sodium and anything containing aspirin, and do not double up doses to chase relief. Stronger options like H2 blockers or proton pump inhibitors are sometimes used when simpler measures fail, but only on your clinician's say-so.

When is it not heartburn?

Pain just below the ribs, especially on the right side, in the second half of pregnancy can be a preeclampsia warning rather than heartburn. Call your midwife or doctor the same day if it comes with a bad headache, vision changes like blurring or flashing lights, sudden swelling of the face or hands, or vomiting. Burning behind the breastbone after a big meal that eases with an antacid is heartburn; pain that ignores antacids and brings company is not.

What a Pymander AI doctor consult looks like

How far along are you? And any headaches, vision changes, or new swelling in your face or hands with this?
28 weeks. No headache or anything, just burning after I eat and when I lie down.
Thanks for giving me all this information. This fits pregnancy heartburn, which is one of the most common third-trimester complaints. Smaller meals, nothing to eat in the last couple of hours before bed, and propping the head of your bed up will do most of the work, and calcium carbonate antacids are generally considered safe in pregnancy - confirm the pick with your midwife. One watch-out: pain below your right ribs with a headache or vision changes is a same-day call, not heartburn. Here is your care note.
Care note
Burning after meals at 28 weeks
Fits pregnancy heartburn. Plan: smaller meals, upright after eating, head of bed raised, calcium carbonate antacid confirmed with midwife. Watch: right upper belly pain with headache or vision changes = same-day call.
View care note →

Illustrative example, not a real member's messages.

Common questions

Why is heartburn so common during pregnancy?

Two things stack up. Early on, the hormone progesterone relaxes the muscular valve between the esophagus and the stomach, so stomach acid can splash upward after meals. Later, the growing uterus presses up on the stomach and pushes acid the same direction. That is why heartburn often starts in the second trimester and peaks in the third. It is uncomfortable but harmless to the baby, and it usually disappears after delivery.

What helps pregnancy heartburn without medicine?

The habits with the best payoff: eat smaller meals more often instead of large ones, stay upright for at least an hour after eating, and finish your last meal two to three hours before bed. Raise the head of your bed or use extra pillows so gravity works overnight. Skip your personal triggers, which are most often fatty or fried food, spicy food, chocolate, caffeine, citrus, and carbonated drinks. Wear loose clothing around your waist. These changes sound small but together they control most mild pregnancy heartburn.

Which antacids are safe during pregnancy?

Calcium carbonate antacids are generally considered the first choice in pregnancy, and alginate-based products that form a foam barrier are also commonly recommended. That said, check with your doctor or midwife before taking any medicine while pregnant, including over-the-counter ones, because your specific situation and trimester matter. Avoid antacids high in sodium and any product containing aspirin. Stronger medicines like H2 blockers and proton pump inhibitors are sometimes used in pregnancy when simpler measures fail, but only on your clinician's say-so. Do not take double doses of anything to chase relief.

When is pregnancy heartburn actually something else?

The dangerous look-alike is preeclampsia, which can cause pain just below the ribs, especially on the right side, in the second half of pregnancy. Call your midwife or doctor the same day for pain below the ribs that comes with a bad headache, vision changes like blurring or flashing lights, sudden swelling of the face or hands, or vomiting in the second half of pregnancy. Also get checked for chest pain with shortness of breath, pain that spreads to the arm or jaw, trouble swallowing, black stools, or vomiting that will not stop. Burning behind the breastbone after a big meal, worse when you lie down, is heartburn. Pain that ignores antacids and comes with those other signs is not.

Will the heartburn go away after the baby comes?

Almost always, yes. Pregnancy heartburn is driven by pregnancy hormones and the pressure of the uterus, and both are gone after delivery, so most people are back to normal within days to weeks. If heartburn keeps going or starts up well after pregnancy, that is ordinary reflux and worth its own conversation with a clinician, especially if it happens most days.

Can I use telehealth for pregnancy heartburn?

Yes. A remote clinician can confirm the heartburn pattern, screen for the preeclampsia warning signs, and advise which over-the-counter options fit your trimester and your other medications. Texting an AI doctor is a fast first pass when you are up at midnight with burning and want to know whether it can wait for your next prenatal visit. The red-flag combinations above are the ones that skip telehealth and go straight to a same-day call.

Related questions

Sources

Pymander is not a replacement for a physician and does not provide medical advice, diagnosis, or treatment.

Free AI doctor, 24/7 by textStart a free AI doctor consult