Diagnosis

To diagnose indigestion, your healthcare professional asks you about your symptoms, recent meals, eating habits, medical history, life stresses, exposure to anyone who's ill and other questions. Your answers help your health professional understand the possible factors linked to your symptoms.

You also have a thorough medical exam. This includes tapping or pressing on your abdomen and listening to your abdomen with a stethoscope.

Your healthcare professional may be able to diagnose functional indigestion based on your symptoms, medical history and exam.

H. pylori test

Your healthcare professional may order a test for H. pylori bacteria. This may be done with a tissue sample from the stomach, breath test or stool sample.

Other tests

Other tests may be needed if your healthcare professional is concerned about particular symptoms or findings from your exam. You also may need more tests if the first line of treatment for indigestion does not help with symptoms. These tests may include:

  • Blood tests. Lab tests of blood samples may find signs of other conditions that can cause symptoms of indigestion.
  • Endoscopy. An endoscope is a tube with a camera that passes down the throat and into the digestive system. This test is called endoscopy. It can show diseased or damaged tissue. Tools used during this test also can remove a tiny sample of tissue for lab testing. This test mainly is used for adults age 50 and older who have new symptoms of indigestion.
  • Imaging tests can show diseased tissues, blockage in the digestive system or other irregular findings.

More Information

Treatment

A variety of treatments may improve symptoms of indigestion.

Diet and medicine changes

Changes to the diet and possible changes in medicines are the first steps in lessening symptoms. These include the following:

  • Avoid fatty, acidic or spicy foods.
  • Avoid caffeine, alcohol and carbonated beverages.
  • Avoid pain medicines such as aspirin, ibuprofen (Advil, Motrin IB, others) and naproxen sodium (Aleve).
  • Ask your healthcare professional if any of your prescription medicines may be contributing to indigestion. Ask if there are alternatives.
  • Review your use of dietary supplements or herbal remedies with your healthcare professional to see if there is anything that may be contributing to your symptoms.

Mental healthcare

Talk therapy with a psychotherapist can help you manage depression, anxiety and related factors that may be contributing to indigestion. Prescription medicines also may help lessen symptoms of depression and anxiety.

Medicines for the digestive system

Your healthcare professional may prescribe medicines or recommend medicines you can buy without a prescription to lessen indigestion symptoms. These may include:

  • Antibiotics. If you tested positive for H. pylori bacteria, a treatment with antibiotics and acid-reduction medicines may lessen symptoms.
  • Proton pump inhibitors, also called PPIs, which reduce the production of acids in the stomach. These medicines are available in prescription and over-the-counter doses. PPIs you can buy without a prescription include lansoprazole (Prevacid 24 HR), omeprazole (Prilosec OTC) and esomeprazole (Nexium 24HR).
  • H-2-receptor blockers, which also reduce acid production, are available in prescription and nonprescription doses. H-2-receptor blockers you can buy without a prescription include cimetidine (Tagamet HB), famotidine (Pepcid AC) and nizatidine (Axid AR).
  • Prokinetics. These prescription medicines help the stomach empty faster and tighten the valve between the stomach and esophagus.

Clinical trials

Explore Mayo Clinic studies testing new treatments, interventions and tests as a means to prevent, detect, treat or manage this condition.

Lifestyle and home remedies

Lifestyle changes that can be part of your routine may help lessen symptoms or prevent the return of symptoms:

  • Avoid fatty, acidic or spicy foods. Avoid caffeine, alcohol and carbonated beverages.
  • Eat five or six small meals a day instead of three large meals.
  • Avoid pain medicines such as aspirin, ibuprofen (Advil, Motrin IB, others) and naproxen sodium (Aleve).
  • Exercise regularly and maintain a healthy weight.
  • Stop smoking if you smoke.
  • Avoid stressors when possible.
  • Practice meditation or other mindfulness exercises to help manage stress.

Alternative medicine

Alternative and complementary treatments that may improve symptoms of indigestion include:

  • Peppermint oil or a combination of peppermint and caraway oils.
  • A Japanese herbal formula called rikkunshito.
  • Acupuncture.
  • Yoga and mindfulness practices.

Check with your healthcare professional before you take any supplements. Your health professional can help make sure the dose is safe for you. It's also important to make sure the supplement won't react with any other medicines you take.

Preparing for your appointment

You're likely to start by seeing your primary healthcare professional. You may be referred to a doctor who specializes in digestive diseases, called a gastroenterologist. Here's some information to help you get ready for your appointment and know what to expect.

What you can do

  • Be aware of any restrictions before your appointment, such as not eating solid food before your appointment.
  • Write down your symptoms, including when they started and how they may have changed or worsened over time.
  • Make a list of all your medicines, vitamins or supplements and the doses and reasons for taking each one.
  • Write down your key medical information, including other diagnosed conditions.
  • Write down key personal information, including any recent changes or stressors in your life. Also, include a detailed description of your typical daily diet.
  • Write down questions to ask during your appointment.

Some basic questions you may wish to ask include:

  • Do you think my condition is temporary or chronic?
  • What kinds of tests do I need?
  • What treatments can help?
  • Are there any dietary restrictions that I need to follow?
  • Could any of my medicines be causing my symptoms?

In addition to the questions that you've prepared, don't hesitate to ask other questions during your appointment.

What to expect from your doctor

Be ready to answer questions your healthcare professional may ask, such as:

  • When did your symptoms begin?
  • How would you describe the pain? How would you rate it on a scale of 1 to 10?
  • How often do you have symptoms? Are they constant?
  • Does anything worsen symptoms? Does anything help them?
  • How would you describe your diet? How may fruits and vegetables do you eat?
  • How much alcohol and caffeine do you have on a typical day?
  • Are you feeling depressed or anxious?
  • Have you experienced any recent major stressor or life change?
  • Do you use tobacco? What kind?
  • Are your symptoms better or worse on an empty stomach?
  • Have you vomited blood or black material?
  • Have you had any changes in your bowel habits, including stools turning black?
  • Have you lost weight?
  • Have you felt like vomiting or vomited?
July 03, 2025
  1. Indigestion (dyspepsia). National Institute of Diabetes and Digestive and Kidney Disease. https://www.niddk.nih.gov/health-information/digestive-diseases/indigestion-dyspepsia. Accessed March 3, 2025.
  2. Olson CG, et al. Current opinion: Functional dyspepsia. Current Opinion in Gastroenterology. 2024; doi:10.1097/MOG.0000000000001045.
  3. Lacy BE, et al. The treatment of functional dyspepsia: Present and future. Expert Review of Gastroenterology & Hepatology. 2023; doi:10.1080/17474124.2023.2162877.
  4. Ferri FF. Dyspepsia, nonulcerative. In: Ferri's Clinical Advisor 2025. Elsevier; 2025. https://www.clinicalkey.com. Accessed March 3, 2025.
  5. Kellerman RD, et al. Gaseousness, indigestion, nausea, and vomiting. In: Conn's Current Therapy 2025. Elsevier; 2025. https://www.clinicalkey.com. Accessed March 3, 2025.
  6. Goldman L, et al., eds. Approach to the patient with gastrointestinal disease. In: Goldman-Cecil Medicine. 27th ed. Elsevier; 2024. https://www.clinicalkey.com. Accessed March 3, 2025.
  7. Dyspepsia. Merck Manual Professional Version. https://www.merckmanuals.com/professional/gastrointestinal-disorders/symptoms-of-gastrointestinal-disorders/dyspepsia. Accessed March 3, 2025.
  8. Feldman M, et al., eds. Dyspepsia. In: Sleisenger and Fordtran's Gastrointestinal and Liver Disease: Pathophysiology, Diagnosis, Management. 11th ed. Elsevier; 2021. https://www.clinicalkey.com. Accessed March 3, 2025.
  9. Amerikanou C, et al. Food, dietary patterns, or is eating behavior to blame? Analyzing the nutritional aspects of functional dyspepsia. Nutrients. 2023; doi10.3390/nu15061544.
  10. Nimmagadda R. Allscripts EPSi. Mayo Clinic. Dec. 2, 2024.
  11. Medical review (expert opinion). Mayo Clinic. March 18, 2025.
  12. Ali RAR, et al. Review of recent evidence on the management of heartburn in pregnant and breastfeeding women. BMC Gastroenterology. 2022; doi:10.1186/s12876-022-02287-w.