Several things help heartburn, ranging from quick fixes that work in minutes to lifestyle shifts that can eliminate symptoms entirely. The right approach depends on whether you’re dealing with an occasional flare-up or a recurring problem. Here’s what actually works and why.
Quick Relief: What Works Right Now
If you’re in the middle of a heartburn episode, over-the-counter antacids are the fastest option. They neutralize stomach acid on contact and typically bring relief within minutes. The tradeoff is that they wear off quickly, usually within an hour or two.
Chewing sugar-free gum is a surprisingly effective quick fix. It stimulates saliva production, which is naturally slightly alkaline, and the swallowing motion helps wash acid back down into the stomach. Bicarbonate-containing gum raises saliva pH even higher, to around 8.0 (neutral is 7.0), giving it extra acid-neutralizing power.
Baking soda (sodium bicarbonate) dissolved in water is a classic home remedy that does work. Half a teaspoon in a glass of water can neutralize acid quickly. But there are limits: don’t exceed five teaspoons in a day, don’t use it for more than two weeks straight, and avoid it if you have high blood pressure, kidney disease, or heart problems, since the sodium can cause water retention. It also interferes with other medications, so space it at least one to two hours from any other pills.
Over-the-Counter Medications
Beyond basic antacids, two stronger categories of acid-reducing medication are available without a prescription, and they work in fundamentally different ways.
H2 blockers reduce the amount of acid your stomach produces. They take about 60 minutes to kick in, but the relief lasts 4 to 10 hours. That makes them a good choice when you know heartburn is coming, like before a meal that usually triggers symptoms.
Proton pump inhibitors (PPIs) are the most powerful option. They shut down the acid-producing pumps in your stomach lining more completely than H2 blockers, but they take a day or more to reach full effect. They’re designed for frequent heartburn (two or more days per week), not occasional flare-ups. For best results, take them 20 to 30 minutes before breakfast so peak blood levels coincide with your stomach’s post-meal acid production. That said, some research suggests the exact timing relative to meals may matter less than consistently taking them daily.
Foods That Trigger Heartburn
Certain foods directly relax the muscular valve between your esophagus and stomach, the one that’s supposed to keep acid from flowing upward. When this valve loosens, acid escapes. The most consistent culprits are high-fat meals, chocolate, alcohol, and carbonated drinks. All of them reduce the pressure that keeps that valve shut.
You don’t necessarily need to eliminate every trigger food permanently. Pay attention to which ones actually bother you. Some people eat chocolate without issue but can’t tolerate carbonation. Swapping high-fat proteins for leaner options like fish, skinless poultry, or tofu can make a noticeable difference if fatty meals are your main trigger.
How You Sleep Matters More Than You Think
Nighttime heartburn is often the most disruptive, and two simple changes to how you sleep can dramatically reduce it.
First, elevate the head of your bed by about 20 centimeters (roughly 8 inches). This means raising the actual bed frame using blocks or risers under the legs, or using a wedge-shaped pillow. Stacking regular pillows doesn’t work as well because they bend you at the waist rather than creating a gradual incline. Gravity keeps stomach acid where it belongs.
Second, sleep on your left side. The anatomy here is straightforward: your stomach curves to the left. When you sleep on your right side, your stomach sits above your esophagus, and acid essentially pools against that valve. Flip to your left side and the esophagus sits above the stomach, so acid has to fight gravity to reach it. A systematic review confirmed that right-side sleeping causes more reflux episodes and heartburn than any other position.
The Three-Hour Rule Before Bed
Eating close to bedtime is one of the strongest predictors of nighttime heartburn. People who eat within three hours of lying down are over seven times more likely to experience reflux symptoms compared to those who wait four hours or more. That’s a striking increase in risk from a relatively simple habit to change. If you tend to eat dinner late, even pushing your meal 30 to 60 minutes earlier can help, though a full three-to-four-hour gap is the goal.
Weight Loss as a Long-Term Fix
Excess weight, especially around the midsection, puts physical pressure on the stomach and pushes acid upward. Losing weight is one of the most effective long-term strategies for heartburn relief, and the data on this is compelling. In one prospective study, 65% of participants had complete resolution of reflux symptoms after weight loss, and another 15% had partial improvement.
The amount you need to lose matters, and it differs by sex. Women saw significant symptom improvement with a 5 to 10% loss of their starting body weight. Men needed to lose 10% or more before symptoms meaningfully improved. For a 200-pound person, that’s 10 to 20 pounds. This isn’t about reaching an ideal weight. Even modest loss within these ranges can make a real difference.
Symptoms That Need Medical Attention
Most heartburn is uncomfortable but harmless. Certain symptoms alongside heartburn, however, signal something more serious. These include difficulty swallowing, pain when swallowing, unexplained weight loss, loss of appetite, vomiting (especially if persistent), and any signs of gastrointestinal bleeding such as blood in vomit or dark, tarry stools. These are considered alarm symptoms that typically prompt further investigation to rule out complications like ulcers, narrowing of the esophagus, or other conditions that mimic reflux.