Abstract
The significant mental health concerns have been highlighted by the rising incidence of social media addiction among university students. This research examined the relationship between social media addiction (SMA) and both depression and anxiety, while exploring the mediating effect of the family environment (FE) among Saudi university students. A cross-sectional survey was conducted between January and February 2025 among 627 students from four Saudi public universities (376 men and 251 women). Using SPSS 25.0 and AMOS 25.0, descriptive, correlational, and mediation analyses were conducted. Significant positive relationships were seen between SMA and anxiety (r = 0.41, p < 0.001) and depression (r = 0.37, p < 0.001). Additionally, there was a strong correlation between the family environment and anxiety (r = 0.42, p < 0.001) and depression (r = 0.31, p < 0.001). The indirect effects were statistically significant (bootstrapped 95% CI not containing zero), and mediation analysis showed that FE fully mediated the connections between SMA and both anxiety and depression. These results highlight the need for early treatments that address students’ social media-related discomfort while creating a nurturing home setting to mitigate the psychological effects of excessive social media use.
Similar content being viewed by others
Data availability
The datasets produced and/or analyzed in this study are not publicly accessible; however, they can be obtained from the corresponding author upon request.
References
Alshwiah, A. & Alaulamie, L. Social media usage and its association with students’ performance and attitude in Saudi Arabia. J. Appl. Res. High Educ. 15(2), 355–368 (2023).
Homaid, A. A. Problematic social media use and associated consequences on academic performance decrement during Covid-19. Addict. Behav. 132, 107370 (2022).
Cunningham, S., Hudson, C. C. & Harkness, K. Social media and depression symptoms: A meta-analysis. Res. Child Adolesc. Psychopathol. 49(2), 241–253 (2021).
Aalbers, G., McNally, R. J., Heeren, A., De Wit, S. & Fried, E. I. Social media and depression symptoms: A network perspective. J. Exp. Psychol. Gen. 148(8), 1454 (2019).
Kawabe, K., Horiuchi, F., Oka, Y. & Ueno, S. Association between sleep habits and problems and Internet addiction in adolescents. Psychiatry Invest. 16(8), 581 (2019).
Xin, M. et al. Online activities, prevalence of Internet addiction and risk factors related to family and school among adolescents in China. Addict. Behav. Rep. 7, 14–18 (2018).
Bener, A. et al. Internet addiction, fatigue, and sleep problems among adolescent students: A large-scale study. Int. J. Mental Health Addict. 17 (4), 959–969 (2019).
Mazzella, A., Curry, M., Belter, L., Cruz, R. & Jarecki, J. I have SMA, SMA doesn’t have me: A qualitative snapshot into the challenges, successes, and quality of life of adolescents and young adults with SMA. Orphanet J. Rare Dis. 16(1), 96 (2021).
Reed, G. M. et al. Emerging experience with selected new categories in the ICD-11: Complex PTSD, prolonged grief disorder, gaming disorder, and compulsive sexual behaviour disorder. World Psychiatry 21(2), 189–213 (2022).
Musetti, A. et al. Challenges in internet addiction disorder: Is a diagnosis feasible or not?. Front. Psychol. 7, 842 (2016).
Chung, S., Lee, J. & Lee, H. K. Personal factors, internet characteristics, and environmental factors contributing to adolescent internet addiction: A public health perspective. Int. J. Environ. Res. Public Health 16(23), 4635 (2019).
Obeid, S. et al. Internet addiction among Lebanese adolescents: the role of self-esteem, anger, depression, anxiety, social anxiety and fear, impulsivity, and aggression—a cross-sectional study. J. Nerv. Ment. Dis. 207 (10), 838–846 (2019).
Pan, P.-Y. & Yeh, C.-B. Internet addiction among adolescents may predict self-harm/suicidal behavior: A prospective study. J. Pediatr. 197, 262–267 (2018).
Olivier, E. et al. Profiles of anxious and depressive symptoms among adolescent boys and girls: Associations with coping strategies. J. Youth Adolesc. 51(3), 570–584 (2022).
Gao, M. et al. Internet addiction among teenagers in a Chinese population: Prevalence, risk factors, and its relationship with obsessive-compulsive symptoms. J. Psychiatr. Res. 153, 134–140 (2022).
Feng, Y., Ma, Y. & Zhong, Q. The relationship between adolescents’ stress and internet addiction: A mediated-moderation model. Front. Psychol. 10, 2248 (2019).
Henrich, J., Heine, S. J. & Norenzayan, A. Most people are not WEIRD. Nature 466 (7302), 29–29 (2010).
Jun, S. & Choi, E. Academic stress and Internet addiction from general strain theory framework. Comput. Hum. Behav. 49, 282–287 (2015).
Sokołowska, B. Being in virtual reality and its influence on brain health—An overview of benefits, limitations and prospects. Brain Sci. 14(1), 72 (2024).
Fumero, A., Marrero, R. J., Voltes, D. & Peñate, W. Personal and social factors involved in internet addiction among adolescents: A meta-analysis. Comput. Hum. Behav. 86, 387–400 (2018).
Lin, L. Y. et al. Association between social media use and depression among US young adults. Depress. Anxiety. 33(4), 323–331 (2016).
O’Day, E. B. & Heimberg, R. G. Social media use, social anxiety, and loneliness: A systematic review. Comput. Hum. Behav. Rep. 3, 100070 (2021).
Griffiths, M. D., Kuss, D. J. & Demetrovics, Z. Social networking addiction: An overview of preliminary findings. Behavioral addictions :119–141. (2014).
Primack, B. A. et al. Social media use and perceived social isolation among young adults in the US. Am. J. Prev. Med. 53(1), 1–8 (2017).
Festinger, L. A theory of social comparison processes. Hum. Relat. 7 (2), 117–140 (1954).
Liu, M. et al. Time spent on social media and risk of depression in adolescents: A dose–response meta-analysis. Int. J. Environ. Res. Public Health 19(9), 5164 (2022).
Augner, C., Vlasak, T., Aichhorn, W. & Barth, A. The association between problematic smartphone use and symptoms of anxiety and depression—A meta-analysis. J. Public Health 45(1), 193–201 (2023).
Jahagirdar, V. et al. Assessment of the impact of social media addiction on psychosocial behaviour like depression, stress, and anxiety in working professionals. BMC Psychol. 12 (1), 352 (2024).
Liu, T., Shi, H., Chen, C. & Fu, R. A study on the influence of social media use on psychological anxiety among young women. Int. J. Ment. Health Promot. https://doi.org/10.32604/ijmhp.2024.046303 (2024).
Elhai, J. D., Yang, H. & Montag, C. Cognitive-and emotion-related dysfunctional coping processes: Transdiagnostic mechanisms explaining depression and anxiety’s relations with problematic smartphone use. Curr. Addict. Rep. 6(4), 410–417 (2019).
Wang, J., Wang, N., Liu, Y. & Zhou, Z. Experiential avoidance, depression, and difficulty identifying emotions in social network site addiction among Chinese university students: a moderated mediation model. Behaviour & Inform. Technology :1–14. (2025).
Lopes, L. S. et al. Problematic social media use and its relationship with depression or anxiety: A systematic review. Cyberpsychol. Behav. Soc. Netw. 25(11), 691–702 (2022).
Oyinbo, A. G. et al. Prolonged social media use and its association with perceived stress in female college students. Am. J. Health Educ. 55(3), 189–198 (2024).
Huang, X. et al. A cross-sectional study: family communication, anxiety, and depression in adolescents: the mediating role of family violence and problematic internet use. BMC public. health. 23 (1), 1747 (2023).
Qi, Y. et al. The relationship between family functioning and social media addiction among university students: A moderated mediation model of depressive symptoms and peer support. BMC Psychol. 12(1), 341 (2024).
Jameel, A. et al. The effects of social support and parental autonomy support on the mental well-being of university students: The mediating role of a parent–child relationship. Hum. Soc. Sci. Commun. 11(1), 1–8 (2024).
Zhen, L., Nan, Y. & Pham, B. College students coping with COVID-19: Stress-buffering effects of self-disclosure on social media and parental support. Commun. Res. Rep. 38(1), 23–31 (2021).
Beyens, I., Keijsers, L. & Coyne, S. M. Social media, parenting, and well-being. Curr. Opin. Psychol. 47, 101350 (2022).
Yang, C. et al. Analyzing the role of family support, coping strategies and social support in improving the mental health of students: Evidence from post COVID-19. Front. Psychol. 13, 1064898 (2022).
Chen, A. & Lemmer, K. Seeking social support on social media: a coping perspective. Internet Res. 35 (2), 664–690 (2025).
Harman, H. H. Modern factor analysis (University of Chicago Press, 1976).
Podsakoff, P. M., MacKenzie, S. B., Lee, J.-Y. & Podsakoff, N. P. Common method biases in behavioral research: A critical review of the literature and recommended remedies. J. Appl. Psychol. 88(5), 879 (2003).
Kock, F., Berbekova, A. & Assaf, A. G. Understanding and managing the threat of common method bias: Detection, prevention and control. Tour. Manag. 86, 104330 (2021).
Andreassen, C. S., Torsheim, T., Brunborg, G. S. & Pallesen, S. Development of a Facebook addiction scale. Psychol. Rep. 110(2), 501–517 (2012).
Bányai, F. et al. Problematic social media use: Results from a large-scale nationally representative adolescent sample. PLoS One. 12(1), e0169839 (2017).
Fok, C. C. T., Allen, J., Henry, D., Team PA. The Brief Family Relationship Scale: A brief measure of the relationship dimension in family functioning. Assessment 21(1), 67–72 (2014).
Aziz, M. et al. Depression, stress, and anxiety versus internet addiction in early and middle adolescent groups: The mediating roles of family and school environments. BMC Psychol. 12(1), 184 (2024).
Lovibond, S. H. Manual for the depression anxiety stress scales (Sydney psychology foundation, 1995).
Shaffer, J. A., DeGeest, D. & Li, A. Tackling the problem of construct proliferation: A guide to assessing the discriminant validity of conceptually related constructs. Organ. Res. Methods 19(1), 80–110 (2016).
Anderson, J. & Gerbing, D. Structural equation modelling in practice: A review and recommended two-step approach. Psychol. Bull. 103(3), 411–423 (1988).
Kline, R. B. Principles and practice of structural equation modeling (Guilford, 2015).
Bagozzi, R. P., Yi, Y. & Phillips, L. W. Assessing construct validity in organizational research. Adm. Sci. Q. https://doi.org/10.2307/2393203 (1991).
Jameel, A., Khan, S., Alonazi, W. B. & Khan, A. A. Exploring the impact of social media sites on compulsive shopping behavior: The mediating role of materialism. Psychol. Res. Behav. Manag. https://doi.org/10.2147/PRBM.S442193 (2024).
Henseler, J., Ringle, C. M. & Sarstedt, M. A new criterion for assessing discriminant validity in variance-based structural equation modeling. J. Acad. Mark. Sci. 43, 115–135 (2015).
Franke, G. & Sarstedt, M. Heuristics versus statistics in discriminant validity testing: A comparison of four procedures. Internet Res. 29(3), 430–447 (2019).
Voorhees, C. M., Brady, M. K., Calantone, R. & Ramirez, E. Discriminant validity testing in marketing: An analysis, causes for concern, and proposed remedies. J. Acad. Mark. Sci. 44, 119–134 (2016).
Hayes, A. F. Introduction to mediation, moderation, and conditional process analysis: A regression-based approach (Guilford, 2017).
Aydin, S. et al. Investigation of the effect of social media addiction on adults with depression 450 (MDPI, 2021).
Tandoc, E. C. Jr. & Goh, Z. H. Is Facebooking really depressing? revisiting the relationships among social media use, envy, and depression. Inf. Commun. Soc. 26(3), 551–567 (2023).
Ohannessian, C. M. & Vannucci, A. Social media use and externalizing behaviors during early adolescence. Youth. Soc. 53(6), 871–893 (2021).
Funding
The authors receive no funding.
Author information
Authors and Affiliations
Contributions
AJ, SM, HX, and WG wrote the first draft of the theoretical background. AJ, NS, SM, HX, and WG contributed to the study’s design; data were collected by NS. NS, HX, SM, and WG conducted the data analysis and wrote the first version of the findings section of the manuscript. NS, HX, and WG supervised the study and contributed to further developing the findings section.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Ethical approval and consent to participate
Ethical Approval for this study was obtained from the Research Ethics Committee of the Deanship of Scientific Research, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia (Approval No.: SB2024019; Date of Approval: 12 December 2024).
Consent for publication
All authors have read and approved the final version of the manuscript and hereby consent to its publication.
All procedures complied with institutional and international ethical standards. Written informed consent was obtained from all participants prior to data collection, and participants were assured of confidentiality and anonymity.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Jameel, A., Xu, H., Guo, W. et al. The effects of social media addiction on depression and anxiety among university students: The mediating role of family environment. Sci Rep (2026). https://doi.org/10.1038/s41598-026-45666-z
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-45666-z


