A burning stomach usually comes from excess acid irritating your stomach lining or creeping up into your esophagus. The fastest fix depends on whether this is a one-time flare or a recurring problem. For immediate relief, an over-the-counter antacid can neutralize acid within minutes. For burning that keeps coming back, you’ll need to address the underlying cause and make a few habit changes that prevent flare-ups before they start.
What Causes the Burning
That burning sensation happens when stomach acid contacts tissue that’s inflamed, damaged, or not designed to handle it. Several conditions produce this feeling, and they overlap enough that it’s hard to tell them apart without a closer look.
The most common culprit is reactive gastropathy, where something repeatedly irritates your stomach lining. The usual offenders are anti-inflammatory painkillers (ibuprofen, aspirin, naproxen), alcohol, and bile flowing backward from the small intestine into the stomach. If you’ve been taking painkillers regularly and your stomach burns, that connection is worth paying attention to.
Acid reflux, or GERD, causes burning higher up, behind the breastbone or in the throat. It happens when the muscle between your esophagus and stomach relaxes at the wrong time, letting acid splash upward. This tends to worsen after meals and when lying down.
A bacterial infection called H. pylori is another major cause. It damages the protective mucus layer of your stomach, leaving the tissue exposed to acid. H. pylori spreads through contaminated food, water, or close contact with an infected person. It’s treatable with a two-week course of antibiotics, but you need a test to confirm it. If your stomach has been burning for weeks and home remedies aren’t helping, this is one of the first things a doctor will check for.
Less commonly, autoimmune gastritis occurs when your immune system attacks healthy cells in the stomach lining. And severe illness, major injuries, or critical health events can reduce blood flow to the stomach and cause what’s called stress gastritis.
Quick Relief Options
Three types of over-the-counter medications reduce stomach acid, but they work differently and on different timelines.
Antacids (like Tums or Rolaids) neutralize acid that’s already in your stomach. They work the fastest but wear off the quickest. These are your best option for occasional, mild burning that you want to knock out right now.
H2 blockers (like famotidine, sold as Pepcid) block the chemical signal that tells your stomach to produce acid. They kick in fairly quickly and last longer than antacids. For GERD, the typical over-the-counter dose is 20 mg twice a day, morning and bedtime, for up to six weeks. For stomach ulcers, the same dose can be used for up to eight weeks.
Proton pump inhibitors (like omeprazole, sold as Prilosec) shut down the acid-producing pumps in your stomach lining entirely. They’re the most powerful option but the slowest to start working. PPIs are better suited for persistent burning that hasn’t responded to other options. Over-the-counter versions are meant for 14-day courses, not daily long-term use, unless your doctor says otherwise.
Foods and Drinks That Make It Worse
Certain foods relax the muscle that keeps acid in your stomach, and others irritate the lining directly. Knowing which ones affect you can prevent a lot of flare-ups.
- Fatty foods relax the lower esophageal sphincter, the barrier between your stomach and esophagus, making reflux more likely.
- Spicy foods contain capsaicin, which slows digestion and lets food sit in the stomach longer while also irritating the esophagus.
- Caffeine can trigger symptoms, especially when you’re consuming it multiple times throughout the day.
- Alcohol relaxes the sphincter and gives acid direct access to the esophagus. This is especially pronounced after a large meal.
- Chocolate triggers serotonin release, which relaxes the sphincter.
- Peppermint has the same sphincter-relaxing effect, despite its reputation as a stomach soother.
- Carbonated drinks expand the stomach, putting extra pressure on the sphincter and encouraging reflux.
You don’t necessarily need to eliminate all of these permanently. Pay attention to which ones consistently precede your symptoms and cut those first.
Habit Changes That Prevent Burning
Timing matters as much as what you eat. Experts recommend waiting at least two to three hours after eating solid foods before lying down. That window gives your digestive system enough time to process the meal, making acid reflux and indigestion significantly less likely. If you have to eat close to bedtime, keep it light and low-fat, and stay upright for at least 30 minutes afterward.
How you sleep also plays a role. The stomach is a curved organ with most of its volume sitting on the left side of your upper abdomen. When you sleep on your left side, gravity keeps the acid pooled away from the opening to your esophagus. Sleeping on your right side does the opposite, making reflux more likely. If nighttime burning is your main issue, switching to your left side and elevating the head of your bed by a few inches can make a noticeable difference.
Eating smaller, more frequent meals instead of two or three large ones reduces the volume of acid your stomach produces at any one time. Wearing loose clothing around your midsection, losing weight if you’re carrying extra around your waist, and not smoking all help keep that sphincter muscle working properly.
Home Remedies Worth Trying
Baking soda (sodium bicarbonate) is an old standby that genuinely works as a short-term antacid. The Mayo Clinic lists the dose as half a teaspoon dissolved in a glass of water, taken every two hours as needed. The daily maximum is five teaspoons. The important limit: don’t use it for more than two weeks straight. If your burning keeps returning after that, something deeper is going on.
Ginger has some evidence behind it, primarily for nausea and upper digestive discomfort. Research suggests that around 1,500 mg per day (split into multiple doses) can relieve nausea effectively. One small study found that 1,650 mg per day improved upper GI symptoms including reflux-like and ulcer-like discomfort. Ginger tea or capsules are the easiest ways to try it. The evidence is more established for nausea than for acid burning specifically, but it’s safe for most people and worth experimenting with.
Avoiding tight waistbands, not bending over right after eating, and chewing food thoroughly are small adjustments that collectively reduce how much acid contacts vulnerable tissue.
Signs the Burning Needs Medical Attention
Most stomach burning is manageable at home, at least initially. But certain patterns signal something more serious. Burning that comes on and steadily gets worse over days rather than coming and going is a red flag. Vomiting blood or seeing blood in your stool (which can look black and tarry) means the stomach lining is bleeding. Unintentional weight loss, difficulty swallowing, persistent vomiting, or fever alongside the burning all warrant a visit to your doctor sooner rather than later.
A useful rule from emergency physicians: if the pain comes on, goes away, and you feel fine afterward, it’s generally safe to watch and wait. If it keeps getting worse and doesn’t let up, that’s when it’s more likely to be something significant. Burning that lasts more than two weeks despite over-the-counter treatment is also a clear signal to get tested, particularly for H. pylori or to rule out an ulcer.

