To prepare for a gastroscopy, stop eating solid food 6 to 8 hours before the procedure, stop drinking fluids 2 to 4 hours before, pause blood-thinning medications as advised by your doctor, arrange transport home if you are having sedation, and wear comfortable loose clothing on the day. Following these steps ensures the stomach is clear for accurate examination and reduces the risk of complications. This guide covers every preparation step in full detail so you arrive confident, informed, and ready.
Table of Contents
- Quick Answer: Key Preparation Steps at a Glance
- Why Proper Preparation Matters
- How Many Days Before: Your Preparation Timeline
- Fasting Before Gastroscopy: Full Rules Explained
- Medications to Stop, Adjust, or Continue
- What to Eat and Avoid in the Days Before
- Sedation or Throat Spray: Understanding Your Options
- What to Bring on the Day
- What to Wear and How to Arrive
- Managing Anxiety Before the Procedure
- Special Preparation Cases
- What Happens If Preparation Is Inadequate?
- After the Procedure: Immediate Recovery Care
- FAQs About Gastroscopy Preparation
- Conclusion
Why Proper Preparation Matters
Preparation for a gastroscopy is not optional. It is clinically essential for three reasons:
Clear Visibility
Food, liquid, or residue in the stomach blocks the gastroenterologist’s view of the oesophageal and stomach lining. A full or partially full stomach makes it impossible to accurately assess tissue, detect ulcers, identify bleeding sources, or take reliable biopsies. Even small amounts of food residue can obscure abnormalities.
Aspiration Safety
If the stomach contains food or liquid when the gastroscope is inserted, there is a risk of the patient vomiting and inhaling stomach contents into the lungs, a complication called aspiration. Fasting before the procedure eliminates this risk entirely.
Accurate Test Results
Some gastroscopy findings, particularly when testing for Helicobacter pylori infection, assessing Barrett’s oesophagus changes, or evaluating active bleeding, require specific conditions to produce reliable results. Medication adjustments and dietary preparation directly influence the accuracy of these findings.
A patient who arrives inadequately prepared may have their procedure cancelled or rescheduled, causing inconvenience and delay in diagnosis. Following the preparation instructions given by the gastroenterologist is the single most important thing a patient can do before the appointment.
How Many Days Before: Your Preparation Timeline
| When | What to Do | Why |
| 7 days before | Inform your gastroenterologist about all medications including blood thinners | Gives time to safely adjust anticoagulants without risk |
| 5 days before | Stop proton pump inhibitors (PPIs) such as omeprazole if H. pylori testing is planned | PPIs suppress the urease enzyme needed for accurate H. pylori testing |
| 3 days before | Avoid alcohol completely | Alcohol irritates the stomach lining and can mimic inflammatory findings |
| Day before (evening) | Eat only a light, easily digestible meal before midnight | Reduces residue in the stomach on the day of the procedure |
| Day before (midnight) | Stop eating all solid foods | Ensures 6 to 8 hours of complete fasting by morning |
| Morning of procedure | Stop all fluids 2 to 4 hours before appointment time | Clears the stomach of liquid for safe and clear examination |
| Day of procedure | Arrange transport, bring medications list, wear loose clothes, remove dental work | Ensures safe discharge and smooth check-in process |
Fasting Before Gastroscopy: Full Rules Explained
Fasting is the foundation of gastroscopy preparation. The rules differ slightly depending on the time of the appointment:
Morning Appointment
- Stop eating all solid food from midnight the night before
- Stop drinking all fluids, including water, from at least 2 hours before the appointment
- Some gastroenterologists allow small sips of plain water up to 2 hours before, but confirm this with your team
Afternoon Appointment
- A light breakfast of easy-to-digest food (plain toast, a small piece of fruit) is usually allowed up to 6 to 8 hours before the procedure time
- No food or heavy meals from that point onward
- Small sips of clear liquids may be permitted up to 2 to 3 hours before the procedure, but confirm with your gastroenterologist
| Item | Morning Appointment | Afternoon Appointment |
| Solid food | Stop from midnight | Stop 6 to 8 hours before procedure time |
| Milk or dairy drinks | Stop from midnight | Stop 6 to 8 hours before |
| Clear water | Stop 2 hours before | Stop 2 to 3 hours before |
| Tea or coffee (black, no milk) | Stop from midnight | May be allowed up to 3 to 4 hours before (confirm with doctor) |
| Alcohol | Stop 24 hours before | Stop 24 hours before |
| Medications with small sip of water | Ask your doctor | Ask your doctor |
What Counts as Fasting
Many patients unknowingly break their fast. The following are NOT allowed during the fasting window:
- Chewing gum or mints (stimulates gastric secretion)
- Hard sweets or lollipops
- Milk, cream, or any dairy in tea or coffee
- Juice, even without pulp
- Energy drinks or flavoured water
- Tobacco (smoking stimulates stomach acid production)
What Is Allowed
- Plain still water in the period allowed by your gastroenterologist
- Essential medications taken with the smallest possible sip of plain water, as directed
Medications to Stop, Adjust, or Continue
Medication management before a gastroscopy is one of the most important and frequently misunderstood aspects of preparation. Never stop or change any medication without first discussing it with your gastroenterologist.
| Medication Type | Action | Important Detail |
| Blood thinners (warfarin, heparin) | Usually pause 5 to 7 days before | Only with specialist guidance; bridging anticoagulation may be needed |
| Antiplatelet drugs (aspirin, clopidogrel, Plavix) | Pause 5 to 7 days before if biopsy planned | Continue if diagnostic only; confirm with prescribing doctor |
| Newer anticoagulants (rivaroxaban, dabigatran, apixaban) | Usually pause 48 hours before | Confirm exact timing with your prescribing doctor and gastroenterologist |
| Proton pump inhibitors (omeprazole, lansoprazole, pantoprazole) | Pause 5 days before if H. pylori testing planned | Continue if procedure is for other reasons such as ulcer monitoring |
| Antacids (Gaviscon, Maalox, sucralfate) | Stop the day before | Can coat the stomach lining and interfere with visual examination |
| Iron supplements | Stop 5 to 7 days before | Iron darkens and coats the stomach lining making assessment difficult |
| Diabetes medication (oral tablets) | Pause on the morning of the procedure | Fasting changes blood sugar; confirm plan with your doctor |
| Insulin | Dose adjustment required | Do not take usual morning dose while fasting; seek specific guidance |
| Blood pressure medication | Usually continue | Take with a tiny sip of water on the morning of the procedure |
| Heart and thyroid medications | Usually continue | Take with a tiny sip of water as directed |
| GLP-1 medications (Ozempic, Wegovy, Mounjaro) | Stop 1 week before | These drugs slow gastric emptying significantly, increasing aspiration risk even with fasting |
Always bring a written list of all your medications, doses, and frequencies to your gastroscopy appointment. If in doubt about any medication, call the clinic before the procedure.
What to Eat and Avoid in the Days Before
While strict fasting applies only from the night before the procedure, paying attention to diet in the 1 to 2 days leading up to a gastroscopy can make a meaningful difference to stomach clarity and comfort:
Recommended Foods in the Days Before
- Plain rice, white bread, or plain pasta
- Lean meat such as chicken or fish, lightly cooked
- Clear soups or light broths
- Eggs, lightly cooked
- Plain biscuits or crackers
- Peeled fruit in small quantities
Foods to Avoid in the Days Before
- Red meat such as beef or lamb, which takes longer to digest
- Fried or fatty foods that slow gastric emptying
- High-fibre foods such as raw vegetables, legumes, whole grains, and seeds
- Aged or strong cheeses
- Spicy foods that increase stomach acid secretion
- Alcohol in any form for at least 24 to 48 hours before
- Carbonated drinks
| Eat More Of | Avoid Completely |
| Plain white rice or toast | Red meat, lamb, beef |
| Boiled or grilled chicken | Fried foods, takeaways, fast food |
| Clear soups and broths | Alcohol 48 hours before |
| Peeled, low-fibre fruit | Raw vegetables, salads, legumes |
| Lightly cooked fish | High-fibre cereals, seeds, nuts |
| Plain biscuits or crackers | Spicy curries or heavily seasoned food |
Sedation or Throat Spray: Understanding Your Options
One of the most important choices to make before a gastroscopy is whether to have sedation, throat spray, or no anaesthesia at all. Understanding the differences helps patients make an informed decision that matches their comfort level and practical circumstances:
| Factor | Sedation (IV) | Throat Spray Only | No Anaesthesia |
| Consciousness level | Drowsy; most patients have little memory | Awake; throat is numb | Fully awake and aware |
| Comfort level | High; minimal discomfort recalled | Moderate; gag reflex reduced | Lower; gag reflex active |
| Who can drive home | No; must have escort | Yes; can drive yourself | Yes; can drive yourself |
| Return to work same day | No; rest required | Usually yes | Yes |
| Recovery time at clinic | 30 to 60 minutes extra | 15 to 30 minutes | 15 to 30 minutes |
| Memory of procedure | Little to none | Clear memory | Clear memory |
| Preferred for anxious patients | Yes | Sometimes | No |
| Suitable if coming alone | No | Yes | Yes |
About Sedation
The most commonly used sedative for gastroscopy is midazolam, a benzodiazepine that relaxes the patient and causes amnesia, meaning most patients have no memory of the procedure afterward. Fentanyl, a short-acting analgesic, is sometimes added to reduce any discomfort. Sedation is not the same as general anaesthesia; the patient remains breathing independently and can still follow simple instructions.
About Throat Spray
Lidocaine spray is applied to the back of the throat to numb the area and suppress the gag reflex. The patient remains fully awake and alert during the procedure. The numbing effect wears off within 30 to 60 minutes. Patients who choose throat spray only can drive themselves home and return to work on the same day.
If you are undecided, discuss the options with your gastroenterologist at your consultation. Most doctors recommend sedation for patients who are anxious, have a sensitive gag reflex, or are having a longer or more complex procedure.
What to Bring on the Day
Being organised on the day reduces stress and helps the check-in process run smoothly:
Essential Items
- Your appointment letter or booking confirmation
- A full written list of all current medications with names, doses, and frequency
- Your national identity card or hospital registration number
- Any previous gastroscopy reports, endoscopy results, or relevant investigation results
- A responsible adult to escort you home if you are having sedation
- Your health insurance card if applicable
Comfort Items
- A book, phone, or earphones to use while waiting
- A small bottle of water to sip after the procedure once cleared to drink
- Loose comfortable clothing for after the procedure
- Any written questions you want to ask the gastroenterologist before or after the procedure
What to Leave at Home
- Jewellery and valuables
- Contact lenses if you are having sedation (bring glasses instead)
- Removable dental work such as partial dentures (or remove them on arrival)
What to Wear and How to Arrive
Clothing
- Wear loose, comfortable clothing that is easy to change out of if a hospital gown is required
- Avoid tight belts, restrictive waistbands, or fitted tops
- Avoid wearing nail polish if pulse oximetry monitoring is planned, as it interferes with the reading
- Wear flat, non-slip footwear as sedation may temporarily affect balance
Arrival Time
- Arrive at least 20 to 30 minutes before the scheduled appointment time
- Account for registration, nursing assessment, and pre-procedure checks
- Late arrival can result in the procedure being rescheduled
Personal Hygiene
- Shower normally on the day
- Avoid heavy perfume or cologne as this can be uncomfortable in a clinical environment
- Remove nail polish from at least one finger if possible for accurate pulse oximetry monitoring
Managing Anxiety Before the Procedure
Anxiety before a gastroscopy is extremely common and completely understandable. Most patients who feel nervous before the procedure report being pleasantly surprised at how manageable the experience actually is. The following strategies genuinely help:
Learn What to Expect
Anxiety is often driven by uncertainty. Reading a reliable guide about what a gastroscopy involves, as you are doing now, is one of the most effective ways to reduce fear. Knowing that the procedure is brief, that sedation is available, and that the discomfort is mild and temporary dramatically reduces anticipatory anxiety.
Talk to Your Gastroenterologist
Write down any questions or concerns before your consultation and ask them directly. Experienced gastroenterologists answer these questions regularly and can tailor their explanation to your specific concerns.
Choose Sedation If Anxious
If you are anxious about the procedure, sedation is the most practical solution. The vast majority of sedated patients have little to no memory of the examination and describe the experience as far less stressful than anticipated.
Use Relaxation Techniques the Night Before
- Deep breathing exercises help reduce pre-procedure stress
- Avoid reading alarming accounts of the procedure online; seek information from clinical sources only
- Listen to calming music or a podcast before bed
- Remind yourself that gastroscopy is performed many thousands of times every day worldwide and is considered one of the safest medical procedures
Bring Someone with You
Having a family member or trusted friend accompany you to the appointment provides practical and emotional support, and is essential if you are having sedation.
Special Preparation Cases
Certain patients require additional preparation considerations beyond the standard guidelines:
Diabetic Patients
- Fasting directly affects blood sugar levels and insulin requirements
- Do not take the usual morning dose of insulin or oral diabetes medications while fasting
- Inform your gastroenterologist and diabetes doctor well in advance to receive a specific management plan
- Bring a glucometer and glucose tablets to the appointment
- Book an early morning appointment where possible to minimise the fasting period
Patients on Blood Thinners
- Blood-thinning medications significantly increase the risk of bleeding if biopsies or therapeutic interventions are performed
- Never stop anticoagulants without specialist guidance, as this carries its own risk
- Your gastroenterologist will coordinate with the prescribing doctor to decide the safest management plan
- For patients on warfarin, an INR blood test may be required before the procedure
Patients with a Known Difficult Airway or Severe Gag Reflex
- Inform the gastroenterology team in advance
- Higher sedation doses or alternative techniques may be planned
- In some cases, the procedure may be arranged under deeper monitored anaesthesia
Pregnant Patients
- Gastroscopy during pregnancy is performed only when clinically necessary
- Inform the team immediately if you are pregnant or think you may be
- Sedation choices are modified to ensure foetal safety
Patients Taking GLP-1 Agonists (Weight Loss Injections)
- Medications such as semaglutide (Ozempic, Wegovy) and tirzepatide (Mounjaro) dramatically slow gastric emptying
- Even with standard fasting, the stomach may not be adequately empty
- Current guidance recommends stopping weekly GLP-1 injections at least one week before the procedure
- Inform your gastroenterologist during booking if you take any of these medications
What Happens If Preparation Is Inadequate?
Understanding the consequences of poor preparation helps patients take the instructions seriously:
- The procedure may be cancelled or postponed on the day, causing inconvenience and delaying diagnosis
- A full stomach significantly increases the risk of vomiting and aspiration during the procedure
- Food residue prevents accurate visualisation of the stomach and oesophageal lining
- Biopsies taken from poorly prepared tissue may give inaccurate or misleading results
- Therapeutic interventions such as treating a bleeding vessel may not be safely performed
If a patient realises they have accidentally eaten or drunk something they should not have, they must inform the gastroenterology team immediately before the procedure begins, not after. The team can then make a safe decision about whether to proceed or reschedule.
After the Procedure: Immediate Recovery Care
Preparing for recovery is just as important as preparing for the procedure itself. Plan the following in advance:
In the Recovery Area
- You will be monitored for 30 to 60 minutes after the procedure if you had sedation
- Nurses check blood pressure, heart rate, and oxygen levels
- The gastroenterologist will discuss immediate findings with you before you leave
- If you had sedation, have your escort write down what the doctor says as you may not remember later
When You Get Home
- Rest for the remainder of the day if you had sedation
- Start with sips of water or a light drink once the throat spray effect has worn off (usually within an hour)
- Eat soft, gentle foods such as soup, yoghurt, or soft bread for the first meal
- Avoid driving, operating machinery, signing important documents, or making major decisions for 24 hours after sedation
- A mild sore throat for 24 to 48 hours is normal and not a cause for concern
- Mild bloating or gas is common as air introduced during the procedure passes through
Preparing Your Home in Advance
- Stock soft foods before the procedure day: yoghurt, soup, plain rice, scrambled eggs
- Arrange for someone to stay with you for the rest of the day if you had sedation
- Keep a notepad near you to write down any instructions or results discussed at discharge
- Save the clinic’s contact number in your phone in case you need to call after returning home
FAQs
Q1. Can I drink water before a gastroscopy?
Small sips of plain still water are generally permitted up to 2 hours before the procedure for most patients. Flavoured water, sparkling water, juice, and milk are not permitted. However, instructions vary between clinics and gastroenterologists. Always confirm the exact guidelines with your specific clinic when the appointment is booked.
Q2. Can I take my blood pressure tablet before a gastroscopy?
Yes, in most cases. Blood pressure, heart, and thyroid medications are generally continued on the morning of the procedure, taken with the smallest possible sip of plain water. Confirm with your gastroenterologist at consultation as there are occasional exceptions based on the specific medication and procedure planned.
Q3. What if I accidentally ate something before my gastroscopy?
Contact the gastroenterology clinic immediately and inform them before arriving for the appointment. Do not arrive without disclosing this. Depending on what was eaten and how recently, the team may choose to proceed, postpone the procedure for several hours, or reschedule to a different day. Attempting to hide this information puts you at risk of aspiration during the procedure.
Q4. Do I need to stop taking omeprazole before a gastroscopy?
It depends on the reason for the gastroscopy. If the procedure includes testing for Helicobacter pylori infection, proton pump inhibitors including omeprazole, lansoprazole, and pantoprazole should be stopped 5 to 14 days before the test, as they suppress the urease enzyme needed for accurate detection. If the gastroscopy is for other reasons such as monitoring Barrett’s oesophagus or assessing healing of an ulcer, PPIs are usually continued. Your gastroenterologist will give you specific instructions.
Q5. Can I drive myself to and from the gastroscopy?
You can drive yourself to the appointment. However, if you are having sedation, you absolutely cannot drive home afterward. Sedation remains in the system for up to 24 hours and significantly impairs reaction time and judgment. A responsible adult must escort you home. Patients who choose throat spray only and do not receive sedation can usually drive themselves home.
Q6. How long will I need to take off work?
Patients who had throat spray only can often return to work on the same afternoon if they feel well. Patients who received sedation should take the rest of that day off and, depending on the nature of their work, may also need the following morning. Most patients who had sedation feel well enough to return to normal activities the following morning.
Q7. Can I brush my teeth before a gastroscopy?
Yes. Brushing your teeth is fine and encouraged. Simply do not swallow the toothpaste or rinse water. Avoid mouthwash that contains alcohol. Remove any removable dental work or partial dentures before or on arrival at the clinic.
Q8. What should I do if I feel very anxious about the gastroscopy?
First, speak openly with your gastroenterologist about your anxiety. They can explain the procedure in detail, discuss sedation options, and answer any specific concerns. Choosing sedation is the most practical step for anxious patients and is completely acceptable. Most patients who have been very anxious before the procedure are surprised at how manageable it actually is. If severe anxiety is affecting your daily life, speaking to your general physician about short-term anxiety management before the procedure is also a reasonable option.
Conclusion
Preparing properly for a gastroscopy takes very little effort but makes an enormous difference to the safety, accuracy, and comfort of the procedure. The key steps are straightforward: fast for the required period, adjust medications as directed by your gastroenterologist, arrange transport home if you are having sedation, and arrive with the necessary documents and items on the day.
Anxiety is normal, but understanding what to expect and knowing that the procedure is brief and well-managed removes much of the fear. Patients who prepare correctly and follow their gastroenterologist’s instructions almost always report a more comfortable and less stressful experience than they anticipated. For patients in Islamabad and across Pakistan, the specialist gastroenterology team provides clear preparation instructions at the time of consultation, and the clinic can be contacted directly with any questions that arise in the days before the appointment.