Cholangiocytes are primarily located within the intrahepatic and extrahepatic bile ducts. Intrahepatic cholangiocytes line the bile ducts inside the liver, while extrahepatic cholangiocytes line the ducts outside the liver, connecting to the gallbladder and small intestine.