Why heartburn happens and what actually helps
Heartburn is burning chest discomfort from stomach acid backing up into your throat. Get clear causes, red flags, and care options—no referral.

Heartburn is that burning feeling behind your breastbone or up into your throat, and it usually happens when stomach acid flows the wrong direction and irritates the lining of your food pipe. It can be a one-off after a heavy meal, but if it keeps showing up, it can mess with your sleep, your appetite, and your peace of mind. Most of the time, heartburn is part of acid reflux, and sometimes it becomes a longer-term pattern called chronic reflux (GERD). This guide walks you through what heartburn feels like, what tends to trigger it, how clinicians tell simple reflux from something more serious, and what actually helps—starting with practical changes you can try today. If you want help sorting out your symptoms quickly, PocketMD can talk you through next steps, and labs can be useful when your symptoms overlap with anemia, inflammation, or liver and pancreas issues.
Symptoms and signs of heartburn
Burning behind your breastbone
The classic feeling is a warm, burning discomfort in the middle of your chest that often shows up after eating or when you lie down. It happens because acid irritates tissue that is not built to handle it. If the sensation is new, severe, or feels like pressure with sweating or shortness of breath, treat it as an emergency until proven otherwise.
Sour taste or acid in your throat
You might notice a sour, bitter taste, or feel fluid coming up into your throat, especially when bending over or at night. That “backwash” can make you cough, clear your throat, or feel like you have post-nasal drip even when you do not. It also explains why brushing your teeth right after an episode can sting—your enamel may be temporarily softened by acid.
Chest discomfort that mimics heart pain
Reflux pain can spread upward and feel sharp, tight, or pressure-like, which is why it can be scary. The key difference is that reflux often tracks with meals, lying flat, or certain foods, and it may improve with antacids. Still, you should not self-diagnose chest pain—if it is crushing, radiates to your arm or jaw, or comes with fainting, call emergency services.
Trouble swallowing or food “sticking”
If the lining of your food pipe gets inflamed, swallowing can feel painful or like food is hanging up on the way down. Over time, repeated irritation can lead to narrowing (stricture), which makes solid foods harder than liquids. This is a “don’t ignore it” symptom because it changes what tests and treatments you may need.
Night symptoms and poor sleep
Heartburn that wakes you up is common because lying flat makes it easier for acid to travel upward. You may wake with a sore throat, hoarse voice, or a cough that is worse in the morning. When sleep gets disrupted, your stress and sensitivity to discomfort often rise, which can make the whole cycle feel harder to control.
Lab testing
If your heartburn comes with fatigue, weight loss, or ongoing nausea, consider baseline labs starting from $99 panel with 100+ tests, one visit to check for anemia, inflammation, and organ stress.
Schedule online, results in a week
Clear guidance, follow-up care available
HSA/FSA Eligible
Causes and risk factors
A weak valve at the stomach entrance
Between your food pipe and your stomach is a valve-like ring of muscle (lower esophageal sphincter) that should stay closed most of the time. When it relaxes at the wrong moment, acid can move upward and burn. This is why heartburn can happen even if your stomach acid level is “normal”—it is often a plumbing problem, not an acid-overproduction problem.
Large meals and lying down too soon
A very full stomach creates pressure, and pressure makes reflux easier. If you lie down or slouch right after eating, gravity stops helping you keep stomach contents where they belong. Many people notice a big improvement just by finishing dinner earlier and giving their body time upright before bed.
Trigger foods and drinks that relax the valve
Some foods and drinks make reflux more likely because they relax the valve or irritate the lining when reflux happens. For you, that might be peppermint, chocolate, coffee, alcohol, spicy foods, or acidic items like tomato and citrus. The useful move is not banning everything—it is identifying your top two or three triggers by paying attention to timing and symptoms.
Pregnancy and increased belly pressure
During pregnancy, hormones can relax the valve and the growing uterus increases pressure on your stomach. That combination makes reflux common, especially later in pregnancy and at night. The good news is that symptoms often improve after delivery, but you still deserve relief while you are pregnant, so bring it up early with your prenatal clinician.
Hiatal hernia and certain medicines
A hiatal hernia happens when part of your stomach slides upward through the diaphragm, which can weaken the barrier that prevents reflux. Some medicines can also worsen heartburn by irritating the lining or changing muscle tone, including certain pain relievers and some blood pressure drugs. If your heartburn started soon after a new medication, it is worth asking whether there is a safer alternative for your situation.
How heartburn is diagnosed
Your story is the main test
Clinicians usually start by listening to the pattern: when symptoms happen, what they feel like, what makes them better, and whether they wake you from sleep. That pattern often separates occasional reflux from chronic reflux (GERD) and points to the right next step. Bringing a one-week note on meals, timing, and nighttime symptoms can make the visit much more efficient.
A short trial of acid suppression
If your symptoms sound typical and you do not have red flags, a clinician may recommend a time-limited trial of an acid-reducing medicine to see if you improve. Improvement supports reflux as the cause, but it does not automatically rule out other problems. If symptoms return quickly when you stop, that is a clue that you may need a longer plan rather than repeated “rescue” treatment.
Endoscopy when there are red flags
A camera test of your food pipe and stomach (endoscopy) is used when you have warning signs like trouble swallowing, vomiting blood, black stools, unexplained weight loss, anemia, or symptoms that do not respond to treatment. It can show inflammation, ulcers, narrowing, or changes in the lining that need monitoring. This is also the right test when you have long-standing frequent reflux and your clinician is assessing risk for complications.
pH monitoring and motility testing
If symptoms are confusing or treatment is not working, your clinician may measure how much acid reaches your food pipe over 24–96 hours (pH monitoring). Sometimes they also test how well the muscles move food downward (motility testing), especially when swallowing feels off. These tests help avoid guessing, which matters when you are considering long-term medication or procedures.
Treatment options that actually help
Meal timing and sleep-position changes
Finishing your last meal a few hours before bed and avoiding late-night snacks can reduce nighttime reflux fast. If nights are your worst time, elevating the head of your bed can help because it uses gravity, not willpower. Extra pillows usually do not work well because they bend you at the waist and can increase pressure on your stomach.
Antacids for quick, short relief
Antacids neutralize acid that is already in your stomach, so they can calm symptoms within minutes. They are best for occasional episodes rather than daily dependence. If you find yourself reaching for them most days, that is your cue to talk about a longer-term strategy.
H2 blockers for predictable symptoms
H2 blockers reduce acid production for several hours, which can be useful when you can predict your triggers or you mainly have nighttime symptoms. Some people use them before a meal that usually causes trouble, while others take them on a schedule for a short period. If they stop working as well over time, it does not mean you are “doing something wrong”—your body can adapt, and your plan may need adjusting.
PPIs for frequent or complicated reflux
Proton pump inhibitors (PPIs) are stronger acid reducers and are often used when heartburn is frequent, disruptive, or linked to inflammation seen on testing. They work best when taken correctly, which often means timing them before a meal rather than using them like a fast-acting rescue. Because they are powerful, they are also worth re-evaluating periodically with your clinician so you are on the lowest effective dose for your situation.
Procedures when reflux won’t stay controlled
If you have ongoing symptoms despite good medication use, or you want to avoid long-term medication, procedures that strengthen the barrier between stomach and food pipe can be an option. The best choice depends on your anatomy, whether you have a hiatal hernia, and what tests show about reflux and swallowing function. This is where objective testing matters, because the goal is to fix the right problem and not create new swallowing issues.
Living with heartburn day to day
Build your personal trigger map
Heartburn triggers are personal, so a simple experiment beats a long list of “forbidden” foods. Pick one likely trigger, change it for a week, and see what happens, then move to the next. You are aiming for patterns you can trust, not perfection.
Handle flare days without spiraling
On a bad day, smaller meals and staying upright after eating can reduce the intensity of symptoms. If you use a rescue medicine, use it intentionally and notice what it does and does not change. That feedback helps you and your clinician decide whether you need a different approach rather than just “more of the same.”
Protect your throat and teeth
When acid reaches your throat, it can leave you hoarse or coughing, and it can also irritate your mouth. Rinsing with water after an episode can be gentler than brushing immediately. If you are getting frequent nighttime reflux, bringing it under control is not just about comfort—it can reduce ongoing irritation that keeps your throat feeling raw.
Know when it’s time to escalate care
If heartburn is happening more than a couple of times a week, keeps waking you, or is paired with trouble swallowing, vomiting, black stools, or unintentional weight loss, you deserve a more thorough workup. Those features can signal inflammation, bleeding, or a different diagnosis that needs targeted treatment. Getting evaluated earlier often prevents months of trial-and-error.
Prevention and long-term risk reduction
Keep dinner earlier and lighter
The most reliable prevention strategy is reducing the pressure and volume in your stomach at bedtime. Earlier dinners and smaller evening portions help many people more than cutting out every “trigger” food. If you love a big dinner, shifting the biggest meal earlier in the day is often a workable compromise.
Aim for a healthy waistline over time
Extra abdominal pressure makes reflux easier, so gradual weight loss can meaningfully reduce symptoms for some people. You do not need a crash diet, and in fact those can backfire by increasing hunger and late-night eating. Think of it as lowering the baseline pressure your stomach is pushing against.
Review medicines that can worsen reflux
If you take regular pain relievers, certain blood pressure medicines, or other long-term prescriptions, ask whether any could be contributing to heartburn. Do not stop important medicines on your own, but do bring the question to your clinician because alternatives often exist. The goal is to reduce reflux without trading it for a different health problem.
Treat constipation and chronic coughing
Straining and frequent coughing both increase pressure in your abdomen, which can push stomach contents upward. Managing constipation with hydration, fiber, and a plan that works for your body can reduce that pressure. If you have a chronic cough, treating the cause can help reflux, and treating reflux can sometimes help the cough—either way, it is worth addressing directly.
Frequently Asked Questions
Is heartburn the same thing as acid reflux?
Heartburn is a symptom, and acid reflux is the process that often causes it. You feel heartburn when refluxed stomach contents irritate your food pipe. If reflux symptoms happen often or cause complications, clinicians may call it chronic reflux (GERD).
How do I know if my chest pain is heartburn or a heart attack?
Heartburn often follows meals, worsens when you lie down, and may improve with antacids, but those clues are not enough to make it safe. If you have new, severe, crushing, or pressure-like chest pain, or it comes with shortness of breath, sweating, nausea, or fainting, get emergency care right away. It is always better to be told it is reflux than to miss a heart problem.
What foods trigger heartburn the most?
Common triggers include coffee, alcohol, peppermint, chocolate, spicy foods, and acidic foods, but your personal list may be different. The most helpful approach is tracking timing and symptoms so you can identify your top triggers. Portion size and late meals often matter as much as the specific food.
Can heartburn cause a chronic cough or sore throat?
Yes. When reflux reaches your throat, it can irritate your voice box and airway and leave you hoarse, coughing, or constantly clearing your throat. Nighttime reflux is a frequent culprit because it can happen silently while you sleep. If cough is persistent, you may need evaluation to rule out asthma, infections, or medication side effects as well.
When should I see a doctor for heartburn?
You should get checked if symptoms happen more than twice a week, keep waking you up, or require frequent medication to function. You should also be seen promptly if you have trouble swallowing, vomiting, black stools, anemia, unexplained weight loss, or persistent vomiting. Those features change the workup and may mean you need endoscopy or other testing rather than continued self-treatment.