To identify laboratory diagnostic indicators of hepatic encephalopathy (HE), the present study established a HE diagnostic model to explore the diagnostic value of serum homocysteine, lactic acid, procalcitonin, and bile acid levels in HE identification. 371 patients with liver cirrhosis were selected as research objects, who were admitted to the Department of Hepatic Diseases, Affiliated Hospital of Northwest Minzu University from August 2019 to August 2020. The Spearman correlation results indicated that between lactic acid, procalcitonin, bile acid, serum homocysteine, and HE, the coefficients were -0.15, 0.41, 0.29, and -0.19, respectively. Univariate and multivariate analysis methods were adopted for inpatient analysis to identify the influencing factors of HE occurrence, and the diagnosis of the HE identification model was subsequently constructed. The univariate logistic regression showed that risk of developing HE increased as bile acid level (
P
=
0.00434
) and serum homocysteine (
P
=
0.058
) increased. Multivariate logistic regression diagnostic model of bile acid level and serum homocysteine revealed that the AUC value of the area under the ROC curve was 0.7201, indicating that the diagnostic model produced a satisfactory evaluation effect. The model formula referred logistic
P
=
−
2.4544
+
0.0117
bile
acid
levels
+
0.0198
serum
homocysteine
. In this study, the HE diagnostic model was established using logistic regression analysis, which could benefit patients in early HE differential diagnosis. Particularly, combined detection of serum homocysteine and bile acid levels was considered to be more significant.