Upper endoscopy is a procedure that lets a doctor look inside your throat, food pipe (esophagus), and stomach with a thin flexible tube that has a camera. Doctors often use it when food or liquids feel stuck or hard to swallow. The test can find narrow spots, swelling, or other issues that affect swallowing. It does not always mean something serious is wrong. A healthcare professional decides if this test is needed based on your symptoms and overall health history.

Difficulty swallowing, known as dysphagia, can make eating and drinking uncomfortable or worrying. Many people notice that solids catch in the chest or that liquids go down more slowly than usual. These symptoms may come and go or stay for weeks. Upper endoscopy, also called esophagogastroduodenoscopy or EGD, gives a clear view of the lining of the upper digestive tract so the doctor can see possible reasons for the problem.

According to Mayo Clinic, doctors may recommend upper endoscopy to investigate symptoms such as difficulty swallowing. The procedure allows both diagnosis and, in some cases, treatment during the same session. This dual role makes it a practical first step for many people with ongoing swallowing concerns.

Why doctors choose upper endoscopy for swallowing problems

Swallowing involves a complex series of muscle movements that move food from the mouth through the esophagus into the stomach. When any part of this path is narrowed, inflamed, or not moving properly, people feel the sensation of food sticking. Upper endoscopy is especially useful for problems that start after the food has left the throat and entered the esophagus. Doctors often turn to this test when symptoms persist, when solid foods cause more trouble than liquids, or when other warning signs appear, such as unexplained weight change or pain with swallowing.

The National Institute of Diabetes and Digestive and Kidney Diseases notes that upper GI endoscopy helps find the cause of unexplained symptoms that include problems swallowing. During the examination the doctor can take small tissue samples (biopsies) if the lining looks unusual. These samples are later studied under a microscope and can reveal inflammation that is not obvious to the naked eye, such as eosinophilic esophagitis.

Upper endoscopy is not the only test used for dysphagia. In some cases a barium swallow study or specialized swallowing evaluation may be arranged first, especially if the problem appears to begin in the mouth or throat. However, once esophageal dysphagia is suspected, endoscopy is frequently the preferred next step because it provides direct visualization and the chance to treat certain findings right away.

Findings on upper endoscopy are interpreted together with the person’s history, physical examination, and any other test results. A single abnormal appearance does not equal a final diagnosis. Only a qualified healthcare professional can place the results in the full clinical context.

What the doctor may see during the examination

While the endoscope moves through the esophagus and into the stomach, the doctor looks carefully for changes in the lining. Common findings that can contribute to difficulty swallowing include areas of narrowing called strictures, thin rings of tissue, swelling from acid reflux, or patches of inflammation. In some people the lining looks completely normal, which can still be useful information because it helps rule out structural problems and points the evaluation toward other possibilities such as motility disorders.

The following table summarizes several conditions that upper endoscopy is frequently used to evaluate in people who report dysphagia. It is meant only as a general overview of possible findings and is not a checklist for self-diagnosis.

Condition or finding How endoscopy may help
Esophageal stricture Visualizes narrowed segments and allows dilation if appropriate
Eosinophilic esophagitis Allows biopsy to confirm characteristic inflammation
Schatzki ring or web Identifies thin rings of tissue that can impede solid food
Peptic esophagitis or ulceration Shows irritation linked to acid exposure
Suspected growth or abnormal tissue Enables biopsy for further laboratory study

These findings are evaluated in the context of the person’s age, medical history, and symptoms. An abnormal appearance on endoscopy is a finding that requires professional interpretation; it is not itself a diagnosis. Trends over time and comparison with previous examinations often matter more than any single result.

Preparing for the procedure

Clear instructions are given before the appointment so the stomach and esophagus are empty. Most people are asked to stop eating solid food for several hours and to limit clear liquids closer to the procedure time. Certain medicines, especially blood thinners, may need temporary adjustment after discussion with the prescribing doctor. Full details on preparation steps are available in the dedicated guide on how to prepare for an upper endoscopy.

Someone will need to drive the person home afterward because sedation is commonly used. The choice of sedation is individualized and can be reviewed in the article on sedation for upper endoscopy.

What happens during the examination

The person lies on their side. A local anesthetic spray may be applied to the back of the throat, and an intravenous medicine helps most people relax or sleep lightly. The thin endoscope is gently guided through the mouth and down the esophagus. Air is introduced to open the folds so the lining can be inspected carefully. The entire process usually takes between 10 and 20 minutes. A more detailed walk-through of the steps can be found in the page describing what happens during an upper endoscopy.

If a narrow area is found, the doctor may gently stretch it using specialized tools passed through the endoscope. Biopsies, when needed, are painless because the lining of the esophagus has few nerve endings for cutting sensation.

Recovery and possible side effects

Most people rest for a short time in a recovery area until the sedation wears off. A mild sore throat or feeling of fullness from the air used during the examination is common and usually settles within a day. Detailed guidance on returning to normal activities appears in the recovery resource on recovery after upper endoscopy.

Serious complications are uncommon. Information about the overall safety profile is covered in the article on risks and safety of upper endoscopy. Anyone who experiences increasing pain, fever, vomiting, or difficulty breathing after the procedure should contact their care team promptly.

MedlinePlus explains that after the test a person should not eat or drink until the gag reflex returns, which helps prevent choking. Following the specific after-care instructions given by the endoscopy team reduces the chance of temporary discomfort.

When further evaluation or other tests may be needed

If the endoscopy shows no structural explanation for the swallowing difficulty, the doctor may recommend additional studies such as esophageal manometry to assess muscle coordination or a barium study to watch how food moves in real time. In selected situations alternatives to endoscopy may also be discussed; more information is available in the overview of alternatives to upper endoscopy.

According to Cleveland Clinic, dysphagia can arise from many different medical conditions that affect the muscles or nerves involved in swallowing. Upper endoscopy focuses on the structural and mucosal aspects of the esophagus and stomach and therefore forms one part of a broader evaluation when needed.

Talking with your healthcare professional

Persistent or worsening difficulty swallowing warrants medical attention. The same is true if swallowing problems are accompanied by unintended weight change, repeated choking episodes, or pain. Bringing a clear description of which foods cause trouble, how long the symptoms have been present, and any related changes in appetite or energy helps the clinician decide whether upper endoscopy or another test is appropriate.

Upper endoscopy is a widely used and generally well-tolerated procedure that provides valuable information for many people with dysphagia. Results are always interpreted by a qualified professional who considers the full clinical picture. Ongoing communication with the care team ensures that findings lead to a clear and individualized plan.