How to Get Heartburn to Go Away at Home or With Meds

Most heartburn episodes can be relieved within minutes to about an hour using a combination of over-the-counter remedies, body positioning, and simple home fixes. The approach that works fastest depends on how severe the burning feels and what you have on hand. Here’s what actually helps, how quickly each option works, and what to do if heartburn keeps coming back.

Fast Relief With What You Already Have

If you’re dealing with heartburn right now and don’t have medication nearby, a few things can help. Standing up or sitting upright uses gravity to keep stomach acid from pushing into your esophagus. If you were lying down or bending over, simply changing position can reduce the burn within minutes.

Baking soda (sodium bicarbonate) is a legitimate short-term antacid. Mix half a teaspoon into a glass of cold water and drink it. The bicarbonate directly neutralizes stomach acid on contact. You can repeat this every two hours if needed, but don’t exceed five teaspoons in a day, and don’t rely on it for more than two weeks. It’s a stopgap, not a long-term solution.

Chewing gum is another surprisingly effective trick. It stimulates saliva production, and saliva naturally contains bicarbonate that neutralizes acid in the esophagus. The increased swallowing also pushes acid back down into the stomach. Sugar-free bicarbonate gum works best, but any gum helps. Keep a pack nearby if you’re prone to episodes after meals.

How OTC Medications Compare

Three categories of heartburn medication are available without a prescription, and they work on very different timescales.

Antacids (like Tums or Rolaids) work the fastest. They neutralize acid already in your stomach and can ease symptoms within minutes. The tradeoff is that they wear off relatively quickly, often within an hour or two.

H2 blockers (like famotidine) take about an hour to kick in, but they reduce acid production for 4 to 10 hours. If you know a big meal or a trigger food is coming, taking one beforehand can prevent heartburn from starting.

Proton pump inhibitors (like omeprazole) are the most powerful option but the slowest to start working. It takes one to four days to get the full benefit, and they’re designed for frequent heartburn rather than occasional flare-ups. They reduce the amount of acid your stomach produces over a sustained period. These aren’t the right pick if you need relief in the next 30 minutes, but they’re effective if heartburn is showing up multiple times a week.

For an active episode, an antacid gets you the quickest result. If heartburn hits you regularly, an H2 blocker before meals or a short course of a proton pump inhibitor covers more ground.

Foods and Habits That Trigger It

Heartburn happens when the valve between your esophagus and stomach (a ring of muscle at the bottom of your esophagus) relaxes when it shouldn’t, letting acid splash upward. Certain foods and substances directly cause that valve to loosen.

Alcohol relaxes the valve and irritates the esophageal lining at the same time, a double hit. Coffee and other caffeinated drinks have a similar relaxing effect. Chocolate and mint, often eaten after dinner as a treat, also loosen that valve. If you’re regularly getting heartburn after meals, these are the first things to cut back on and see if the pattern changes. Smoking is another major trigger because nicotine relaxes the same valve.

Fatty and fried foods slow stomach emptying, which means acid sits around longer and has more opportunity to travel upward. Citrus, tomato-based sauces, and spicy foods don’t necessarily relax the valve, but they irritate an already-sensitive esophagus and make the burning feel worse.

Why Meal Timing Matters So Much

One of the most effective changes you can make has nothing to do with what you eat. It’s when you eat relative to when you lie down. Eating within three hours of bedtime dramatically increases reflux. A study in the American Journal of Gastroenterology found that people who went to bed less than three hours after dinner were roughly 7.5 times more likely to experience reflux compared to those who waited four hours or more.

Your stomach needs time to empty before you go horizontal. Eating earlier in the evening, or at least finishing your largest meal well before bedtime, is one of the single most effective ways to stop nighttime heartburn. If you tend to snack late, shifting that habit alone may resolve the problem.

The Best Sleeping Position for Heartburn

If heartburn wakes you up at night, your sleeping position matters. Lying on your left side places your stomach below your esophagus, making it harder for acid to travel upward. Research from Amsterdam UMC also found that when acid does reach the esophagus during left-side sleeping, it drains back into the stomach more quickly.

Sleeping on your right side does the opposite: it positions the stomach above the esophageal opening, making reflux more likely. Elevating the head of your bed by about six inches (using a wedge pillow or blocks under the bed frame, not just extra pillows) also helps by keeping gravity working in your favor all night.

When Heartburn Might Be Something Else

Heartburn and heart attacks can feel remarkably similar. Even experienced doctors sometimes can’t tell them apart without testing. Typical heartburn produces a burning sensation in the chest, usually after eating or when lying down, often with a sour taste in the mouth or a small amount of acid rising into the throat. It generally responds to antacids.

A heart attack is more likely to feel like pressure, tightness, or squeezing in the chest or arms, sometimes spreading to the neck, jaw, or back. Other warning signs include shortness of breath, cold sweat, sudden dizziness, or unusual fatigue. These symptoms can appear with or without exertion. If your chest discomfort comes with any of those additional symptoms, or if it doesn’t respond to antacids and feels different from your usual heartburn, treat it as an emergency.

Heartburn That Keeps Coming Back

Occasional heartburn after a large meal or a glass of wine is normal. When it happens twice a week or more, it may have crossed into gastroesophageal reflux disease (GERD), which means the valve between your esophagus and stomach is chronically weak or dysfunctional. Persistent acid exposure can irritate and damage the esophageal lining over time.

If lifestyle changes and OTC medications aren’t keeping symptoms under control after two weeks, that’s the point where further evaluation makes sense. Chronic reflux has effective treatments, but it requires a different approach than reaching for antacids after every meal. Tracking your triggers, timing, and symptom patterns before that conversation gives you and your provider a much clearer starting point.