Why Do I Have Heartburn?
The honest verdict
This is usually not an allergy
Heartburn is rarely caused by an allergy. It is almost always a symptom of acid reflux โ stomach acid flowing back into the esophagus โ triggered by foods (spicy, fatty, acidic, chocolate, caffeine), overeating, lying down too soon after eating, or conditions like gastroesophageal reflux disease (GERD). True food allergies can rarely cause esophageal inflammation (eosinophilic esophagitis), but this is uncommon and usually accompanied by trouble swallowing, food getting stuck, or other allergic symptoms like hives or swelling. If heartburn occurs without these signs, a non-allergic cause is far more likely.
This is a general research summary, not a diagnosis. It can't tell you what's causing your symptom โ a clinician can.
Check this first
When heartburn is an emergency
Most of the time this can be handled calmly. But a few signs mean you shouldn't wait. Match what you're seeing to the right level of care below.
If any emergency sign below is present, call 911 or go to the ER now.
- Emergency
Heartburn with chest pain that feels like pressure, squeezing, or tightness โ especially if it radiates to the arm, jaw, or back โ call 911 (possible heart attack).
Call 911 or go to the ER now
- Emergency
Vomiting blood (looks bright red or like coffee grounds) or passing black/tarry stools โ go to the ER (possible bleeding from the esophagus or stomach).
Call 911 or go to the ER now
- Urgent
Heartburn with trouble swallowing (dysphagia) or food getting stuck in the chest โ seek urgent care or ER (possible esophageal stricture, EoE, or other obstruction).
Get seen today โ urgent care or same-day visit
- See a doctor
Heartburn with unexplained weight loss, persistent nausea or vomiting, or loss of appetite for more than a week โ see a clinician.
Book a routine visit with a clinician
- See a doctor
Heartburn that is severe, persistent despite over-the-counter medications, or wakes you from sleep regularly โ see a clinician (possible GERD or other condition needing evaluation).
Book a routine visit with a clinician
When in doubt, err toward getting seen. These tiers are a general guide, not a substitute for a clinician's judgment about your specific situation.
Key facts
Heartburn affects about 20% of adults in the United States at least once a month, and about 10% experience it daily.
GERD (gastroesophageal reflux disease) affects an estimated 18-28% of adults in North America and is the most common cause of chronic heartburn.
Eosinophilic esophagitis (EoE), a rare allergic condition that can cause heartburn-like symptoms, affects about 1 in 2,000 people and is diagnosed by endoscopy and biopsy.
What's causing it
The same symptom can come from very different places. Here are the usual suspects for Chest and upper abdomen โ the esophagus and stomach, with a burning sensation that can radiate to the throat or neck, tagged by mechanism and how common each one is โ so you can see where an allergy actually fits.
Acid reflux from diet and lifestyle
Eating large meals, lying down soon after eating, or consuming trigger foods (spicy, fatty, fried, acidic foods, chocolate, caffeine, alcohol, carbonated drinks) relaxes the lower esophageal sphincter, allowing stomach acid to flow back into the esophagus. This is the most common cause of occasional heartburn.
Gastroesophageal reflux disease (GERD)
When heartburn occurs more than twice a week or causes persistent symptoms, it may be GERD โ a chronic condition where the lower esophageal sphincter is weak or relaxes abnormally. GERD can lead to complications like esophagitis or Barrett's esophagus if untreated.
Hiatal hernia
A condition where part of the stomach pushes up through the diaphragm into the chest cavity, weakening the barrier against acid reflux. Hiatal hernia is more common in older adults and can worsen heartburn, especially after meals or when bending over.
Pregnancy
Hormonal changes and increased abdominal pressure during pregnancy relax the lower esophageal sphincter, causing frequent heartburn, especially in the second and third trimesters. It typically resolves after delivery.
Eosinophilic esophagitis (EoE) โ an allergic/immune condition
EoE is a chronic immune-mediated condition where eosinophils (a type of white blood cell) build up in the esophagus, often triggered by food allergens or environmental allergens. It can cause heartburn-like pain, but the hallmark symptoms are trouble swallowing (dysphagia) and food getting stuck. EoE is diagnosed by endoscopy and biopsy, not by symptoms alone.
Is this an allergy? Usually, no
It's a common assumption, so it's worth being clear about โ and pointing you toward what's more likely going on.
Heartburn is usually not an allergy. The vast majority of heartburn is caused by acid reflux from diet, lifestyle, or GERD. A rare allergic condition called eosinophilic esophagitis (EoE) can cause heartburn-like pain, but its hallmark symptoms are trouble swallowing and food getting stuck, and it is diagnosed by endoscopy and biopsy. If heartburn occurs without trouble swallowing or other allergic signs (hives, swelling, breathing trouble), a non-allergic cause is far more likely. Food intolerances do not cause heartburn.
Because an allergy is unlikely to be the driver, the most useful next step is a clinician who can look at the actual cause โ not an allergy test.
Relief you can try at home
If your symptom is mild and you have no red-flag signs, these gentle steps often help. They soothe โ they don't replace figuring out the cause.
- 1
Avoid trigger foods and drinks
Spicy, fatty, fried, and acidic foods (tomatoes, citrus), chocolate, caffeine, alcohol, and carbonated drinks can relax the lower esophageal sphincter. Keep a food diary to identify your personal triggers and avoid them, especially in the evening.
- 2
Eat smaller, more frequent meals
Large meals increase stomach pressure and promote reflux. Eat smaller portions and avoid eating within 2-3 hours of lying down or going to bed.
- 3
Elevate the head of your bed
Raise the head of your bed by 6-8 inches using blocks or a wedge pillow. This uses gravity to keep stomach acid from flowing back into the esophagus while you sleep.
- 4
Try over-the-counter antacids or acid reducers
Antacids (Tums, Rolaids) provide quick relief for occasional heartburn. H2 blockers (famotidine/Pepcid) or proton pump inhibitors (omeprazole/Prilosec) reduce acid production and are available over the counter. Follow label directions and consult a clinician if symptoms persist beyond two weeks.
Stop any step that makes things worse. If the symptom isn't easing within a few days, check in with a clinician.
When to see a doctor
See a clinician if heartburn occurs more than twice a week, persists despite over-the-counter medications, or is accompanied by trouble swallowing, food getting stuck, unexplained weight loss, persistent nausea or vomiting, or vomiting blood. Chest pain with pressure, squeezing, or radiation to the arm or jaw requires emergency evaluation for a possible heart attack. If you have known food allergies and heartburn occurs with hives, swelling, or trouble breathing, treat as a potential allergic reaction and seek emergency care.
โFrequently Asked Questions
It is very rare for a food allergy to cause heartburn alone. True food allergies trigger an immune response that typically produces symptoms in multiple systems โ hives, itching, swelling of the lips or tongue, vomiting, or trouble breathing โ alongside any digestive symptoms. A rare condition called eosinophilic esophagitis (EoE) can cause heartburn-like pain, but it is diagnosed by endoscopy and usually includes trouble swallowing. If heartburn occurs without these signs, acid reflux is a much more likely explanation.
Heartburn is a symptom โ a burning sensation in the chest caused by acid reflux. GERD (gastroesophageal reflux disease) is a chronic condition where acid reflux happens frequently (usually more than twice a week) and causes troublesome symptoms or complications like esophagitis. Occasional heartburn is common and can often be managed with lifestyle changes; GERD may require medical treatment and monitoring.
Go to the ER if heartburn is accompanied by chest pain that feels like pressure, squeezing, or tightness โ especially if it radiates to the arm, jaw, or back โ as this can be a sign of a heart attack. Also seek emergency care if you vomit blood (bright red or coffee-ground appearance), pass black/tarry stools, or have trouble swallowing with food getting stuck in your chest.
Yes โ stress and anxiety can worsen heartburn by increasing stomach acid production and altering digestion. Stress may also lead to behaviors that trigger reflux, such as overeating, eating quickly, or consuming more caffeine or alcohol. Managing stress through relaxation techniques, exercise, and adequate sleep can help reduce heartburn frequency.
Common heartburn triggers include spicy foods, fatty or fried foods, acidic foods (tomatoes, citrus, vinegar), chocolate, caffeine, alcohol, carbonated drinks, onions, garlic, and mint. Triggers vary by person, so keeping a food diary can help identify your specific culprits. Avoiding these foods, especially in the evening, can significantly reduce heartburn.
Medically reviewed by
Dr. Chet TharpeMD
Last reviewed July 2026
Related Articles
Tooth Pain: Causes, Relief & When to Worry
Tooth pain is rarely caused by allergies โ it's almost always dental (cavities, infection, gum disease, or a cracked tooth). Learn common causes, home care, and red-flag signs that need urgent dental or medical attention.
Read moreTongue Tingling: Causes, Relief & When to Worry
Tongue tingling can be allergic (oral allergy syndrome) or non-allergic (nerve, vitamin deficiency). Learn causes, red-flag signs, and when to see a doctor.
Read moreTongue Swelling: Causes, Relief & When to Worry
Tongue swelling can be a sign of an allergic reaction or other conditions. Learn common causes, when it's an emergency, and how to find relief.
Read moreWeight Gain: Causes, Relief & When to Worry
Weight gain is rarely caused by allergies โ it's usually linked to diet, activity, hormones, or medications. Learn common causes, when to see a doctor, and red-flag signs that need medical evaluation.
Read moreUnexplained Weight Loss: Causes & When to Worry
Unexplained weight loss is rarely an allergy โ it's usually linked to metabolism, digestion, infection, or serious illness. Learn common causes and red-flag signs that need medical evaluation.
Read moreTongue Sores: Causes, Relief & When to Worry
Tongue sores are rarely caused by allergies โ most are canker sores, irritation, or infections. Learn common causes, home care, and red-flag signs that need medical attention.
Read moreThe best next step is a real clinician
This symptom is usually not driven by an allergy, so an allergy test won't give you the answer. A primary care doctor or the right specialist can examine what's actually going on and guide you from there.
Curex focuses on at-home allergy testing and immunotherapy, which isn't the right fit for this symptom โ and never a substitute for medical care.
- 1Mayo Clinic โ Heartburn: Causes and when to see a doctor
- 2Cleveland Clinic โ Heartburn: Causes, Symptoms & Treatment
- 3American Academy of Allergy, Asthma & Immunology โ Eosinophilic Esophagitis
- 4MedlinePlus โ Heartburn (National Library of Medicine)
- 5National Institutes of Health (NIH) โ Heartburn and GERD: Overview
This content is for informational purposes only and does not constitute medical advice, diagnosis, or treatment. It cannot tell you what is causing your heartburn or whether it is an allergy. If you have any emergency sign โ trouble breathing, fast-spreading swelling, sudden weakness or confusion, or severe pain โ call 911 or go to the nearest emergency room. For anything that is new, worsening, or persistent, see a licensed healthcare provider. Curex focuses on at-home allergy testing and immunotherapy, which is not the appropriate care for this symptom and never a substitute for a clinician.