Heartburn happens when stomach acid flows back into the esophagus, irritating its lining and creating that familiar burning sensation behind the breastbone. The good news: most episodes respond quickly to a combination of simple position changes, over-the-counter options, and habit shifts that keep acid where it belongs.
What to Do Right Now
If heartburn is hitting you at this moment, the fastest home option is baking soda dissolved in water. Half a teaspoon in a full glass of cold water neutralizes stomach acid almost on contact. It works, but it’s a short-term fix: don’t use it for more than two weeks, and avoid it if you’re on a sodium-restricted diet, since baking soda is essentially pure sodium.
Over-the-counter antacids work through the same principle, neutralizing acid directly in the stomach. Some also contain a foaming agent that floats on top of your stomach contents and physically blocks acid from reaching the esophagus. If you’re lying down, stand up or at least sit upright. Gravity alone reduces the amount of acid that can travel upward.
Chewing sugar-free gum is another surprisingly effective quick measure. It roughly doubles your saliva production, and that extra saliva washes acid back down out of the esophagus. In one study of healthy volunteers, the time it took to clear acid from the esophagus dropped from about 7 minutes to just over 2 minutes when participants chewed gum.
How Over-the-Counter Medications Differ
Antacids, H2 blockers, and proton pump inhibitors (PPIs) all reduce acid, but they work on different timelines and are suited to different situations.
Antacids are the quickest. They neutralize acid that’s already in your stomach and provide near-immediate relief, but it doesn’t last long. They’re best for occasional, predictable flare-ups.
H2 blockers take about an hour to kick in but keep working for 4 to 10 hours. They reduce the amount of acid your stomach produces rather than neutralizing what’s already there, making them a better choice if you know a trigger is coming (a heavy meal, for instance) and want longer coverage.
PPIs are the strongest option. They shut down acid production more completely, but they take one to four days to reach full effect. PPIs are designed for people dealing with heartburn frequently, not for the occasional episode. If heartburn has become a near-daily problem, an 8-week course of a once-daily PPI taken before meals is the standard starting approach.
Foods and Drinks That Trigger Heartburn
Certain foods relax the muscular valve between your stomach and esophagus, the lower esophageal sphincter. When that valve loosens, acid escapes upward. The most common culprits:
- Chocolate contains a compound called methylxanthine (similar to caffeine) that directly relaxes that valve.
- Peppermint, garlic, and onions have the same relaxing effect on the sphincter.
- Fatty, fried, or spicy foods both relax the valve and slow stomach emptying, so acid sits around longer with an easier path upward.
- Coffee and alcohol increase acid production and can loosen the sphincter independently.
You don’t necessarily need to eliminate all of these permanently. Most people find they have two or three specific triggers. Keeping a simple log of what you ate before each episode helps you identify yours within a couple of weeks.
Eating and Drinking Habits That Help
How you eat matters as much as what you eat. Large meals stretch the stomach and increase pressure on the sphincter, so smaller, more frequent meals reduce reflux episodes. Stop eating at least two to three hours before lying down. Your stomach needs that time to move food along and reduce its acid load.
Be thoughtful about water intake around meals. Drinking large amounts of water during or immediately after eating increases stomach volume and pressure, which can push acid upward. Sipping moderately during meals and drinking most of your water between meals is a better approach.
Positioning and Sleep
Heartburn often worsens at night because lying flat eliminates gravity’s help in keeping acid down. Elevating the head of your bed by 6 to 8 inches (using a wedge pillow or blocks under the bed frame) makes a significant difference. Stacking regular pillows usually doesn’t work well because it bends you at the waist rather than creating a true incline.
Sleeping on your left side is one of the simplest and most effective nighttime strategies. In that position, the stomach sits below the esophagus, making it physically harder for acid to travel upward. Sleeping on the right side does the opposite, positioning the stomach above the esophageal junction and making reflux more likely. If nighttime heartburn is a recurring issue, training yourself to favor your left side can produce noticeable improvement within a few nights.
Weight Loss and Long-Term Relief
Excess weight around the abdomen puts constant pressure on the stomach and pushes acid toward the esophagus. Losing even a moderate amount of weight reliably reduces heartburn. A hospital-based study found that a weight loss of 5 to 10 percent in women (and over 10 percent in men) led to a significant drop in overall reflux symptom scores. For someone weighing 200 pounds, that’s as little as 10 to 20 pounds.
This is probably the single most effective long-term intervention for people who are overweight and dealing with frequent heartburn. It addresses the mechanical cause rather than masking symptoms with medication.
Clothing and Posture
Tight belts, waistbands, and shapewear compress the abdomen in the same way excess weight does, increasing pressure on the stomach. Switching to looser clothing around the midsection is a small change that can reduce episodes noticeably, especially after meals. Avoid bending at the waist after eating. If you need to pick something up, bend at the knees instead.
Signs That Heartburn Needs Medical Attention
Occasional heartburn after a heavy meal is normal. Heartburn that occurs twice a week or more for several weeks may be gastroesophageal reflux disease (GERD), which can damage the esophageal lining over time. Certain symptoms signal that something more serious may be going on and warrant prompt evaluation: difficulty swallowing, pain when swallowing, unexplained weight loss, vomiting (especially with blood), signs of anemia, or chest pain. These are considered alarm symptoms and typically lead to direct visualization of the esophagus with an endoscopy to rule out complications like narrowing, ulceration, or precancerous changes.
If your heartburn doesn’t improve after 8 weeks of daily PPI use, that also warrants further investigation. Persistent symptoms despite adequate acid suppression can indicate a different underlying problem or a need to adjust the treatment approach.

