Which Tests Come Before ERCP? How Blood Work and Scans Shape the Procedure Plan

Key Takeaways
- ERCP is now mostly a treatment procedure, so the tests beforehand are designed to confirm there is something inside the duct worth treating.
- A high alkaline phosphatase and GGT with a modest ALT and AST rise points toward a blocked bile duct, while the reverse pattern suggests liver cell injury that ERCP cannot help.
- Lipase is checked because the pancreatic duct shares an opening with the bile duct, and pancreatitis is the most common complication of ERCP according to the NIH.
- Abdominal ultrasound is the first-line scan but can miss stones in the lowest part of the duct, so a normal result with abnormal blood tests usually leads to MRCP.
- A clean MRCP or endoscopic ultrasound often cancels a planned ERCP, which is a successful outcome rather than a wasted test.
- Clotting tests, platelet counts, kidney function and a pregnancy test shape how the procedure is done safely, and any change to blood thinners is the prescriber's decision, not the patient's.
Tests before ERCP usually include a liver blood panel (bilirubin, alkaline phosphatase, ALT and AST), a pancreas enzyme such as lipase, clotting and platelet checks, kidney function, and a pregnancy test where relevant, plus an imaging study: ultrasound first, then often MRCP or endoscopic ultrasound. Together these confirm a duct problem that an endoscope can actually treat, flag safety issues, and let the team plan sedation, timing and tools.
The envelope from the imaging department sits on the kitchen table next to the lab printout, and neither one makes much sense on its own. One sheet says the bile duct looks “dilated.” The other has three liver numbers flagged in bold. Somewhere between them is a decision about whether a procedure called ERCP is the right next step, and the person holding both sheets mostly wants to know why so many tests before ERCP are needed when the doctor already suspects a gallstone.
The honest answer is that those tests are not hoops. Each one answers a specific question the endoscopist needs settled before threading a scope past the stomach and into a duct the width of a drinking straw. Is the blockage real? Where is it? Can the procedure be done safely in this body, on this day, with these medicines on board?
This explainer walks through what each test contributes, in the order it usually happens, and what the results change about the plan.
What do "tests before ERCP" actually mean, and why are there so many?
ERCP stands for endoscopic retrograde cholangiopancreatography: a procedure in which a flexible camera tube passes through the mouth to the small intestine, where a thin catheter is guided into the bile and pancreatic ducts and dye is injected so they show up on X-ray. According to the NIH’s digestive disease institute, it is used mainly to treat problems in those ducts, such as stones, narrowings or leaks, rather than simply to look at them.
That single word, treat, explains the testing. Because ERCP carries real risks, including inflammation of the pancreas, the modern rule in gastroenterology guidelines is that it should be reserved for people who are likely to need something done inside the duct. The tests before ERCP exist to make that likelihood as clear as possible before anyone picks up a scope.
Broadly, the workup answers three questions:
- Is there a duct problem at all? Liver enzymes, bilirubin and ultrasound usually answer this.
- Is it the kind ERCP can fix? MRCP or endoscopic ultrasound often settles where the blockage is and what it is made of.
- Can this person have the procedure safely right now? Clotting tests, platelet counts, kidney function, pregnancy status, sedation history and medication review cover this.
Not everyone gets every test. Someone arriving with fever, jaundice and a known stone may move quickly on blood work and ultrasound alone, because waiting for more imaging could cause harm. Someone with mildly abnormal liver tests and vague pain will usually be asked for more imaging first, precisely so an unnecessary ERCP can be avoided. The treating team weighs that balance case by case, and this article describes the typical pattern rather than a fixed checklist.
How ERCP works, in plain language
Picture the digestive tract as a hallway. The bile duct, a tube that carries bile from the liver and gallbladder, and the pancreatic duct, which carries digestive juice from the pancreas, both open into that hallway through a small muscular doorway in the first part of the small intestine. ERCP uses that doorway.

After sedation or anesthesia, the endoscope travels down the esophagus, through the stomach and into the duodenum. A side-viewing camera lines up with the opening. A catheter, thinner than a cooked spaghetti strand, is slipped into the duct, and contrast dye flows backward (that is the “retrograde” part) so the duct outlines on a live X-ray screen called fluoroscopy. MedlinePlus describes the whole procedure as usually taking about 1 to 2 hours, depending on what needs to be done.
What needs doing is where the pre-procedure tests pay off. If imaging has already shown a stone, the endoscopist comes prepared to perform a sphincterotomy, a small cut in the muscular doorway, and to sweep the stone out with a balloon or basket. If a narrowing is expected, a stent (a short plastic or metal tube) may be positioned to hold the duct open. If a tissue sample is needed, brushes or forceps are ready. Nobody wants to discover mid-procedure that the planned tool set is wrong.
Blood work matters here too. A clotting problem makes the cut riskier. A high lipase level suggests the pancreas is already inflamed, which can change how carefully the pancreatic duct is avoided. Even the sedation plan depends on the tests: kidney and heart status, body weight and past reactions guide whether moderate sedation or a full anesthetic is used. In other words, ERCP is a short procedure built on a long preamble, and the preamble is where most of the safety lives.
Blood tests before ERCP: why the pattern of liver numbers matters more than any single value
Most people fixate on the one number flagged red. Endoscopists read the shape of the whole panel. A standard liver function panel, as MedlinePlus describes it, measures bilirubin, alkaline phosphatase (ALP), alanine aminotransferase (ALT), aspartate aminotransferase (AST) and often gamma-glutamyl transferase (GGT), along with albumin.
Bilirubin is the yellow pigment produced when old red blood cells break down; the liver normally packages it into bile. When the bile duct is blocked, bilirubin backs up into the blood, skin and eyes. A rising bilirubin, especially with pale stools and dark urine, points toward obstruction rather than a liver that is simply inflamed.
ALP and GGT are enzymes concentrated in the cells lining the bile ducts. They climb when bile flow is dammed. ALT and AST live mostly inside liver cells and rise when those cells are injured. The classic obstructive pattern is a disproportionately high ALP and GGT with a more modest rise in ALT and AST. A mirror-image pattern, with soaring ALT and AST and near-normal ALP, suggests hepatitis or a drug reaction, and in that situation ERCP is rarely the right tool.
Timing shapes the reading as much as the values. A stone that passes on its own can push enzymes up sharply and then let them fall within days. For that reason, teams often repeat the panel rather than act on one draw. Falling numbers and a clean ultrasound may mean the stone has already gone, and the planned ERCP can be stood down. Steady or climbing numbers argue the blockage is still there.
Albumin, a protein the liver makes, speaks to longer-term liver health and nutrition and feeds into sedation and recovery planning rather than the decision to look in the duct. None of these values gives a diagnosis on its own; the panel narrows the field so imaging can finish the job.
Lipase, amylase and the pancreas question
The bile duct and the pancreatic duct share that final doorway into the intestine, so a stone lodged at the junction can irritate both. That is why a pancreas enzyme test sits alongside the liver panel in nearly every ERCP workup.

Lipase is an enzyme the pancreas makes to digest fat. When the gland is inflamed, a condition called pancreatitis, lipase leaks into the bloodstream in large amounts. MedlinePlus notes that lipase testing is the preferred marker because it stays elevated longer than amylase, the older test, and is more specific to the pancreas. Many labs still run both.
Why does this change the ERCP plan? Three reasons.
- Diagnosis. A gallstone causing pancreatitis is a different clinical problem from a stone causing jaundice alone. Guidelines generally advise against early ERCP in gallstone pancreatitis unless there is also evidence of ongoing bile duct blockage or infection, because the procedure itself can worsen an inflamed pancreas.
- Timing. An already-inflamed gland may push the team to wait for enzymes and symptoms to settle, or to use MRCP to check whether the stone is still present before committing to a scope.
- Baseline. Post-ERCP pancreatitis is the most common complication of the procedure, according to the NIH. A lipase value drawn beforehand lets the team distinguish a new problem from one that was already brewing.
A normal lipase does not rule out a stone in the bile duct, and a high lipase does not by itself mean ERCP is needed. The test refines the question rather than settling it. Readers who see a lipase result far above the reference range should expect a conversation about pancreatitis management first, with the duct decision coming once that picture is clearer; the sequencing is the treating team’s call.
Clotting, platelets, kidney function and the safety screen
The second cluster of blood tests has little to do with finding the blockage and everything to do with whether the body can handle the procedure. Think of it as the pre-flight check rather than the map.
A clotting screen usually includes prothrombin time with its standardized version, the INR, which measures how quickly blood forms a clot. The sphincterotomy cut and stone extraction can bleed, and a prolonged INR raises that risk. A blocked bile duct itself can push the INR up, because bile is needed to absorb vitamin K, which the liver uses to make clotting proteins. That is one reason this test is repeated close to the procedure date rather than relied on from weeks earlier.
A full blood count checks hemoglobin, white cells and platelets. Low platelets add bleeding risk. A high white cell count with fever and jaundice suggests cholangitis, an infection trapped in the blocked duct, which can turn ERCP from an elective procedure into an urgent one.
Kidney function tests, usually creatinine and estimated filtration rate, matter for two reasons. Some sedative and pain medicines are cleared by the kidneys, and if a CT scan with intravenous contrast is planned alongside the workup, impaired kidneys change how that scan is done. The contrast used inside the duct during ERCP itself goes into the bile, not the bloodstream, so it is less of a kidney concern, though the team still accounts for it.
A pregnancy test is standard for anyone who could be pregnant, because ERCP relies on X-ray fluoroscopy. If pregnancy is confirmed, the procedure can still be done when genuinely needed, with shielding and minimized radiation, but the decision becomes a shared one with obstetric input.
Finally, blood glucose and an electrocardiogram are added for people with diabetes or heart disease, feeding the anesthetic plan. No single abnormal value cancels an ERCP; it changes the preparation around it.
Ultrasound first: the scan that usually starts the story
Before any magnet or endoscope, there is almost always a cool gel and a handheld probe. Abdominal ultrasound is the first-line scan for suspected gallstones and bile duct disease in guidance from both the NHS and Mayo Clinic, and for sensible reasons: it is quick, painless, involves no radiation, and is very good at two particular jobs.
The first is seeing the gallbladder. Stones there show up as bright specks casting a shadow. The second is measuring the common bile duct. A duct that is wider than expected is the single most useful ultrasound clue that something downstream is blocking flow. Radiologists describe this as dilation.
Ultrasound has a well-known blind spot, though. The lowest part of the bile duct, where it passes behind the duodenum and into the pancreas, is often hidden by bowel gas. A stone sitting right there, which is exactly where stones tend to lodge, can be missed. So a normal ultrasound with abnormal liver tests does not close the question. It simply moves it to the next step.
What ultrasound changes about the ERCP plan:
- A visibly stuck stone in a dilated duct, plus matching blood tests, can justify going straight to ERCP.
- Gallbladder stones with a normal-caliber duct and improving blood tests often lead to a watch-and-repeat approach or a plan for gallbladder surgery without ERCP.
- A dilated duct with no visible cause usually triggers MRCP or endoscopic ultrasound to look for a hidden stone, a narrowing or a mass.
The scan is also where the team first notices fluid around the pancreas, liver masses or an unusually thick gallbladder wall, each of which steers the conversation in a different direction. In short, ultrasound rarely gives the final answer but almost always decides which test comes next.
MRCP before ERCP: when a magnet replaces the endoscope
Magnetic resonance cholangiopancreatography, MRCP, is an MRI scan tuned to make fluid-filled ducts glow against the surrounding tissue. It produces a map of the bile and pancreatic ducts without any scope, needle or contrast inside the body. Johns Hopkins and the NIH both describe it as a key non-invasive alternative when the question is purely diagnostic.
This is the test that has most changed how ERCP is used. A generation ago, ERCP was the way to find out whether a duct was blocked. Now, in most situations, MRCP answers that question first, and ERCP is booked only when there is something to treat. UK NICE guidance on gallstone disease, for example, recommends MRCP when ultrasound has not shown a bile duct stone but the suspicion remains, with endoscopic ultrasound as the next step if MRCP is unclear.
What MRCP tells the endoscopist before the day of ERCP:
- Whether a stone is present, how many there are and roughly how large, which guides whether a simple balloon sweep is likely to suffice or whether stone-crushing tools should be on the table.
- Where a narrowing sits and how long it is, which determines stent length and type.
- Whether the duct anatomy is unusual, such as a pancreatic duct variant, which affects how the scope is steered.
MRCP has limits worth stating plainly. Very small stones can be missed, movement blurs the images, and people with certain implanted devices or severe claustrophobia may not be able to have the scan. It also shows anatomy, not function, so a borderline narrowing may still need endoscopic ultrasound or a tissue sample to explain.
When MRCP is clean and blood tests are settling, many teams will cancel a planned ERCP outright. That is not a wasted scan. Avoiding a procedure whose most common complication is pancreatitis is one of the best outcomes a test can deliver.
CT scans and endoscopic ultrasound: filling the gaps
Two further scans show up in the workup, each for a specific reason.
A CT scan uses X-rays from many angles to build cross-sectional images. It is less precise than MRCP for seeing stones, which can be invisible on CT if they lack calcium, but it is excellent at the bigger picture: swelling of the pancreas, fluid collections, masses in the pancreas or liver, and enlarged lymph nodes. When someone presents with pancreatitis or weight loss and jaundice, CT often comes before any duct-focused test. If intravenous contrast is used, this is where the kidney function result from the blood panel earns its place.
Endoscopic ultrasound, EUS, is the other option. A thin ultrasound probe is mounted on the tip of an endoscope and positioned in the stomach or duodenum, directly against the pancreas and the lower bile duct. Because it sits so close, EUS can detect tiny stones and small masses that both MRCP and CT miss, and it allows a fine needle to sample tissue. It does require sedation and an endoscope, so it is not as light-touch as MRCP, but it does not enter the duct and does not carry the pancreatitis risk of ERCP.
How these change the plan:
- EUS showing no stone after an equivocal MRCP typically ends the ERCP discussion.
- EUS confirming a stone can, in some units, be followed by ERCP during the same sedation, which spares a second procedure day.
- CT revealing a mass shifts the goal of a future ERCP from stone removal to stent placement and tissue sampling, which means different equipment and often a different timetable.
The sequencing is a clinical judgment, not a fixed ladder. Someone with cholangitis may skip all of this and go straight to ERCP, because draining an infected duct cannot wait for a perfect map.
A summary table: what each test before ERCP changes about the plan
The individual pieces make more sense side by side. The table below is a general guide to the questions each test answers and the decisions it tends to influence, not a universal protocol; the order and selection are always the treating team’s.
| Test | Main question it answers | What it can change about the ERCP plan |
|---|---|---|
| Liver panel (bilirubin, ALP, GGT, ALT, AST) | Is bile flow obstructed, or is the liver itself inflamed? | Whether ERCP is even the right procedure; urgency; repeat testing to see if a stone has passed |
| Lipase (and sometimes amylase) | Is the pancreas inflamed? | Timing; caution around the pancreatic duct; baseline for recognizing post-procedure pancreatitis |
| Clotting screen (PT/INR) | Can a sphincterotomy be done safely? | Whether to correct clotting first; how anticoagulants are managed by the prescriber |
| Full blood count | Bleeding risk; signs of infection | Platelet threshold decisions; urgency if cholangitis suspected |
| Kidney function | Can IV contrast and certain sedatives be used safely? | CT contrast choices; medication adjustments by the prescribing clinician |
| Pregnancy test | Is X-ray exposure a concern? | Shielding, reduced fluoroscopy, obstetric input |
| Abdominal ultrasound | Are there gallbladder stones? Is the duct dilated? | Whether to proceed, watch, or order MRCP/EUS |
| MRCP | Is there a stone or narrowing, and where? | Go or no-go; tool selection; stent sizing |
| CT | Is there a mass, pancreatitis, or fluid collection? | Shifts goal from stone removal to drainage or sampling |
| Endoscopic ultrasound | Any tiny stone or mass missed by other scans? | Can cancel ERCP or lead directly into it under the same sedation |
Two patterns are worth remembering. Blood tests set the direction and urgency; imaging sets the route and the tools. When both agree, the procedure plan is usually straightforward. When they disagree, expect another test rather than a rushed scope.
Who ERCP is usually for, and who is usually asked to wait
Guidelines across gastroenterology societies converge on a short list of situations where ERCP is clearly appropriate, and a longer list where it is reasonable to wait or choose something else. The tests above are what sort people between those lists.
ERCP is usually offered when there is strong evidence of a problem that can be treated through the scope:
- A bile duct stone seen on imaging, especially with jaundice or rising liver tests.
- Cholangitis, where an infected blocked duct needs urgent drainage.
- A narrowing or blockage from a tumor, scar or inflammation that needs a stent to restore flow.
- A bile leak after gallbladder surgery or injury.
- Certain pancreatic duct problems, such as stones or strictures causing recurrent pancreatitis.
People are often asked to wait, or steered to MRCP or EUS instead, when:
- Liver tests are abnormal but falling, suggesting a stone that has already passed.
- Ultrasound shows a normal-caliber duct and the diagnosis is uncertain.
- Gallstone pancreatitis is present without signs of ongoing obstruction or infection, since ERCP can aggravate an inflamed pancreas.
- Clotting is significantly abnormal and needs correction first.
- A recent heart attack, unstable breathing or other acute illness makes sedation unsafe for now.
A few groups need a tailored discussion rather than a yes or no. People with altered anatomy from previous stomach or bowel surgery may need a specialized scope or a different approach. Those who are pregnant can have ERCP when the need is real, with radiation kept minimal. Older adults and people with multiple conditions are not excluded; the sedation plan is simply built more carefully around the ECG, kidney and heart findings.
None of this is a verdict a lab result delivers on its own. The endoscopist, often with a surgeon, radiologist and anesthetist, weighs the whole file. If you are told to wait, it is usually because the tests have not yet shown anything the scope could fix.
How to prepare for ERCP: the days before and the morning of
Once the tests have made the case for proceeding, preparation is mostly about safety and logistics, and it starts with a medication review.
Bring a complete list, including over-the-counter products and supplements. The team pays particular attention to blood thinners (anticoagulants and antiplatelet drugs), diabetes medicines and anything that affects bleeding. Whether and how to adjust these before the procedure is a decision for the prescribing clinician in discussion with the endoscopy unit; it depends on why the medicine was started and the planned procedure. Do not stop or change anything on your own initiative. The clotting screen from the blood panel feeds directly into this conversation.
Allergies matter too. Tell the team about any past reaction to contrast dye, iodine, sedatives, latex or antibiotics. A contrast reaction does not rule out ERCP, but it changes the precautions.
Fasting is standard because the stomach needs to be empty for safety under sedation and for a clear view. MedlinePlus advises not eating or drinking for several hours beforehand, commonly in the range of 6–8 hours; the unit will give exact instructions, which take priority over any general figure.
Practical points people often overlook:
- Arrange someone to take you home. Sedation impairs judgment and reflexes for the rest of the day, and most units will not discharge an unaccompanied patient.
- Leave jewelry and metal at home, since fluoroscopy is involved.
- Expect a cannula in the arm for sedation and fluids.
- Ask whether antibiotics are planned, which is common when drainage of a blocked duct is expected.
On the morning itself, a nurse will recheck recent blood results, sometimes draw a fresh clotting test if the last one was not recent, and confirm pregnancy status where relevant. The endoscopist will go through consent, including the specific risks of pancreatitis, bleeding, infection and perforation. That conversation is the right place to raise anything the tests have left unclear.
What the following days usually look like after ERCP
The procedure may last around 1 to 2 hours, according to MedlinePlus, but the recovery curve is longer and worth knowing in advance, because the same tests that preceded ERCP are often repeated afterward.
In the first few hours, you wait in a recovery area while sedation wears off. Bloating from the air used to open the bowel is common, as is a sore throat. Some people are sent home the same day; others, especially if a stent was placed for infection or if pancreatitis is a concern, stay overnight for observation and a repeat lipase check. MedlinePlus and Johns Hopkins both describe a soft diet and rest for the remainder of the day.
Over the next day or two, the blood work tells the team whether the procedure did what the plan intended. Bilirubin and ALP should start to drift down once bile is flowing again, although they rarely normalize overnight because the liver clears the backlog gradually. A lipase drawn the next morning, compared with the pre-procedure baseline, is the standard way to detect post-ERCP pancreatitis early. New or worsening abdominal pain in this window should never be dismissed as bloating.
Through the first week, most people return to ordinary activity as the sore throat and fatigue settle. If a plastic stent was placed, it is temporary and will need removal or exchange at a planned follow-up; the timing is set by the endoscopist. If a bile duct stone was cleared and the gallbladder is still in place, a conversation about gallbladder surgery usually follows, since NHS guidance notes that stones can recur as long as the gallbladder remains.
A follow-up blood panel a few weeks later confirms that liver tests have continued to normalize. Persistent abnormality can mean a residual stone, a stent that has blocked or shifted, or a narrowing that needs reassessment, and the team may repeat imaging. The timeline above is a typical pattern, not a promise; individual recovery depends on the reason for the procedure and overall health.
What people often get wrong about tests before ERCP
Myths cluster around this procedure, partly because the name is a mouthful and partly because older relatives remember a time when ERCP was mostly a diagnostic test. A few corrections, grounded in current guidance.
“ERCP is a scan.” It is not. It is an endoscopic procedure done under sedation with X-ray guidance. The scans are the tests that come before it. If a doctor says you need a scan of the bile duct, that usually means ultrasound or MRCP, not ERCP.
“If my blood tests are normal, there cannot be a stone.” Liver enzymes can be normal with a stone that is sitting quietly, and they fluctuate as stones move. Normal results lower the probability but do not exclude disease, which is why imaging is paired with the panel rather than replaced by it.
“A clear ultrasound means I am fine.” Ultrasound misses stones in the lowest part of the duct more often than people expect, because bowel gas blocks the view. A normal scan with persistently abnormal blood tests is a reason for MRCP, not reassurance.
“More tests mean the doctors are not sure what they are doing.” The opposite is closer to the truth. Each added test reduces the chance of an ERCP that finds nothing to treat, and the NIH identifies pancreatitis as the procedure’s most common complication. Avoiding an unnecessary ERCP is a deliberate safety strategy.
“I should stop all my medicines before the procedure to be safe.” Stopping a blood thinner or a heart medicine without guidance can be more dangerous than the procedure. The clotting screen and medication review exist so the prescribing clinician can make an individualized decision.
“Once the stone is out, the problem is solved.” Clearing the duct treats the immediate blockage. If the gallbladder remains and contains stones, recurrence is possible, and the follow-up plan usually addresses that separately.
Questions to ask your care team about your ERCP workup
The most useful questions are the ones that connect your own results to the decision. Take the lab printout and the imaging report into the appointment and work through them together.
About the findings:
- Which of my blood results point toward a duct blockage, and which are more about my general health?
- Did the ultrasound show the lower bile duct clearly, or was that part obscured?
- Has the MRCP or EUS actually seen a stone or narrowing, or is the ERCP being planned on suspicion alone?
- Would repeating the liver tests in a few days change the plan?
About the procedure plan:
- What exactly do you expect to do during the ERCP: remove a stone, place a stent, take a sample, or a combination?
- Is there a non-invasive test that could still make the procedure unnecessary?
- What is the plan if the duct cannot be entered, and would that mean another procedure?
About safety and medicines:
- Which of my medicines need a decision from my prescriber before the procedure, and who is coordinating that?
- How will my clotting results and kidney function affect the sedation or the use of contrast?
- Will I have antibiotics, and why?
About afterward:
- Which blood tests will be repeated, and when?
- If a stent is placed, when and how will it be removed?
- If my gallbladder is still in, what is the plan for it?
- Who do I contact if I develop pain or fever at home?
You are entitled to a plain explanation of each of these. A good team will welcome the questions, because a patient who understands why each test was done is better placed to recognize when something afterward is not going as expected.
When to call your doctor: red-flag signs before and after ERCP
Some symptoms should not wait for a scheduled appointment, whether they appear while you are still having tests or in the days after the procedure.
Before ERCP, seek urgent care if you develop:
- Fever or shaking chills alongside yellowing of the skin or eyes, which can signal cholangitis, an infection in a blocked duct.
- Severe or steadily worsening upper abdominal pain, especially radiating to the back, which can indicate pancreatitis.
- Confusion, drowsiness or a rapid heartbeat with any of the above.
- Vomiting that prevents you from keeping fluids down.
After ERCP, MedlinePlus and the NIH advise contacting the team or seeking emergency care for:
- Abdominal pain that is severe, getting worse or not relieved by the medicines you were given.
- Fever or chills.
- Vomiting, particularly if there is blood in it or it looks like coffee grounds.
- Black, tarry or bloody stools.
- A swollen, hard or very tender abdomen.
- Difficulty swallowing, chest pain or shortness of breath, which can suggest a perforation.
- Yellowing that returns or deepens, or pale stools and dark urine recurring, which may mean the duct has blocked again or a stent has shifted.
Mild bloating and a scratchy throat on the day of the procedure are expected and usually settle within a day or two. Pain that keeps you awake, a temperature, or any bleeding is not expected and warrants a call, even at night. Many endoscopy units provide a direct number for exactly this reason; keep it somewhere you can find it.
If in doubt, err on the side of calling. The team would far rather hear from someone whose symptoms turn out to be trapped gas than miss early pancreatitis or infection, both of which are easier to manage when caught quickly. Every decision about what happens next, including whether further tests or a repeat procedure are needed, rests with the treating clinicians.
Frequently asked questions
What blood tests are done before ERCP?
A liver panel (bilirubin, alkaline phosphatase, GGT, ALT, AST and albumin), a pancreas enzyme such as lipase, a clotting screen with INR, a full blood count including platelets, kidney function, and a pregnancy test where relevant. People with diabetes or heart disease may also have glucose and an ECG. These results are usually repeated close to the procedure date because liver tests and clotting can shift within days.
Is MRCP always needed before ERCP?
No. MRCP is typically used when ultrasound has not shown a bile duct stone but suspicion remains, or when the team wants a map before intervening. Someone with an obvious stone on ultrasound and matching blood tests, or with cholangitis needing urgent drainage, may go straight to ERCP. The decision depends on how clear the picture already is.
How do I prepare for ERCP?
Follow the fasting instructions from your unit, commonly in the range of several hours without food or drink, bring a complete medication and allergy list, arrange someone to take you home, and attend any pre-procedure blood tests. Decisions about blood thinners or diabetes medicines are made by the prescribing clinician together with the endoscopy team, never on your own.
Is ERCP a scan or a surgery?
Neither, strictly. ERCP is an endoscopic procedure: a flexible camera tube is passed through the mouth under sedation, and X-ray imaging guides work inside the bile or pancreatic ducts. It involves no skin incision, but it is more than a scan because tools are used to remove stones, place stents or take samples. The scans are the tests done beforehand.
Can an ERCP be cancelled if my tests improve?
Yes, and this happens fairly often. If liver enzymes fall and repeat imaging shows a clear duct, the stone has probably passed on its own and there is nothing for the scope to treat. Avoiding an unnecessary ERCP removes the risk of post-procedure pancreatitis. Your team will explain what, if anything, is planned next for the gallbladder.
Why is lipase checked before ERCP?
Lipase shows whether the pancreas is already inflamed. That changes timing, because ERCP can worsen pancreatitis, and it provides a baseline so that a rise after the procedure can be recognized as a new complication rather than a pre-existing problem. Lipase is preferred over amylase because it stays elevated longer and is more specific to the pancreas.
What does a dilated bile duct on ultrasound mean?
It means the duct is wider than expected, which usually signals that bile is backing up behind a blockage such as a stone, a narrowing or, less often, a mass. Ultrasound frequently cannot see the cause itself, so a dilated duct typically leads to MRCP or endoscopic ultrasound before any decision about ERCP is made.
Do I need to stop blood thinners before ERCP?
That is a decision for the clinician who prescribes the medicine, made in discussion with the endoscopy unit. It depends on why you take it, the type of medicine, your clotting results and whether a sphincterotomy is planned. Stopping a blood thinner without guidance can be dangerous, so raise the question early and follow the specific plan you are given.
How long after ERCP will my liver tests return to normal?
Bilirubin and alkaline phosphatase usually start falling within days once bile flows again, but full normalization can take longer because the liver clears the backlog gradually. Teams often recheck a panel within the first week and again a few weeks later. Numbers that stall or rise may prompt repeat imaging to look for a residual stone or a stent problem.
Can ERCP be done during pregnancy?
It can, when the need is genuine, such as a blocked and infected duct. The pregnancy test in the pre-procedure blood work exists so the team can minimize X-ray exposure with shielding and shorter fluoroscopy time, and involve obstetric colleagues in the plan. Non-urgent cases are usually assessed with MRCP first, which uses no radiation.
References
- NIH NIDDK: Endoscopic Retrograde Cholangiopancreatography (ERCP)
- MedlinePlus: ERCP
- MedlinePlus: Liver Function Tests
- MedlinePlus: Lipase Tests
This article is for general information only and is not a substitute for professional medical advice. Please consult a qualified doctor about your individual situation.
Add us as a Preferred Source to see more of our trusted health content across Google Search, AI Overviews and Discover.
More from the Blog
Sore Throat After Vomiting: Why Stomach Acid Irritates It, What Helps and When It Needs Attention
A sore throat after vomiting is usually caused by stomach acid passing over the delicate lining of the esophagus and throat, plus the physical…
Blood Work, Stool Markers, Scans and Endoscopy: How Crohn’s Disease Is Confirmed
Crohn's disease is confirmed by combining several tests rather than one. Blood work looks for anemia and inflammation markers, a stool test for fecal…
What Does Bile Do? Where It Is Made, How It Digests Fat and What Blocks Its Flow
Bile is a yellow-green digestive fluid made continuously by the liver, stored and concentrated in the gallbladder, and released into the small intestine after…
Finding the Source of Gastrointestinal Bleeding: Endoscopy, Colonoscopy and Capsule Scans
Doctors find the source of gastrointestinal bleeding by matching the test to the most likely location. Upper endoscopy examines the esophagus, stomach and first…
Does Every Barrett’s Esophagus Diagnosis Need Treatment? How Dysplasia Changes the Answer
Not every Barrett's esophagus diagnosis needs active treatment. When biopsies show no dysplasia, most guidelines recommend acid control, lifestyle measures and surveillance endoscopy every…
Supplements and New Prescriptions With Autoimmune Hepatitis: Why Your Liver Team Checks First
People with autoimmune hepatitis are usually asked to check with their liver team before starting any supplement, herbal product, or new prescription. The liver…






