Mediation analysis showed that TNFα had an indirect effect of 12.4% on the link of MDD with sleep disturbance in adolescents. This evidence concerns the gene TNF and major depressive disorder.