Skip to main content
SafeMama

Disclaimer: This guide is for education only and is not a substitute for professional medical advice. Always confirm medicine, supplement and product decisions with your obstetrician, midwife, pharmacist or healthcare provider.

Guide

Heartburn in Pregnancy: Which Remedy, and When to Ask

Published 2026-07-08 | By SafeMama Editorial Team | Editorial policy

Heartburn in Pregnancy: Which Remedy, and When to Ask pregnancy safety guide image

Short answer

Heartburn affects a large share of pregnancies and usually responds to simple changes first. NHS suggests diet and posture adjustments, then antacids or alginates, with acid-reducing medicines available if those are not enough. Ask a pharmacist which product rather than picking from the shelf.

Common, start simple then ask

Heartburn in pregnancy: how to think about it

NHS guidance describes indigestion and heartburn as common in pregnancy, caused by hormonal changes relaxing the valve at the top of the stomach and later by the growing uterus pressing upwards. It is uncomfortable rather than dangerous in itself, which is why the advice starts with diet, meal size, timing and sleeping position before medicines. Where medicines are needed, the guidance moves through classes: antacids neutralise acid directly, alginates form a barrier on top of the stomach contents, H2 blockers such as famotidine reduce acid production, and proton pump inhibitors such as omeprazole reduce it further. Each is used in pregnancy in the right circumstances, which is exactly why the choice belongs with a pharmacist or clinician rather than with the packaging. The one clinical caveat worth knowing is that pain in the upper abdomen late in pregnancy is also a feature of pre-eclampsia, so severe pain under the ribs with headache or visual changes is treated as urgent rather than as reflux.

Heartburn: safer choices

  • Eating smaller meals more often, and not eating within about three hours of lying down, which are the first suggestions in NHS guidance.
  • Propping the head and shoulders up in bed, which reduces reflux overnight when it is often worst.
  • Antacids and alginates, which are the usual first medicines suggested in pregnancy. Gaviscon and calcium-based antacids such as Tums are common examples.
  • Asking a pharmacist which product suits you, since antacids, alginates, H2 blockers and proton pump inhibitors are different classes with different considerations.
  • Asking about acid-reducing medicines such as omeprazole or famotidine if simpler options are not controlling it. These are used in pregnancy when a clinician agrees.

Heartburn: what to avoid or double-check

  • Do not take antacids at the same time as iron tablets. Antacids reduce iron absorption, so separate them by a couple of hours.
  • Avoid trigger foods you have identified, commonly spicy, fatty or fried food, chocolate, citrus and caffeine.
  • Do not self-start a proton pump inhibitor long term without advice. Short courses differ from ongoing daily treatment.
  • Do not assume all heartburn is heartburn. Severe upper abdominal pain, especially under the ribs on the right after 20 weeks with headache or visual changes, can indicate pre-eclampsia and needs same-day contact.

How SafeMama helps

SafeMama can identify which class a heartburn product belongs to and what it contains, including calcium carbonate, alginates, famotidine and the proton pump inhibitors, plus sodium content and interactions with iron tablets.

Open the SafeMama app, scan the barcode or search the ingredient, then use the result as a starting point for a conversation with your healthcare provider.

Sources

Frequently asked questions

What can I take for heartburn while pregnant?

NHS suggests diet and posture changes first, then antacids or alginates. Acid-reducing medicines are available if those are not enough. Ask a pharmacist which product suits you.

Is Gaviscon safe in pregnancy?

Alginates such as Gaviscon are among the commonly suggested first options. Check the specific product with a pharmacist, since formulations and sodium content vary.

Can I take omeprazole for pregnancy heartburn?

NHS guidance says omeprazole can usually be taken in pregnancy, though it is worth checking with a pharmacist or doctor first, particularly for daily or longer-term use.

Why is heartburn worse at night?

Lying flat lets stomach contents move up more easily. Not eating within about three hours of bed, and propping your head and shoulders up, both help.

Do antacids affect my iron tablets?

Yes. Antacids reduce iron absorption, so take them a couple of hours apart rather than together.

When is upper abdominal pain not heartburn?

Severe pain under the ribs, particularly on the right after 20 weeks and with headache or visual changes, can be a sign of pre-eclampsia. Contact your maternity unit the same day rather than treating it as reflux.

Check products faster with SafeMama

SafeMama scans food, skincare, medicine and supplement labels and explains pregnancy-safety flags using published guidance from authorities like ACOG, NHS, FDA, CDC and WHO.

Download SafeMama