Frailty is a major health issue associated with aging. Diet affects frailty status; however, studies on the associations between the low-carbohydrate diet (LCD) score, low-fat diet (LFD) score and frailty in older Chinese adults are scarce. This study aimed to examine the associations between the LCD score, LFD score and risk of frailty in older Chinese adults. We analyzed data from 6414 participants aged ≥ 60 years from the China Northwest Natural Population Cohort: Ningxia Project. Frailty was measured using the frailty index (FI), calculated from 28 items comprising diseases, behavioral disorders and blood biochemistry and classified as robust, pre-frail and frail. LCD and LFD scores were calculated using a validated food frequency questionnaire (FFQ). Multiple logistic regression models were used to evaluate associations between LCD, LFD scores and frail or pre-frail status after adjusting for confounders. Participants’ mean age was 66.60 ± 4.15 years, and 47.8% were male. After adjusting for age, sex, educational level, drinking, smoking, BMI, physical activity and total energy, compared to the lowest quartile (Q1: reference), the odds ratios (ORs) for pre-frail and frail status in the highest quartile (Q4) of LCD score were 0.73 (95% confidence intervals: 0.61–0.88; p for trend = 0.017) and 0.73 (95%CI: 0.55–0.95; p for trend = 0.035), respectively. No significant associations were observed between LFD score and either pre-frail or frail status. Our data support that lower-carbohydrate diets were associated with lower pre-frail or frail status, particularly in females, while diets lower in fat were not significantly associated with the risk of either pre-frail or frail status in older Chinese adults. Further intervention studies are needed to confirm these results.