The fastest way to relieve heartburn is to neutralize the stomach acid that’s already irritating your esophagus. A standard calcium carbonate antacid (like Tums) or a teaspoon of baking soda dissolved in cold water can start working within minutes. But the best approach depends on how quickly you need relief, how long you need it to last, and what you have on hand.
Antacids: The Fastest Over-the-Counter Option
Chewable antacids containing calcium carbonate or magnesium are the go-to for immediate heartburn relief. A calcium-magnesium carbonate formulation can raise your stomach’s pH above the critical acid threshold in under 6 minutes. Standard calcium carbonate tablets take a bit longer, with most studies clocking the onset at around 30 minutes. Either way, antacids neutralize a significant amount of acid in the first half hour after you take them.
The trade-off is that they don’t last long. The neutralizing effect of calcium carbonate typically wears off within about 60 minutes. That’s fine if your heartburn is a one-time flare after a heavy meal, but it means you may need to re-dose if the burning returns. Chewing the tablet thoroughly and taking it with a small amount of water helps it dissolve and reach your stomach acid faster.
Baking Soda: A Kitchen-Counter Fix
If you don’t have antacids at home, plain baking soda (sodium bicarbonate) works on the same principle. It’s a base that reacts directly with hydrochloric acid in your stomach. Half a teaspoon dissolved in a full glass of cold water is the standard dose, and you can repeat it every two hours if needed. The Mayo Clinic caps the daily limit at 5 teaspoons for adults and teens, and recommends not using it for more than two weeks straight.
Baking soda works quickly, but it has a few downsides. It’s high in sodium, so it’s not ideal if you’re watching your salt intake. It also produces carbon dioxide gas when it hits stomach acid, which can cause bloating and burping. For an occasional episode, it’s effective. For recurring heartburn, stick with a product designed for the job.
Alginate Products: A Physical Acid Barrier
Alginate-based products (like Gaviscon) work differently from simple antacids. Instead of just neutralizing acid, they form a gel-like “raft” that floats on top of your stomach contents. This raft acts as a physical barrier, preventing acid from splashing up into your esophagus. In lab studies, the alginate begins forming a gel within about 30 seconds of contact with stomach acid.
This makes alginates especially useful when your heartburn is triggered by lying down or bending over, since the raft sits right at the junction between your stomach and esophagus where reflux happens. Many alginate products also contain sodium bicarbonate, which releases carbon dioxide into the gel to help it float. You get both a chemical and a mechanical layer of protection.
H2 Blockers: Slower Start, Longer Relief
If your heartburn tends to drag on for hours or you know a trigger meal is coming, an H2 blocker like famotidine (Pepcid) offers a different strategy. Rather than neutralizing acid that’s already there, it reduces how much acid your stomach produces in the first place. The downside for immediate relief is timing: famotidine doesn’t kick in until about 90 minutes after you take it.
Once it does start working, though, it lasts far longer than an antacid. A single over-the-counter dose of famotidine can suppress acid production for up to 9 hours, with peak effectiveness around the 3.5-hour mark. For fast-then-lasting relief, some people take an antacid and an H2 blocker together. The antacid handles the immediate burn while the H2 blocker takes over for the rest of the evening.
Positioning and Habits That Help Right Now
What you do with your body matters as much as what you swallow. Gravity is your ally. If you’re lying down when heartburn hits, sit upright or stand. If you’re going to bed soon, elevate the head of your bed by about 6 inches using blocks or a wedge pillow. Propping yourself up with regular pillows tends to bend you at the waist, which can actually increase abdominal pressure and make things worse.
Avoid bending over or doing any activity that compresses your stomach. Loosen tight clothing around your waist. If you’ve just eaten, don’t lie down for at least two to three hours. These simple changes reduce the mechanical force that pushes acid upward into your esophagus.
What to Avoid When Heartburn Hits
Several popular remedies either lack evidence or can make things worse. Apple cider vinegar is widely recommended online, but Harvard Health notes there is zero published clinical research supporting its use for heartburn. Since heartburn is caused by acid irritating your esophagus, adding more acid (even a “natural” one) is counterproductive and can worsen the irritation.
Ginger has solid evidence for speeding up gastric emptying, which helps with bloating and nausea. But research specifically excludes reflux-related symptoms from its benefits. In one study, ginger moved food through the stomach about 25% faster than placebo, yet it made no measurable difference in discomfort, nausea, or burning. It’s a reasonable digestive aid, but not a targeted heartburn fix.
Common dietary triggers to avoid during an active episode include coffee, chocolate, alcohol, fatty foods, tomatoes, spicy foods, and citrus. Eating any of these while your esophagus is already inflamed will prolong the burning.
When Heartburn Might Not Be Heartburn
Heartburn and heart-related chest pain can feel nearly identical. Even experienced physicians sometimes can’t distinguish them based on symptoms alone. Typical heartburn produces a burning sensation in the chest or upper abdomen, gets worse after eating or lying down, responds to antacids, and may come with a sour taste or small amounts of fluid rising into your throat.
If your chest pain spreads to your jaw, arm, or shoulder, comes with shortness of breath, or feels more like pressure or squeezing than burning, treat it as a potential cardiac event. Both heartburn and heart attacks can produce symptoms that temporarily ease on their own, so improvement alone doesn’t rule out something serious. If there’s any doubt, call emergency services rather than reaching for an antacid.