The results showed that age [OR = 1.145, 95% CI (1.098–1.203), P < 0.001], operation time [OR = 1.020, 95% CI (1.010–1.030), P < 0.001], blood transfusion [OR = 2.941, 95% CI (1.245–7.211), P = 0.015], and internal fixation [OR = 8.022, 95% CI (2.710–25.615), P < 0.001], postoperative NLR [OR = 1.870, 95% CI (1.531–2.324), <0.001], and postoperative CRP/ALB ratio [OR = 2.178, 95% CI (1.673–2.943), P < 0.001] were spinal independent risk factor for developing infection after surgery. The gene discussed is CRP; the disease is infection.