Guide for patients & caregivers
Gastroscopy: What to Expect Before, During and After?
Gastroscopy explained: fasting, throat spray or sedation, what happens during the test, recovery, biopsy results and the warning signs that need urgent help.
Prepared with AI assistance and checked against the cited sources. No independent clinician review has been completed. How we prepare articles
What is a gastroscopy and what should I expect?
A gastroscopy, also called an upper endoscopy or EGD, is a test that looks inside your food pipe (oesophagus), stomach and the first part of your small intestine (duodenum) using a thin, flexible tube with a camera. Expect to fast beforehand, choose between a throat spray and sedation, and have the scope in place for roughly 15 to 45 minutes, according to NHS.
It is used to look for the cause of symptoms such as indigestion, difficulty swallowing, stomach pain, vomiting blood or black, sticky poo. It can also be used to treat problems, for example stopping bleeding, widening a narrowed food pipe or removing growths. This guide covers the practical steps. It cannot tell you why your own test was requested or what it will find.
Symptoms after a gastroscopy that need urgent help
Complications are uncommon, but NHS and NIDDK list warning signs to act on. In the UK, NHS advises calling 999 or going to A&E if, after a gastroscopy, you:
- keep being sick, or are vomiting blood (NIDDK also mentions vomit that looks like coffee grounds)
- are short of breath or have problems breathing
- have severe stomach or chest pain, or pain that is getting worse
When to call the hospital or a helpline instead
NHS advises calling 111, or the hospital where you had the test, if you have a high temperature or feel hot, cold or shivery, or if your poo is dark or black like tar. NIDDK and Healthdirect also mention trouble swallowing or throat pain that gets worse.
Outside the UK, use your local emergency number or contact the unit that did your procedure. Do not drive yourself to an emergency department; ask someone to take you or call an ambulance, and bring a list of your medicines.
How do I prepare for a gastroscopy?
Your hospital letter should tell you when and where the test is, when to stop eating and drinking, which medicines you may be offered, and how long results may take. NHS says you will need to stop eating at least 6 hours before the test, though you may be able to have small sips of water. Healthdirect gives a similar 6-hour guide, and NIDDK says some units ask for up to 8 hours. Follow your own unit's instructions, because they vary.
Tell the team about your health conditions, allergies and all your medicines, including blood thinners, diabetes medicines, aspirin, anti-inflammatory painkillers, iron and supplements. Bring the details with you. NIDDK says most medicines can be taken as usual but some may need adjusting for a short time. That decision belongs to your prescriber or endoscopy team: do not stop or change a prescribed medicine on your own.
Let the hospital know if you are pregnant. If you plan to have sedation, arrange for someone to take you home and stay with you.
Throat spray or sedation: which will I have?
NHS says you will usually be offered a local anaesthetic spray to numb the back of your mouth and throat, sedation through a small tube in your arm to help you relax, or both. Healthdirect notes that in Australia a gastroscopy is usually done under sedation and most people do not remember it afterwards. NIDDK adds that some people do not need a sedative at all.
Your choice affects the rest of the day. With the spray alone, NHS says to wait an hour before eating or drinking. With sedation, you need an adult to take you home and stay with you for 24 hours. Our sedation-for-endoscopy guide covers the options and aftercare in more detail.
What happens during a gastroscopy?
A nurse will go through your health and the procedure first. You lie on your side, and a mouthguard may be used to protect your teeth; dentures may need to come out. The tube is passed through your mouth (or sometimes your nose) and down into your stomach.
You may feel like gagging until the tube reaches your stomach. Air is pumped in so the lining can be seen, which can make you feel bloated or burp. NIDDK says the endoscope does not interfere with your breathing.
The doctor may take small tissue samples (biopsies) through the scope. You will not feel this. NHS says a gastroscopy should not be painful, and you can ask for it to be stopped at any time. The test itself takes 15 to 45 minutes, but NHS says you might be at the hospital for around 4 hours in total.
What happens after a gastroscopy, and when will I get results?
You will rest in a recovery area until you feel well enough to go home, which is within a few hours for most people. Some stomach and throat discomfort, bloating and wind are common and usually settle within hours to a day or two. Our sore-throat-after-endoscopy guide explains what is usual.
For 24 hours after sedation, NHS and Healthdirect advise not to drive, drink alcohol, operate machinery or sign important or legal documents, and Healthdirect adds not to travel alone on public transport. If any medicine was paused, ask the team before you leave when to restart it.
Complications are rare. NHS lists a reaction to the sedation, bleeding and infection; Healthdirect and NIDDK also mention a tear in the lining (perforation), which Healthdirect says is more likely when biopsies are taken or polyps removed.
A doctor or nurse may explain what they saw before you leave. If biopsies were taken, a pathologist examines them, and that takes longer. NHS says biopsy results can take up to 2 months, but if doctors think you may have cancer you will usually get them within 2 weeks. You may be offered a follow-up appointment.
If you are being tested for H. pylori, ask whether the gastroscopy samples will be used or whether you need a separate test. Our h-pylori-breath-test-preparation guide explains how that test is prepared for.
Questions to ask your endoscopy team
Writing questions down before the day can help, especially if sedation makes the afternoon hazy.
- Exactly when should I stop eating and drinking, and can I have sips of water?
- Which of my medicines should I take as usual, and which might need to be adjusted?
- Will I have throat spray, sedation or both, and what if I change my mind?
- Were any biopsies taken, what are they checking for, and how will I get the results?
- Who should I call if I have symptoms after I get home?
How comparing similar cases on SameCase can help
On SameCase, patients and verified doctors share de-identified cases. Reading how others with a similar referral prepared, what they asked and how their results were explained can help you build your own question list. Other people's experiences cannot predict your findings or replace your endoscopy team's advice.
Sources and further reading
For patients & caregivers
Share your case and learn from others
Learn from doctors and other people's cases to find a way forward with your health problem. New cases are public immediately. Don't add names or identifying details.