Obstructive jaundice may be due to a number of causes, all of which narrow or block the bile ducts in some way: Gallstones Pancreatic cancer, when it occurs near the tube connecting the pancreas to the intestines Swelling of lymph glands near the bile duct Pancreatic cysts Other pancreatic duct obstructions such as scarring