José Ángel Hernández Mariano
, Ana Cristina Castañeda Márquez
, Gledy Manuela Olmos Rivera, Rocío Castillo Díaz
, Fani Villa Rivas, Edith Araceli Cano Estrada
, Yaneth Citlalli Orbe Orihuela, Miguel Trujillo Martínez
, Mónica A. Cureño Díaz
Background: Social media addiction is a growing concern among undergraduates, with nursing students particularly vulnerable as their stressful academic and clinical context may promote excessive use, impaired sleep, and higher depression risk. Therefore, we aimed to evaluate whether sleep disturbance mediates the association between problematic social media use and symptoms of depression among nursing students in Mexico. Methods: We conducted a multicenter, cross-sectional, analytical study using a random sample of 638 nursing students from three Mexican public universities. Between August and December 2024, participants completed validated scales for social media addiction, sleep quality, and depression. Counterfactual causal mediation analysis was performed using logistic regression with robust errors. Results: Sleep disturbance affected 51.7% of students, and 27.5% reported depression. Social media addiction showed a dose–response association with both outcomes. Mediation analysis revealed a total effect on depression (OR = 2.19; 95% CI = 1.45–3.30) and an indirect effect via sleep disturbance (OR = 1.22; 95% CI = 1.01–1.38), explaining 31.4% of the effect. Conclusions: Sleep disturbance partially mediates this association. Interventions addressing digital behavior and sleep hygiene may improve mental health in nursing students.