In our study, some IL1B variants were significantly associated with the preoperative level of depression. Here, IL1B is linked to depressive symptom measurement.