TNF-α (OR=1.007, P=0.025), IL-17 (OR=1.008, P=0.007), unemployed before surgery (OR=4.099, P=0.046), hypertension (OR=5.283, P=0.007), and CKD (OR=3.224, P=0.026) were associated with high risk of anxiety. Here, IL17A is linked to chronic kidney disease.