Our study showed that HLA‐DRB1*03:01 allele (odds ratio [OR], 4.253; 95% confidence interval [CI], 1.695–10.671; p = .001) was a risk indicator associated with depressive symptoms in patients with PBC. Here, HLA-DRB1 is linked to primary biliary cholangitis.