Liver function has been suggested as a possible factor in the progression of Alzheimer's disease (AD) development. However, the association between liver function and cerebrospinal fluid (CSF) levels of AD biomarkers remains unclear. In this study, we analyzed the data from 1687 adults without dementia from the Chinese Alzheimer's Biomarker and LifestylE study to investigate differences in liver function between pathological and clinical AD groups, as defined by the 2018 National Institute on Aging‐Alzheimer's Association Research Framework. We also examined the linear relationship between liver function, CSF AD biomarkers, and cognition using linear regression models. Furthermore, mediation analyses were applied to explore the potential mediation effects of AD pathological biomarkers on cognition. Our findings indicated that, with AD pathological and clinical progression, the concentrations of total protein (TP), globulin (GLO), and aspartate aminotransferase/alanine transaminase (ALT) increased, while albumin/globulin (A/G), adenosine deaminase, alpha‐L‐fucosidase, albumin, prealbumin, ALT, and glutamate dehydrogenase (GLDH) concentrations decreased. Furthermore, we also identified significant relationships between TP (β = −0.115, pFDR < 0.001), GLO (β = −0.184, pFDR < 0.001), and A/G (β = 0.182, pFDR < 0.001) and CSF β‐amyloid1–42 (Aβ1–42) (and its related CSF AD biomarkers). Moreover, after 10 000 bootstrapped iterations, we identified a potential mechanism by which TP and GLDH may affect cognition by mediating CSF AD biomarkers, with mediation effect sizes ranging from 3.91% to 16.44%. Overall, our results suggested that abnormal liver function might be involved in the clinical and pathological progression of AD. Amyloid and tau pathologies also might partially mediate the relationship between liver function and cognition. Future research is needed to fully understand the underlying mechanisms and causality to develop an approach to AD prevention and treatment approach.