Most heartburn episodes respond well to a combination of over-the-counter antacids, simple pantry items, and a few positional tricks you can use right away. The burning sensation happens when stomach acid backs up into your esophagus, and the fastest relief comes from neutralizing that acid or keeping it where it belongs. Here’s what actually works, what doesn’t, and how to prevent it from coming back.
Antacids: The Fastest Option
Over-the-counter antacids containing calcium carbonate, magnesium hydroxide, or aluminum hydroxide neutralize stomach acid within minutes. These are widely available at any pharmacy or grocery store and work well for occasional heartburn that flares up after a meal. They won’t prevent future episodes, but for immediate relief, they’re the most reliable choice.
If you don’t have antacids on hand, plain baking soda (sodium bicarbonate) does essentially the same thing. Mix half a teaspoon into a full glass of cold water and drink it. You can repeat this every two hours if needed, but don’t exceed five teaspoons in a single day. Baking soda is high in sodium, so it’s not a good option if you’re watching your salt intake or using it frequently.
H2 Blockers and Acid Reducers
If antacids wear off too quickly or your heartburn keeps returning the same day, H2 blockers like famotidine take a different approach. Instead of neutralizing acid that’s already there, they reduce how much acid your stomach produces in the first place. They take 30 to 60 minutes to kick in but last significantly longer, often 8 to 12 hours. These are available without a prescription and work well when you know a trigger meal is coming.
Proton pump inhibitors (PPIs) like omeprazole are also sold over the counter and are the strongest acid-suppressing option available without a prescription. They’re designed for people dealing with heartburn two or more days per week, not for one-off episodes. PPIs take one to four days to reach full effect, so they won’t help you tonight. They’re meant to be taken daily for a 14-day course, and most labels recommend no more than three courses per year without medical guidance.
Long-term PPI use has drawn some clinical concern. Studies have linked extended use to lower absorption of calcium and vitamin B12, changes in gut bacteria, and an increased risk of kidney problems. A large meta-analysis found PPI users had a modestly elevated risk of both acute kidney injury and chronic kidney disease. For occasional heartburn, a short course is generally considered safe, but daily use beyond a few weeks is worth discussing with a doctor.
Ginger and Other Home Remedies
Ginger has modest evidence behind it. It improves the speed at which your stomach empties while also relaxing intestinal spasms, a combination that can reduce the pressure driving acid upward. Fresh ginger tea, made by steeping sliced ginger root in hot water for 10 to 15 minutes, is the simplest way to try it. Ginger chews and capsules are also options. It’s not as fast-acting as an antacid, but it’s a reasonable choice if you prefer something more natural or have mild symptoms.
Apple cider vinegar is one of the most commonly recommended home remedies online, but there is no published research in medical journals supporting its use for heartburn. Harvard Health Publishing reviewed the claim directly and found zero clinical data on its effectiveness or safety for acid reflux. For some people, adding an acidic liquid to an already irritated esophagus could make things worse.
Foods and Drinks That Make It Worse
Several common foods relax the muscular valve between your esophagus and stomach, making it easier for acid to escape upward. The main culprits:
- Coffee and caffeinated drinks relax this valve directly, even decaf coffee
- Chocolate contains a compound similar to caffeine that has the same relaxing effect
- Peppermint loosens the valve, which is why peppermint tea can actually worsen reflux despite feeling soothing
- Garlic and onions have the same valve-relaxing effect
- Fatty, fried, or spicy foods both relax the valve and slow stomach emptying, keeping acid in contact with the opening longer
Alcohol and citrus juices are also common triggers. You don’t necessarily need to cut all of these permanently, but avoiding them during an active flare-up will help you recover faster.
Positioning Tricks That Work Tonight
Gravity is your simplest tool. If heartburn hits at night, elevate the head of your bed by about six inches using blocks or a wedge pillow under your mattress. Propping yourself up with regular pillows tends to bend your body at the waist, which can actually increase abdominal pressure and make things worse. You want your entire torso on a gentle incline.
Sleep on your left side. When you lie on your left, your stomach sits below your esophagus, making it physically harder for acid to flow upward. Research from Amsterdam UMC confirmed that left-side sleeping not only reduces acid exposure but also allows acid that does reach the esophagus to drain back into the stomach more quickly. Right-side sleeping does the opposite, positioning the stomach above the esophageal opening.
Avoid eating within two to three hours of lying down. A full stomach produces more acid and creates more pressure on that valve. If you’ve already eaten late, staying upright, even just sitting in a recliner, gives gravity time to do its job before you go horizontal.
Other Habits That Reduce Episodes
Eating smaller meals puts less pressure on the valve at the top of your stomach. A large meal stretches the stomach and pushes its contents toward the esophagus. Splitting a big dinner into two smaller sittings can make a noticeable difference for people who get heartburn regularly.
Tight clothing around the waist, including belts and high-waisted pants, increases abdominal pressure the same way a large meal does. Loosening your belt after eating is a small change that genuinely helps. Excess weight around the midsection has the same mechanical effect, which is why even modest weight loss tends to reduce heartburn frequency significantly.
Signs That Need Medical Attention
Heartburn and heart attacks can feel remarkably similar. Even experienced doctors sometimes can’t tell them apart without testing. If you have persistent chest pain and aren’t sure it’s heartburn, especially if it comes with shortness of breath, pain spreading to your arm or jaw, or lightheadedness, treat it as a cardiac emergency. Both heartburn and heart attacks can produce symptoms that come and go, so the fact that pain subsides does not rule out something serious.
Typical heartburn has some distinguishing features: it usually starts after eating, worsens when lying down or bending over, produces a sour taste in the back of your throat, and responds to antacids. Heart-related chest pain is more often triggered by exertion and may come with sweating or nausea unrelated to food.
Outside of emergencies, heartburn that happens more than twice a week, persists despite over-the-counter treatment, or comes with difficulty swallowing, unintended weight loss, or vomiting warrants a medical evaluation. Difficulty swallowing in particular can signal narrowing of the esophagus or other complications that need direct examination.