Heartburn relief depends on how fast you need it and how often it happens. A one-off episode after a big meal can usually be handled at home within minutes, while frequent heartburn (two or more times a week) signals that you need a longer-term strategy. Here’s what actually works, from the quickest fixes to the bigger interventions.
Fast-Acting Options at Home
The fastest over-the-counter relief comes from antacids like calcium carbonate (Tums, Rolaids). These neutralize stomach acid on contact and start working within minutes, though the effect wears off relatively quickly. They’re best suited for occasional flare-ups rather than daily use.
If you need something that lasts longer, H2 blockers like famotidine (Pepcid) take about an hour to kick in but keep working for four to ten hours. They reduce the amount of acid your stomach produces rather than just neutralizing what’s already there.
A simple home remedy is baking soda: half a teaspoon dissolved in four ounces of water. It works as a fast-acting antacid, but keep it to a short-term fix. Don’t exceed three and a half teaspoons in a day (or one and a half if you’re over 60), and don’t use it for more than two weeks straight. Take it one to two hours after eating and at least two hours apart from any other medications.
Lifestyle Changes That Reduce Flare-Ups
If heartburn keeps coming back, the most effective long-term approach is reducing the pressure and triggers that push acid into your esophagus in the first place. Carrying extra weight around your midsection increases pressure on your stomach, and even losing a few pounds can noticeably improve symptoms. Tight clothing around the waist has a similar, smaller effect.
Certain foods and drinks are well-known triggers: citrus, tomatoes, chocolate, coffee, alcohol, spicy food, and fatty or fried meals. You don’t necessarily need to eliminate all of them. Pay attention to which ones consistently cause problems for you and cut back on those. Eating smaller meals also helps because a very full stomach is more likely to push acid upward. Try to finish eating at least two to three hours before lying down.
What to Do About Nighttime Heartburn
Heartburn that wakes you up or hits when you lie down is one of the most disruptive patterns. Two changes make a meaningful difference. First, sleep on your left side. In that position, your stomach sits below your esophagus, making it harder for acid to travel upward. Research from Amsterdam UMC also found that acid clears from the esophagus back into the stomach more quickly when you’re on your left side. Sleeping on your right side or flat on your back does the opposite.
Second, elevate the head of your bed by about six inches using a wedge pillow or blocks under the bed frame. Propping yourself up with regular pillows doesn’t work as well because it bends your body at the waist, which can actually increase abdominal pressure.
When to Use Stronger Medication
Proton pump inhibitors (PPIs) like omeprazole (Prilosec) and esomeprazole (Nexium) are the most powerful acid-reducing medications available over the counter. They work differently from antacids or H2 blockers: they shut down the acid pumps in your stomach lining. The trade-off is speed. PPIs take one to four days to reach full effectiveness, but once they do, the relief lasts much longer than other options.
Timing matters a lot with PPIs. Take them 30 minutes before a meal, ideally breakfast. One study found that 100% of patients who weren’t getting relief from their PPI were taking it at the wrong time: more than an hour before eating, during a meal, or at bedtime. Simply fixing the timing can turn a “failed” medication into one that works.
Over-the-counter PPIs are intended for 14-day courses, not indefinite use. Long-term PPI use has been linked to a modest increase in fracture risk (about 28% higher than nonusers in pooled analyses), likely related to reduced calcium absorption. The absolute risk is still small, and the evidence isn’t airtight since most of the data comes from observational studies with significant confounding factors. Still, if you find yourself reaching for PPIs regularly, it’s worth exploring whether lifestyle changes or a different approach could replace them.
Heartburn During Pregnancy
Pregnancy heartburn is extremely common, especially in the second and third trimesters, as the growing uterus pushes the stomach upward. Antacids like Tums, Maalox, Rolaids, Mylanta, and Gaviscon are considered safe during pregnancy. Famotidine (Zantac) is also an option at doses up to 150 mg twice daily. The same lifestyle strategies apply: smaller meals, staying upright after eating, and sleeping on your left side (which has the added benefit of improving blood flow to the baby).
Surgical Options for Severe Cases
For people with chronic, medication-resistant reflux, surgery becomes a conversation worth having. The two main procedures are fundoplication and the LINX device.
Fundoplication (usually the Nissen technique) wraps the top of your stomach around the lower esophagus to strengthen the valve that keeps acid down. It has an excellent track record: about 92% of patients report their heartburn resolved at the 10-year mark, and 80% still report resolution after 20 years. The downsides are real, though. Up to 26% of patients experience ongoing or returning symptoms like difficulty swallowing, heartburn, or regurgitation. Some develop new issues like bloating (up to 19.5%) or trouble swallowing (up to 16.8%), and many lose the ability to belch or vomit.
The LINX device is a ring of tiny magnetic beads placed around the lower esophagus. The magnets are strong enough to keep the valve closed against acid but weak enough to open when you swallow. It’s a less invasive procedure with a quicker recovery. The most common complaint afterward is difficulty swallowing, reported in up to 19% of patients early on, though this usually resolves on its own. Device removal is uncommon (1 to 7% of cases), typically prompted by returning reflux symptoms or persistent swallowing difficulty. LINX is currently best suited for patients without large hiatal hernias or severe esophageal inflammation.
Heartburn vs. Heart Attack
Heartburn typically produces a burning sensation in the chest or upper abdomen that starts after eating, worsens when lying down or bending over, responds to antacids, and may come with a sour taste or small amounts of liquid rising into the back of your throat.
A heart attack can mimic heartburn but tends to feel more like pressure, tightness, or squeezing in the chest or arms, often spreading to the neck, jaw, or back. It may also cause shortness of breath, cold sweat, sudden dizziness, or unusual fatigue. Even experienced doctors can’t always tell the difference based on symptoms alone, which is why emergency rooms immediately run tests to rule out a cardiac event. If your chest pain feels different from your usual heartburn, comes with any of those additional symptoms, or doesn’t respond to antacids, call emergency services.

