Of the 274,194 participants (females, 146,574 [53.45%]; mean age, 57.24), 3,353 new-onset dementia events were documented. Compared to non-frailty, the hazard ratio (HR) for dementia incidence in prefrailty and frailty was 1.396 (P < 0.001) and 2.304 (P < 0.001), respectively. Compared to non-frailty and low PRS, the HR for dementia risk was 3.908 (P < 0.001) for frailty and high PRS. Furthermore, in total participants, slow walking speed (HR, 1.817; P < 0.001), low physical activity (HR, 1.719; P < 0.001), exhaustion (HR, 1.670; P < 0.001), low grip strength (HR, 1.606; P < 0.001), and weight loss (HR, 1.464; P < 0.001) were independently associated with dementia risk compared to non-frailty. Additionally, precise differences among different dementia genetic risk populations were also identified due to differences in dementia risk resulting from the constitutive patterns of frailty.