Several things help with heartburn, ranging from simple posture changes and dietary tweaks to over-the-counter medications that neutralize or reduce stomach acid. The right approach depends on whether you need relief right now or want to prevent episodes from happening in the first place.
Heartburn happens when acid from your stomach flows backward into your esophagus. A ring of muscle at the bottom of your esophagus normally keeps acid contained, but certain foods, body positions, and other factors can weaken that seal. Here’s what actually works to fix it.
Quick Relief Without Medication
If heartburn hits after a meal, one of the fastest non-drug fixes is chewing gum. It roughly doubles saliva production, and that extra saliva washes acid back down into your stomach. In one study, chewing gum cut the time acid stayed in the esophagus from about 7 minutes to just over 2 minutes. Sugar-free gum works fine, but avoid mint-flavored varieties (more on that below).
Standing up or going for a gentle walk after eating also helps. Gravity keeps acid where it belongs. Lying down within two to three hours of a meal is one of the most reliable ways to trigger an episode, so staying upright after dinner makes a noticeable difference for most people.
Foods and Drinks That Make It Worse
Certain foods physically relax the muscle valve between your esophagus and stomach, making it easier for acid to escape. The main culprits are:
- Chocolate
- Peppermint and spearmint
- Coffee
- Alcohol
- High-fat foods
These aren’t just vague “trigger foods.” They each contain compounds that directly lower the pressure in that esophageal valve. High-fat meals are particularly problematic because fat slows stomach emptying, keeping acid production elevated for longer. You don’t necessarily need to eliminate all of these permanently, but if heartburn is a regular problem, cutting back on one or two and tracking what happens is a reasonable starting point.
Eating smaller meals also reduces the volume of acid your stomach produces at once. A large meal stretches the stomach and puts more pressure on the valve, so splitting a big dinner into two smaller sittings can help on its own.
How You Sleep Matters
Nighttime heartburn responds well to two specific adjustments: elevating the head of your bed and sleeping on your left side.
Raising the head of your bed by about 8 inches (20 cm) creates a gentle slope of roughly 4 to 5 degrees. That’s enough to let gravity drain acid away from your esophagus while you sleep. Use a wedge pillow or place blocks under the bed frame’s headboard legs. Stacking regular pillows doesn’t work as well because it bends you at the waist instead of tilting your whole torso.
Sleeping on your left side positions the opening between your esophagus and stomach above the level of acid pooled in the stomach. This makes it harder for acid to creep upward. Sleeping on your right side does the opposite, placing that junction below the acid line. If you tend to roll during the night, a body pillow behind your back can help you stay on your left.
Over-the-Counter Medications
Three categories of heartburn medications are available without a prescription, and they work in different ways on different timelines.
Antacids (like Tums or Rolaids) neutralize acid that’s already in your stomach. They work within minutes, making them the best option for immediate relief. The trade-off is that they wear off relatively quickly, typically within an hour or two.
H2 blockers (like famotidine, sold as Pepcid) reduce the amount of acid your stomach produces. They kick in within one to three hours and provide about eight hours of relief. Taking one before a meal you know will be a problem is a useful preventive strategy.
Proton pump inhibitors, or PPIs (like omeprazole, sold as Prilosec) are the strongest option. They block acid production more completely and provide 15 to 21 hours of reduced acid per day. The catch is they can take up to four days to reach full effect, so they’re not helpful for a sudden episode. PPIs are designed for frequent heartburn, generally defined as two or more days per week.
Risks of Long-Term Acid Suppression
PPIs are effective, but using them for months or years without reassessment carries some risks. Long-term use has been linked to reduced absorption of certain vitamins and minerals, lower bone density, and a higher risk of certain gut infections. These risks are relatively small for any individual person, but they underscore why PPIs work best as a targeted treatment rather than an indefinite habit. If you’ve been taking one daily for more than a few months, it’s worth revisiting whether you still need it or whether lifestyle changes could take over some of the work.
Weight Loss and Heartburn
Excess weight, especially around the midsection, increases pressure on the stomach and pushes acid upward. Losing even a moderate amount makes a measurable difference. In women, a weight loss of 5 to 10 percent of body weight significantly reduced overall reflux symptoms. For men, the threshold was closer to 10 percent or more. One large study found that a BMI drop of about 3.5 points over time decreased the risk of frequent heartburn symptoms by nearly 40 percent.
This doesn’t mean weight loss replaces other treatments, but for people who carry extra abdominal weight and deal with heartburn regularly, it’s one of the few interventions that addresses the underlying mechanics rather than just managing symptoms.
Herbal Remedies
Ginger has centuries of use as a digestive aid and is one of the most commonly recommended natural remedies for heartburn. It may help some people, but clinical evidence confirming specific doses or reliable effectiveness is limited. The same is true for most herbal heartburn remedies: long histories of traditional use, but not the kind of controlled testing that prescription or over-the-counter medications go through. If ginger tea or ginger chews seem to help you, there’s little downside to using them, but they shouldn’t replace proven treatments if your symptoms are frequent or worsening.
Signs That Need Attention
Most heartburn is uncomfortable but manageable. A few patterns, however, signal something more serious. Difficulty swallowing, pain when swallowing, or the sensation of food getting stuck in your chest are symptoms that gastroenterologists flag for further evaluation, typically with an endoscopy. Unintentional weight loss alongside persistent heartburn also warrants investigation. And if you’ve been taking a strong acid-suppressing medication twice daily without improvement, that’s another signal that something beyond routine reflux may be going on.

