Why Do I Get Heartburn After Eating? Causes and Relief
Why heartburn shows up after meals, which foods and habits make it worse, what relief options exist, and the warning signs that mean you should see a doctor or call 911.

The short answer
Heartburn after eating usually happens when stomach acid flows back into the esophagus because the muscle valve at the top of the stomach relaxes. Large or fatty meals, lying down soon after eating, alcohol, caffeine, and extra weight all make it more likely. Frequent heartburn, twice a week or more, deserves a doctor visit.
Key takeaways
- Heartburn happens when stomach acid flows back into the esophagus because the lower esophageal sphincter relaxes or does not close fully.
- Large meals, fatty or fried foods, alcohol, caffeine, chocolate, peppermint, and carbonated drinks are common triggers, though they vary between people.
- Waiting 2 to 3 hours after eating before lying down and raising the head of the bed by 6 to 8 inches can reduce nighttime heartburn.
- Heartburn twice a week or more, or symptoms that return despite changes, may be GERD and is worth a visit to your primary care provider.
- Over-the-counter PPIs are labeled by the FDA for a 14-day course no more than three times a year unless a doctor advises otherwise.
- Chest burning with shortness of breath, sweating, or pain spreading to the arm, jaw, neck, or back needs a 911 call because it can be a heart attack.
- Vomiting blood, black stools, trouble swallowing, or unexplained weight loss alongside heartburn needs prompt medical attention.
That burning feeling behind your breastbone, sometimes climbing toward your throat, tends to arrive at the worst moment: right after a good meal, or just as you lie down for the night. Occasional heartburn is extremely common, and most of the time it is a nuisance rather than a danger.
Still, knowing why it happens makes it much easier to prevent, and a few symptoms that feel like heartburn need faster attention. This piece explains the mechanics, the usual triggers, the relief options, and the warning signs, and it sits within the wider guide to nutrition and wellness. It can help you understand what is going on and decide what to do next, but it cannot diagnose you.
What actually causes heartburn after a meal?
Heartburn is caused by stomach contents, including acid, flowing back up into the esophagus, the tube that carries food from your mouth to your stomach. Doctors call this backflow acid reflux. The esophagus lacks the protective lining your stomach has, so acid there feels like burning.
Between the esophagus and stomach sits a ring of muscle called the lower esophageal sphincter (LES). It opens to let food in, then closes. According to NIDDK, reflux happens when this valve relaxes at the wrong time or does not close fully.
Eating makes reflux more likely for simple reasons. A full stomach pushes upward against the valve, your stomach produces more acid to digest the meal, and certain foods relax the sphincter directly. That combination is why heartburn so often follows a meal by 30 minutes to a couple of hours.
Which foods and drinks commonly trigger heartburn?
The most commonly reported triggers are fatty or fried foods, chocolate, peppermint, spicy dishes, citrus, tomato products, onions, garlic, coffee, alcohol, and carbonated drinks. Triggers vary a lot from person to person, so not every item on the list will bother you.
Some of these work by relaxing the LES (fat, chocolate, peppermint, alcohol). Others irritate an already inflamed esophagus (citrus, tomatoes, spicy food). Carbonation adds gas and pressure to the stomach.
| Trigger | How it may contribute | What to try instead |
|---|---|---|
| Fried and high-fat foods | Slow stomach emptying and relax the LES | Baked, grilled, or steamed versions |
| Coffee and other caffeine | May relax the LES in some people | Smaller servings, or decaf after noon |
| Alcohol | Relaxes the LES and can irritate the lining | Less alcohol, and none close to bedtime |
| Citrus and tomato products | Acidic, can sting an irritated esophagus | Smaller portions, paired with other foods |
| Chocolate and peppermint | Relax the LES | Notice whether they matter for you |
| Carbonated drinks | Add gas and stomach pressure | Still water or flat drinks |
| Very large meals | Overfill the stomach and press on the valve | Smaller meals spread through the day |
A simple food and symptom diary for two weeks is often more useful than any list. Write down what you ate, when, and whether heartburn followed. Patterns usually show up quickly.
Why does heartburn get worse when you lie down?
Lying down removes gravity's help in keeping stomach contents where they belong. When you are upright, acid has to travel uphill to reach your esophagus. When you are flat, it does not.
That is why MedlinePlus and NIDDK both suggest waiting about 2 to 3 hours after eating before lying down, and raising the head of your bed by about 6 to 8 inches if nighttime heartburn is a problem. Extra pillows alone tend to bend you at the waist, which can add pressure, so blocks under the bed legs or a wedge pillow usually work better.
Some people also find that sleeping on the left side causes less reflux than the right side. The evidence here is modest, but it costs nothing to try.
What everyday habits make heartburn more likely?
Beyond specific foods, how and when you eat matters as much as what you eat. Eating fast, eating large portions, and eating late in the evening all raise the odds of heartburn.
- Meal size: a stuffed stomach pushes against the LES. Smaller, more frequent meals ease that pressure.
- Late dinners: a big meal close to bedtime combines a full stomach with lying flat.
- Extra body weight: NIDDK notes that excess weight, especially around the belly, increases pressure on the stomach and is linked to reflux.
- Smoking: smoking weakens the LES and reduces saliva, which normally helps neutralize acid.
- Tight clothing: snug waistbands squeeze the abdomen after a meal.
- Bending or exercising right after eating: vigorous movement on a full stomach can push contents upward.
If heartburn is part of a broader picture of feeling heavy and sluggish after meals, the explanation of why big meals make you tired covers how meal size and composition affect how you feel afterward.
Building meals around vegetables, whole grains, lean proteins, and modest amounts of fat tends to be gentler on the stomach. That pattern fits the wider balanced-eating approach most US dietary guidance recommends.
Can medicines or health conditions cause heartburn?
Yes. Several medicines and conditions make reflux more likely, so heartburn that appears suddenly is worth checking against anything new you have started.
Medicines linked to heartburn or esophageal irritation include nonsteroidal anti-inflammatory drugs (NSAIDs, such as ibuprofen and naproxen), aspirin, some blood pressure medicines, certain antidepressants, some osteoporosis drugs, and iron or potassium pills that can irritate the esophagus if swallowed without enough water. Never stop a prescribed medicine on your own; talk to your doctor or pharmacist first.
Conditions that commonly come with heartburn include:
- Hiatal hernia: part of the stomach pushes up through the diaphragm, the muscle that separates the chest from the abdomen, which weakens the barrier against reflux.
- Pregnancy: hormones relax the LES and the growing uterus presses on the stomach. ACOG notes heartburn is very common, especially later in pregnancy.
- Gastroesophageal reflux disease (GERD): a longer-term form of reflux, described below.
Is it occasional heartburn or GERD?
Occasional heartburn after a heavy meal is common and usually harmless. When reflux happens regularly, NIDDK describes it as gastroesophageal reflux disease (GERD), a chronic condition in which repeated acid exposure can inflame and damage the esophagus over time.
A common rule of thumb used by doctors is heartburn more than twice a week, or symptoms that keep coming back despite changes to diet and habits. GERD can also show up without classic burning, as a chronic cough, hoarseness, a sour taste, or a feeling of something stuck in the throat.
| Feature | Occasional heartburn | Possible GERD |
|---|---|---|
| How often | Now and then, often after an obvious trigger | Twice a week or more, for weeks |
| Response to changes | Settles with diet and habit tweaks | Keeps returning despite changes |
| Other symptoms | Usually burning only | Cough, hoarseness, sour taste, regurgitation, trouble swallowing |
| Over-the-counter medicine | Needed rarely | Needed most days or for longer than the label allows |
| Next step | Self-care and observation | See your primary care provider |
Untreated GERD matters because long-term inflammation can lead to complications such as narrowing of the esophagus or Barrett's esophagus, a change in the esophageal lining that raises the risk of esophageal cancer. Most people with GERD never develop these, but it is why persistent heartburn deserves a proper evaluation.
What helps relieve heartburn?
Lifestyle changes come first and help many people, and over-the-counter medicines can relieve occasional symptoms. Which option fits depends on how often heartburn happens and how severe it is.
Changes worth trying first
- Eat smaller meals and slow down.
- Stop eating 2 to 3 hours before lying down.
- Raise the head of your bed rather than stacking pillows.
- Cut back on your personal trigger foods and drinks.
- Stop smoking, and limit alcohol.
- If you carry extra weight, even modest weight loss may reduce symptoms.
Caffeine is a frequent suspect. If you drink several cups of coffee a day, the breakdown of how much caffeine is too much can help you decide where to cut back.
Over-the-counter medicines
There are three main types, all sold in US pharmacies:
- Antacids (such as calcium carbonate) neutralize acid that is already there. They work within minutes but wear off fairly quickly.
- H2 blockers (such as famotidine) reduce acid production. They take longer to start working but last longer.
- Proton pump inhibitors, or PPIs (such as omeprazole), block acid production more strongly. The FDA labels over-the-counter PPIs for a 14-day course, no more than three times a year, unless a doctor advises otherwise.
If you find yourself reaching for any of these most days, that is a signal to see your doctor rather than keep self-treating.
What about home remedies?
Some people reach for a teaspoon of baking soda in water, which does neutralize acid. It also carries a heavy sodium load and real risks when overused, which the piece on the risks of drinking baking soda explains. Chewing sugar-free gum after meals may help by increasing saliva, though the evidence is limited.
Could chest burning be something more serious?
Sometimes, yes. Heart attack pain can feel like heartburn, and the two are easy to confuse, especially in women, older adults, and people with diabetes, who are more likely to have less typical symptoms.
According to the American Heart Association, heart attack warning signs include chest pressure, squeezing, or pain; pain spreading to the arm, back, neck, jaw, or stomach; shortness of breath; cold sweat; nausea; and lightheadedness. If chest discomfort comes with any of these, or you are simply not sure, treat it as an emergency.
Chest symptoms can also come from anxiety, and sorting out a panic attack versus a heart attack is its own question. When in doubt, get checked first and sort out the cause after.
When should you see a doctor or call 911?
Call 911 right away if burning or pain in your chest comes with shortness of breath, sweating, pain spreading to your arm, jaw, neck, or back, nausea, or lightheadedness. Do not drive yourself to the emergency room.
Also go to the emergency room or call 911 if you:
- Vomit blood or material that looks like coffee grounds
- Have black, tarry, or bloody stools
- Have severe, sudden abdominal or chest pain
- Cannot swallow, or food feels stuck and will not pass
Make a regular appointment with your primary care provider if you:
- Have heartburn twice a week or more
- Need over-the-counter medicine most days, or longer than the label allows
- Have difficulty or pain when swallowing
- Are losing weight without trying
- Have a persistent cough, hoarseness, or wheezing along with reflux
- Are over 60 and heartburn is new for you
Your doctor may suggest prescription medicine, test for a bacterial infection called H. pylori, or refer you to a gastroenterologist, a specialist in the digestive system, for an upper endoscopy, which uses a thin camera to look at the esophagus and stomach.
How can you prevent heartburn after eating?
The most reliable prevention is a combination of smaller meals, a gap of a few hours between eating and lying down, and avoiding the specific triggers you have identified. None of these is dramatic on its own, but together they cut reflux for many people.
A practical evening routine looks like this: an earlier, moderate dinner; a short walk afterward instead of the couch; little or no alcohol; and the head of the bed raised if nighttime symptoms are a pattern. Keep your diary going for a few weeks so you can see what is actually working.
If heartburn persists despite those changes, that is not a failure on your part. It may be GERD or another condition that needs treatment, and a conversation with your doctor is the right next step.
Common questions
- Why do I get heartburn every time I eat?
- Heartburn after every meal usually means the valve between your esophagus and stomach is letting acid back up often. Large portions, fatty foods, and eating quickly make it worse. If it happens after most meals or twice a week or more, it may be GERD, and it is worth seeing your primary care provider rather than only treating it yourself.
- How long does heartburn last after eating?
- Heartburn after a meal often lasts from a few minutes to a couple of hours. It tends to ease as the stomach empties and may flare again if you lie down or bend over. Antacids can shorten an episode. Heartburn that lasts for hours most days, or keeps waking you at night, deserves a conversation with your doctor.
- What can I drink to stop heartburn fast?
- Water can help wash acid back down, and an over-the-counter antacid works within minutes for occasional heartburn. Avoid coffee, alcohol, citrus juice, and fizzy drinks, which can make it worse. Baking soda in water does neutralize acid but carries a large sodium load and real risks, so it is not a good regular remedy.
- Can heartburn feel like a heart attack?
- Yes, heartburn and heart attack pain can feel similar. Call 911 if chest discomfort comes with shortness of breath, sweating, nausea, lightheadedness, or pain spreading to the arm, back, neck, or jaw. Women, older adults, and people with diabetes often have less typical heart attack symptoms. If you are unsure, treat it as an emergency.
- What foods help with heartburn?
- No food cures heartburn, but lower-fat meals tend to be gentler. Many people tolerate oatmeal, bananas, melons, lean poultry, fish, vegetables, whole grains, and low-fat dairy well. The bigger wins usually come from eating smaller portions, slowing down, and avoiding your personal triggers rather than adding any single food.
- Is it bad to take antacids every day?
- Needing antacids or other heartburn medicine most days is a sign to see your doctor. Frequent heartburn may be GERD, which can damage the esophagus over time if untreated. Overusing calcium or sodium-based antacids also has side effects. The FDA labels over-the-counter PPIs for a 14-day course no more than three times a year.
Sources
Published research and guidance this page draws on. Check the original where a detail matters to you.
- 1Acid Reflux (GER and GERD) in AdultsNational Institute of Diabetes and Digestive and Kidney Diseases (NIH)
- 2Heartburn: MedlinePlus health topicMedlinePlus, U.S. National Library of Medicine
- 3GERD: MedlinePlus health topicMedlinePlus, U.S. National Library of Medicine
- 4Hiatal Hernia: MedlinePlus health topicMedlinePlus, U.S. National Library of Medicine
- 5Indigestion: MedlinePlus health topicMedlinePlus, U.S. National Library of Medicine
- 6Warning Signs of a Heart AttackAmerican Heart Association
- 7Esophagus CancerAmerican Cancer Society
This article is for general education and is not a substitute for professional medical advice. Speak with a qualified healthcare provider about your individual circumstances.
About HealthPathCore
An independent health knowledge library
Every article here is built from published research and guidance issued by named health bodies, written in plain language, and dated so you can see how current it is. When the evidence moves, we come back and correct the piece.
How we research and write

