# Loneliness, Anxiety Symptoms, Depressive Symptoms, and Suicidal Ideation in the All of Us Dataset

**Authors:** Katherine Musacchio Schafer, Jacob Franklin, Peter J. Embí, Colin G. Walsh

PMC · DOI: 10.1001/jamanetworkopen.2026.0596 · 2026-03-04

## TL;DR

This study shows that loneliness plays a role in linking anxiety and depression to suicidal thoughts, suggesting that reducing loneliness could help prevent suicidal ideation.

## Contribution

The study identifies loneliness as a mediator between anxiety/depression and suicidal ideation using a large, diverse dataset.

## Key findings

- Anxiety, depressive symptoms, and loneliness were all positively associated with suicidal ideation.
- Loneliness partially mediated the relationship between anxiety symptoms and suicidal ideation.
- Loneliness also partially mediated the relationship between depressive symptoms and suicidal ideation.

## Abstract

Does loneliness mediate the association between anxiety symptoms and suicidal ideation as well as depressive symptoms and suicidal ideation?

In this cross-sectional study of 62 685 individuals, anxiety symptoms, depressive symptoms, and loneliness were positively associated with suicidal ideation. Loneliness mediated the association between anxiety symptoms and suicidal ideation as well as depressive symptoms and suicidal ideation.

This study suggests that anxiety and depressive symptoms on their own are associated with increases in suicidal ideation, yet these associations are partially mediated by loneliness; targeting and reducing loneliness may arrest the progression from depression and anxiety toward suicidal ideation.

Although anxiety symptoms and depressive symptoms are linked with increases in suicidal ideation, they leave much of the variance in suicidal ideation unexplained. Loneliness may mediate the links between anxiety symptoms and suicidal ideation as well as depressive symptoms and suicidal ideation.

To analyze the mediating role of loneliness in the association between anxiety symptoms and suicidal ideation as well as in the association between depressive symptoms and suicidal ideation.

This cross-sectional study used data collected between May 31, 2017, and October 1, 2023, from 62 685 US adults who completed the self-report mental health survey portion of the National Institutes of Health’s All of Us Research Program.

Self-report surveys estimated anxiety symptoms (using the 7-item Generalized Anxiety Disorder scale), depressive symptoms (using the first 8 items of the 9-item Patient Health Questionnaire [PHQ-9]), loneliness (using the UCLA Loneliness Scale), and suicidal ideation (using item 9 of the PHQ-9). Analyses were conducted in August of 2025.

The analytic sample of 62 685 individuals had a mean (SD) age of 61.8 (16.1) years and included 40 749 women (65.0%). Anxiety symptoms (r = 0.33; P < .001), depressive symptoms (r = 0.39; P < .001), and loneliness (r = 0.31; P < .001) correlated with suicidal ideation. When controlling for gender and race and ethnicity, depressive symptoms (B = 0.017 [95% CI, 0.017-0.019]), anxiety symptoms (B = 0.004 [95% CI, 0.004-0.006]), and loneliness (B = 0.007 [95% CI, 0.007-0.008]) accounted for significant variability in suicidal ideation. Loneliness partially mediated the association between anxiety symptoms (average causal mediation effect = 0.01; proportion mediated, 0.25; total association, 0.03; P < .001) and suicidal ideation as well as depressive symptoms (average causal mediation effect = 0.003; proportion mediated, 0.10; total association, 0.02; P < .001) and suicidal ideation, indicating the associations of anxiety and depressive symptoms with suicidal ideation were in part mediated by loneliness.

In this cross-sectional study of 62 685 participants from the All of Us Research Program, loneliness partially mediated the association between anxiety symptoms and suicidal ideation as well as depressive symptoms and suicidal ideation. Targeting and reducing loneliness may present a transdiagnostic approach to arrest the progression from anxiety and depressive symptoms toward suicidal ideation.

This cross-sectional study uses data from the National Institute of Health's All of Us Program to analyze the mediating role of loneliness in the association between anxiety symptoms and suicidal ideation and the association between depressive symptoms and suicidal ideation.

## Linked entities

- **Diseases:** anxiety (MONDO:0005618), depression (MONDO:0002050)

## Full-text entities

- **Diseases:** cognitive deficits (MESH:D003072), dementia (MESH:D003704), eating disorders (MESH:D001068), Depressive Symptoms (MESH:D003866), Mental Health Symptoms (OMIM:603663), Generalized Anxiety Disorder (MESH:C000726808), Anxiety Symptoms (MESH:D001008), Suicidal Ideation (MESH:D001072), Anxiety (MESH:D001007), neuroinflammation (MESH:D000090862), substance use disorders (MESH:D019966)
- **Chemicals:** ketamine (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Figures

3 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12961520/full.md

---
Source: https://tomesphere.com/paper/PMC12961520