Heartburn in Pregnancy: Safe Steps From Antacids and Alginates to Famotidine, and When Omeprazole or Esomeprazole Fits

🤰 Heartburn is one of the most common complaints of pregnancy, and for many women it arrives just as the morning sickness fades. It is usually harmless to the baby, but it can wreck sleep, meals and mood for months. The hard part is not the burning itself but the worry about what is safe to take: many women put up with nightly pain because they are afraid that any tablet could affect the baby. 🔍 This guide explains why reflux gets worse as pregnancy goes on, which habits make a real difference, and how doctors and midwives step up treatment, from calcium antacids and alginate rafts to famotidine and, when needed, a proton pump inhibitor such as omeprazole or esomeprazole. It also covers the warning signs that look like heartburn but need a doctor the same day, and what to do after the birth and while breastfeeding.
🔥 Why heartburn is so common in pregnancy
🧪 Heartburn is a burning feeling behind the breastbone caused by stomach acid rising into the esophagus, the tube that carries food to the stomach. Outside pregnancy it often points to gastroesophageal reflux disease, but in pregnancy it is mostly a temporary side effect of hormones and a growing womb. Women who had reflux before pregnancy, those who had heartburn in an earlier pregnancy, and those carrying twins tend to feel it more. 📖 For reflux that started before pregnancy or has a structural cause, see hiatal hernia: when the stomach slides upward.
🧬 What changes inside the body
🔬 Three things work together. The hormone progesterone relaxes smooth muscle all over the body, including the ring of muscle at the lower end of the esophagus that normally keeps acid in the stomach. The same hormone slows the stomach and gut, so food sits longer and the stomach stays fuller. Later, the growing womb pushes the stomach upward and raises the pressure inside the belly, which squeezes contents back toward the chest.
💡 Pregnancy does not make the stomach produce much more acid. The problem is acid in the wrong place, not too much acid, which is why simple steps that use gravity and smaller meals help so much, and why a raft-forming alginate can work as well as a stronger medicine for some women.
📅 Heartburn trimester by trimester
Nausea dominates; heartburn starts in some women
Burning becomes regular after meals
Peak: night symptoms, small appetite
Usually fades within days or weeks
🔎 Symptoms and what they usually mean
🧭 Typical reflux is easy to recognise: burning that rises from the upper belly to the chest, worse after meals, when bending and when lying flat, often with a sour or bitter taste. Some women mainly notice burping, a lump in the throat, a dry night cough or a hoarse voice in the morning. The list below helps to sort common feelings from those that point elsewhere.
🩺 Heartburn or something more serious?
⚠️ The most important point in this article: pain high in the belly in the second half of pregnancy is not always heartburn. Pre-eclampsia and its severe form, HELLP syndrome, can start with pain under the breastbone or the right ribs that women mistake for indigestion. Antacids do not ease it, and it often comes with a headache, swelling of the face or hands, or flashing lights.
| 🔎 Condition | 📋 Clues | 🧪 Usual check |
|---|---|---|
| Pre-eclampsia, HELLP | After 20 weeks, pain under the breastbone or right ribs, headache, swelling, vision changes, high blood pressure | Blood pressure, urine protein, blood tests the same day |
| Gallstones | Cramping pain under the right ribs after fatty meals, sometimes to the back or shoulder | Ultrasound, liver tests |
| Acute fatty liver of pregnancy | Late pregnancy, nausea, vomiting, upper belly pain, feeling very unwell, yellow eyes | Urgent blood tests |
| Severe vomiting (hyperemesis) | Cannot keep fluids down, weight loss, dark urine | Urine and blood tests, fluids |
| Heart or lung problem | Chest pain with breathlessness, a fast pulse, coughing blood, pain on breathing in | Emergency assessment |
🪜 The step-up approach doctors use
📏 Treatment in pregnancy follows a simple rule: start with the gentlest option that controls the symptoms, and move up only if it does not. Most women never need more than steps one and two. Those with daily burning that wakes them at night, trouble eating or a sore throat from reflux often need step three or four, and that is fine when a clinician has agreed it.
🍽️ Eating habits that help
🥪 A full stomach pushes harder against a relaxed valve, so five or six small meals work better than three large ones. Eating slowly, sitting upright and staying upright for a while after eating all help gravity keep acid down. Trigger foods vary: some women react to coffee, chocolate, citrus, tomato sauce, fried or spicy food, others only to big portions. A short food and symptom diary for a week often shows the real culprits better than a long list of banned foods.
🚭 Smoking relaxes the valve further and harms the baby, and alcohol is not advised in pregnancy at all, so stopping both helps twice. Peppermint tea, often recommended for digestion, can make reflux worse because it relaxes the same valve muscle; ginger is a better choice for nausea. Chewing sugar-free gum after meals increases saliva, which washes acid back down and neutralises it a little.
🛏️ Getting through the night
🌙 Lying on the left side puts the stomach below the esophagus, so acid has to climb uphill to reach the chest. Lying on the right side does the opposite. A pregnancy pillow behind the back makes it easier to stay on the left side through the night, which many women find helpful for back comfort as well.
🥛 Antacids: which ones are suitable
🧪 Antacids neutralise acid that is already in the stomach. They work within minutes, but the effect lasts only an hour or two, so they are best for occasional symptoms or taken after meals and at bedtime. Not all antacids are equal in pregnancy, mostly because of what they contain apart from the active alkali.
| 💊 Type | 📝 In pregnancy |
|---|---|
| Calcium carbonate | Widely used first choice; also adds calcium. Keep within the label limit to avoid constipation and excess calcium |
| Magnesium hydroxide with aluminium | Generally acceptable for short use at usual doses; aluminium can constipate, magnesium can loosen stools |
| Magnesium trisilicate | Usually avoided for long or heavy use in pregnancy |
| Sodium bicarbonate (baking soda) | Avoid: high sodium, fluid retention and changes in blood chemistry |
| Products with aspirin or bismuth | Avoid unless a doctor advises; some fizzy remedies contain aspirin |
💡 Always read the full label: some heartburn remedies combine an antacid with aspirin or a high sodium load, which is not what you want in pregnancy. A pharmacist can check a product in a minute. Women with high blood pressure or swelling should ask especially about sodium content.
🧴 Alginates: a raft on top of the stomach
🛟 Alginate products are made from seaweed extract. In the stomach they form a thick gel layer that floats on top of the contents, acting like a raft that blocks acid from splashing upward. They are not absorbed into the blood in meaningful amounts, which makes them a favourite in pregnancy. They work best taken after meals and at bedtime, when reflux is most likely. Many alginate liquids also contain sodium or potassium bicarbonate to make the raft, so women on a salt-restricted diet should choose a low-sodium version.
Fast, little absorbed, good for regurgitation and night reflux
Needs repeat doses; taste puts some women off
After meals and just before bed
⏰ Timing antacids with iron and prenatal vitamins
📊 Many pregnant women take iron, folic acid and a multivitamin, and some take levothyroxine for an underactive thyroid. Antacids and alginates bind iron and thyroid hormone in the gut and reduce how much is absorbed. Acid-lowering tablets such as famotidine and PPIs also reduce iron uptake a little, because iron is absorbed best in an acidic stomach. A simple daily plan avoids the clash.
💊 Famotidine: the H2 blocker step
🛡️ When antacids are needed many times a day, a medicine that lowers acid production is the next step. Famotidine blocks histamine H2 receptors on the acid-making cells of the stomach. It reduces acid for around 10 to 12 hours, which makes it useful for night-time burning. It is one of the most widely used acid reducers in pregnancy and has a long, reassuring track record. A common adult dose is 20 mg once or twice a day, or a single dose at bedtime; people with reduced kidney function need a lower dose.
📋 How it is commonly used
💊 20 mg at bedtime, or 20 mg twice a day
⏱️ Starts working within about an hour
🌙 Good choice when symptoms are mostly at night
📊 What to expect
✅ Night burning: often clearly better
✅ Fewer antacids needed during the day
➖ Effect may fade after a few weeks of daily use
⚠️ Side effects: headache, dizziness, constipation or diarrhoea
🚫 What happened to ranitidine
📦 For years ranitidine (Zantac) was the H2 blocker most often given to pregnant women. In 2019 and 2020 it was withdrawn from most markets after a possible cancer-causing impurity called NDMA was found in some products, with levels that could rise during storage. The problem was the impurity, not the way the drug works. Famotidine has taken its place in most guidelines. Women who still have old ranitidine tablets at home should not use them and can ask a pharmacist about famotidine instead.
🛡️ Proton pump inhibitors in pregnancy: what is known
🔬 Proton pump inhibitors (PPIs) switch off the final pump that pushes acid into the stomach, so they lower acid more strongly and for longer than famotidine. Large population studies from several countries, following many thousands of pregnancies, have not shown a clear increase in major birth defects with PPIs taken in early pregnancy. Omeprazole has the most data, and lansoprazole, pantoprazole and esomeprazole have also been studied, with fewer numbers for rabeprazole. Because pregnancy safety is never proven to the level of zero risk, PPIs are usually kept for heartburn that the earlier steps do not control, at the lowest dose that works.
🧪 Some observational studies have reported a possible link between acid-lowering medicines in pregnancy and asthma or allergy in childhood. These studies cannot separate the effect of the medicine from the effect of the mother being unwell, and the findings are not consistent. It is a reason to avoid using PPIs casually, not a reason to suffer severe untreated reflux, which itself affects nutrition, weight gain and sleep.
💊 Omeprazole, esomeprazole and the other PPIs
📋 All PPIs work the same way and have similar side effects. Esomeprazole is a refined form of omeprazole (the active half of the same molecule), so much of what is known about omeprazole applies to it as well. If a woman was already stable on a PPI before pregnancy, the doctor may simply continue the same one rather than switch.
💡 Aciphex (Rabeprazole) works well for reflux outside pregnancy, but there are fewer pregnancy data for rabeprazole, so doctors usually prefer one of the others during pregnancy unless there is a specific reason. Common PPI side effects at any stage are headache, nausea, diarrhoea or constipation and wind; most are mild.
⏱️ How to take a PPI so it actually works
🧪 A PPI can only block pumps that are active, and the pumps switch on when food arrives. That is why the timing in relation to breakfast matters more than the exact brand. Taking it at bedtime or after eating is a common reason women feel it does not help. 📖 More reasons a PPI can seem to fail are covered in Nexium not working for heartburn.
⚖️ Famotidine or a PPI?
🤔 Both are reasonable options in pregnancy, and the choice depends on how often and how badly the burning comes. Famotidine suits mostly night-time or moderate symptoms; a PPI suits daily, severe or damaging reflux. Some women use famotidine for a few weeks, then step up; others start a PPI straight away because their reflux was already severe before pregnancy.
🤢 When nausea and vomiting come with the heartburn
💧 Repeated vomiting irritates the esophagus and can cause burning on its own, and reflux can make nausea worse. Treating one often helps the other. Simple steps come first: small dry snacks, ginger, avoiding long gaps without food. When medicine is needed, doctors choose from antihistamine-type anti-sickness tablets and others. Metoclopramide, available as Reglan (Metoclopramide), speeds stomach emptying and is used for nausea in pregnancy, usually for a short course of up to 5 days because longer use raises the risk of movement side effects such as restlessness or muscle spasms. It is not a routine heartburn treatment. 📖 How the anti-sickness medicines compare is explained in anti-sickness medicines compared.
⚠️ Interactions and who needs extra care
| 💊 Situation | 📝 What to know |
|---|---|
| Clopidogrel | Omeprazole and esomeprazole can weaken it; pantoprazole is usually preferred |
| Levothyroxine | Acid reduction and antacids can lower absorption; thyroid levels may need rechecking |
| Iron tablets | Absorbed less with antacids and acid reducers; separate doses and watch blood counts |
| Some HIV medicines (such as rilpivirine, atazanavir) | Need stomach acid to be absorbed; PPIs may be unsuitable |
| Kidney disease | Famotidine dose is reduced; magnesium antacids used with care |
| High blood pressure or swelling | Avoid high-sodium antacids and alginates |
📝 Bring every tablet and supplement to the antenatal appointment, including those bought without a prescription. Pharmacists and midwives catch many of these clashes in a minute when they can see the full list.
🗿 Myths about heartburn in pregnancy
🌳 Which step fits you?
🍼 After the birth and while breastfeeding
👶 Once the baby is born, progesterone falls quickly and the womb shrinks, so most women find that heartburn eases within days or a few weeks. It makes sense to step down treatment in the reverse order: stop the PPI or famotidine, keep an alginate for a week or two, then stop that too. If a PPI has been taken daily for months, stopping it suddenly can cause a short burst of extra acid, so tapering over a week or two is gentler. 📖 How to stop a PPI without rebound is covered in how long to stay on a PPI and how to stop it.
Small amounts in breast milk; generally considered compatible
Very little reaches the baby; generally considered compatible
Heartburn months after birth needs a fresh look
🧪 Heartburn that continues well after the birth may be ordinary reflux disease that pregnancy unmasked, a hiatal hernia, or an infection with H. pylori, a stomach bacterium that can be tested for with a breath or stool test. A doctor can sort this out once the pregnancy hormones have settled. 📖 For the infection, see H. pylori treatment and retesting.
📋 Planning a pregnancy while already on a PPI
🗓️ Many women take a PPI for long-standing reflux before they plan a family. Do not stop it suddenly on finding out about the pregnancy; talk to the doctor first. If reflux was mild, the dose can often be lowered or swapped for famotidine and alginates. If it was severe, with a damaged esophagus, continuing the PPI may be safer than letting the inflammation come back. Folic acid should start before conception regardless, and it is worth telling the clinic about all heartburn medicines at the booking appointment.
🧭 Questions to take to the pre-pregnancy or booking visit:
🔹 Is my current PPI and dose still the best choice, or can I step down?
🔹 Which antacid or alginate should I keep at home, and how much is too much?
🔹 How should I time my iron, vitamins and thyroid tablets around the heartburn medicines?
🧭 Putting it all together
💡 Heartburn in pregnancy is usually a passing problem with a predictable course. Gravity, smaller meals and the right timing do most of the work, antacids and alginates fill the gaps, and famotidine or a PPI help the women whose symptoms stay severe. What matters most is to treat the burning rather than suffer through it, and to remember the short list of signs that are not heartburn at all.
🚨 When to see a doctor
⛔ Contact the maternity unit or emergency services the same day if:
🔹 Pain under the breastbone or right ribs after 20 weeks comes with a headache, swelling of the face or hands, or blurred vision, or does not ease with an antacid.
🔹 You vomit blood, see material like coffee grounds, or pass black, tarry stools.
🔹 You cannot keep fluids down, pass very little dark urine, or feel faint.
🔹 Food sticks when you swallow, swallowing is painful, or you are losing weight.
🔹 Chest pain comes with breathlessness, a fast heartbeat or pain on breathing in.
📅 Book a routine appointment if heartburn needs antacids every day despite habit changes, if it wakes you most nights, or if it continues more than a few weeks after the birth. Nobody needs to wait until the baby arrives to get proper relief.
❓ Frequently asked questions
Why is heartburn so bad in pregnancy?
Progesterone relaxes the valve between the stomach and esophagus and slows digestion, and later the growing womb pushes the stomach upward, so acid rises more easily.
Which antacid is safe in pregnancy?
Calcium carbonate antacids and alginate rafts are the usual first choices. Avoid sodium bicarbonate, products containing aspirin, and heavy use of magnesium trisilicate.
Can I take famotidine while pregnant?
Famotidine is widely used in pregnancy when antacids are not enough. A usual dose is 20 mg once or twice a day, agreed with a doctor or midwife.
Is omeprazole safe during pregnancy?
Large population studies have not shown a clear increase in birth defects. It is usually kept for severe heartburn that earlier steps do not control, at the lowest dose that works.
Can I take Nexium (esomeprazole) when pregnant?
Esomeprazole is closely related to omeprazole and has been studied in pregnancy with reassuring results. Doctors may continue it in women already stable on it or use it for severe reflux.
When should I take a PPI?
Take it 30 to 60 minutes before breakfast with water. Taken after food or at bedtime it works much less well, and full effect needs 3 to 5 days.
Do antacids affect iron tablets?
Yes. Antacids and alginates reduce iron absorption, so take them at least 2 hours apart, and keep them about 4 hours away from levothyroxine.
How can I sleep with heartburn in pregnancy?
Eat the last meal 2 to 3 hours before bed, raise the head of the bed by 10 to 20 cm, sleep on your left side and keep an alginate by the bed.
When is upper belly pain in pregnancy dangerous?
After 20 weeks, pain under the breastbone or right ribs with headache, swelling or vision changes can be pre-eclampsia and needs checking the same day.
Does pregnancy heartburn go away after birth?
In most women it fades within days or weeks after delivery. Heartburn that lasts for months afterwards should be checked by a doctor.
📑 Sources and editorial
- 📘 Obstetric and gastroenterology guidance on heartburn and reflux in pregnancy
- 🔬 Population registry studies of proton pump inhibitor and H2 blocker use in early pregnancy
- 💊 Product information for famotidine, omeprazole, esomeprazole, lansoprazole, pantoprazole and metoclopramide
- 🧪 Regulatory safety communications on ranitidine and NDMA impurities
- 🍼 Reference sources on medicines in breastfeeding
- 🩺 Clinical guidance on recognising pre-eclampsia and HELLP syndrome
- 📖 Related reading: Nexium not working for heartburn, hiatal hernia, how long to stay on a PPI, anti-sickness medicines compared, H. pylori treatment
- 🛒 Related products: Nexium (Esomeprazole), Prilosec (Omeprazole), Pepcid (Famotidine), Prevacid (Lansoprazole), Protonix (Pantoprazole), Aciphex (Rabeprazole), Reglan (Metoclopramide)
- 🩺 RXshop Editorial Team — reviewed by Anita Sharma, MD — OB/GYN
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.