The epigenome, the set of modifications to DNA and associated molecules that control gene expression, cellular identity, and function, plays a major role in mediating cellular responses to outside factors. Thus, evaluation of the epigenetic state can provide insights into cellular adaptions occurring over the course of disease. We performed epigenome-wide association studies of primary sclerosing cholangitis (PSC) and primary biliary cholangitis (PBC) using the Illumina MethylationEPIC Bead Chip. We found evidence of increased epigenetic age acceleration and differences in predicted immune cell composition in patients with PSC and PBC. Epigenetic profiles demonstrated differences in predicted protein levels including increased levels of tumor necrosis factor receptor superfamily member 1B in patients with cirrhotic compared to noncirrhotic PSC and PBC. Epigenome-wide association studies of PSC discovered strongly associated 5'-C-phosphate-G-3' sites in genes including vacuole membrane protein 1 and SOCS3, and epigenome-wide association studies of PBC found strong 5'-C-phosphate-G-3' associations in genes including NOD-like receptor family CARD domain containing 5, human leukocyte antigen-E, and PSMB8. Analyses identified disease-associated canonical pathways and upstream regulators involved with immune signaling and activation of macrophages and T-cells. A comparison of PSC and PBC data found relatively little overlap at the 5'-C-phosphate-G-3' and gene levels with slightly more overlap at the level of pathways and upstream regulators. This study provides insights into methylation profiles of patients that support current concepts of disease mechanisms and provide novel data to inspire future research. Studies to corroborate our findings and expand into other -omics layers will be invaluable to further our understanding of these rare diseases with the goal to improve and individualize prognosis and treatment.