Most heartburn goes away within minutes to a couple of hours using a combination of over-the-counter remedies and simple positional changes. The burning sensation happens when stomach acid backs up into your esophagus, irritating its lining. Fixing it means either neutralizing that acid, reducing how much your stomach produces, or keeping it where it belongs in the first place.
Fast Relief: What Works Right Now
If you’re dealing with heartburn at this moment, an over-the-counter antacid (the chewable tablets you find at any pharmacy) is the quickest option. These work by directly neutralizing stomach acid on contact, and most people feel relief within minutes.
A simple home remedy that works on the same principle: half a teaspoon of baking soda dissolved in a full glass of water. It neutralizes acid fast, though the taste is unpleasant. Don’t use this as a regular fix. The Mayo Clinic notes that baking soda should not be taken for more than two weeks straight, and people with high blood pressure, kidney disease, or heart disease should avoid it entirely because it causes the body to retain water. Keep it to occasional use only.
If antacids aren’t cutting it, H2 blockers (like famotidine, sold as Pepcid) take about an hour to kick in but provide longer-lasting relief by reducing the amount of acid your stomach produces. For heartburn that keeps coming back day after day, proton pump inhibitors are stronger, but they take one to four days to reach full effect. They’re designed for frequent heartburn, not a one-time episode.
Positioning Tricks That Work Immediately
Gravity is one of your best tools. If heartburn hits while you’re lying down, sit upright or stand. This alone can stop acid from pooling in your esophagus.
If it’s nighttime, roll onto your left side. When you lie on your left, your esophagus and the muscular valve at its base sit higher than your stomach, so acid drains back down more quickly instead of creeping upward. Lying on your right side does the opposite, making reflux worse.
For people who regularly get heartburn at night, elevating the head of your bed by about 20 centimeters (roughly 8 inches) makes a measurable difference. A 2020 study found that this elevation improved acid reflux symptoms compared to sleeping flat. You can use a foam wedge pillow or place blocks under the head-end legs of your bed frame. Stacking regular pillows doesn’t work as well because you tend to slide off them, and they only raise your head rather than your entire upper body.
Foods That Trigger Heartburn
Certain foods relax the muscular valve between your esophagus and stomach, letting acid escape upward. Others slow digestion, keeping food in your stomach longer and increasing pressure. Johns Hopkins Medicine identifies the most common culprits:
- High-fat and fried foods: pizza, fast food, bacon, sausage, potato chips, and cheese
- Spicy foods: chili powder, black pepper, cayenne
- Acidic foods: tomato-based sauces and citrus fruits
- Chocolate and peppermint: both directly relax the valve that keeps acid in your stomach
- Carbonated beverages: the gas increases pressure inside your stomach
You don’t necessarily need to eliminate all of these permanently. Pay attention to which ones consistently set you off. Many people find that fatty and fried foods are their primary triggers, while they tolerate citrus or tomatoes just fine.
Eating Habits That Prevent Flare-Ups
When and how you eat matters as much as what you eat. Large meals stretch the stomach and put pressure on that valve. Eating smaller portions more frequently keeps the pressure down. Stop eating at least two to three hours before lying down, because a full stomach plus gravity working against you is the classic recipe for nighttime heartburn.
Tight clothing around your midsection, especially after a meal, pushes on your stomach the same way. Loosening your belt or changing into something comfortable after eating can make a noticeable difference. Eating slowly and chewing thoroughly also helps because it gives your stomach less work to do at once.
Why Weight Loss Helps
Excess weight, particularly around the abdomen, puts constant upward pressure on the stomach and forces acid toward the esophagus. This is one of the most well-documented drivers of chronic heartburn. Losing even a moderate amount makes a real difference: a hospital-based study found that women who lost 5 to 10% of their body weight and men who lost more than 10% saw significant reductions in their reflux symptoms. For someone weighing 200 pounds, that’s 10 to 20 pounds.
Longer-term data shows that a BMI reduction of about 3.5 points over time decreased the risk of frequent heartburn symptoms by nearly 40%. This doesn’t mean you need to hit an ideal weight. Even partial progress helps.
Ginger for Heartburn
Ginger has a modest but real effect on stomach emptying, which can reduce the conditions that lead to reflux. In a study published in the World Journal of Gastroenterology, participants who took 1.2 grams of ginger (about a quarter teaspoon of powder, or a thumb-sized piece of fresh root) emptied their stomachs faster than those given a placebo. The half-emptying time dropped from about 16 minutes to about 12 minutes. A stomach that empties faster has less opportunity to push acid upward.
Ginger tea or fresh ginger sliced into hot water is the easiest way to try this. It’s worth noting that the study specifically excluded people whose primary issue was acid reflux, so the evidence is indirect. Still, ginger is safe for most people and widely used as a digestive aid.
When Heartburn Signals Something Serious
Occasional heartburn after a big meal or a spicy dinner is normal. But certain symptoms alongside heartburn point to something that needs medical attention:
- Difficulty swallowing or pain when swallowing: this can mean something is partially blocking or inflaming your esophagus
- Unexplained weight loss: losing 10 pounds or more over three months without trying warrants investigation
- Vomiting blood or dark material: this indicates bleeding in the upper digestive tract
- Black, tarry stools: another sign of internal bleeding, this time from slower blood loss higher in the digestive system
- Chest pain that radiates to your arm or neck, especially during physical activity: this pattern mimics heartburn but could be a heart problem
Heartburn that persists despite two weeks of over-the-counter treatment, or that keeps returning after you stop taking medication, is also worth getting checked out. Chronic untreated acid reflux can damage the lining of the esophagus over time, and a doctor can determine whether you’re dealing with gastroesophageal reflux disease (GERD), which requires a longer-term management plan rather than occasional antacid use.

