Most heartburn episodes can be relieved within minutes using an over-the-counter antacid, and prevented entirely with a few changes to how and when you eat. Heartburn is the burning sensation behind your breastbone that happens when stomach acid backs up into your esophagus. It affects roughly 20% of adults on a regular basis, and the fixes range from simple positioning tricks to medications that shut down acid production for hours.
Quick Relief Options That Work Now
If you’re dealing with heartburn right now, the fastest option is a standard antacid containing calcium carbonate (the active ingredient in Tums and Rolaids). These neutralize stomach acid on contact and provide relief within minutes. The tradeoff is that the effect wears off relatively quickly compared to other options.
Baking soda is a home remedy that actually works. Half a teaspoon dissolved in a glass of water neutralizes acid the same way commercial antacids do. You can repeat this every two hours, but don’t exceed five teaspoons in a day. Because baking soda is loaded with sodium, avoid this approach if you have high blood pressure, kidney disease, heart disease, or any condition where you’ve been told to limit salt.
A glass of water on its own can help by diluting acid and washing it back down into the stomach. Standing upright or going for a short walk after eating also uses gravity to keep acid where it belongs.
Over-the-Counter Medications by Strength
Heartburn medications fall into three tiers, and picking the right one depends on how often you get symptoms and how quickly you need relief.
Antacids are the first tier. They work immediately by neutralizing acid already in your stomach. They’re ideal for occasional heartburn that hits after a specific meal. The relief doesn’t last long, so they’re not great for persistent symptoms.
H2 blockers (like famotidine, sold as Pepcid) are the second tier. They reduce the amount of acid your stomach produces in the first place. It takes about an hour to feel the effect, but relief lasts four to ten hours. If you know a trigger meal is coming, taking one beforehand can prevent heartburn from starting.
Proton pump inhibitors (like omeprazole, sold as Prilosec OTC) are the strongest option. They block acid production more completely than H2 blockers and last longer, but they take one to four days to reach full effect. These are designed for people who get heartburn two or more days per week, not for the occasional flare-up. Most OTC versions are meant to be taken for 14-day courses, not indefinitely.
Why Long-Term Acid Suppression Needs Caution
Proton pump inhibitors are safe for the vast majority of people in the short term, with fewer than 2% experiencing side effects significant enough to stop taking them. But long-term daily use, over months or years, has raised some concerns. Studies have linked extended use to slightly higher rates of bone fractures, reduced absorption of calcium and vitamin B12, a moderate increase in the risk of certain gut infections, and possible effects on kidney function.
The FDA has issued specific warnings about fracture risk, low magnesium levels, and gut infections tied to prolonged use. That said, researchers caution that many of these associations come from observational studies where the actual increase in risk is small and the cause-and-effect relationship isn’t proven. The takeaway: these medications are effective, but if you find yourself relying on them for more than a few weeks, it’s worth finding out what’s driving your heartburn rather than just suppressing it.
Eating Habits That Prevent Heartburn
The most reliable dietary trigger isn’t a specific food. It’s meal size. When your stomach stretches after a large meal, the muscle at the top of your stomach (the valve that’s supposed to keep acid from rising) temporarily relaxes to release swallowed air. That relaxation creates an opening for acid to splash upward. High-calorie meals make this worse because they sit in the stomach longer.
Commonly reported trigger foods include citrus, coffee, chocolate, fried foods, spicy foods, and tomato-based sauces. The evidence linking these to measurable increases in reflux is actually weaker than most people assume. Citrus and acidic foods, for example, may not increase actual acid reflux but instead irritate the lining of the esophagus directly, making you feel the burn more intensely. The practical advice: pay attention to your own patterns rather than following a generic avoidance list. If pizza consistently gives you heartburn but coffee doesn’t, trust your experience.
Eating smaller meals more frequently, finishing dinner at least two to three hours before bed, and avoiding lying down right after eating are among the most consistently helpful changes.
Positioning Tricks That Make a Difference
Gravity is your ally. Elevating the head of your bed by about six inches (using a wedge pillow or blocks under the bed frame, not just stacking pillows) helps prevent acid from creeping up while you sleep. Simply propping your head up with extra pillows can actually make things worse by bending your body at the waist and increasing pressure on your stomach.
Sleeping on your left side also helps. The anatomy is straightforward: your stomach curves to the left, so when you lie on that side, the opening to the esophagus sits above the pool of stomach acid rather than below it. Research from Amsterdam UMC confirms that this position measurably reduces the amount of acid that reaches the esophagus overnight.
A Surprisingly Simple Trick: Chewing Gum
Chewing sugar-free gum for 30 minutes after a meal can significantly reduce heartburn. A study measuring esophageal acid levels found that the time acid spent in the esophagus dropped from 5.7% to 3.6% of the post-meal period when participants chewed gum. The mechanism is simple: chewing stimulates saliva production and swallowing, which washes acid back down into the stomach faster. It’s not a cure, but as a free, zero-risk addition to your post-meal routine, it’s hard to beat.
Heartburn or Something More Serious
Heartburn and heart attacks can feel alarmingly similar. Even doctors sometimes can’t tell them apart without testing. Heartburn typically produces a burning sensation in the chest that shows up after eating, gets worse when you lie down or bend over, comes with a sour taste in your mouth, and improves with antacids.
Heart attack symptoms are different in important ways. The sensation is more often described as pressure, tightness, or squeezing rather than burning, and it may radiate into your arms, neck, jaw, or back. It can come with shortness of breath, cold sweat, lightheadedness, or sudden fatigue. Women are more likely than men to experience jaw pain, back pain, nausea, or shortness of breath as their primary symptoms rather than classic chest pain.
If your chest discomfort comes with any of those additional symptoms, especially shortness of breath or pain spreading to your arm or jaw, treat it as a potential emergency. If antacids relieve the feeling completely within a few minutes, heartburn is the far more likely explanation.
Signs Your Heartburn Needs More Attention
Occasional heartburn is normal. Heartburn that shows up more than twice a week, persists despite over-the-counter treatment, or has been going on for years may be gastroesophageal reflux disease (GERD), which can damage the esophagus over time. Difficulty swallowing, pain when swallowing, unexplained weight loss, or heartburn that doesn’t improve after a full course of a proton pump inhibitor are all signals that further evaluation is warranted. The American Gastroenterological Association recommends endoscopy for people with persistent swallowing difficulty or symptoms that don’t respond to twice-daily acid suppression.

