Hepatocyte nuclear factors (HNF) 6 and 4α are master transcriptional regulators of development and maintenance of the liver and pancreaticobiliary tract in mice and humans. However, little is known about the prevalence of HNF6 and HNF4α expression in carcinomas of the hepatobiliary tract and pancreas. We aimed to reveal the diagnostic utility of HNF6 and HNF4α immunolabelling in adenocarcinomas of these organs. We investigated HNF6 and HNF4α expression by immunohistochemistry using a total of 480 adenocarcinomas of the digestive system, including 282 of the hepatobiliary tract and pancreas and 198 of the gastrointestinal tract. HNF6 expression was primarily restricted to intrahepatic cholangiocarcinomas (CCs) (63%, n=80) and gallbladder adenocarcinomas (43%, n=88), among others. Notably, small duct intrahepatic CCs almost invariably expressed HNF6 (90%, n=42), showing stark contrast to a low prevalence in large duct intrahepatic CCs (10%, n=21; p<0.0001). HNF6 expression was infrequent in extrahepatic CCs (9%, n=55) and pancreatic ductal adenocarcinomas (7%, n=58), and it was rare in adenocarcinomas of the gastrointestinal tract [oesophagus/oesophagogastric junction (EGJ) (2%, n=45), stomach (2%, n=86), duodenum (0%, n=25), and colorectum (0%, n=42)]. In contrast, HNF4α was widely expressed among adenocarcinomas of the digestive system, including intrahepatic CCs (88%), extrahepatic CCs (94%), adenocarcinomas of the gallbladder (98%), pancreas (98%), oesophagus/EGJ (96%), stomach (98%), duodenum (80%), and colorectum (100%). HNF6 was frequently expressed in and almost restricted to intrahepatic CCs of small duct type and gallbladder adenocarcinomas, while HNF4α was expressed throughout adenocarcinomas of the digestive system. HNF6 immunolabelling may be useful in distinguishing small duct intrahepatic CCs from other types of CC as well as metastatic gastrointestinal adenocarcinomas.