Short answer
- An EGD, short for esophagogastroduodenoscopy, is an upper endoscopy. A clinician passes a flexible tube called an endoscope through the mouth and into the esophagus, stomach and duodenum, which is the first part of the small intestine. A small camera on the end of the tube sends video images to a monitor, so the clinician can examine the lining of those organs directly. The same procedure may also be called an upper endoscopy, an upper GI endoscopy, or a gastroscopy. It is mainly a diagnostic procedure, although small instruments passed through the endoscope can also take tissue samples or carry out limited treatments during the same examination. It does not examine the colon, most of the small intestine, or the bile and pancreatic ducts in the way that other, different procedures do.
An EGD is one of those medical abbreviations that sounds far more mysterious than the procedure it names. People usually meet it in a clinic letter, a referral, or a search after a clinician has mentioned an upper endoscopy. The long word behind the letters can look intimidating on the page, but the idea behind it is straightforward: a thin, flexible tube with a camera is used to look directly at the lining of the upper part of the digestive tract. This article explains that idea in plain language, letter by letter, and then sets out what the procedure can show, what it cannot show, and how it differs from the related procedures with which it is most often confused.
Breaking Down a Very Long Word
The word esophagogastroduodenoscopy is built from parts, and each part points to a place in the body or to the act of looking. Read from the end backward, the pattern becomes easier to follow. The ending, scopy, refers to examination with a visual instrument. The instrument itself is called a scope, a word familiar from telescope and microscope. The earlier parts name the organs in the order the instrument passes through them: esophago refers to the esophagus, gastro refers to the stomach, and duodeno refers to the duodenum.
That breakdown matters because it prevents a common misunderstanding. The name does not describe a single organ. It describes a route. An EGD is not only a stomach test, even though gastroscopy, a shorter name sometimes used for the same procedure, sounds as if the stomach were the whole story. The stomach is the middle stop, between the esophagus above it and the duodenum below it.
The abbreviation itself is also worth spelling out once, because capital letters can hide meaning. EGD stands for esophagogastroduodenoscopy. In the United States, that spelling, with esophago at the start, is standard. In British English, the same word is often spelled oesophagogastroduodenoscopy, with an added o, and shortened to OGD. The procedure is the same. The difference is spelling convention only, and it is one reason a search can return two abbreviations for what looks like one test.
Another point of confusion is the word endoscopy on its own. Endoscopy is a general term for looking inside the body with an endoscope. It covers many procedures in many parts of the body. When people use the word endoscopy without any qualifier in a digestive health context, they often mean an EGD, because it is the most commonly discussed digestive endoscopy, but the word alone does not specify which part of the body is being examined. That is why the fuller names, upper endoscopy and esophagogastroduodenoscopy, are more precise. They say where the looking happens: in the upper gastrointestinal tract.
The Upper Digestive Tract, in Plain Terms
To understand an EGD, it helps to picture the upper digestive tract as a short, connected passage with three named sections. Food and drink travel down the esophagus, a muscular tube that carries material from the mouth to the stomach. The stomach is a hollow organ that holds, mixes and begins to break down what has been swallowed. From the stomach, partly processed material passes into the duodenum, the first and shortest part of the small intestine, where digestive juices from nearby organs continue the process of breakdown and absorption begins.
An EGD examines the lining of those three sections: the inside surface in direct contact with food, drink, stomach acid and digestive juices. Many problems show as changes in that lining: inflammation, ulcers, abnormal growths, narrowed areas, or bleeding. A camera traveling along the passage sees the surface itself, rather than a shadow or a cross section of it.
That direct view is the central strength of the procedure, and it is also the reason its limits need to be understood. A camera can only show what is in front of it, along the route it travels. It does not show the whole digestive system. It does not travel beyond the duodenum into the long middle and lower parts of the small intestine. It does not look at the colon. It does not, on its own, show organs that sit beside the digestive tract, such as the pancreas or the liver, except insofar as their ducts or nearby structures affect the lining that is being viewed. Keeping that route in mind makes the comparison with colonoscopy and other procedures later in this article much easier to follow.
The endoscope itself is a long, flexible tube with a light and a small camera at its tip. The light is needed because the inside of the digestive tract is dark. Air can be passed through the endoscope to gently expand the stomach and duodenum, spreading folds in the lining so the surface is easier to see. Images are shown on a monitor in real time.
What Generally Happens During an EGD
In general terms, an EGD is performed in a hospital or an outpatient center, not in an ordinary clinic room, because it needs a procedure room, monitoring equipment, trained staff and recovery space. A gastroenterologist, a surgeon, or another trained health care provider performs the procedure. The National Institute of Diabetes and Digestive and Kidney Diseases, known as NIDDK, describes the procedure as one in which a doctor uses an endoscope to see the lining of the upper gastrointestinal tract, most often with a sedative given to help the person stay relaxed and comfortable.
Sedation is a central part of the general picture. Before the procedure, a person is likely to be given a sedative, a medicine intended to help them stay relaxed and comfortable, often through a small intravenous needle in the arm or hand. A liquid medicine to gargle, or a spray to numb the throat, may also be used, and NIDDK notes that such medicines can help prevent gagging. In some cases, a person may not need a sedative at all. Details vary with the case, the setting, and the clinician’s judgment.
During the procedure, the person is generally asked to lie on their side on an exam table. The clinician then carefully passes the endoscope down the esophagus and into the stomach and duodenum. The camera sends a video image to a monitor, and the clinician examines the lining closely on that monitor. The endoscope does not interfere with breathing, and many people fall asleep during the procedure. NIDDK states that an upper gastrointestinal endoscopy typically takes between 10 to 20 minutes. That figure describes the examination itself. It does not include the time spent before the procedure in preparation and discussion, or the time spent afterward while sedatives wear off, and it can vary when additional steps are carried out during the same examination.
Those additional steps are an important part of what an EGD can be. The endoscope is not only a camera. It has a channel through which small instruments can be passed. During the examination, the clinician may take small samples of tissue, cells, or fluid for testing, a step called a biopsy, using small tweezers passed through the endoscope. NIDDK notes that the person will not feel that sampling. The clinician may also stop bleeding, remove polyps or other growths, or open up narrow sections of the esophagus.
After the procedure, sedatives take time to wear off. NIDDK states that a person can expect to stay at the hospital or outpatient center for about an hour after the procedure, and that some people may need to stay overnight. Short-term effects described in general terms include bloating, nausea, or a sore throat for a short time. Some results are available right away, because the clinician has seen the lining directly and can share initial observations. Results from tissue samples are different: a pathologist examines those samples, and those results can take a few days or longer to come back. That split, between an immediate visual impression and a slower laboratory result, explains why a conversation after the examination may be followed days later by a fuller report.
Why an EGD Is Used, in General Terms
Clinicians use upper gastrointestinal endoscopy to help diagnose and treat symptoms and conditions that affect the esophagus, stomach, and duodenum. NIDDK lists several general purposes. The procedure can help find the cause of unexplained symptoms, such as ongoing pain, heartburn, vomiting, or problems swallowing. It can help identify diseases and health conditions, such as gastroesophageal reflux disease, celiac disease, cancer, and Barrett’s esophagus. It can also be used to remove polyps or other growths, to treat bleeding from ulcers and other conditions, and to perform certain weight loss procedures.
Those purposes illustrate different kinds of question. The first is the symptom question: a persistent symptom whose cause is not clear from history and examination alone. A direct look can reveal inflammation, an ulcer, a narrowing, or another structural change, or it can show a normal looking lining, which itself narrows the possibilities. The second is the disease question: a condition is suspected, perhaps because of a laboratory result such as anemia, and the procedure looks for changes supporting or arguing against that diagnosis. The third is the treatment question: a problem becomes visible during the examination, such as bleeding or a narrowed area, and the endoscope is used to address it in the same session.
A related use, described by the American Society for Gastrointestinal Endoscopy in its guideline on gastroesophageal reflux disease, is evaluation of people with reflux symptoms who also have alarm symptoms, including difficulty swallowing, painful swallowing, weight loss, gastrointestinal bleeding, and persistent vomiting. The guideline suggests upper endoscopy for evaluation in patients with alarm symptoms, among other groups. That is a general, guideline level statement, not a rule for any individual.
It is equally important to state what an EGD is not used for, in general terms. It is not a general health screening test for the whole body. It is not a substitute for examining the lower digestive tract when the question concerns the colon or rectum. It is not, on its own, a test of how well the digestive muscles move food along, or of how much acid is present over a day, because those are questions about function over time, not about the appearance of the lining at one moment. Recognizing that distinction helps explain why a clinician may recommend a different test, or an additional test, even after an EGD has been performed. A normal looking lining and a functional problem are not contradictory findings. They answer different questions.
What an EGD Can Show
The most direct answer is: changes in the lining of the esophagus, stomach, and duodenum that are visible to a camera. That includes inflammation, ulcers, abnormal growths including polyps, precancerous abnormalities and cancers affecting the lining, bleeding and its source when in the upper tract, narrowed areas called strictures, and changes associated with gastroesophageal reflux disease and celiac disease.
The biopsy step extends what an EGD can show beyond the visible surface. A lining can look inflamed without revealing, by appearance alone, what kind of inflammation it is. A small tissue sample, examined under a microscope by a pathologist, can identify cell changes, infection related changes, or disease patterns that the camera alone cannot distinguish. NIDDK notes that biopsies are needed to diagnose conditions such as cancer, celiac disease, and gastritis, which is inflammation of the stomach lining. That is why a biopsy is often described as part of the examination rather than as a separate operation: the camera finds the place, and the sample provides the microscopic detail.
An EGD can also show the course of a known condition over time. A repeat examination can show whether inflammation has healed, whether a narrowing has returned, whether a growth has changed, or whether bleeding has stopped. Because the image is live, the clinician can examine an area from more than one angle and take a closer look at a suspicious spot during the same examination.
What an EGD Cannot Show, and Its Limits
Every test has a boundary, and an EGD is no exception. The first boundary is anatomical. The endoscope travels only as far as the duodenum. It does not examine the long remainder of the small intestine, and it does not examine the large intestine. A problem located beyond the duodenum will not be seen by an EGD, however carefully the upper tract is examined. That is not a failure of the procedure. It is a consequence of its route, and it is why other procedures exist for other sections of the tract.
The second boundary is depth. An EGD views the lining, the inside surface. It does not, on its own, give a detailed view of the deeper layers of the wall of the digestive tract, or of organs beside the tract. Endoscopic ultrasound, discussed below, addresses that deeper view by combining an endoscope with ultrasound imaging.
The third boundary is function. A camera shows appearance at a moment in time. It does not measure how strongly or how coordinately the muscles of the esophagus contract, and it does not record acid exposure over hours. Tests of function and of acid exposure exist for those questions, and they complement rather than duplicate an EGD. A person can have a lining that looks normal on endoscopy and still have a functional or reflux related problem, and a person can have visible inflammation without that inflammation fully explaining every symptom. Clinicians interpret an EGD result together with symptoms, history, laboratory results, and, where relevant, other tests, rather than treating the endoscopic image as a complete answer on its own.
The fourth boundary is certainty. A visual examination, however careful, can miss a subtle change, particularly if the lining is not fully cleaned or fully expanded, or if a lesion is small, flat, or hidden in a fold. A biopsy samples only the places from which tissue is taken. A negative or normal result therefore reduces the likelihood of certain conditions without excluding every possible cause of a symptom. That is a general feature of diagnostic testing, not a criticism of this procedure in particular, but it is worth stating plainly, because it tempers both reassurance and alarm. A result is a piece of evidence, interpreted in context, not a verdict delivered in isolation.
General Risks, Discussed at a High Level
No medical procedure is without risk, and the literature on upper gastrointestinal endoscopy discusses risks at a general level. NIDDK states that the risks from an upper gastrointestinal endoscopy are low. The risks it lists are a reaction to the sedative, including breathing or heart problems; a perforation, which is a hole in the lining of the upper gastrointestinal tract; and bleeding. Bleeding is typically minor and stops without treatment. A reaction to a sedative can be treated with medicines or intravenous fluids during or after the procedure. Serious problems, such as perforation, are rare, and a doctor may need to perform surgery to treat some complications.
Short-term, less serious effects are also described in general terms. After the procedure, a person may experience bloating, nausea, or a sore throat for a short time. Those effects relate to the passage of the instrument, the air used to expand the organs, and the sedation, and they are commonly described as temporary. They are distinct from the rarer, more serious risks listed above, and keeping the two groups separate helps avoid both minimizing serious risks and overstating common, temporary discomfort.
The level of risk also depends on what is done during the procedure. A purely diagnostic examination carries a different risk profile from a therapeutic examination, in which bleeding is treated, a growth is removed, or a narrowed area is opened. The literature generally notes that bleeding and perforation are more likely when treatment is carried out, although absolute risks remain low in both settings. Individual risk depends on the person’s health, medicines, anatomy, and planned steps, and clinicians discuss those factors with the person concerned before the procedure. This article does not estimate an individual risk.
Sedatives also affect alertness, coordination, and judgment for a time after the procedure, which is why recovery time and arrangements for getting home are part of the general picture described by institutional sources, and why total time in the facility extends beyond the 10 to 20 minutes of the examination itself.
How an EGD Differs From Related Procedures
Confusion between digestive procedures is common, because many of them use a flexible tube with a camera, and many of them share the general word endoscopy. The differences are mostly about route, destination, and additional technology.
A colonoscopy is the closest parallel, and the most useful contrast. A colonoscopy examines the lower gastrointestinal tract, principally the colon and rectum. The instrument is passed through the rectum, not the mouth, and it travels in the opposite direction through a different section of the tract. An EGD and a colonoscopy therefore answer questions about different organs. A person may need one, the other, or both, depending on where the suspected problem lies, but one cannot substitute for the other. The shared technology, a camera on a flexible tube, does not make them the same test.
Endoscopic retrograde cholangiopancreatography, usually shortened to ERCP, is a more specialized procedure that starts from a similar route but has a different target. The endoscope is guided through the mouth, esophagus, stomach, and duodenum, as in an EGD, but the purpose is to diagnose and treat problems in the bile and pancreatic ducts. That work combines endoscopy with X-ray imaging, using contrast material to outline the ducts. An EGD, by contrast, is focused on the lining of the esophagus, stomach, and duodenum themselves, not on imaging the duct system that drains the liver, gallbladder, and pancreas. The two procedures share a starting route and then diverge in purpose and technique.
Endoscopic ultrasound, usually shortened to EUS, also starts from an endoscopic route, but it adds ultrasound imaging. Ultrasound uses sound waves to create images of deeper layers and of organs and structures near the digestive tract, such as lymph nodes, cysts, and tumors that may not be visible from the lining alone. An EGD provides a surface view. EUS provides a view that extends beyond the surface. The two can be complementary: a surface finding may prompt a deeper ultrasound assessment, or an ultrasound finding may clarify a change first seen on the surface.
Other related terms belong in the same picture. A gastroscopy is, in practice, another name for an upper endoscopy, although the word itself points most directly to the stomach. A sigmoidoscopy examines the lower part of the colon, the sigmoid colon and rectum, and therefore belongs with lower tract procedures. Capsule endoscopy, in which a person swallows a small camera capsule, is a different approach to visualizing the small intestine, and it does not involve passing a tube through the mouth in the same way.
What Results Mean, in General Terms
Results arrive in two broad forms. The first is the visual result: what the clinician saw, which can be shared soon after the procedure once sedation has worn off enough for a conversation. The second is the laboratory result: what a pathologist found when samples were examined under a microscope. That result takes longer, because samples must be prepared, examined, and reported. NIDDK states that those results can take a few days or longer to come back. Clinicians combine the two, with symptoms, history, and other test results, to reach an overall assessment. That assessment, and any next steps, are matters for the person’s own clinician. This article does not interpret any individual result.
Frequently Asked Questions
What does EGD stand for? EGD stands for esophagogastroduodenoscopy. The parts of the word name the esophagus, the stomach, and the duodenum, and the ending refers to examination with a visual instrument. It is also called an upper endoscopy or an upper GI endoscopy.
Is an EGD the same as an endoscopy? An EGD is one kind of endoscopy. Endoscopy is a general term for looking inside the body with an endoscope, and it covers procedures in many parts of the body. An EGD specifies the upper digestive tract: the esophagus, stomach, and duodenum.
Is an EGD the same as a gastroscopy? In practice, yes. Gastroscopy is another name often used for an upper endoscopy, although the word itself points most directly to the stomach. An EGD, by definition, also examines the esophagus and duodenum, not the stomach alone.
Is an EGD the same as a colonoscopy? No. An EGD examines the upper digestive tract, with the instrument passed through the mouth. A colonoscopy examines the lower digestive tract, principally the colon and rectum, with the instrument passed through the rectum. They examine different organs and cannot substitute for each other.
How long does an EGD take? NIDDK states that an upper gastrointestinal endoscopy typically takes between 10 to 20 minutes. That figure describes the examination itself, not the total time in the facility, which also includes preparation, discussion, and recovery while sedatives wear off.
Does an EGD examine the whole digestive system? No. An EGD examines the esophagus, stomach, and duodenum only. It does not examine most of the small intestine or the colon, and it does not, on its own, image the bile and pancreatic ducts or the deeper layers of the digestive tract wall. Other procedures are used for those areas.
What can a biopsy during an EGD show? A biopsy takes a small sample of tissue, cells, or fluid for examination under a microscope by a pathologist. That microscopic examination can identify cell changes and disease patterns that appearance alone cannot distinguish, and NIDDK notes that biopsies are needed to diagnose conditions such as cancer, celiac disease, and gastritis.
What are the main risks of an EGD? At a high level, NIDDK states that risks are low. The risks listed are a reaction to the sedative, including breathing or heart problems; a perforation, or hole, in the lining of the upper gastrointestinal tract; and bleeding, which is typically minor and stops without treatment. Serious problems, such as perforation, are rare. This is a general description only, not a personal risk assessment.
Can an EGD treat problems as well as find them? Yes, in limited ways during the same examination. Small instruments passed through the endoscope can take tissue samples, stop bleeding, remove polyps or other growths, and open narrow sections of the esophagus. Whether any treatment is carried out depends on what is found and on the clinician’s judgment in that case.
If an EGD result is normal, does that mean nothing is wrong? Not necessarily, in general terms. A normal appearing lining makes certain visible conditions of the upper tract less likely, but it does not exclude every possible cause of a symptom, because some problems affect function rather than appearance, some lie beyond the duodenum, and some require microscopic examination to detect. Clinicians interpret a normal result together with symptoms, history, and other test results.
Keep reading: What Does a Gallbladder Do
Sources & references
- National Institute of Diabetes and Digestive and Kidney Diseases. Upper GI Endoscopy. https://www.niddk.nih.gov/health-information/diagnostic-tests/upper-gi-endoscopy
- Cleveland Clinic. EGD Procedure (Upper Endoscopy). https://my.clevelandclinic.org/health/procedures/22549-egd-procedure-upper-endoscopy
- MedlinePlus. EGD: Esophagogastroduodenoscopy. https://medlineplus.gov/ency/article/003888.htm
- Johns Hopkins Medicine. Upper GI Endoscopy. https://www.hopkinsmedicine.org/health/treatment-tests-and-therapies/upper-gi-endoscopy
- American Society for Gastrointestinal Endoscopy. Guideline on the diagnosis and management of GERD: summary and recommendations. Gastrointestinal Endoscopy, 2025. Abstract: https://www.giejournal.org/article/S0016-5107(24)03559-4/abstract
- OSF HealthCare Health Library. Endoscopic Examination for Cancer. https://healthlibrary.osfhealthcare.org/library/diseasesconditions/adult/radiology/85,p07190