Take antacids about one hour after eating or as soon as you feel heartburn. That timing works because your stomach produces the most acid during and after a meal, and an antacid taken at the one-hour mark can neutralize that acid for up to two hours. If heartburn hits you at night, take an antacid before bed, but don’t combine it with food at that time.
Why One Hour After Eating Works Best
Antacids work by directly neutralizing stomach acid rather than preventing its production. That means they’re reactive: you get the most out of them when acid is already present. Your stomach ramps up acid output as it digests a meal, peaking roughly 60 to 90 minutes after you eat. Taking an antacid at that point catches the acid at its highest levels.
On an empty stomach, antacids last only 20 to 60 minutes because there’s nothing keeping them in the stomach. Food slows stomach emptying, which means the antacid stays in contact with acid longer. A single dose taken one hour after a meal can keep acid neutralized for up to two hours, effectively doubling or tripling the duration you’d get on an empty stomach.
How Fast Different Types Kick In
Not all antacids work at the same speed, and knowing the difference helps you pick the right one for the moment.
Effervescent powders (sodium bicarbonate) are the fastest. They begin neutralizing acid within seconds. In one study, a sodium bicarbonate and citric acid combination raised stomach pH in just six seconds. Chewable tablets containing calcium and magnesium carbonate start working in about six minutes. Standard calcium carbonate tablets take closer to 30 minutes to reach full effect.
Duration varies too. Calcium carbonate provides about 60 minutes of relief. Combination products containing aluminum hydroxide, magnesium hydroxide, and simethicone last around 80 minutes in the esophagus. Chewable tablets and effervescent bicarbonate last the longest in the stomach: 100 to 180 minutes. So if you need immediate relief, reach for an effervescent form. If you want the effect to last, a chewable tablet taken after a meal gives you the best window.
Timing for Nighttime Heartburn
Nighttime reflux follows different rules. When you lie down, gravity no longer keeps stomach contents where they belong, so even a small amount of acid can creep into the esophagus. Take an antacid right before bed, and skip any late-night snacking alongside it. Eating with your bedtime antacid triggers more acid production, which can overwhelm the dose and leave you worse off than if you’d taken nothing.
Because antacids wear off relatively quickly, they may not cover you through the entire night. If you regularly wake up with heartburn in the early morning hours, an antacid alone may not be enough for nighttime symptoms.
Antacids vs. H2 Blockers: Different Timing, Different Purpose
If you know a meal is going to cause trouble, an antacid taken afterward is your fastest option, but it isn’t your only one. H2 blockers like famotidine work differently. They reduce acid production rather than neutralizing acid that’s already there, and they take about an hour to provide relief. The tradeoff is that they last much longer: famotidine provides roughly nine hours of reduced acid output compared to one hour for calcium carbonate.
The practical difference comes down to planning. If you’re about to eat something spicy and want to get ahead of it, take an H2 blocker 30 to 60 minutes before the meal. If heartburn has already arrived and you need it gone now, an antacid is the better choice. Some people use both: an antacid for immediate relief while waiting for the H2 blocker to kick in.
Spacing Antacids Around Other Medications
Antacids can interfere with how your body absorbs other medications. By raising the pH in your stomach, they change the environment that many drugs depend on for proper breakdown and absorption. The FDA recommends taking other medications at least two hours before or two hours after an antacid to avoid this interaction. Antibiotics, thyroid medications, and certain heart drugs are particularly sensitive to this timing gap. If you take daily prescription medications, keep your antacid use separated by that two-hour buffer.
Timing During Pregnancy
Heartburn is extremely common during pregnancy, and antacids are considered a safe second-line option after lifestyle changes like eating smaller meals and staying upright after eating. Calcium-containing antacids are the preferred choice during pregnancy, partly because the extra calcium may help prevent high blood pressure and preeclampsia.
Sodium bicarbonate antacids are not recommended during pregnancy because they can cause fluid overload and a dangerous shift in blood chemistry for both mother and baby. Magnesium trisilicate should also be avoided in high doses or for long stretches, as it has been linked to breathing problems and low muscle tone in newborns.
Before Exercise
Physical activity, especially running, cycling, or anything involving bending and core engagement, can push stomach acid into the esophagus. If you get heartburn during workouts, taking an antacid 60 to 180 minutes before exercise gives it time to work while avoiding the gastrointestinal side effects that can come with exercising right after a dose. Start with 60 minutes before your workout and adjust based on how your stomach responds.
How Long You Can Safely Use Them
FDA labeling requires antacid packaging to warn against using the maximum daily dose for more than two weeks without a doctor’s supervision. Antacids are designed for occasional heartburn, not daily symptom management. If you find yourself reaching for them most days, that pattern itself is useful information: it suggests something beyond occasional indigestion.
Overuse of calcium-based antacids can trigger a rebound effect where your stomach responds to the neutralization by producing even more acid. Calcium directly stimulates acid-secreting cells, and the alkaline environment it creates in the lower stomach can trigger the release of gastrin, a hormone that further ramps up acid production. This creates a cycle where the antacid provides temporary relief but makes the underlying problem gradually worse. Magnesium and aluminum-based antacids may also cause rebound, though the evidence is less clear.

