How Long Does Heartburn Last? And When to Worry

A typical episode of heartburn lasts anywhere from a few minutes to a couple of hours, depending on what triggered it, your body position, and whether you do anything to neutralize the acid. Most isolated bouts resolve on their own or with an over-the-counter antacid. But when heartburn lingers for hours, keeps coming back multiple times a week, or arrives with symptoms like difficulty swallowing or unexplained weight loss, it stops being a nuisance and starts being a signal worth investigating.

What Determines How Long an Episode Lasts

Heartburn happens when stomach acid splashes up into the esophagus, irritating a lining that was never built to handle it. Your body has a built-in cleanup system: when acid touches the esophageal lining, swallowing increases and saliva production ramps up. That extra saliva acts as a natural antacid, slowly washing acid back down into the stomach.1PubMed. Salivary response to esophageal acid in normal subjects and patients with reflux esophagitis How quickly this process clears the acid determines whether you feel the burn for five minutes or fifty.

Several things slow acid clearance down. Lying flat removes gravity from the equation, so acid pools in the esophagus instead of draining. Eating a large, fatty meal keeps the stomach full longer and delays emptying. Drinking alcohol or smoking can weaken the muscular valve between your stomach and esophagus, giving acid a longer window to creep upward. And if you fall asleep soon after eating, your swallowing rate drops dramatically, which means the saliva-based cleanup barely operates until you wake up or shift position.

For most people, an upright posture plus a glass of water or an antacid tablet shortens the episode to under 30 minutes. Without intervention, especially after a heavy evening meal, the discomfort can persist for two hours or more. Episodes that last significantly longer than that, or that happen daily, usually point to something beyond a one-off dietary misstep.

The Main Mechanism Behind Reflux Episodes

The valve at the top of your stomach, called the lower esophageal sphincter, normally stays closed except when you swallow. But it periodically relaxes on its own in brief, involuntary openings. These transient relaxations are the dominant route for acid to reach the esophagus, accounting for roughly 70% of reflux episodes.2Journal of Neurogastroenterology and Motility. Specific Movement of Esophagus During Transient Lower Esophageal Sphincter Relaxation in Gastroesophageal Reflux Disease3PubMed. Transient lower esophageal sphincter relaxations do not result from passive opening of the cardia by gastric distention Everyone has these relaxations, but people with frequent heartburn tend to have more of them or have a weaker sphincter that allows more acid through each time one occurs.

This is why heartburn so often follows meals. A full stomach triggers more of these spontaneous relaxations. Gas buildup makes it worse, which is part of why carbonated drinks and gas-producing foods are reliable heartburn triggers for many people. Understanding that the valve is opening on its own, rather than being forced open by pressure, helps explain why certain lifestyle changes work: they reduce the frequency or severity of these relaxation events rather than mechanically holding the valve shut.

Common Triggers That Prolong or Worsen Heartburn

Certain foods and habits are infamous for setting off heartburn, but the reasons are not all the same. Fatty foods slow stomach emptying, keeping acidic contents in place longer. Spicy foods and citrus don’t necessarily increase acid production but can directly irritate an already-sensitive esophageal lining. Coffee and chocolate relax the sphincter. Alcohol does both: it relaxes the valve and irritates the lining. Knowing which mechanism is at work can help you figure out your personal triggers rather than following a blanket avoidance list that may be more restrictive than necessary.

Body weight plays a surprisingly large role. Central obesity, meaning fat concentrated around the midsection, increases pressure inside the abdomen, which pushes against the stomach and disrupts the junction between the esophagus and the stomach.4PubMed Central. Effect of Increased Intra-abdominal Pressure on the Esophagogastric Junction: A Systematic Review This is one reason heartburn often worsens with weight gain and improves with weight loss, sometimes dramatically.

Medications are an underappreciated trigger. Some drugs contribute to reflux by directly damaging the esophageal lining, others by lowering sphincter pressure, and still others by slowing the movement of food through the digestive tract.5PubMed. Which drugs are risk factors for the development of gastroesophageal reflux disease? Common culprits include certain blood pressure medications, anti-anxiety drugs, some painkillers, and iron supplements. If your heartburn started or worsened around the time you began a new medication, that connection is worth raising with your doctor.

Why Nighttime Heartburn Feels Worse and Lasts Longer

Heartburn that strikes at night tends to be more severe, lasts longer, and disrupts sleep in ways that make the following day miserable. The reason is straightforward: lying down eliminates the gravity assist that normally helps drain acid back into the stomach. On top of that, you swallow far less frequently during sleep, so the saliva-based neutralization system that clears acid during waking hours is mostly offline.

Sleep position makes a measurable difference. A systematic review and meta-analysis found that sleeping on your left side significantly reduces the duration of acid contact with the esophagus compared to sleeping on your right side or on your back.6PubMed Central. Left lateral decubitus sleeping position is associated with improved gastroesophageal reflux disease symptoms: A systematic review and meta-analysis The anatomy explains why: when you lie on your left side, the stomach hangs below the esophageal junction, making it harder for acid to climb upward. On your right side, the junction sits below the level of the stomach, essentially turning it into a pouring spout.

Elevating the head of your bed by about six inches, using a wedge pillow or blocks under the bedframe legs, also helps. Propping yourself up with regular pillows is less effective because it tends to bend you at the waist rather than tilting your entire torso, which can actually increase abdominal pressure. If you deal with nighttime heartburn regularly, the combination of left-side sleeping and bed elevation is often enough to cut episode length substantially without medication.

When Heartburn Becomes a Medical Concern

Occasional heartburn after a big meal is common and not dangerous. The line between “annoying but harmless” and “see a doctor” depends on frequency, severity, and the presence of certain warning signs. A reasonable rule of thumb: if you experience heartburn more than twice a week for several weeks running, you’ve crossed into territory that warrants evaluation.

Some symptoms demand more urgent attention:

  • Difficulty swallowing: Food feeling stuck or requiring extra effort to get down can indicate esophageal narrowing from chronic acid damage.
  • Painful swallowing: Pain as food passes through the esophagus suggests active inflammation or ulceration of the lining.
  • Unintentional weight loss: Losing weight without trying, especially when paired with reflux symptoms, raises the concern for more serious esophageal or stomach conditions.
  • Vomiting blood or dark stools: These suggest bleeding somewhere in the upper digestive tract and need same-day medical evaluation.
  • Persistent hoarseness or chronic cough: Acid that reaches the throat and airways can cause damage there too, sometimes without classic heartburn.

One of the trickier situations is chest pain. After ruling out a heart problem, gastroesophageal reflux disease is the most likely explanation for noncardiac chest pain.7PubMed. Gastroesophageal reflux disease in noncardiac chest pain The problem is that clinical history alone often cannot distinguish reflux-related chest pain from cardiac chest pain. If you experience new or severe chest pressure, especially with shortness of breath, pain radiating to the arm or jaw, or lightheadedness, treat it as a potential cardiac event first. Sort out whether it was “just heartburn” later.

What Chronic Reflux Can Do Over Time

When acid repeatedly bathes the lower esophagus over months or years, the cells lining that area can change in response to the ongoing injury. In some people, the normal esophageal tissue is gradually replaced by tissue that resembles the intestinal lining, a condition known as Barrett’s esophagus. This cellular change is concerning because it can, in a small percentage of cases, progress through stages of increasing abnormality toward esophageal adenocarcinoma. Research has traced specific genetic mutations that accumulate along this progression sequence.8PubMed. p16 gene mutations in Barrett’s esophagus in gastric metaplasia – intestinal metaplasia – dysplasia – adenocarcinoma sequence

The actual cancer risk for any individual with Barrett’s is low, estimated at roughly half a percent per year in most studies. But the risk is real, which is why people diagnosed with Barrett’s are typically enrolled in surveillance programs with periodic endoscopy. The practical takeaway for the heartburn sufferer: longstanding, poorly controlled reflux is not just an annoyance. Managing it reduces the likelihood of these tissue changes in the first place.

Other chronic complications include esophageal strictures, which are scar-tissue narrowings that make swallowing progressively difficult, and erosive esophagitis, where visible damage to the lining causes pain and sometimes bleeding. These outcomes are preventable with adequate treatment, which is the strongest argument for not simply living with frequent heartburn year after year.

Over-the-Counter and Prescription Treatment Options

For an occasional episode, antacids that neutralize stomach acid on contact are the fastest fix. They work within minutes and are appropriate for infrequent use. Alginate-based formulations go a step further: they form a gel “raft” that floats on top of the stomach contents, physically displacing the acidic layer away from the junction with the esophagus.9PubMed Central. An alginate-antacid formulation (Gaviscon Double Action Liquid) can eliminate or displace the postprandial ‘acid pocket’ in symptomatic GERD patients This “acid pocket” near the top of the stomach is the main source of post-meal reflux, so eliminating it can stop episodes before they start.

H2 blockers reduce acid production over several hours and are useful for predictable heartburn, like when you know a particular meal or evening event will trigger symptoms. Proton pump inhibitors (PPIs) are the most powerful acid suppressors and are the standard treatment for frequent reflux. They work by shutting down the acid-producing pumps in the stomach lining and are typically taken daily for a course of four to eight weeks.

PPIs are effective, but they come with a catch that is worth knowing about. Long-term use can lead to a rebound effect when you stop taking them: the stomach compensates for the prolonged acid suppression by ramping up its acid-producing capacity, so withdrawal can temporarily cause worse heartburn than you had before starting the medication.10PubMed Central. Rebound Acid Hypersecretion after Withdrawal of Long-Term Proton Pump Inhibitor (PPI) Treatment-Are PPIs Addictive? In one study, healthy volunteers who took a PPI daily for eight weeks were significantly more likely to report heartburn, acid regurgitation, and dyspepsia in the weeks after stopping compared to a placebo group, with 44% of the PPI group experiencing these symptoms versus 15% of those who had never taken the drug.11Gastroenterology. Proton-Pump Inhibitor Therapy Induces Acid-Related Symptoms in Healthy Volunteers After Withdrawal of Therapy

This rebound effect does not mean PPIs are harmful or should be avoided. It means that if you’ve been on one for a while, tapering off gradually under medical guidance is smarter than stopping cold turkey. It also means that short courses for a specific flare-up are generally preferable to open-ended daily use when your symptoms don’t strictly require it.

Heartburn During Pregnancy

Pregnancy is one of the most common settings for new or worsening heartburn, and for good reason: virtually every factor that promotes reflux intensifies as pregnancy progresses. Rising levels of estrogen and progesterone progressively lower the pressure of the sphincter between the esophagus and stomach, reaching its weakest point around 36 weeks. Meanwhile, the growing uterus increases pressure inside the abdomen, pushing the stomach upward and compressing its contents. Slower gut motility during pregnancy means food sits in the stomach longer, giving acid more opportunity to reflux.12PubMed Central. Evidence-based treatment recommendations for gastroesophageal reflux disease during pregnancy: A review

Most pregnancy heartburn resolves after delivery as hormone levels normalize and abdominal pressure drops. In the meantime, lifestyle modifications, particularly eating smaller meals, staying upright after eating, and left-side sleeping, are the first line of management. Antacids are generally considered safe, as are certain alginate formulations. H2 blockers are used when lifestyle changes aren’t enough. PPIs are reserved for more severe cases, and the safety data on most PPIs during pregnancy, while broadly reassuring, is less extensive than for older treatments.

One practical point: many pregnant women dismiss persistent heartburn as an expected annoyance and don’t mention it to their provider. But severe heartburn during pregnancy can interfere with nutrition, sleep, and quality of life. It’s worth treating rather than enduring.

When Tests Come Back Normal but Heartburn Persists

Some people experience classic heartburn symptoms, the burning sensation behind the breastbone and acid taste in the throat, yet when doctors investigate, the esophagus looks perfectly normal on endoscopy and acid levels measure within the typical range. This situation now has a name: reflux hypersensitivity, classified as a functional esophageal disorder. In these patients, the heartburn is real, but it’s triggered by tiny amounts of acid that wouldn’t bother most people, and tests confirm a close time-correlation between these minor reflux events and the patient’s symptoms.13PubMed Central. Reflux Hypersensitivity: A New Functional Esophageal Disorder

This distinction matters because the treatment approach differs. Standard acid-suppressing medications may help somewhat, but because the underlying issue is heightened sensitivity rather than excessive acid, they often don’t fully resolve symptoms. Neuromodulators, which adjust how the brain processes signals from the esophagus, and cognitive behavioral approaches have shown more promise for this group. If you’ve been told your tests are normal but your heartburn is clearly not imaginary, reflux hypersensitivity is worth discussing with a gastroenterologist rather than simply cycling through stronger doses of acid-blocking drugs.

Simple Measures That Actually Shorten Episodes

Knowing the mechanism behind heartburn points toward practical interventions that genuinely help, rather than folk remedies that sound logical but don’t do much. Here are the measures with the strongest rationale:

  • Stay upright: Gravity is one of the best acid-clearance tools you have. Don’t lie down for at least two to three hours after eating.
  • Eat smaller meals: A less-full stomach triggers fewer spontaneous sphincter relaxations and produces less acid overall.
  • Chew gum after meals: It stimulates saliva production, which is your body’s built-in acid neutralizer. Sugar-free gum with bicarbonate is the most studied option.
  • Sleep on your left side: Keeps the stomach below the esophageal junction.
  • Lose weight if you carry it around your midsection: Even modest weight loss can reduce reflux frequency and severity by lowering abdominal pressure.
  • Identify your personal trigger foods: Rather than following a generic forbidden-foods list, keep a simple log for a couple of weeks. Most people find they have three or four reliable triggers, not twenty.

A glass of water can help during a mild episode by washing acid back into the stomach. Milk is a common home remedy, and while it briefly coats and soothes, its fat and protein content can stimulate further acid production within an hour, sometimes making things worse after the initial relief. Baking soda dissolved in water does work as an antacid in a pinch, but it’s high in sodium and shouldn’t be used regularly.

Heartburn in Children and Infants

Reflux is extremely common in infants, with spit-up being a normal feature of the first year of life for the majority of babies. Most infant reflux is not painful or harmful and resolves on its own as the digestive system matures, typically by 12 to 18 months. The sphincter between the stomach and esophagus is simply immature, and small stomach volumes combined with a liquid diet make some backflow almost inevitable.

When infant reflux causes distress, poor weight gain, feeding refusal, or respiratory symptoms, it may be classified as gastroesophageal reflux disease rather than simple reflux. Treatment in infants is conservative: smaller, more frequent feedings, keeping the baby upright after meals, and thickening feeds in some cases. Acid-suppressing medications are used with more caution in infants than in adults, partly because recent evidence has raised questions about their effectiveness in this age group and partly because of concerns about long-term effects on developing gut microbiomes.

Older children and teenagers experience heartburn more similarly to adults, often triggered by the same dietary factors and responsive to the same lifestyle modifications. One difference is that children may describe the sensation differently, complaining of stomach pain, nausea, or a “weird feeling” in the chest rather than the classic burning description adults typically offer. Parents who notice a child frequently clearing their throat, coughing at night, or avoiding certain foods may be looking at reflux even if the child never uses the word heartburn.