Endoscopy

How to Prepare for an Upper GI Endoscopy

Fasting times, which medicines to continue or stop, and what to expect on the day of your endoscopy - a simple checklist for patients.

Dr. Vishwanath Reddy CH 16 Oct 2026 5 min read
How to Prepare for an Upper GI Endoscopy

What Is an Upper GI Endoscopy?

An upper GI endoscopy (gastroscopy) uses a thin, flexible camera passed through the mouth to examine the food pipe (oesophagus), stomach and the first part of the small intestine (duodenum). It helps diagnose acidity, ulcers, swallowing difficulty, bleeding and other conditions, and small tissue samples (biopsies) can be taken painlessly.

Food & Water

  • Do not eat solid food for about 6–8 hours before the test — for a morning test, have nothing after dinner the night before.
  • Small sips of plain water are usually allowed up to 2 hours before, unless you are told otherwise.
  • An empty stomach gives a clear view and lowers the risk of vomiting during the procedure.

Medicines

  • Blood pressure, heart and thyroid tablets: usually taken as normal with a sip of water.
  • Diabetes medicines and insulin: doses often need adjustment because you will be fasting — ask your doctor in advance.
  • Blood thinners (aspirin, clopidogrel, warfarin, newer anticoagulants): never stop these on your own; your doctor will advise based on why you take them.
  • Some acid-reducing tablets may be paused before certain tests — follow the instructions given.

On the Day

  • Bring previous reports, a list of your medicines and a family member or friend.
  • A throat spray numbs the throat; mild sedation may be offered for comfort.
  • The test usually takes 5–15 minutes. Mild throat discomfort or bloating afterwards settles quickly.
  • If you received sedation, do not drive for the rest of the day.
Tip: Write down your symptoms and questions before the test so the results can be discussed clearly with you afterwards.

Watch: Dr. Vishwanath Explains

How to Prepare for an Endoscopy | Food, Water & Medicines

Related Treatment

Learn more about evaluation and treatment options on our Upper GI Endoscopy page, or book a consultation to discuss your reports.

This article is for general health education and does not replace a personal medical consultation. Please consult a qualified doctor for advice about your own condition.

WhatsApp Us Call 9585785120