To evaluate the utility of measuring epigenetic alterations in pancreatic and biliary fluids in determining molecular markers for pancreatobiliary cancers. DNA was extracted from undiluted pancreatic and biliary fluids. As a surrogate for a genome-wide hypomethylation assay, levels of long interspersed nuclear element-1 (LINE-1) methylation were analyzed using bisulfite pyrosequencing. CpG island hypermethylation of 10 tumor-associated genes, aryl-hydrocarbon receptor repressor, adenomatous polyposis coli, calcium channel, voltage dependent, T type α1G subunit, insulin-like growth factor 2, O-6-methyl-guanine-DNA methyltransferase, neurogenin 1, CDKN2A, runt-related transcription factor 3 (RUNX3), secreted frizzled-related protein 1, and ubiquitin carboxyl-terminal esterase L1 (UCHL1), was analyzed using MethyLight. To examine the role of CpG methylation and histone deacetylation in the silencing of UCHL1, human gallbladder carcinoma cell lines and pancreatic carcinoma cell lines were treated with 2 or 5 μmol/L 5-AZA-dC for 72 h or 100 nmol/L Trichostatin A for 24 h. After the treatment, UCHL1 expression was analyzed by real-time reverse transcription-polymerase chain reaction. Pancreatobiliary cancers exhibited significantly lower LINE-1 methylation levels in pancreatic and biliary fluids than did noncancerous pancreatobiliary disease (58.7% ± 4.3% vs 61.7% ± 2.2%, P = 0.027; 53.8% ± 6.6% vs 57.5% ± 1.7%, P = 0.007); however, LINE-1 hypomethylation was more evident in pancreatic cancer tissues than in pancreatic fluids (45.4% ± 5.5% vs 58.7% ± 4.3%, P < 0.001). CpG island hypermethylation of tumor-associated genes was detected at various frequencies, but it was not correlated with LINE-1 hypomethylation. Hypermethylation of the UCHL1 gene was cancer-specific and most frequently detected in pancreatic (67%) or biliary (70%) fluids from patients with pancreatobiliary cancer. As a single marker, hypermethylation of the UCHL1 gene in pancreatic and biliary fluids was most useful for the detection of pancreatic and pancreatobiliary cancers, respectively (100% specificity). Hypermethylation of the UCHL1 and RUNX3 genes in pancreatic and biliary fluids was the most useful combined marker for pancreatic (87% sensitivity and 100% specificity) and pancreatobiliary (97% sensitivity and 100% specificity) cancers. Treatment with a demethylating agent, 5-AZA-2'-deoxycytidine, restored UCHL1 expression in pancreatobiliary cancer cell lines. Our results suggest that hypermethylation of UCHL1 and RUNX3 in pancreatobiliary fluid might be useful for the diagnosis of pancreatobiliary cancers.