Accumulating evidence connects diverse components of body composition (e.g., fat, muscle, and bone) to neurodegenerative disease risk, yet their interplay remains underexplored. This study examines the associations between patterns of body composition and the risk of neurodegenerative diseases, exploring the mediating role of cardiovascular diseases (CVDs). This retrospective analysis used data from the UK Biobank, a prospective community-based cohort study. We included participants free of neurodegenerative diseases and with requisite body composition measurements at recruitment, who were followed from 5 years after recruitment until April 1, 2023, to identify incident neurodegenerative diseases. We assessed the associations between different components and major patterns of body composition (identified by principal component analysis) with the risk of neurodegenerative diseases, using multivariable Cox models. Analyses were stratified by disease susceptibility, indexed by polygenetic risk scores for Alzheimer and Parkinson diseases, APOE genotype, and family history of neurodegenerative diseases. Furthermore, we performed mediation analysis to estimate the contribution of CVDs to these associations. In addition, in a subcohort of 40,790 participants, we examined the relationship between body composition patterns and brain aging biomarkers (i.e., brain atrophy and cerebral small vessel disease). Among 412,691 participants (mean age 56.0 years, 55.1% female), 8,224 new cases of neurodegenerative diseases were identified over an average follow-up of 9.1 years. Patterns identified as "fat-to-lean mass," "muscle strength," "bone density," and "leg-dominant fat distribution" were associated with a lower rate of neurodegenerative diseases (hazard ratio [HR] = 0.74-0.94) while "central obesity" and "arm-dominant fat distribution" patterns were associated with a higher rate (HR = 1.13-1.18). Stratification analysis yielded comparable risk estimates across different susceptibility groups. Notably, 10.7%-35.3% of the observed associations were mediated by CVDs, particularly cerebrovascular diseases. The subcohort analysis of brain aging biomarkers corroborated the findings for "central obesity," "muscle strength," and "arm-dominant fat distribution" patterns. Our analyses demonstrated robust associations of body composition patterns featured by "central obesity," "muscle strength," and "arm-dominant fat distribution" with both neurodegenerative diseases and brain aging, which were partially mediated by CVDs. These findings underscore the potential of improving body composition and early CVD management in mitigating risk of neurodegenerative diseases.