ERCP at the Gastroenterologist
A plain-language guide to ERCP: what the test does, who needs one, what it costs, the real risks, and how to find a specialist near you.
Get this taken care of
Find a Gastroenterologist Near MeCompare Real CostsCMS-verified provider data, updated monthly.
At a Glance
What is an ERCP?
The test that both finds and fixes duct problems
ERCP stands for endoscopic retrograde cholangiopancreatography. It is a procedure where a doctor passes a thin camera down your throat and into your small intestine to find and fix problems in your bile ducts and pancreas duct, like stones or blockages. It is both a way to see the problem and a way to treat it in the same visit.
ERCP is short for endoscopic retrograde cholangiopancreatography. That is a long name for a focused job. Your doctor guides a flexible tube with a camera, called an endoscope, down your throat, through your stomach, and into the first part of your small intestine. From there they reach the small opening where your bile ducts and pancreas duct drain.
Those ducts are the plumbing of your digestive system. Bile ducts carry bile from your liver and gallbladder. The pancreas duct carries enzymes from your pancreas. When a stone, a tumor, or scar tissue blocks one of these tubes, fluid backs up and you can get pain, jaundice, infection, or a swollen pancreas.
On this page
- What is an ERCP?
- Who needs an ERCP?
- How do you prepare for an ERCP?
- How is an ERCP done, step by step?
- What is recovery like?
- What are the risks, and why you should not push for one you do not need
- How well does ERCP work?
- What does an ERCP cost, and how do you find a specialist?
- Top Gastroenterologists for this procedure
- Frequently asked questions
Who needs an ERCP?
The signs and conditions that point to it
ERCP is not a routine screening test. Doctors save it for problems they already suspect, usually after blood tests or an imaging scan have pointed to the ducts. You may need one if you have:
- Stones stuck in a bile duct. Gallstones sometimes slip out of the gallbladder and lodge in the duct. ERCP can remove them.
- Jaundice. Yellow skin or eyes, dark urine, and pale stools can mean bile is backing up because a duct is blocked.
- A narrowing or stricture. Scar tissue or a tumor can squeeze a duct shut. A stent can reopen it.
- A bile or pancreas duct leak after gallbladder surgery or an injury.
- Repeated pancreatitis with no clear cause, or signs of a blocked pancreas duct.
- Suspected duct cancer, where the doctor needs to place a stent and collect cells to test.
The deciding question is always whether you need treatment. If your doctor only needs to look, a scan called MRCP usually answers the question with no scope at all. ERCP earns its place when there is a strong chance the doctor will fix something while they are in there.
How do you prepare for an ERCP?
Fasting, medicines, and the day before
Good preparation lowers your risk and keeps the procedure from being canceled. Your care team will give you exact instructions, and they matter more than any general advice.
The logistics:
- Arrange a ride home. The sedation makes it unsafe to drive for the rest of the day.
- Plan to be at the facility for several hours, even though the procedure itself is short.
- Leave jewelry and valuables at home, and wear loose clothing.
How is an ERCP done, step by step?
What happens from sedation to scope
ERCP is done in a hospital or a specialized endoscopy unit with X-ray equipment in the room. Here is the usual order of events.
1. Sedation. An IV goes into your arm. Most people get deep sedation that puts them in a sleep-like state, and some get general anesthesia with a breathing tube. You will not feel the scope and usually remember nothing.
2. The scope goes in. You lie on your side or stomach. The doctor passes the endoscope through your mouth, down the esophagus, through the stomach, and into the duodenum, the first stretch of small intestine. A guard protects your teeth, and air or carbon dioxide gently inflates the area so the doctor can see.
3. Finding the opening. The doctor locates the papilla, the tiny valve where the bile and pancreas ducts drain. A thin tube called a catheter is threaded into the duct.
4. Dye and X-rays. Contrast dye is injected into the ducts, and live X-ray images show exactly where any stone, narrowing, or leak sits.
5. The treatment. Depending on what they find, the doctor may widen the duct opening with a small cut, pull a stone out with a tiny basket or balloon, stretch a narrow spot, place a stent, or take a tissue sample.
The whole thing takes 30 to 90 minutes. A complex case with a hard-to-reach stone takes longer.
What is recovery like?
The hours and days after your procedure
You wake up in a recovery area while the sedation wears off. Nurses watch your blood pressure, oxygen, and comfort for one to two hours. A sore throat from the scope is common and fades within a day. You may feel bloated from the air used during the test; walking and passing gas help.
Call your doctor right away if you have:
- Worsening belly pain, especially pain that wraps to your back
- Fever or chills
- Vomiting, or vomiting blood
- Black or tarry stools
- Trouble swallowing or chest pain
These can be early signs of pancreatitis, bleeding, or infection and need prompt attention.
What are the risks, and why you should not push for one you do not need
Pancreatitis, infection, and the safer alternative
ERCP is one of the more involved scope procedures, and it carries real risks you should understand before you agree to it.
Pancreatitis is the big one. Irritating the pancreas duct can inflame the gland. This happens in roughly 3 to 10 of every 100 ERCPs, and the risk is higher in younger patients, women, people with a normal-size bile duct, and those whose catheter was difficult to place. Most cases are mild and settle with fluids and a short hospital stay, but severe pancreatitis can be dangerous.
Other risks include bleeding where the duct opening is cut, infection of the bile ducts, a small tear in the intestine wall, and the usual reactions to sedation. Serious complications are uncommon, but they are not rare enough to ignore.
Why you should not push for an ERCP you do not need. For years ERCP was used just to look at the ducts. That is no longer good practice. A scan called MRCP gives a clear picture of the ducts with no scope, no dye, and none of the pancreatitis risk. Endoscopic ultrasound is another safe way to look. If your doctor only needs to see what is going on, ask whether MRCP would answer the question first. ERCP should be reserved for when treatment is likely.
The scope itself has a known cleaning concern. The FDA has warned that the reusable scopes used for ERCP are hard to clean fully, and that has been tied to rare infections passed between patients. Reputable units follow strict cleaning steps and many now use disposable-tip or fully single-use scopes. It is fair to ask your facility how they handle this.
How well does ERCP work?
Success rates and what counts as a good result
When it is the right procedure, ERCP works well. Experienced doctors reach and enter the target duct in about 90 to 95 of every 100 cases. For the most common job, clearing stones from the bile duct, about 90 percent are fully cleared in a single session. The rest are handled in a follow-up visit or with a temporary stent.
What a good result looks like depends on why you had it:
- For a blocked duct, success means bile flows again, jaundice fades, and the stone or stent is dealt with.
- For a stricture, success means the stent holds the duct open and your symptoms ease.
- For a leak, success means the stent reroutes fluid so the duct can heal.
Experience matters more here than in most procedures. Studies consistently show that doctors and centers that do a high volume of ERCPs have higher success and lower complication rates. That is worth asking about before you book.
Not every ERCP succeeds on the first try. A very tight blockage, unusual anatomy, or past stomach surgery can make the duct hard to reach. If that happens, your doctor will discuss a repeat attempt, a referral to a higher-volume center, or a different approach.
What does an ERCP cost, and how do you find a specialist?
Real price ranges and how to choose a doctor
Cost depends almost entirely on your insurance and where the procedure is done. A hospital outpatient department usually bills more than a freestanding endoscopy center for the same work. The total also rises when a stent, extra tissue sampling, or an overnight stay is involved, because those add device and facility charges on top of the doctor's fee and anesthesia.
How to keep costs predictable:
- Ask for the billing codes (ERCP codes start in the 43260 range) and call your insurer for your share before the date.
- Confirm the gastroenterologist, the facility, and the anesthesia provider are all in network. Surprise bills usually come from an out-of-network anesthesiologist.
- Ask whether an ambulatory surgery center is an option, since it often costs less than a hospital.
Finding the right specialist. ERCP is performed by gastroenterologists, and the best results come from those with advanced endoscopy training who do many of these each year. Use our directory of over 21,000 gastroenterologists to find one near you, then ask two questions: how many ERCPs do you perform a year, and what is your facility's complication rate. A confident, high-volume doctor will answer both without hesitation.
| Situation | Typical cost |
|---|---|
| Insured, in-network (after deductible, with coinsurance) | $300 to $2,000 out of pocket |
| High-deductible plan, before deductible is met | $3,500 to $9,000 |
| Medicare (Part B, after deductible) | $200 to $600 out of pocket |
| Self-pay / cash price | $3,000 to $12,000 |
Ranges are typical US totals and cover the doctor, facility, and anesthesia. A hospital setting, a stent, or an overnight stay pushes you toward the high end. Always confirm your exact share with your insurer and the facility before the date.
For a full Medicare cost breakdown of the related surgical procedure, see our detailed cost guide.
Top 6 Gastroenterologists Who Provide ERCP
Verified from CMS provider data, updated monthly. Click any provider to see credentials, insurance acceptance, and patient resources.
Find a Gastroenterologist Near Me
Browse CMS-verified gastroenterologists near me for ercp, by state and city.
Related care
Conditions, procedures, treatments and tests connected to ercp.
Related conditions
Related symptoms
Tests & screenings
Frequently Asked Questions
Is an ERCP painful?
You should feel nothing during the procedure because you are under deep sedation or general anesthesia. Afterward, a sore throat and some bloating are common but mild. Sharp or worsening belly pain after going home is not normal and should be reported right away.
How long does an ERCP take?
The procedure itself usually runs 30 to 90 minutes. Plan to be at the facility for several hours, since you also need time to check in, get sedated, and recover until the medicine wears off.
What is the difference between ERCP and an MRCP?
MRCP is an MRI scan that pictures the bile and pancreas ducts with no scope and no risk of pancreatitis, but it can only look. ERCP uses a scope and can both look and treat in the same session. Doctors often do MRCP first and reserve ERCP for when treatment is likely.
Can ERCP remove gallstones?
ERCP removes stones that have moved into the bile duct, not stones still sitting in the gallbladder. If your gallbladder itself is full of stones, you will usually still need surgery to remove the gallbladder later.
How dangerous is an ERCP?
It is generally safe in experienced hands, but it carries more risk than a routine colonoscopy. Pancreatitis affects roughly 3 to 10 of every 100 patients, and bleeding, infection, or a tear are less common. Most complications are mild, but serious ones can happen, which is why the test is used only when needed.
Do you have to stay overnight after an ERCP?
Most people go home the same day once the sedation wears off. An overnight stay is more likely if a stent was placed, if you have other health problems, or if your team wants to watch you for early signs of a complication.
How much does an ERCP cost without insurance?
Self-pay totals usually run from $3,000 to $12,000, covering the doctor, facility, and anesthesia. A freestanding endoscopy center is often cheaper than a hospital. Ask for the billing codes and request a cash price in advance.
Who performs an ERCP?
A gastroenterologist, usually one with extra training in advanced endoscopy. Because success and safety improve with experience, it is fair to ask how many ERCPs the doctor performs each year before you book.
Medical disclaimer: This content is for educational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with questions about a medical condition. If you have a medical emergency, call 911. Our editorial standards