Multivariable logistic regression models were applied to examine associations between alanine aminotransferase (ALT)/aspartate aminotransferase (AST) ratio, blood urea nitrogen (BUN), BUN/creatinine (Cr) ratio and depression risk, with restricted cubic spline models assessing dose–response relationships. This evidence concerns the gene GPT and depressive disorder.