The short answer
Reflux and ulcers explain most lasting indigestion. See a doctor if it lasts more than two weeks or comes with severe pain, trouble swallowing, weight loss, or signs of bleeding.
MedlinePlus notes heart attack pain can feel like bad indigestion and can spread to the arms, neck, jaw or back, so chest tightness with sweating or breathlessness means calling 911.
MedlinePlus advises seeing a doctor if indigestion lasts more than two weeks or comes with severe pain or other symptoms. NCI lists weight loss and painful or difficult swallowing as esophageal cancer symptoms.
NCI lists indigestion and heartburn among early stomach cancer symptoms, and indigestion and painful or difficult swallowing among esophageal cancer symptoms.
NCI links chronic Helicobacter pylori infection to stomach cancer, though it says the evidence does not support testing everyone.
Choose how you want to read this
The whole article, with every detail and caution.
This page is for people with indigestion that keeps coming back and who wonder if it could be cancer. It covers heart warning signs, alarm symptoms, common causes, and what tests may follow.
When "indigestion" is really the heart
This is the mistake that costs the most. Heart attack pain is often described as bad indigestion.
MedlinePlus says the pain can feel like a tight band around the chest, like bad indigestion, or like something heavy sitting on the chest. It may move from the chest to the arms, shoulder, neck, teeth, jaw, belly or back.
Call 911 if upper belly or chest discomfort comes with:
- Tightness, heaviness or pressure in the chest.
- Pain spreading to the arm, neck, jaw, back or stomach.
- Shortness of breath, a cold sweat, or nausea.
- Lightheadedness or a racing heart.
MedlinePlus is direct about this. Do not wait, and do not drive yourself to hospital.
Alarm features that change the plan
Most indigestion is treated first and investigated only if it persists. A short list flips that order.
MedlinePlus says to see a doctor if indigestion lasts more than two weeks, or if you have severe pain or other symptoms. It also says indigestion can be a sign of a more serious problem.
NCI lists weight loss and painful or difficult swallowing as the main esophageal cancer symptoms. Tell your doctor about either one, along with any bloody or black stools.
Bleeding needs more urgency than an appointment. MedlinePlus lists vomiting blood (or material that looks like coffee grounds) and black, tarry stools as signs of gastrointestinal bleeding. It says to get emergency care for these, and for lightheadedness, dizziness, chest pain, trouble breathing or severe belly pain with bleeding. Call 911. Even small, long-lasting bleeding can lead to anemia over time.
Why reflux and ulcers explain most of it
Indigestion is common, and its usual causes are not dangerous.
MedlinePlus describes indigestion as discomfort or burning in the upper belly, sometimes with heartburn, belching, bloating, nausea or vomiting. It lists these common causes:
- Eating too much or too fast, or eating high-fat foods.
- Eating when stressed.
- Smoking and heavy alcohol use.
- Certain medicines.
- Tiredness and long-term stress.
- Ulcers or gastroesophageal reflux disease (GERD).
Many of these can be treated once found.
The cancers that can start this way
NCI lists indigestion and stomach discomfort, a bloated feeling after eating, mild nausea, loss of appetite and heartburn as early stomach cancer symptoms. It notes that stomach cancer often has no symptoms early on, which is exactly why lasting indigestion gets taken seriously.
For esophageal cancer, NCI lists painful or difficult swallowing, weight loss, pain behind the breastbone, hoarseness with cough, and indigestion and heartburn.
For pancreatic cancer, NCI says early signs are usually absent. Later signs can include belly or back discomfort, jaundice, weight loss and loss of appetite. NCI notes that many other conditions cause these too.
None of this makes cancer likely. It explains why "we will treat it and see" has a time limit attached.
H. pylori testing and trial treatment
Helicobacter pylori (H. pylori) is a germ (bacterium) that can live in the stomach. NCI says people with chronic H. pylori infection have an increased risk of a stomach cancer called non-cardia gastric adenocarcinoma. It also says most experts agree the evidence does not support widespread testing and treatment of everyone. One reason is that unneeded antibiotics may add to antibiotic resistance. NCI says testing is recommended for people with active ulcers, a past ulcer, or early stomach cancer surgery.
Ask your doctor whether H. pylori testing makes sense for you.
When endoscopy is the right next step
MedlinePlus lists upper endoscopy, along with x-rays and lab tests, among the tests used to find the cause of indigestion. A thin camera looks at the lining of the esophagus (food pipe) and stomach. Your doctor decides whether you need it based on your symptoms and history.
Ask two questions before you agree. What would this test rule out? And what happens if it is normal?
Tracking symptoms before the visit
Note how long this has lasted and what brings it on. Record whether food sticks, and where.
Weigh yourself and compare with six months ago. Note the color of your stools. List every medicine, including over-the-counter painkillers, and what you have already tried. Stomach Cancer and Esophageal Cancer explain what a fuller assessment involves.
Sources
- MedlinePlus — Indigestion
- MedlinePlus — Heart attack
- MedlinePlus — Gastrointestinal bleeding
- National Cancer Institute — Stomach Cancer Symptoms
- National Cancer Institute — Pancreatic Cancer Symptoms
- National Cancer Institute — Esophageal Cancer Symptoms
- National Cancer Institute — Helicobacter pylori and Cancer

Common questions
Does persistent indigestion mean I have cancer?
Usually not. Eating habits, smoking, alcohol, some medicines, stress, ulcers and reflux (GERD) are common causes of indigestion. Cancer is one possible cause in certain patterns, but a clinician needs to evaluate the full picture.
How long should I wait?
Chest tightness spreading to the arm, neck, jaw or back, with sweating, nausea or breathlessness, needs an ambulance now. Otherwise MedlinePlus advises seeing a doctor if indigestion lasts more than two weeks or comes with severe pain or other symptoms. Vomiting blood or black, tarry stools need emergency care.
What should I bring to the visit?
Bring how long it has lasted, what triggers it, whether food sticks, your weight over the past six months, any vomiting, blood or black stools, every medicine including aspirin and anti-inflammatories, and what you have already tried.
Questions to ask your doctor
Being prepared helps you get the most out of your appointments. Save or print these questions.
Tap a question to save it to your list (kept on this device).
Your next step
Build a short list of symptom details and questions.
Talk with a trained specialist or navigator
Cancer Explained provides educational guidance, but does not replace trained specialists, social workers, or your medical team.
Talk to a trained cancer information specialist
Free, confidential assistance from NCI Cancer Information Service via phone, chat, or email.
Contact your oncology team
Locate after-hours contact numbers, portal messages, or urgent triage phone lines.
Find a patient navigator
Get one-on-one help with appointments, logistics, translation, and care coordination.
Find a genetic counselor
Discuss inherited mutation risk, family history, and genetic testing options.
Find an oncology social worker
Access emotional counseling, family support groups, and mental health resources.
Find a financial navigator
Locate copay assistance foundations, grant programs, and lodging/travel support.
Find a clinical-trial specialist
Search matching studies and speak with NCI trial information specialists.
Get urgent help
Severe trouble breathing, chest pain, or any other emergency: call 911 now. Fever of 100.4°F (38°C) or higher during chemo, or severe pain: call your cancer care team right away, day or night.
