Cholangiocarcinoma (CC) is a type of relatively rare neoplasm in adenocarcinoma. The characteristics of CCs as well as biliary epithelial cells are heterogeneous at the different portion of the biliary tree. There are two candidate stem/progenitor cells of the biliary tree, i.e., biliary tree stem/progenitor cell (BTSC) at the peribiliary gland (PBG) of large bile ducts and liver stem/progenitor cell (LPC) at the canals of Hering of peripheral small bile duct. Although previous reports suggest that intrahepatic CC (ICC) can arise from such stem/progenitor cells, the characteristic difference between BTSC and LPC in pathological process needs further investigation, and the etiology of CC remains poorly understood. Here we show that Sterile alpha motif domain containing 5 (SAMD5) is exclusively expressed in PBGs of large bile ducts in normal mice. Using a mouse model of cholestatic liver disease, we demonstrated that SAMD5 expression was upregulated in the large bile duct at the hepatic hilum, the extrahepatic bile duct and PBGs, but not in proliferating intrahepatic ductules, suggesting that SAMD5 is expressed in BTSC but not LPC. Intriguingly, human ICCs and extrahepatic CCs exhibited striking nuclear localization of SAMD5 while the normal hilar large bile duct displayed slight-to-moderate expression in cytoplasm. In vitro experiments using siRNA for SAMD5 revealed that SAMD5 expression was associated with the cell cycle regulation of CC cell lines. Conclusion: SAMD5 is a novel marker for PBG but not LPC in mice. In humans, the expression and location of SAMD5 could become a promising diagnostic marker for the cell type as well as malignancy of bile ducts and CCs.