Diagnosis
To determine if your heartburn is a symptom of GERD, a healthcare professional may recommend:
- X-ray, to view the shape and condition of the esophagus and stomach.
- Endoscopy, to view the esophagus with a tiny camera to check for irregularities. A tissue sample, called a biopsy, may be taken for analysis.
- Ambulatory acid probe tests, to identify when, and for how long, stomach acid backs up into your esophagus. An acid monitor that is placed in your esophagus connects to a small computer that you wear around your waist or on a strap over your shoulder.
- Esophageal motility testing, to measure movement and pressure in the esophagus.

Endoscopy
Endoscopy involves inserting a long, flexible tube (endoscope) down your throat and into your esophagus. A tiny camera on the end of the endoscope lets your doctor examine your esophagus, stomach and the beginning of your small intestine (duodenum).
Treatment
Many nonprescription medicines can help relieve heartburn. The options include:
- Antacids, which help neutralize stomach acid. Antacids may provide quick relief. But they can't heal an esophagus damaged by stomach acid.
- H2 blockers, which can reduce stomach acid. H2 blockers don't act as quickly as antacids, but they may provide longer relief. Examples include cimetidine (Tagamet HB) and famotidine (Pepcid AC).
- Proton pump inhibitors, which also can reduce stomach acid. Examples include esomeprazole (Nexium 24HR), lansoprazole (Prevacid 24HR) and omeprazole (Prilosec OTC).
If nonprescription treatments don't work or you rely on them often, see your healthcare provider. You may need prescription medicine and further testing.
Get the latest health information from Mayo Clinic delivered to your inbox.
Self care
Lifestyle changes can help ease heartburn:
- Maintain a healthy weight. Excess pounds put pressure on your abdomen, pushing up your stomach and causing acid to back up into your esophagus.
- Don't wear tightfitting clothing, which puts pressure on your belly and the lower esophageal sphincter.
- Don't eat foods that trigger your heartburn. Spicy foods, citrus and tomato products are common culprits.
- Don't lie down after a meal. Wait 2 to 3 hours.
- Don't eat late meals. Eat earlier and allow time for food to digest.
- Elevate the head of your bed if you regularly experience heartburn at night or while trying to sleep. If that's not possible, insert a wedge between your mattress and box spring to elevate your body from the waist up. Raising your head with additional pillows usually isn't effective.
- Don't smoke or drink alcohol. Both smoking and drinking alcohol decrease the lower esophageal sphincter's ability to function properly.
- Don't eat large meals. Instead eat many small meals throughout the day.
Preparing for your appointment
You may be referred to a doctor who specializes in disorders of the digestive system, called a gastroenterologist.
What you can do
- Be aware of any pre-appointment restrictions, such as not eating solid food on the day before your appointment.
- Write down your symptoms, including any that may seem unrelated to the reason why you scheduled the appointment.
- Make a list of all your medications, vitamins and supplements.
- Write down your key medical information, including other conditions.
- Write down key personal information, including any recent changes or stressors in your life.
- Ask a relative or friend to accompany you, to help you remember what the doctor says.
- Write down questions to ask during the appointment.
Questions to ask your doctor
- What's the most likely cause of my symptoms?
- Is my condition likely temporary or chronic?
- What kinds of tests do I need? Do these tests require any special preparation?
- What treatments are available?
- Should I remove or add any foods to my diet?
- I have other health conditions. How can I best manage these conditions together?
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
You may be asked a few questions during your appointment. Being ready to answer them may leave time to go over points you want to spend more time on. You may be asked:
- When did you first begin experiencing symptoms, and how severe are they?
- Have your symptoms been continuous or occasional?
- What, if anything, seems to improve or worsen your symptoms? Are they worse after meals or lying down?
- Do your symptoms wake you up at night?
- Does food or sour material ever come up in the back of your throat?
- Do you experience nausea or vomiting?
- Do you have difficulty swallowing?
- Have you lost or gained weight?
What you can do in the meantime
Try lifestyle changes to control your symptoms until you see a healthcare professional. For instance, avoid foods that trigger your heartburn and avoid eating at least two hours before bedtime.