In conclusion, our study verified that apoptosis is closely related to the development of insomnia, and BCL2, SOCS3, and IL7R have the potential to be therapeutic targets for insomnia. The gene discussed is BCL2; the disease is insomnia measurement.