Table of ContentsView All
View All
Table of Contents
ERCP: A Test or Surgery?
How It Helps Diagnosis
ERCP Results
Overcoming Fear and Anxiety
ERCP involves inserting a flexible tube (endoscope) with a light and a camera on the end into the mouth and down into the throat, stomach, and first part of the small intestine. An ERCP might be done for symptoms of abdominal pain orjaundice(yellowing skin and eyes) or for already diagnosed conditions such as cancer in the liver,pancreas, orbile ducts.
This article will cover the ERCP procedure, why it might be used, the steps of the procedure, recovery, and what results may indicate.

An ERCP can be used to make a diagnosis, perform a procedure, and deliver treatment. It is minimally invasive as it doesn’t involve an external incision, as opposed to open surgical procedures.
If there is a suspected problem in the bile ducts or the pancreatic ducts, an ERCP might be used to diagnose the source of the symptoms. The benefit of this procedure is that it may be used to diagnose the condition and treat it in some cases.
Some of the conditions that might prompt a healthcare provider to decide to order an ERCP include the following:
With an ERCP, once the source of the symptoms is understood, a procedure might be used to treat it. Some of the procedures that might be done during an ERCP include:
How an ERCP Procedure Helps With a Diagnosis
An ERCP is a useful procedure, but it is invasive. Noninvasive tests might also be used prior to an ERCP to get a better idea of the potential diagnosis.
However, an ERCP can be used to actually see inside the structures of the body. This can help confirm a diagnosis. It can also be used to take a biopsy (small piece of tissue) that can be tested for cancer, inflammation, or other abnormalities.
Meaning of ERCP Procedure Results
An ERCP may provide some results immediately because the healthcare provider may be able to see what is happening.
You might meet with your healthcare provider after the procedure to learn how the procedure went. This is also the time that a healthcare provider will explain any procedures that were used during the ERCP and about any aftercare.
The results of biopsies will take longer, usually a few days. Apathologistwill examine the biopsies microscopically to understand more about what is happening with the tissue. The healthcare provider who ordered the ERCP will usually be the one to deliver those results and what they mean for the future.
The procedure could take a few hours. Instructions will be given about timing and any need for prep. After receiving sedation, you will need someone to drive you home if you are discharged. Sometimes a stay in the hospital will be needed.
Procedure
After arriving for the test, you will be asked to remove any jewelry and change into a hospital gown.
This test is done while you are sedated. An intravenous line (IV) will be started, and medicine that helps with relaxation is given through it. In some cases, general anesthetic may be used (you will be asleep through the procedure).
A local anesthetic, either a gargle or a spray, is also used to numb the throat. The anesthetic is strong enough that swallowing may not be possible, so saliva will be suctioned out of your mouth.
You will be brought into the treatment room and will lie on a table, either on your stomach or left side. Monitoring equipment will be used to watch your vital signs, such as heart rate and breathing. Teeth will be protected with the use of a mouth guard.
The endoscope is gently inserted into the mouth, down through the esophagus, into the stomach, and then into the first part of the small intestine (the duodenum).
The endoscope has a camera on the end, which will send the image to a video screen. Air will be put through the endoscope and into the body, which will help the healthcare provider see better.
Contrast dyewill also be used. This dye is inserted in the ducts so that when X-rays are taken, they are easier to see on the film. Sometimes, you may be asked to change positions for the X-rays.
If there is a need to use a treatment, the endoscope will also be used for that. Tools are passed through the endoscope. These tools can be used to deliver a variety of treatments. This can include:
Aftercare
You will be cleared to go home when you are stable after the procedure. It’s also important that the local anesthetic has worn off and you are able to eat and drink.
In some cases, you may need to stay overnight in the hospital for observation. Pain medications may be given because some people may experience pain after the procedure. It’s important to talk aboutpain managementwith healthcare providers before the procedure.
Instructions will be given on how to manage activity and diet over the next few days. Rest will be advised for the remainder of the day after the procedure. You may need a few days to get back to a regular diet and activity level.
Some of the things you may experience after an ERCP could include nausea, a sore throat, dark stools, or stools streaked with some blood. These symptoms should improve in the hours after the procedure.
There is the potential for complications after an ERCP. Some of the warning signs to watch for include:
ComplicationsThere is the potential for complications with an ERCP. One study showed that the risk of developing a hole (perforation) in the upper digestive system was 1%. A perforation is a serious complication that may be fatal.The overall risk of death with the procedure in one study was shown to be less than 1%.It is important to pay attention to any symptoms that occur after the test, such as abdominal pain, and to get care right away if there are any concerns.
Complications
There is the potential for complications with an ERCP. One study showed that the risk of developing a hole (perforation) in the upper digestive system was 1%. A perforation is a serious complication that may be fatal.The overall risk of death with the procedure in one study was shown to be less than 1%.It is important to pay attention to any symptoms that occur after the test, such as abdominal pain, and to get care right away if there are any concerns.
There is the potential for complications with an ERCP. One study showed that the risk of developing a hole (perforation) in the upper digestive system was 1%. A perforation is a serious complication that may be fatal.The overall risk of death with the procedure in one study was shown to be less than 1%.
It is important to pay attention to any symptoms that occur after the test, such as abdominal pain, and to get care right away if there are any concerns.
Overcoming Fear and Anxiety About ERCP Procedure
It’s natural to feel anxiety or worry before an ERCP. People who are having this procedure may also already be coping with other health issues and troublesome signs or symptoms.
Talking these concerns over with a healthcare provider can be helpful. This can include getting more information about particular concerns, such as sedation or the potential for complications. There are usually solutions available when a provider knows what the barriers are.
Some people are concerned about their gag reflex during the procedure. The sedation that’s given before the procedure will help reduce the gag reflex.
It might also help to discuss ERCP with others who’ve gone through it. Ask your healthcare provider if they can direct you to another patient or a support group to meet with.
Many healthcare practices and hospitals also can offer the help of a counselor, social worker, or psychologist. Working with a provider who has experience with people who are having anxiety before a procedure can be helpful in addressing difficulty.
Summary
An ERCP is a procedure that is helpful for several diseases and conditions of the bile and pancreatic ducts. It is invasive, but skilled healthcare providers will help in making the procedure as comfortable as possible.
Some results will be available right away after the procedure, but others may not be available for a few days. Working with healthcare providers and communicating about all aspects of the test will help in having the best outcome.
7 SourcesVerywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read oureditorial processto learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.National Institute of Diabetes and Digestive and Kidney Diseases.Endoscopic retrograde cholangiopancreatography (ERCP).Dumonceau JM, Delhaye M, Tringali A, et al.Endoscopic treatment of chronic pancreatitis: European Society of Gastrointestinal Endoscopy (ESGE) guideline - updated August 2018.Endoscopy. 2019;51:179-193. doi:10.1055/a-0822-0832Tringali A, Loperfido S.Patient education: ERCP (endoscopic retrograde cholangiopancreatography) (beyond the basics). UpToDate.Hormati A, Aminnejad R, Saeidi M, Ghadir MR, Mohammadbeigi A, Shafiee H.Prevalence of anesthetic and gastrointestinal complications of endoscopic retrograde cholangiopancreatography.Anesth Pain Med.2019;9:e95796. doi:10.5812/aapm.95796American Society for Gastrointestinal Endoscopy.Understanding ERCP.Johnson KD, Perisetti A, Tharian B, et al.Endoscopic retrograde cholangiopancreatography-related complications and their management strategies: a “scoping” literature review.Dig Dis Sci.2020;65:361-375. doi:10.1007/s10620-019-05970-3Behrouzian F, Sadrizadeh N, Nematpour S, Seyedian SS, Nassiryan M, Zadeh AJF.The effect of psychological preparation on the level of anxiety before upper gastrointestinal endoscopy.J Clin Diagn Res. 2017;11:VC01-VC04. doi:10.7860/JCDR/2017/24876.10270Additional ReadingCitlik Saritas S, Buyukbayram Z, Kaplan Serin E, Bilgic Y.Effects of lavender oil intervention before endoscopic retrograde cholangiopancreatography on patients' vital signs, pain and anxiety: A randomized controlled study.Explore (NY). 2021;17:446-450. doi:10.1016/j.explore.2020.07.011.
7 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read oureditorial processto learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.National Institute of Diabetes and Digestive and Kidney Diseases.Endoscopic retrograde cholangiopancreatography (ERCP).Dumonceau JM, Delhaye M, Tringali A, et al.Endoscopic treatment of chronic pancreatitis: European Society of Gastrointestinal Endoscopy (ESGE) guideline - updated August 2018.Endoscopy. 2019;51:179-193. doi:10.1055/a-0822-0832Tringali A, Loperfido S.Patient education: ERCP (endoscopic retrograde cholangiopancreatography) (beyond the basics). UpToDate.Hormati A, Aminnejad R, Saeidi M, Ghadir MR, Mohammadbeigi A, Shafiee H.Prevalence of anesthetic and gastrointestinal complications of endoscopic retrograde cholangiopancreatography.Anesth Pain Med.2019;9:e95796. doi:10.5812/aapm.95796American Society for Gastrointestinal Endoscopy.Understanding ERCP.Johnson KD, Perisetti A, Tharian B, et al.Endoscopic retrograde cholangiopancreatography-related complications and their management strategies: a “scoping” literature review.Dig Dis Sci.2020;65:361-375. doi:10.1007/s10620-019-05970-3Behrouzian F, Sadrizadeh N, Nematpour S, Seyedian SS, Nassiryan M, Zadeh AJF.The effect of psychological preparation on the level of anxiety before upper gastrointestinal endoscopy.J Clin Diagn Res. 2017;11:VC01-VC04. doi:10.7860/JCDR/2017/24876.10270Additional ReadingCitlik Saritas S, Buyukbayram Z, Kaplan Serin E, Bilgic Y.Effects of lavender oil intervention before endoscopic retrograde cholangiopancreatography on patients' vital signs, pain and anxiety: A randomized controlled study.Explore (NY). 2021;17:446-450. doi:10.1016/j.explore.2020.07.011.
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read oureditorial processto learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
National Institute of Diabetes and Digestive and Kidney Diseases.Endoscopic retrograde cholangiopancreatography (ERCP).Dumonceau JM, Delhaye M, Tringali A, et al.Endoscopic treatment of chronic pancreatitis: European Society of Gastrointestinal Endoscopy (ESGE) guideline - updated August 2018.Endoscopy. 2019;51:179-193. doi:10.1055/a-0822-0832Tringali A, Loperfido S.Patient education: ERCP (endoscopic retrograde cholangiopancreatography) (beyond the basics). UpToDate.Hormati A, Aminnejad R, Saeidi M, Ghadir MR, Mohammadbeigi A, Shafiee H.Prevalence of anesthetic and gastrointestinal complications of endoscopic retrograde cholangiopancreatography.Anesth Pain Med.2019;9:e95796. doi:10.5812/aapm.95796American Society for Gastrointestinal Endoscopy.Understanding ERCP.Johnson KD, Perisetti A, Tharian B, et al.Endoscopic retrograde cholangiopancreatography-related complications and their management strategies: a “scoping” literature review.Dig Dis Sci.2020;65:361-375. doi:10.1007/s10620-019-05970-3Behrouzian F, Sadrizadeh N, Nematpour S, Seyedian SS, Nassiryan M, Zadeh AJF.The effect of psychological preparation on the level of anxiety before upper gastrointestinal endoscopy.J Clin Diagn Res. 2017;11:VC01-VC04. doi:10.7860/JCDR/2017/24876.10270
National Institute of Diabetes and Digestive and Kidney Diseases.Endoscopic retrograde cholangiopancreatography (ERCP).
Dumonceau JM, Delhaye M, Tringali A, et al.Endoscopic treatment of chronic pancreatitis: European Society of Gastrointestinal Endoscopy (ESGE) guideline - updated August 2018.Endoscopy. 2019;51:179-193. doi:10.1055/a-0822-0832
Tringali A, Loperfido S.Patient education: ERCP (endoscopic retrograde cholangiopancreatography) (beyond the basics). UpToDate.
Hormati A, Aminnejad R, Saeidi M, Ghadir MR, Mohammadbeigi A, Shafiee H.Prevalence of anesthetic and gastrointestinal complications of endoscopic retrograde cholangiopancreatography.Anesth Pain Med.2019;9:e95796. doi:10.5812/aapm.95796
American Society for Gastrointestinal Endoscopy.Understanding ERCP.
Johnson KD, Perisetti A, Tharian B, et al.Endoscopic retrograde cholangiopancreatography-related complications and their management strategies: a “scoping” literature review.Dig Dis Sci.2020;65:361-375. doi:10.1007/s10620-019-05970-3
Behrouzian F, Sadrizadeh N, Nematpour S, Seyedian SS, Nassiryan M, Zadeh AJF.The effect of psychological preparation on the level of anxiety before upper gastrointestinal endoscopy.J Clin Diagn Res. 2017;11:VC01-VC04. doi:10.7860/JCDR/2017/24876.10270
Citlik Saritas S, Buyukbayram Z, Kaplan Serin E, Bilgic Y.Effects of lavender oil intervention before endoscopic retrograde cholangiopancreatography on patients' vital signs, pain and anxiety: A randomized controlled study.Explore (NY). 2021;17:446-450. doi:10.1016/j.explore.2020.07.011.
Meet Our Medical Expert Board
Share Feedback
Was this page helpful?Thanks for your feedback!What is your feedback?OtherHelpfulReport an ErrorSubmit
Was this page helpful?
Thanks for your feedback!
What is your feedback?OtherHelpfulReport an ErrorSubmit
What is your feedback?