You can stop most heartburn episodes with a combination of quick-acting remedies and a few habit changes that keep acid from splashing up into your esophagus in the first place. Heartburn happens when the ring of muscle at the top of your stomach (the lower esophageal sphincter) relaxes at the wrong time, letting stomach acid travel upward. The burning you feel is acid irritating the lining of your esophagus. Here’s what actually works, starting with the fastest fixes.
Fast Relief You Can Use Right Now
If you’re dealing with heartburn at this moment, an over-the-counter antacid containing calcium carbonate or magnesium hydroxide will neutralize stomach acid within minutes. These are the fastest option, though they only last a couple of hours.
If you don’t have antacids on hand, half a teaspoon of baking soda stirred into a full glass of water works as a temporary neutralizer. It’s not a daily solution, and you shouldn’t exceed five teaspoons in a day, but it can take the edge off while you get to a pharmacy.
Two other things you can do immediately: stand up or sit upright if you’re lying down, and loosen any tight clothing around your waist. Belts, shapewear, and high-waisted pants increase pressure on your stomach and can force acid upward. Simply removing that compression helps.
Chewing Gum After Meals
This one sounds too simple, but chewing sugar-free gum for 30 minutes after eating reduces reflux. It works by increasing your swallowing frequency, which clears acid from the esophagus faster. A study at King’s College London gave reflux-prone subjects a meal designed to trigger symptoms, then had them chew gum for half an hour afterward. The increased saliva production and swallowing made a measurable difference in acid clearance. It’s free, easy, and worth trying before reaching for medication.
Foods and Drinks That Trigger Heartburn
Certain foods don’t just irritate your stomach. They physically relax the muscle that’s supposed to keep acid contained. Knowing which ones cause the problem lets you make targeted changes instead of overhauling your entire diet.
Coffee, both regular and decaf, relaxes the lower esophageal sphincter. So does chocolate, which contains a compound from the cocoa plant that acts similarly to caffeine on that muscle. Peppermint, garlic, and onions all do the same thing. Fatty, spicy, and fried foods are a double hit: they relax the sphincter and slow stomach emptying, which means food sits in your stomach longer and creates more opportunity for acid to escape upward.
You don’t necessarily need to eliminate all of these permanently. Start by cutting back on the ones you eat most frequently, then reintroduce them one at a time to identify your personal triggers. Many people find they can tolerate some of these foods in smaller portions, especially earlier in the day.
Timing Your Meals and Activity
When you eat matters almost as much as what you eat. Lying down within two hours of a meal is strongly associated with reflux symptoms, and research consistently shows that waiting at least three hours between dinner and bedtime significantly reduces nighttime heartburn. A gentle walk after dinner helps too. People who walked regularly after their evening meal reported fewer symptoms than those who didn’t.
Intense exercise right after eating, on the other hand, makes things worse. Running, heavy lifting, or anything that increases abdominal pressure on a full stomach pushes acid upward. If you exercise in the evening, eat a lighter meal beforehand and give yourself that three-hour buffer for larger meals.
Late-night snacking is another common culprit. If you tend to eat close to midnight, that habit alone could be driving your heartburn.
How You Sleep Makes a Difference
Gravity is your friend when it comes to keeping acid in your stomach. Elevating the head of your bed by 3 to 6 inches helps prevent acid from creeping up while you sleep. You can use bed risers under the headboard legs or a wedge pillow designed for this purpose. Stacking regular pillows doesn’t work as well because it bends you at the waist rather than creating a gradual incline.
Sleeping on your left side also helps. When you lie on your right side, the anatomy of your stomach makes it easier for acid to pool near the sphincter. Left-side sleeping keeps the junction between your stomach and esophagus positioned above the level of stomach acid.
Losing Weight Reduces Pressure on Your Stomach
Excess weight around your midsection puts constant upward pressure on your stomach, which pushes acid toward your esophagus. This is one of the most effective long-term fixes for chronic heartburn. Even a modest reduction in weight can lower the mechanical pressure enough to reduce how often your sphincter fails. If your heartburn started or worsened after gaining weight, this is likely a major contributing factor.
Over-the-Counter Medications Compared
There are three classes of heartburn medication available without a prescription, and they work differently.
- Antacids neutralize acid that’s already in your stomach. They work within minutes but only last one to two hours. Best for occasional, predictable heartburn.
- H2 blockers (like famotidine) reduce acid production. They kick in within one to three hours and provide about eight hours of relief. Good for heartburn you can anticipate, like after a heavy meal.
- Proton pump inhibitors (PPIs) like omeprazole block acid production more aggressively. They take up to four days to reach full effect but then reduce stomach acid for 15 to 21 hours a day. These are designed for frequent heartburn, not one-off episodes.
PPIs are the most powerful option, but they’re meant for short courses, typically 14 days at a time for over-the-counter use. Long-term continuous use has been linked to reduced absorption of certain vitamins and minerals, a higher risk of bone thinning, and intestinal infections. If you find yourself needing PPIs repeatedly, that’s a sign your heartburn needs a different approach rather than ongoing medication.
Signs That Heartburn Needs Medical Attention
Most heartburn responds well to the strategies above. But certain symptoms suggest something more serious is happening. Get evaluated if you experience difficulty or pain when swallowing, unexplained weight loss, vomiting blood, black or bloody stools, or persistent symptoms that don’t improve with medication. New-onset heartburn symptoms after age 50 also warrant a closer look. These red flags don’t necessarily mean something dangerous is wrong, but they’re the criteria doctors use to decide whether imaging or a scope is needed to rule out complications.