BACKGROUND: Stroke is a significant health threat, and its complex interplay with fractures warrants further investigation. Depression, a critical psychological mediator in various health conditions, may also play a role. This study aims to clarify the intricate relationships among stroke, depressive symptoms, and fracture risk, potentially informing more holistic clinical strategies. METHODS: Utilizing the most recent data from the National Health and Nutrition Examination Survey (NHANES, 2017 to 2020), this study encompassed 4,979 valid samples. RESULTS: In this study, we conducted subgroup and regression analyses to investigate factors influencing fractures in stroke patients using NHANES data. Subgroup analysis revealed significant associations with gender, race, osteoporosis, and depression. Female stroke patients had a higher fracture rate (73.86% vs. 47.78%, CONCLUSION: Depressive symptoms serve as a critical mediator in the link between stroke and fracture risk. Consequently, our study concludes that holistic prevention strategies for fractures in stroke patients must incorporate a focus on mental health to effectively address this complex clinical challenge.