Heartburn affects up to 80 percent of pregnant people, and the American College of Obstetricians and Gynecologists (ACOG) identifies most over-the-counter antacids containing calcium carbonate or magnesium hydroxide as safe when used at the recommended dose during pregnancy. You do not have to tolerate severe heartburn throughout your pregnancy—safe, effective relief exists, and the choice depends on which medication works best for your symptoms and how severe they are.
Pregnancy heartburn usually peaks in the second and third trimester as the growing uterus presses on your stomach and hormones slow digestion. The good news: calcium carbonate antacids are the preferred first-line medication after lifestyle modifications, with years of clinical use supporting safety and the added benefit of supporting fetal bone development. This article walks you through which antacids work, which ones to avoid, and when to move to stronger medications if over-the-counter relief stops cutting it.
Table of Contents
- How Pregnancy Changes Your Digestion
- Why Heartburn Worsens During Pregnancy
- Calcium Carbonate Antacids—The Safest First Choice
- Magnesium Hydroxide as Your Alternative
- H2 Blockers When Antacids Fall Short
- Proton Pump Inhibitors for Stubborn Heartburn
- Antacids You Must Avoid in Pregnancy
- Lifestyle Changes That Actually Reduce Heartburn
- Timing and Dosing—How to Use Antacids Safely
- When to Call Your Doctor About Pregnancy Heartburn
- Frequently Asked Questions
How Pregnancy Changes Your Digestion
During pregnancy, your body releases a hormone called progesterone that relaxes muscles throughout your body—including the sphincter that normally keeps stomach acid where it belongs. That valve loosens, and acid backs up into your esophagus, creating the burning sensation you know as heartburn.
This is not a sign something is wrong; it is a normal side effect of pregnancy's chemistry. The growing uterus adds a second pressure. As your baby grows and your uterus expands, it pushes on your stomach from below, essentially squeezing it and making it easier for acid to flow upward. This mechanical pressure combines with the hormonal effect, which is why heartburn often gets worse as you move through the second and third trimester.
The effect usually peaks around week 32 and may ease in the final weeks when the baby drops lower in preparation for delivery. Heartburn in pregnancy is not the same as a sign of a problem with your baby. Your discomfort does not pass through to the fetus—the baby sits in the amniotic sac behind the uterus, completely separate from your digestive system.
What matters is that *you* feel better so you can sleep, eat, and function without constant pain. Some pregnancy factors make heartburn worse. Eating large meals crowds the stomach; lying flat after eating encourages acid reflux; certain foods relax the sphincter further (spicy, fatty, acidic, and caffeinated foods top the list). Understanding these triggers matters because lifestyle changes are always the first step before reaching for any medication.
Why Heartburn Worsens During Pregnancy
pregnancy hormones do more than relax muscles. Progesterone slows the rate at which your stomach empties food into the small intestine, meaning food sits in your stomach longer. Longer contact between food and stomach acid means more chance for that acid to escape upward. If you have never had heartburn before pregnancy, this hormone surge may introduce it for the first time.
If you had heartburn before, pregnancy often makes it significantly worse. The timing and severity vary by person. Some people experience heartburn starting in the first trimester; others do not notice it until the second or third. A few people sail through pregnancy heartburn-free. There is no way to predict which category you will land in based on how many antacids you used before pregnancy.
Pregnancy hormones are powerful enough to change the game. This is also why the same antacid dose that worked before pregnancy might need adjustment during it. Your digestive system is fundamentally different—slower, compressed, and more prone to reflux. Pregnancy heartburn is also usually more frequent (happening multiple times per day rather than occasionally) and longer-lasting (persisting for hours rather than resolving in 15 minutes).
The reassuring part: heartburn in pregnancy is temporary. After delivery, progesterone drops, the uterus shrinks, and your digestion returns to its pre-pregnancy state. Most people find heartburn resolves completely within weeks of giving birth. Until then, safe medication can give you relief without worrying about harm to your baby.
Calcium Carbonate Antacids—The Safest First Choice
Calcium carbonate is the preferred first-line antacid for pregnancy heartburn after lifestyle modifications. Brand names include Tums and Rolaids Calcium. These come in tablets or chewables that you dissolve in your mouth, and they work by neutralizing stomach acid on contact. Relief usually arrives within 5 to 10 minutes, and the effect lasts 30 minutes to a few hours depending on what is in your stomach.
The safety record is strong. Calcium carbonate has been used safely in pregnancy for decades, with no established link to birth defects, miscarriage, or other adverse pregnancy outcomes. Better still, calcium carbonate provides the added benefit of supporting fetal bone development, so you are getting symptom relief plus a mineral boost your growing baby needs.
Dosing is straightforward. The standard dose is 2 to 4 tablets (500 mg to 1000 mg calcium carbonate) per dose, up to 7 tablets per day or about 3500 mg total daily. Most people find 1 to 2 tablets after meals and at bedtime works well. You can use it as needed for symptoms—there is no need to schedule doses around the clock.
One practical note: calcium carbonate works best if you chew it thoroughly or dissolve it in your mouth rather than swallowing it whole. Chewing increases the contact between the medication and your stomach acid, making it work faster. Some formulations come as flavored tablets specifically designed to dissolve on your tongue. Calcium carbonate does have a ceiling.
If you take it regularly (more than a few times per week), talk to your doctor about your total calcium intake from food and supplements to avoid overshooting the recommended daily amount, which is 1,000 mg for most pregnant people. Too much calcium can cause constipation, another pregnancy complaint you probably do not need.
Magnesium Hydroxide as Your Alternative
Magnesium hydroxide, sold as Milk of Magnesia, is recommended as a safe alternative antacid during pregnancy for symptomatic heartburn relief. It works the same way as calcium carbonate—neutralizing stomach acid—but it comes as a liquid that you drink, usually a tablespoon or two per dose. Many people find the liquid form easier to get down if chewing tablets bothers them.
The safety profile is equally strong. Magnesium hydroxide has been used safely in pregnancy for years, with no evidence of harm to the fetus. Like calcium carbonate, it is not absorbed into your bloodstream in harmful amounts; most of it stays in your digestive tract, neutralizing acid and then passing out of your body. One advantage of magnesium hydroxide over calcium carbonate is that it also acts gently as a laxative.
This is actually helpful in pregnancy, when constipation is common. If you are struggling with both heartburn and constipation, magnesium hydroxide may be your ideal choice. The laxative effect is mild enough that it does not usually cause urgent bowel movements; it just helps regular function. The downside: it tastes chalky and has a thicker texture than most liquids, which some people find less pleasant to drink than swallowing a chewable tablet.
Mixing it with juice can help mask the taste. Standard dosing is 1 to 2 tablespoons (15 to 30 mL) per dose, up to 4 doses per day. Like calcium carbonate, it works within 5 to 30 minutes. One caution: do not use magnesium hydroxide if you have kidney problems or if your doctor has advised you to limit magnesium.
In a healthy pregnancy with normal kidney function, it is fine. If you are uncertain, ask your doctor or midwife before starting regular use.
H2 Blockers When Antacids Fall Short
If calcium carbonate or magnesium hydroxide alone does not control your heartburn, or if you are taking them more than three or four times per day, your doctor may recommend an H2 blocker. These medications work differently than antacids: instead of neutralizing acid that is already there, they reduce the amount of acid your stomach makes in the first place.
This effect lasts much longer—typically 8 to 12 hours per dose—making them useful for round-the-clock relief. Famotidine (Pepcid) is the preferred H2 blocker during pregnancy, classified as FDA Category B with extensive observational studies showing no increased risk of birth defects when used in any trimester. It is available over the counter and by prescription.
The over-the-counter strength is 10 mg, typically taken twice daily (morning and bedtime). Many people take one tablet with breakfast and one before bed, and add an antacid during the day for breakthrough symptoms. H2 blockers take longer to work than antacids—usually 30 to 60 minutes—so they are not useful for sudden heartburn relief. Instead, they are meant to be taken regularly to prevent heartburn from starting.
If you find yourself reaching for an antacid more than a couple of times per day, this is the time to call your doctor about adding an H2 blocker. The safety record is solid. Famotidine does not cross the placenta in significant amounts, and studies have not found any link between its use in pregnancy and miscarriage, birth defects, low birth weight, or other adverse outcomes.
It is used commonly enough in pregnancy that doctors feel confident recommending it. One consideration: H2 blockers are slightly more expensive than antacids, especially if you use them long-term. Insurance often covers them, but if you are paying out of pocket, talk to your pharmacist about generic famotidine, which is much cheaper than brand-name Pepcid.
Proton Pump Inhibitors for Stubborn Heartburn
If antacids and H2 blockers together still do not control your symptoms, your doctor may recommend a proton pump inhibitor, or PPI. These are the strongest class of heartburn medication, reducing stomach acid production far more completely than H2 blockers. PPIs are not used first-line in pregnancy because we have more safety data for the simpler medications, but they are safe when truly needed.
Omeprazole is the preferred proton pump inhibitor for pregnancy if first- and second-line treatments fail, with more available safety data than other PPIs and no established link to miscarriage, birth defects, or adverse pregnancy outcomes. It is available over the counter under the brand name Prilosec and by prescription. The typical dose is one 20 mg tablet once daily, usually in the morning before breakfast.
PPIs take several days of regular use to reach full effectiveness, so they are not for immediate relief—you would still use an antacid or H2 blocker for breakthrough symptoms. Once they kick in, they provide powerful, sustained acid reduction that often brings real relief when other medications have not. The long-term safety record in pregnancy is reassuring.
While PPIs have not been used as long as antacids or H2 blockers, the observational studies available do not show increased risk. Your doctor would only recommend a PPI if the benefit of controlling your heartburn clearly outweighs any theoretical risk, and the evidence supports that decision. Cost and insurance coverage vary. Omeprazole is available over the counter at reasonable prices; other PPIs require a prescription and may cost more. Talk to your doctor about what is available and covered under your insurance.
Antacids You Must Avoid in Pregnancy
Not all antacids are safe in pregnancy, and the ones to avoid can cause real harm. Knowing which ones to skip is as important as knowing which ones are safe. Check the label of any antacid before you take it, and ask your pharmacist if you are unsure. Bismuth subsalicylate (Pepto-Bismol) should not be used during pregnancy because its active ingredient is chemically related to aspirin, which carries risks for pregnancy complications.
Aspirin in pregnancy is associated with miscarriage, birth defects, and complications late in pregnancy. Bismuth products carry similar risks and should be avoided entirely. Many people reach for Pepto-Bismol for both heartburn and upset stomach, so this is worth knowing. Aluminum hydroxide antacids should be avoided during pregnancy because aluminum crosses the placenta, may accumulate in fetal tissues, and research indicates dose-dependent adverse effects on fetal nervous system and skeletal development.
Some antacids combine aluminum hydroxide with magnesium hydroxide; read the label to see if aluminum is listed as an ingredient. Rolaids and Tums do not contain aluminum, but some generic or store-brand antacids do. Ranitidine was withdrawn from the U.S. market in April 2020 after the FDA found contamination with NDMA, a probable carcinogen, so it should not be used during pregnancy.
Ranitidine was once sold as Zantac and was popular for heartburn relief. You are unlikely to encounter it now, but if you have an old bottle, do not use it. Famotidine is the safe H2 blocker to use instead. In summary, the antacids and medications to avoid are: Pepto-Bismol and other bismuth products, any antacid containing aluminum (check the label), and any ranitidine products. When in doubt, ask your doctor or pharmacist before taking a heartburn medication you are unsure about.
Lifestyle Changes That Actually Reduce Heartburn
Medication helps, but lifestyle changes address the root cause and often reduce how much medication you need. These changes work best when combined—doing one thing is better than nothing, but doing several together usually brings noticeable relief. Start with these before reaching for antacids if possible; add them to medication if antacids alone are not enough.
Eat smaller, more frequent meals instead of three large ones. A full stomach presses harder on the valve that keeps acid down. Eating 5 to 6 small meals spread throughout the day keeps your stomach less full and reduces pressure. Eat until you are satisfied, not until you are stuffed. This alone can cut heartburn significantly.
Avoid foods and drinks that relax the lower esophageal sphincter or irritate your stomach. The main culprits are spicy foods, fatty or fried foods, citrus and tomato products, chocolate, caffeine (coffee, tea, cola), alcohol, and peppermint. Not every person reacts to every food, so pay attention to which ones trigger your heartburn and avoid those specifically.
You do not necessarily have to give up all of them. Do not lie down for at least 2 to 3 hours after eating. Lying flat makes it easier for acid to flow backward. If you want to rest, sit upright or recline at an angle with your head higher than your stomach. This is especially important at bedtime—wait 3 hours after your last meal before lying down to sleep, or sleep on your left side with your head elevated on extra pillows.
Wear loose clothing around your waist and belly. Tight pants, tight belts, and tight waistbands create pressure on your stomach that can push acid upward. Pregnancy clothes with stretchy waistbands and loose fits reduce this mechanical pressure. Clothing is an easy, free change that many pregnant people overlook. Stay hydrated, but do not drink large amounts of liquid with meals.
Water is fine; just sip it rather than gulping. Limit liquids with meals and drink more between meals. This keeps your stomach from being overly full of liquid and food at the same time.
Timing and Dosing—How to Use Antacids Safely
Using antacids correctly matters for both effectiveness and safety. Taking them at the right time and in the right dose means better symptom relief and lower risk of overusing them. Take calcium carbonate or magnesium hydroxide antacids when you feel heartburn starting, or right after meals if you know meals trigger it. If you take them *after* symptoms start, they still work, but they work fastest if you chew them thoroughly rather than swallow them whole.
Standard dose is 2 to 4 tablets of calcium carbonate (500 to 1000 mg) or 1 to 2 tablespoons of magnesium hydroxide per dose. You can repeat the dose every 2 to 3 hours if needed, up to the maximum daily amount. For calcium carbonate, the maximum is about 7 tablets per day (3500 mg total).
For magnesium hydroxide, the maximum is 4 doses per day (up to 120 mL). These are safe amounts when used occasionally, but if you are taking antacids that frequently, call your doctor—you may need a different approach, like adding an H2 blocker. If you take an H2 blocker like famotidine, take it regularly rather than as needed.
The dose is 1 tablet (10 mg) twice daily, usually with breakfast and at bedtime. Consistency matters—taking it every 12 hours prevents heartburn more effectively than taking it whenever you remember. Do not skip doses on days when you feel fine; the point is prevention. If your doctor prescribes a PPI like omeprazole, take it exactly as directed, usually one tablet once daily in the morning before breakfast.
It takes several days to work, so do not judge its effectiveness on day one. Keep taking your antacids or H2 blocker for breakthrough symptoms while the PPI builds up in your system. Space out different types of medications. If you take an H2 blocker or PPI, wait at least 2 hours before or after taking a calcium carbonate antacid, because calcium can reduce how well the other medications work.
Magnesium hydroxide does not have this interaction. Ask your pharmacist or doctor if you are taking any other medications and wondering about interactions.
When to Call Your Doctor About Pregnancy Heartburn
Most pregnancy heartburn can be managed with the approaches above, but some situations need medical attention. Knowing when to call your doctor matters for both your health and your peace of mind. Call your doctor if heartburn is so severe that it interferes with sleep, eating, or daily function despite using safe antacids as directed.
Your doctor can evaluate whether you need a different medication or dosing strategy, or whether something else might be causing your symptoms. Severe, unrelenting heartburn is worth investigating. Call if you have heartburn accompanied by difficulty swallowing, persistent chest pain, vomiting, or vomiting blood. These are not typical pregnancy heartburn symptoms and could indicate a different problem that needs evaluation.
Do not assume it is just heartburn—tell your doctor what you are experiencing. Call if you are taking antacids more than three or four times per day, every single day. This is a sign your current approach is not working well enough, and your doctor may recommend adding an H2 blocker or PPI to give you better control without requiring you to take so many doses.
Call if you are taking any other medications and wondering whether they interact with heartburn medications. Your pharmacist can also answer this question—do not start any new medication, supplement, or herbal remedy without checking with them or your doctor first. Some supplements can make heartburn worse. Call if your heartburn suddenly gets much worse, or if it starts at a different time than usual (for example, if it has been limited to evening, and now you are having it all day).
Changes in your symptoms can mean your pregnancy situation has shifted, and your doctor may need to adjust your treatment. Do not wait for a regular appointment if you have severe abdominal pain, persistent vomiting, signs of bleeding, or chest pain that does not feel like heartburn. Go to the emergency room or call 911.
These are not typical heartburn scenarios and need immediate evaluation. For routine heartburn questions and concerns, your regular prenatal visits are the right time to discuss them. Bring a list of any medications or antacids you are taking, and mention how often you are using them. Your doctor or midwife can review what you are doing and suggest adjustments if needed.
Frequently Asked Questions
Is it safe to use Tums during pregnancy?
Yes. Calcium carbonate antacids like Tums are the preferred first-line medication for pregnancy heartburn after lifestyle modifications, with a strong safety record and the added benefit of supporting fetal bone development.
Can antacids harm my baby?
No. The antacids recommended for pregnancy—calcium carbonate and magnesium hydroxide—do not cross into the fetus in harmful amounts, and decades of use have shown no link to birth defects or miscarriage.
When should I take antacids—before or after eating?
Either works. You can take them before meals to prevent heartburn if you know certain foods trigger it, or after meals when symptoms start. For fastest relief, chew them thoroughly rather than swallowing whole.
Is Pepto-Bismol safe during pregnancy?
No. Pepto-Bismol contains bismuth subsalicylate, which is chemically related to aspirin and carries risks in pregnancy. Use calcium carbonate or magnesium hydroxide instead.
Can I use an H2 blocker like Pepcid in pregnancy?
Yes. Famotidine (Pepcid) is the preferred H2 blocker during pregnancy and is safe when used as directed. It is useful if you need heartburn relief that lasts 8 to 12 hours.
How much antacid is safe to take per day?
Up to 7 tablets of calcium carbonate (3500 mg) per day or up to 4 doses of magnesium hydroxide per day. If you are taking antacids more frequently than that, call your doctor about adjusting your treatment.



