Ultrasound
This test is often the first one done. It uses high-energy sound waves to look for problems in the bile ducts. This is done with a wand-like instrument that's pressed on the skin over your belly. Sound waves are sent out from the wand. They bounce off your insides and send back signals. A computer uses the signals to make images of the inside of your body. This test is very good at showing growths inside the body and learning more about them. For instance, it can show if a mass is a fluid-filled sac (cyst), which means it's probably not cancer. If it's a solid tumor, it's more likely to be cancer. Ultrasound can show enlarged bile ducts and some tumors.
Endoscopic or laparoscopic ultrasound
Your doctor may do an endoscopic ultrasound. This test uses a thin, lighted tube called an endoscope. It has a small ultrasound device on the end that sends out the sound waves. The endoscope can be put in through your mouth and into your stomach and into your small intestine near the bile ducts.
A laparoscopic ultrasound requires surgery to make a small cut in your side. A long, thin tool called a laparoscope is used to look inside your belly (abdomen). An ultrasound device on the end of the laparoscope is used to make images.
Both procedures allow the doctor to get closer to the bile ducts to use ultrasound. This helps get more detailed images than a regular ultrasound. These methods can also be used to take out tissue for a biopsy or look for swollen lymph nodes.
Magnetic resonance cholangiopancreatography (MRCP)
This test creates detailed pictures of the bile ducts. It's done using the same type of machine used for standard MRI scans. Unlike ERCP (see below), it doesn't use an endoscope or a contrast agent. This test has fewer risks than ERCP, so doctors often use it if the only purpose is to get images of the bile ducts. MRCP can't be used to get biopsy samples or to place stents. Stents are tiny tubes that can be put in the ducts to keep them open.
Endoscopic retrograde cholangiopancreatography (ERCP)
This test is one of the best ways to find bile duct cancer that's close to the pancreas. Medicines are used to put you into a light sleep during this test. The doctor then passes a flexible tube called an endoscope down your throat, through your stomach, and into your small intestine. The scope is used to put contrast in the common bile duct. The contrast shows up on X-rays. It can help show blockages or narrowing of the ducts.
The scope can also be used to open a blocked bile duct or take out tissue for a biopsy. For a biopsy, the doctor puts a small brush with a long, flexible handle through the endoscope. The brush is then used to scrape cells and small bits of tissue. During an ERCP, the doctor may also put in small tubes called stents to reopen a duct that's blocked by cancer.
Percutaneous transhepatic cholangiography (PTC)
The doctor may do PTC if the blockage can't be reached during ERCP. It's a more invasive procedure, but PTC gives a better picture of the bile ducts. It's also very useful if the bile duct cancer is close to or inside the liver. It can show exactly where the tumor is and how big it is. It can also help your doctor see if the tumor can be removed by surgery. Medicines are used to make you sleep and not feel pain during PTC.
To do this test, a needle is put through your skin and into your liver so contrast can be injected into your bile duct system. The contrast can be seen on X-rays, which can show any changes or blockages in your bile ducts. During PTC, your doctor can also take a biopsy or put in a thin tube to bypass the bile blockage and allow the bile to flow into a bag outside of your body. This is called percutaneous transhepatic bile drainage (PTBD).