Health Library › Procedures › Endoscopy
Procedure
Upper endoscopy uses a flexible camera to examine and sometimes treat the oesophagus, stomach, and upper small intestine.
An upper gastrointestinal endoscopy, also called gastroscopy or EGD, uses a thin, flexible tube with a light and camera to examine the oesophagus, stomach, and duodenum.
The endoscope passes through your mouth and throat without blocking breathing. Images appear on a screen, and small instruments can be passed through the scope to take tissue samples, called biopsies, or provide treatment without a surgical incision.
Upper endoscopy can investigate difficulty swallowing, upper abdominal pain, repeated vomiting, persistent heartburn, anaemia, or signs of digestive-tract bleeding.
It may detect inflammation, ulcers, narrowing, abnormal growths, or enlarged veins. Biopsies can test for conditions including Helicobacter pylori infection, coeliac disease, and abnormal cell changes.
Endoscopy can also be used to:
Before consenting, ask what the procedure is intended to find and whether treatment might be performed at the same time.
Endoscopy may be appropriate when direct examination, biopsy, or treatment could change your care, or when less invasive tests have not provided enough information.
An elective procedure may be delayed, modified, or avoided if:
These issues do not always prevent endoscopy. The team may adjust sedation, arrange anaesthetic support, avoid biopsy, or use a hospital setting. In an emergency, the benefits may outweigh concerns that would delay a routine procedure.
Follow your facility’s instructions because fasting and medication plans vary. You will usually need to stop eating and, for a shorter period, drinking. This reduces the risk of stomach contents entering your lungs.
Provide a current list of medicines, supplements, allergies, and medical conditions. Tell the team if you:
Do not stop prescribed medicine unless the treating team gives you a specific plan. Stopping a blood thinner like warfarin or apixaban can cause harm, while continuing it may increase bleeding during some treatments.
If receiving sedation, arrange for a responsible adult to take you home and follow instructions about supervision afterward.
A nurse checks your identity, medicines, allergies, fasting status, and ride home. The endoscopist explains the procedure, possible treatments, alternatives, and risks before obtaining consent.
You may receive throat-numbing spray and sedation through a vein. Sedation can make you sleepy, and you may remember little. General anaesthesia is used only in selected situations.
You lie on your side with a mouth guard in place. If sedation is used, the team monitors oxygen, breathing, heart rate, and blood pressure.
As the scope passes through your mouth and throat, you may feel pressure, fullness, or the urge to burp. Air or carbon dioxide is used to improve the view. The endoscopist examines the lining and may take biopsies, which you usually cannot feel.
A mild sore throat, bloating, burping, or temporary discomfort is common and usually improves within a day or two. Severe or worsening pain is not expected.
Wait until throat numbness has worn off before eating or drinking, as directed. You can usually resume your normal diet unless treatment was performed or the team advises otherwise.
After sedation, rest for the day and avoid alcohol, important decisions, machinery, and activities requiring coordination. Do not drive yourself home. Many facilities require no driving for 24 hours, even if you feel alert.
Many people return to desk-based work the next day. Allow longer if your work involves driving, machinery, physical labour, or if you received treatment.
Upper endoscopy is generally well tolerated, but possible complications include:
Minor bleeding may follow a biopsy. Significant bleeding or perforation may require observation, another endoscopy, a transfusion, radiology treatment, or surgery.
The endoscopist can often explain visual findings immediately. If you received sedation, written information or a support person can help because you may not remember the discussion.
Biopsy results take several days or longer. Before leaving, confirm:
Routine follow-up is not a substitute for prompt care if concerning symptoms develop.
Alternatives depend on why endoscopy was offered. They may avoid sedation but often cannot provide a biopsy or treatment.
A barium swallow or upper gastrointestinal X-ray can show swallowing problems, narrowing, or digestive-tract shape. A CT scan can assess the digestive tract and nearby organs but may miss small lining changes. Both use radiation and cannot take biopsies.
Breath or stool tests can detect H. pylori but do not show ulcers, bleeding, or abnormal tissue. A capsule camera mainly examines the small intestine and cannot take biopsies or provide treatment.
For selected lower-risk concerns, observation or a trial of medicine may be reasonable, although diagnosis may be delayed. Surgery or interventional radiology can replace some endoscopic treatments but are generally more invasive or used for different problems.
Contact your healthcare team promptly for persistent vomiting, increasing chest or abdominal discomfort, swallowing that is worse than before, fever, or mild symptoms that do not improve as expected.
Seek urgent or emergency care for:
Use the facility’s emergency contact details when available. If symptoms are severe, call local emergency services rather than waiting for an appointment.
Will I be asleep?
Not necessarily. Moderate sedation makes you sleepy but able to respond. Deep sedation reduces awareness, while general anaesthesia makes you fully unconscious. Some people receive only throat-numbing spray.
Can I drive home?
Not after sedation. Arrange a ride and follow the facility’s restriction, often 24 hours. Different rules may apply if you have throat spray alone.
How painful is it?
It is usually uncomfortable rather than painful. You may gag briefly or feel pressure and bloating. Tell the team if you are uncomfortable.
Can I breathe while the scope is in?
Yes. The scope enters the oesophagus, not the windpipe.
When will I know the results?
Visual findings are often discussed the same day. Biopsy results usually take several days or longer.
Can the endoscopist treat a problem immediately?
Sometimes. Bleeding, narrowing, foreign objects, and certain growths may be treated during the procedure. Other findings require later treatment.
sofidex [Internet]. Daloreum; c2026. Endoscopy; [reviewed 2026 Aug 9; cited 2026 Nov 10]. Available from: https://sofidex.com/patients/procedures/endoscopy
sofidex. (2026, August 9). Endoscopy. Daloreum. Retrieved November 10, 2026, from https://sofidex.com/patients/procedures/endoscopy
Endoscopy. sofidex. Reviewed August 9, 2026. Accessed November 10, 2026. https://sofidex.com/patients/procedures/endoscopy
The cited date is today’s, because a citation records when you read the page. The reviewed date is when a clinician last checked it.