The melatonin group showed more significant improvements in clinical attachment levels and pocket depth reductions than the control group after 3 and 6 months. Additionally, their salivary TNF-α levels and insomnia scores were lower. Both groups had similar improvements in bleeding on probing. The gene discussed is TNF; the disease is insomnia.