A total of 7 independent risk factors affecting the sleep quality of RIF patients were obtained in this study, namely FSH, E2, depression, daily exercise time, sun exposure, caffeine intake, and shift work. This evidence concerns the gene BRD2 and depressive symptom measurement.