Most heartburn can be treated at home with over-the-counter medications, dietary changes, and a few simple positional adjustments. The right approach depends on whether you’re dealing with occasional flare-ups or a recurring pattern. For immediate relief, antacids neutralize stomach acid in under six minutes. For longer-term control, stronger acid-reducing medications and lifestyle shifts can prevent episodes from happening in the first place.
Fast Relief With Antacids
Antacids containing calcium carbonate or magnesium are the quickest option. In clinical testing, a calcium-magnesium carbonate antacid raised stomach pH to a comfortable level in about 5.8 minutes, compared to over an hour for stronger prescription-style acid blockers. The tradeoff is that antacids wear off relatively fast, typically within 30 to 60 minutes.
Chewable tablets and liquid antacids work best when taken right as symptoms start. They’re ideal for the occasional episode after a heavy meal or a glass of wine, but they aren’t designed for daily prevention. If you find yourself reaching for antacids more than twice a week, that’s a signal to consider a different strategy.
H2 Blockers for Longer Protection
H2 blockers like famotidine take longer to kick in, roughly 60 to 70 minutes, but they keep stomach acid suppressed for hours. In one comparison study, people who took famotidine had their stomach acid controlled for over 56% of the measurement period, compared to just 10% with a standard antacid. That makes H2 blockers a better fit when you want to prevent heartburn before bed or ahead of a meal you know will cause trouble.
You can take an H2 blocker 15 to 30 minutes before eating or before lying down. They’re available over the counter and are generally well-tolerated for short-term use.
PPIs for Frequent Heartburn
Proton pump inhibitors like omeprazole are the strongest acid-suppressing option available without a prescription. They work by shutting down the acid-producing pumps in your stomach lining. Unlike antacids or H2 blockers, PPIs are prodrugs, meaning they only activate once they reach the acidic environment of the stomach’s secretory cells. Because your stomach continually recycles these pumps, PPIs take a few days to reach their full effect.
The FDA-approved OTC regimen is one 20 mg tablet taken once daily before eating, every day for 14 days. This isn’t a take-as-needed medication. You commit to the full two-week course, then stop. If heartburn returns after those 14 days, you can repeat the course, but not more frequently than every four months without medical guidance.
Risks of Long-Term PPI Use
Using PPIs for months or years raises some concerns. By reducing stomach acid over long periods, these medications can interfere with your body’s ability to absorb certain nutrients. A large study from Kaiser Permanente found that people who used PPIs or similar acid blockers for two or more years had a significantly higher risk of vitamin B12 deficiency, especially at higher doses. Long-term use has also been linked to reduced absorption of magnesium, calcium, and iron.
The relationship between PPIs and bone fractures is murkier. A meta-analysis of 32 studies found increased fracture risk in PPI users, but other prospective studies found no change in bone density. The current thinking is that the association may be partly explained by other factors common in people who take PPIs, rather than the drugs themselves. Still, older adults should be particularly cautious, since the consequences of a hip or spine fracture are severe at any age and worse later in life.
Baking Soda as a Quick Fix
Plain baking soda (sodium bicarbonate) is a legitimate, if old-fashioned, antacid. Half a teaspoon dissolved in a glass of water can neutralize stomach acid quickly. It works, but it comes with a significant amount of sodium. If you have high blood pressure, kidney disease, heart disease, or are on a sodium-restricted diet, this one isn’t for you. Even for healthy adults, the daily limit is about five teaspoons of the effervescent powder form, and it shouldn’t become a regular habit.
Foods and Drinks That Trigger Heartburn
Heartburn happens when stomach acid escapes upward through the muscular valve at the top of your stomach. Certain foods relax that valve, making it easier for acid to leak into your esophagus. The main culprits are high-fat meals, chocolate, alcohol, and carbonated beverages, all of which have been shown to reduce the pressure that keeps that valve closed.
Swapping high-fat proteins for leaner options like skinless poultry, fish, or tofu can make a noticeable difference. Timing matters too. Eating within two to three hours of lying down gives acid more opportunity to travel upward. If nighttime heartburn is your main problem, finishing dinner earlier is one of the simplest changes you can make.
Common triggers vary from person to person. Citrus, tomato-based sauces, coffee, and spicy foods bother many people but not everyone. Paying attention to which specific foods precede your worst episodes is more useful than memorizing a generic list.
Weight Loss and Heartburn
Carrying extra weight, particularly around the abdomen, increases pressure on the stomach and pushes acid upward. Losing weight is one of the most effective long-term heartburn interventions, but the amount matters. In a prospective study, people who lost less than 5% of their body weight saw no meaningful change in symptoms. Women who lost 5 to 10% of their starting weight experienced significant improvement, while men needed to lose 10% or more before symptoms reliably improved.
Among participants who had reflux symptoms at the start of the study, 65% had complete resolution of their heartburn after weight loss, and another 15% had partial improvement. That’s an 81% response rate, better than many medications achieve. For someone weighing 200 pounds, the threshold would be roughly 10 to 20 pounds of sustained weight loss.
Position and Timing Adjustments
Gravity is your ally. Elevating the head of your bed by about six inches, using a wedge pillow or blocks under the bed frame, keeps acid in your stomach while you sleep. Stacking regular pillows doesn’t work as well because it bends you at the waist rather than tilting your whole torso.
Sleeping on your left side also helps. The stomach sits below the esophageal opening on the left, so this position uses anatomy to your advantage. Right-side sleeping, by contrast, can position the acid reservoir right next to that valve. Wearing tight clothing around the midsection, especially belts and high-waisted pants, can also increase abdominal pressure and worsen symptoms.
When Heartburn Might Be Something Else
The esophagus and heart sit close together in the chest, which is why heartburn and heart-related chest pain can feel similar. Heartburn typically produces a burning sensation that may travel up toward the throat or jaw and often worsens after eating or when lying down. Heart-related chest pain is more likely to come with shortness of breath, lightheadedness, pain radiating to the arm or shoulder, or a feeling of pressure rather than burning.
If you’re unsure whether chest pain is heartburn or something cardiac, the American Heart Association’s guidance is straightforward: get it checked. This is especially true if the pain is new, came on suddenly during physical activity, or is accompanied by sweating, nausea, or jaw pain. Heartburn that doesn’t respond to any of the treatments above, or that’s been getting progressively worse over weeks, also warrants a closer look to rule out other conditions affecting the esophagus.

