Skip to main content
Journal of Health, Population, and Nutrition logoLink to Journal of Health, Population, and Nutrition
. 2026 Jan 11;45:51. doi: 10.1186/s41043-025-01220-7

U-shaped and linear associations of ketogenic diet with nocturia and overactive bladder: mediation roles of frailty and platelet-to-HDL-C ratio and the influence of physical activity

Yang Sun 1,2, Min Yin 1,2,✉, Libin Zhou 1,2,✉
PMCID: PMC12879382  PMID: 41521350

Abstract

Background

Ketogenic diet (KD), characterized by low carbohydrate and high fat intake, has become an increasingly popular strategy for weight management and metabolic improvement in recent years. However, its potential influence on lower urinary tract symptoms (LUTS), particularly overactive bladder (OAB) and nocturia, remains unclear. This study aimed to investigate the associations between the ketogenic diet ratio (KDR) and OAB or nocturia, and to explore the mediation roles of the frailty index (FI) and platelet-to-HDL-C ratio (PHR).

Methods

We analyzed data from 22,249 adults in the National Health and Nutrition Examination Survey (NHANES) from 2005 to 2018. KDR was calculated as (0.9 × fat + 0.46 × protein) / (0.1 × fat + 0.58 × protein + carbohydrates). Weighted multivariable logistic regression models were used to assess the associations between KDR and OAB or nocturia. Restricted cubic spline and threshold effect analyses explored nonlinear relationships, while mediation analyses examined the roles of FI and PHR. Subgroup and interaction analyses evaluated the modifying effect of physical activity.

Results

KDR showed distinct associations with LUTS phenotypes. A nonlinear, U-shaped relationship was observed between nocturia and KDR, with an inflection point at approximately 0.342. Below this point, higher KDR was associated with a lower nocturia risk, while above it, the risk increased. In contrast, KDR displayed a linear inverse association with OAB (OR = 0.48, 95% CI = 0.30–0.79, P = 0.004). The KDR–nocturia relationship was significantly modified by physical activity (P for interaction < 0.05): the inverse association was more pronounced in individuals with low physical activity (< 500 MET-min/week), whereas a threshold effect persisted among highly active participants. Mediation analyses further revealed that FI and PHR partially mediated the association between KDR and OAB, with indirect effect proportions of 21.6% and 5.8%, respectively.

Conclusions

KDR was inversely associated with OAB and showed a threshold-dependent, U-shaped relationship with nocturia, with patterns potentially influenced by physical activity. These findings provide a novel metabolic perspective on LUTS management and suggest that variations in ketogenic dietary balance and activity level may be relevant to bladder health. However, given the cross-sectional design, these associations should be interpreted cautiously, and causal relationships cannot be inferred.

Supplementary Information

The online version contains supplementary material available at 10.1186/s41043-025-01220-7.

Keywords: Ketogenic diet ratio, Nocturia, Overactive bladder, Frailty index, platelet-to-HDL-C ratio, NHANES

Introduction

Overactive bladder (OAB) and nocturia are among the most prevalent lower urinary tract symptoms (LUTS), affecting individuals across all age groups [1, 2]. Their prevalence increases markedly with advancing age [3]. However, these symptoms are not limited to older adults; they are increasingly observed in younger populations, possibly driven by modern lifestyle factors such as heightened psychological stress, sedentary behavior, and irregular sleep patterns [4–6]. Clinically, OAB is defined by urinary urgency, typically accompanied by increased frequency and nocturia, with or without urgency urinary incontinence [2]. The worldwide prevalence of OAB is estimated to range from 12% to 17% in men and women, whereas nocturia—defined as waking at least twice per night to void—affects nearly one-third of adults [1, 3]. Both conditions markedly impair quality of life, disrupt sleep, and are associated with increased risks of depression, frailty, and falls in older adults [7–9]. Their management, meanwhile, imposes a significant socioeconomic burden, with annual healthcare expenditures exceeding billions of dollars in the United States alone [10].

Although OAB and nocturia frequently coexist and share overlapping risk factors, they may differ in certain underlying pathophysiological mechanisms [11]. OAB is primarily related to detrusor overactivity and altered afferent signalling [12], whereas nocturia commonly results from nocturnal polyuria, reduced bladder capacity, or impaired circadian regulation of urine production [13]. Both are strongly influenced by systemic metabolic and vascular disturbances, such as obesity, insulin resistance, and chronic inflammation, which may contribute to bladder dysfunction through oxidative stress, endothelial impairment, and autonomic dysregulation [14, 15]. These shared mechanisms have led to growing interest in modifiable lifestyle factors, particularly diet, as potential targets for prevention and management of these conditions.

Accumulating evidence suggests that dietary components can affect bladder function through multiple mechanisms. For instance, high caffeine or alcohol intake has been linked to urinary urgency and frequency [16], whereas excessive consumption of spicy foods or artificial sweeteners may exacerbate LUTS [17]. Conversely, dietary fibre and antioxidant-rich foods may alleviate urinary symptoms by improving metabolic and inflammatory profiles [18]. While such findings highlight the importance of diet, most existing studies have focused on individual nutrients or isolated foods, offering limited insight into the role of overall dietary patterns. Recent investigations of comprehensive dietary models, such as the Mediterranean or plant-based diets, have demonstrated protective effects against metabolic disorders and inflammation, which are key contributors to LUTS pathophysiology [19]. However, the relationship between other emerging dietary patterns and urinary symptoms remains insufficiently characterised.

The ketogenic diet (KD), characterised by high fat and very low carbohydrate intake, has gained global popularity as an effective intervention for weight reduction, glycaemic control, and neurological diseases [20, 21]. Indeed, KD was developed in the 1920s as a therapeutic approach for refractory epilepsy [22]. Over the decades, its use has been extended to other neurological disorders based on its ability to shift metabolism and neural excitability [23]. Ketone metabolism has been shown to enhance mitochondrial function, mitigate oxidative stress, and suppress systemic inflammation [21, 23]. These physiological adaptations may influence bladder function through enhanced endothelial stability, modulation of autonomic and afferent nerve activity, and improved metabolic resilience [24]. Nevertheless, the links between ketogenic dietary patterns and LUTS remain largely controversial, with limited direct evidence from human studies. Excessive or prolonged adherence has been associated with elevated lipid levels, impaired renal function, and increased cardiovascular risk in susceptible individuals [25, 26]. Given these contrasting metabolic responses, it is still unclear how KD patterns influence the risk of OAB or nocturia, underscoring the need for further investigation.

To date, no large-scale population-based studies have comprehensively examined the associations between ketogenic dietary patterns and lower urinary tract symptoms, nor have they explored the potential mechanisms underlying these relationships. To address these gaps, the present study employs a comprehensive analytical framework integrating multivariate logistic regression, RCS for modeling nonlinear effects, and causal mediation analysis. In this context, we conducted a cross-sectional analysis using data from the National Health and Nutrition Examination Survey (NHANES) 2005–2018 to investigate both linear and nonlinear associations of the ketogenic diet ratio (KDR) with OAB and nocturia. Furthermore, we assessed whether the frailty index (FI) and platelet-to-HDL-C ratio (PHR) mediated these associations, and additionally explored the relationship between KDR and nocturia across strata of physical activity level to determine whether physical activity acts as an effect modifier. This study thus aims to advance novel evidence on the metabolic and inflammatory pathways linking dietary composition to urinary symptoms, to provide lifestyle-based insights for LUTS prevention and management, and to inform more refined population-level risk stratification and targeted health guidance.

Methods

Data source and study population

The study population was derived from the National Health and Nutrition Examination Survey (NHANES), an ongoing, nationally representative, cross-sectional program conducted by the U.S. Centers for Disease Control and Prevention (CDC). NHANES employs a multistage, stratified probability design to collect standardized data on diet, health status, physical examinations, and laboratory measurements. For this analysis, data from seven consecutive survey cycles (2005–2018) were combined. Participants were excluded if they were < 20 years old, pregnant, or lacked information on urinary outcomes, key dietary variables, or essential covariates (Fig. 1). The final analytical sample included 22,249 adults.

Fig. 1.

Fig. 1

Flowchart of the sample selection from NHANES 2005–2018

All NHANES protocols were approved by the National Center for Health Statistics (NCHS) Ethics Review Board, and written informed consent was obtained from all participants. Because this study used de-identified, publicly available data, additional institutional review board approval was not required. All analyses incorporated survey weights, strata, and primary sampling units to ensure nationally representative estimates and correct variance calculations.

Variable definitions

Measurement of KDR

To quantify adherence to a ketogenic dietary pattern, KDR was calculated based on macronutrient intake derived from NHANES dietary recall data. Dietary intake information was obtained from two 24-hour dietary recall interviews administered by trained professionals, and the mean nutrient intake across the two recalls was used for analysis. The KDR was computed according to the equation originally proposed by Withrow and subsequently adopted in population-based nutritional studies: KDR = (0.9 × fat + 0.46 × protein) / (0.1 × fat + 0.58 × protein + carbohydrates), where fat, protein, and carbohydrate intake (grams per day) were obtained from the NHANES dietary component. This ratio reflects the relative contribution of ketogenic (fat and part of protein) and anti-ketogenic (carbohydrates and the remaining protein) macronutrients. A higher KDR value indicates greater adherence to a ketogenic dietary pattern and a stronger potential to induce nutritional ketosis [27, 28].

Ascertainment of overactive bladder and nocturia

OAB and nocturia were assessed based on standardized urinary health questionnaires administered through structured, face-to-face interviews in NHANES. OAB was evaluated using the Overactive Bladder Symptom Score (OABSS), derived from three NHANES items: urinary urgency (KIQ044), urge urinary incontinence (KIQ450), and nocturia (KIQ480). Each item was scored according to validated criteria from the International Continence Society, and the total score ranged from 0 to 15. Participants with a total OABSS score ≥ 3 were classified as having OAB, a feasible and validated approach used in prior population-based studies (Supplementary Table S1).

Specifically, urinary urgency was determined by asking, “During the past 12 months, have you had an urge to urinate that was difficult to defer?”, while urge urinary incontinence (UUI) was defined as a positive response to “During the past 12 months, have you leaked or lost control of even a small amount of urine with an urge or pressure to urinate and could not get to the toilet fast enough?”. Nocturia was assessed using the question, “During the past 30 days, how many times per night did you most typically get up to urinate, from the time you went to bed at night until you got up in the morning?”. Participants reporting two or more voids per night were defined as having nocturia.

In this analysis, OAB was treated as the primary urinary outcome, and nocturia was examined as an independent but pathophysiologically related condition.

Measurement of FI

Frailty was evaluated using an FI constructed from NHANES data based on the cumulative deficit model. The FI quantifies biological vulnerability as the proportion of health deficits relative to the total number of potential deficits, ranging from 0 to 1. In this study, a 49-item FI covering seven health domains—cognition, functional limitation, depressive symptoms, comorbidities, healthcare utilization, physical performance, and laboratory indicators—was developed following validated protocols (Supplementary Table S2). Participants with valid data for at least 80% of items (≥ 40 variables) were included. An FI ≥ 0.21 indicated frailty, while values below this threshold denoted non-frailty.

Measurement of PHR

PHR was calculated as platelet count (10⁹/L) divided by serum HDL-C (mmol/L). This ratio serves as a composite marker of systemic inflammation and metabolic imbalance, reflecting the interplay between platelet activation and lipid metabolism. Higher PHR values indicate increased inflammatory and oxidative stress burden, which may contribute to bladder dysfunction.

Assessment of covariates

Covariates were determined based on prior literature, clinical judgment, and potential biological mechanisms that could confound the observed associations. These included sociodemographic, lifestyle, and clinical variables. Sociodemographic variables included age (< 40, 40–60, ≥ 60 years), sex (male or female), and race/ethnicity (non-Hispanic White, non-Hispanic Black, Mexican American/Other Hispanic, and Other, including multiracial). Lifestyle factors included smoking status, alcohol consumption (≤ 12 or > 12 drinks per year), physical activity level (categorized as < 500 or ≥ 500 MET·min/week according to WHO guidelines), and sedentary time (< 7 or ≥ 7 h per day). Educational attainment was categorized as below high school, high school graduate, or above high school. Marital status was grouped as married/living with partner, widowed/divorced/separated, or never married. Socioeconomic status was represented by the family poverty income ratio (PIR; <1.3, 1.3–3.5, or > 3.5).

Clinical covariates included body mass index (BMI; <25, 25–30, > 30 kg/m²), hypertension, dyslipidemia, diabetes mellitus, chronic kidney disease (CKD), and cardiovascular disease (CVD). Hypertension was defined as systolic blood pressure ≥ 140 mmHg, diastolic blood pressure ≥ 90 mmHg, current use of antihypertensive medication, or a self-reported physician diagnosis of hypertension. Diabetes mellitus was defined as an HbA1c level of ≥ 6.5%, a fasting plasma glucose level of ≥ 126 mg/dL, the use of antidiabetic medications, or a self-reported diagnosis. CVD was determined based on self-reported physician diagnoses of coronary heart disease, angina pectoris, myocardial infarction, heart failure, or stroke.

Total energy intake was calculated as the mean value of two 24-hour dietary recalls, and plain water intake (PWI) was also derived from the two-day dietary data. Multicollinearity among all covariates was assessed using generalized variance inflation factors adjusted for degrees of freedom (GVIF^(1/(2*DF))). All adjusted GVIF values were below 2, suggesting minimal collinearity. To minimize potential bias caused by missing information, multiple imputation was performed for covariates with missing rates below 6.5%, assuming data were missing at random. Missing values were imputed using linear and logistic regression models, with final estimates generated through nearest-neighbor matching under the predictive mean matching (PMM) framework.

Statistical analysis

All analyses were performed in accordance with the analytic guidelines of NHANES, accounting for the complex, multistage sampling design by incorporating sampling weights, strata (SDMVSTRA), and primary sampling units (SDMVPSU) to obtain nationally representative estimates. Weighted descriptive statistics were used to summarize participant characteristics. The normality of continuous variables was evaluated using the Shapiro–Wilk test and visual inspection of histograms. Variables with approximately normal distributions were expressed as weighted means and standard errors (SE), while those with skewed distributions were presented as weighted medians and interquartile ranges (IQR). Categorical variables were summarized as weighted counts and percentages. Between-group comparisons were performed using the Student’s t-test or Mann–Whitney U test for continuous variables, and the Rao–Scott chi-square test for categorical variables.

Weighted multivariable logistic regression models were employed to investigate the associations between the KDR and the risk of OAB and nocturia, with results presented as odds ratios (ORs) and 95% confidence intervals (CIs). The regression models incorporated a comprehensive set of covariates selected based on prior research findings and clinical relevance. These included demographic factors (age, sex, race/ethnicity), socioeconomic indicators (education level, marital status, and poverty-to-income ratio), lifestyle behaviors (smoking status, alcohol consumption categorized as < 12 or ≥ 12 drinks per year, physical activity level, and sedentary time defined as < 7 or ≥ 7 h per day), and clinical conditions (BMI, hypertension, diabetes, dyslipidemia, cardiovascular disease, and chronic kidney disease). In addition, mean total energy intake and mean drinking water intake, averaged over two 24-hour dietary recalls, were included as continuous covariates.

The NHANES complex survey design, including sampling weights, was accounted for in all analyses. Restricted cubic spline (RCS) analysis, adjusted for multivariate regression, was applied to flexibly examine the potential nonlinear dose–response relationships between KDR and LUTS, including OAB and nocturia. Threshold (piecewise) regression analyses were further performed to identify potential inflection points, with the optimal threshold determined using a maximum-likelihood recursive algorithm. Likelihood ratio tests were used to compare the goodness of fit between linear and segmented models, verifying the presence of nonlinear effects. To examine the robustness of the associations, subgroup and interaction analyses were performed across major demographic and clinical characteristics, such as age group, sex, education level, physical activity, BMI category, marital status, smoking status, alcohol consumption, hypertension, diabetes, CKD, dyslipidemia, and sedentary time. Statistical interaction was assessed by introducing cross-product terms between KDR and each stratification variable into the regression models. Finally, mediation analyses were conducted to determine whether the FI and PHR mediated the associations between KDR and OAB. All analyses were performed using R software (version 4.4.1) and EmpowerStats. A two-sided P value < 0.05 was considered statistically significant.

Results

Baseline characteristics of study participants

A total of 22,249 participants were included in this study. Among them, 4,404 individuals (19.79%) had OAB, and 6,838 individuals (30.73%) reported nocturia. Participants with OAB or nocturia were generally older and exhibited differences across multiple demographic, lifestyle, and clinical variables (all P < 0.05). Specifically, significant differences were observed in age, energy intake, water consumption, alcohol use, education level, smoking status, physical activity, BMI, race/ethnicity, marital status, poverty-to-income ratio, hypertension, hyperlipidemia, chronic kidney disease, cardiovascular disease, diabetes status, and frailty index (Tables 1 and 2). Notably, sedentary time did not differ significantly between OAB and non-OAB groups (P > 0.05), whereas a significant difference was found between participants with and without nocturia (P < 0.05).

Table 1.

Baseline characteristics of participants with or without overactive bladder

Variable Total (n = 22249) Without OAB (n = 17845) With OAB (n = 4404) P
Age, years 47.46 (0.27) 45.56 (0.27) 57.89 (0.42) < 0.001
Mean energy intake, kcal/day 2110.33 (8.80) 2140.28 (10.01) 1946.54 (18.89) < 0.001
PWI, ml/day 855.00 (340.88, 1566.48) 866.53 (355.20, 1587.00) 762.85 (296.25, 1474.00) < 0.001
KDR 0.37 (0.0017) 0.37 (0.0018) 0.36 (0.0027) 0.002
Age group, n(%) < 0.001
< 40 7425 (35.62) 6849 (39.36) 576 (15.18)
40–60 7455 (38.72) 6139 (39.26) 1316 (35.75)
> 60 7369 (25.66) 4857 (21.38) 2512 (49.06)
Race/ethnicity, n(%) < 0.001
Non-Hispanic White 3346 (7.93) 2701 (8.04) 645 (7.36)
Non-Hispanic Black 10,157 (69.75) 8305 (70.53) 1852 (65.52)
Mexican American / Hispanic 4539 (10.40) 3320 (9.22) 1219 (16.86)
Other Race 4207 (11.91) 3519 (12.21) 688 (10.25)
Gender, n(%) < 0.001
male 11,166 (49.2481) 9327 (51.2722) 1839 (38.1787)
female 11,083 (50.7519) 8518 (48.7278) 2565 (61.8213)
Education level, n(%) < 0.001
Less than high school 5192 (15.06) 3658 (13.16) 1534 (25.42)
High school or equivalent 5083 (22.18) 4043 (21.69) 1040 (24.84)
College or above 11,974 (62.76) 10,144 (65.14) 1830 (49.74)
Smoking status, n(%) < 0.001
No 12,098 (54.33) 9960 (55.54) 2138 (47.68)
Yes 10,151 (45.67) 7885 (44.46) 2266 (52.32)
Alcohol intake, n(%) < 0.001
No 6077 (21.78) 4584 (20.50) 1493 (28.75)
Yes 16,172 (78.22) 13,261 (79.50) 2911 (71.25)
Physical activity, n(%) < 0.001
Low physical activity 8487 (33.52) 6217 (30.98) 2270 (47.42)
High physical activity 13,762 (66.48) 11,628 (69.02) 2134 (52.58)
BMI, n(%) < 0.001
< 25 6321 (29.88) 5435 (31.46) 886 (21.24)
25–30 7375 (33.21) 6082 (33.84) 1293 (29.80)
> 30 8553 (36.91) 6328 (34.70) 2225 (48.96)
Marital status, n(%) < 0.001
Married/Living with partner 13,320 (62.81) 10,980 (63.69) 2340 (57.98)
Widowed/Divorced/Separated 4915 (18.55) 3399 (16.55) 1516 (29.47)
Never married 4014 (18.64) 3466 (19.76) 548 (12.55)
PIR group, n(%) < 0.001
< 1.3 6939 (21.44) 5205 (19.82) 1734 (30.27)
1.3–3.5 8323 (34.71) 6578 (33.82) 1745 (39.62)
> 3.5 6987 (43.85) 6062 (46.36) 925 (30.10)
Hypertension, n(%) < 0.001
No 12,736 (62.12) 11,180 (65.98) 1556 (41.02)
Yes 9513 (37.88) 6665 (34.02) 2848 (58.98)
hyperlipemia, n(%) < 0.001
No 6269 (28.67) 5434 (30.30) 835 (19.75)
Yes 15,980 (71.33) 12,411 (69.70) 3569 (80.25)
CKD, n(%) < 0.001
No 18,380 (86.58) 15,349 (89.02) 3031 (73.26)
Yes 3869 (13.42) 2496 (10.98) 1373 (26.74)
CVD, n(%) < 0.001
No 19,851 (91.49) 16,421 (93.51) 3430 (80.49)
Yes 2398 (8.51) 1424 (6.49) 974 (19.51)
Diabetes mellitus, n(%) < 0.001
No 10,310 (53.03) 9002 (56.27) 1308 (35.34)
prediabetes 7699 (32.56) 6085 (31.84) 1614 (36.48)
diabetes 4240 (14.40) 2758 (11.89) 1482 (28.18)
ST, n(%) 0.887
< 7 13,739 (58.46) 10,996 (58.44) 2743 (58.62)
≥ 7 8510 (41.54) 6849 (41.56) 1661 (41.38)
Frailty status, n(%) < 0.001
No 17,601 (83.38) 15,237 (88.01) 2364 (58.07)
Yes 4648 (16.62) 2608 (11.99) 2040 (41.93)
KDR four, n(%) 0.019
Q1 6234 (25.00) 4911 (24.59) 1323 (27.25)
Q2 5759 (25.00) 4633 (25.07) 1126 (24.59)
Q3 5228 (25.00) 4243 (24.96) 985 (25.20)
Q4 5028 (25.00) 4058 (25.38) 970 (22.96)

KDR, ketogenic diet ratio; OAB, overactive bladder; PHR, platelet-to-HDL-C ratio; FI, Frailty Index; PWI, plain water intake; BMI, body mass index; PIR, poverty-to-income ratio; CKD, chronic kidney disease; CVD, cardiovascular disease; ST, sedentary time

Table 2.

Baseline characteristics of participants with or without nocturia

Variable Total (n = 22249) Without nocturia (n = 15411) With nocturia (n = 6838) P
Age, years 47.46 (0.27) 44.86 (0.29) 55.32 (0.36) < 0.001
Mean energy intake, kcal/day 2110.33 (8.80) 2146.20 (10.87) 2002.17 (15.40) < 0.001
PWI, ml/day 855.00 (340.88, 1566.48) 870.00 (355.50, 1587.00) 780.00 (300.00, 1507.50) < 0.001
KDR 0.37 (0.0017) 0.37 (0.0018) 0.37 (0.0024) 0.019
Age group, n(%) < 0.001
< 40 7425 (35.62) 6232 (41.07) 1193 (19.19)
40–60 7455 (38.72) 5289 (38.87) 2166 (38.26)
> 60 7369 (25.66) 3890 (20.06) 3479 (42.55)
Race/ethnicity, n(%) < 0.001
Non-Hispanic White 3346 (7.93) 2288 (7.92) 1058 (7.98)
Non-Hispanic Black 10,157 (69.75) 7322 (71.08) 2835 (65.74)
Mexican American / Hispanic 4539 (10.40) 2708 (8.59) 1831 (15.87)
Other Race 4207 (11.91) 3093 (12.41) 1114 (10.41)
Gender, n(%) < 0.001
male 11,166 (49.25) 7975 (50.88) 3191 (44.33)
female 11,083 (50.75) 7436 (49.12) 3647 (55.67)
Education level, n(%) < 0.001
Less than high school 5192 (15.06) 2957 (12.51) 2235 (22.75)
High school or equivalent 5083 (22.18) 3397 (21.04) 1686 (25.60)
College or above 11,974 (62.76) 9057 (66.45) 2917 (51.65)
Smoking status, n(%) < 0.001
No 12,098 (54.33) 8709 (56.43) 3389 (47.99)
Yes 10,151 (45.67) 6702 (43.57) 3449 (52.01)
Alcohol intake, n(%) < 0.001
No 6077 (21.78) 3875 (19.89) 2202 (27.47)
Yes 16,172 (78.22) 11,536 (80.11) 4636 (72.53)
Physical activity, n(%) < 0.001
Low physical activity 8487 (33.52) 5272 (30.46) 3215 (42.75)
High physical activity 13,762 (66.48) 10,139 (69.54) 3623 (57.25)
BMI, n(%) < 0.001
< 25 6321 (29.88) 4803 (31.99) 1518 (23.50)
25–30 7375 (33.21) 5251 (33.83) 2124 (31.35)
> 30 8553 (36.91) 5357 (34.17) 3196 (45.15)
Marital status, n(%) < 0.001
Married/Living with partner 13,320 (62.81) 9485 (63.73) 3835 (60.02)
Widowed/Divorced/Separated 4915 (18.55) 2845 (15.97) 2070 (26.32)
Never married 4014 (18.64) 3081 (20.29) 933 (13.66)
PIR group, n(%) < 0.001
< 1.3 6939 (21.44) 4308 (19.08) 2631 (28.55)
1.3–3.5 8323 (34.71) 5682 (33.83) 2641 (37.37)
> 3.5 6987 (43.85) 5421 (47.09) 1566 (34.08)
Hypertension, n(%) < 0.001
No 12,736 (62.12) 9986 (67.78) 2750 (45.05)
Yes 9513 (37.88) 5425 (32.22) 4088 (54.95)
hyperlipemia, n(%) < 0.001
No 6269 (28.67) 4792 (30.69) 1477 (22.55)
Yes 15,980 (71.33) 10,619 (69.31) 5361 (77.45)
CKD, n(%) < 0.001
No 18,380 (86.58) 13,417 (89.81) 4963 (76.85)
Yes 3869 (13.42) 1994 (10.19) 1875 (23.15)
CVD, n(%) < 0.001
No 19,851 (91.49) 14,268 (93.98) 5583 (84.01)
Yes 2398 (8.51) 1143 (6.02) 1255 (15.99)
Diabetes mellitus, n(%) < 0.001
No 10,310 (53.03) 7985 (57.44) 2325 (39.73)
prediabetes 7699 (32.56) 5213 (31.46) 2486 (35.88)
diabetes 4240 (14.40) 2213 (11.10) 2027 (24.38)
ST, n(%) 0.020
< 7 13,739 (58.46) 9370 (57.84) 4369 (60.35)
≥ 7 8510 (41.54) 6041 (42.16) 2469 (39.65)
Frailty status, n(%) < 0.001
No 17,601 (83.38) 13,318 (88.97) 4283 (66.52)
Yes 4648 (16.62) 2093 (11.03) 2555 (33.48)
KDR four, n(%) 0.008
Q1 6234 (25.00) 4175 (24.28) 2059 (27.16)
Q2 5759 (25.00) 4043 (25.34) 1716 (23.99)
Q3 5228 (25.00) 3702 (25.11) 1526 (24.66)
Q4 5028 (25.00) 3491 (25.27) 1537 (24.19)

KDR, ketogenic diet ratio; OAB, overactive bladder; PHR, platelet-to-HDL-C ratio; FI, Frailty Index; PWI, PWI, plain water intake; BMI, body mass index; PIR, poverty-to-income ratio; CKD, chronic kidney disease; CVD, cardiovascular disease; ST, sedentary time

The relationship between KDR and OAB

Weighted multivariable logistic regression analyses revealed a significant inverse association between KDR and the risk of OAB across all models (Table 3). When KDR was treated as a continuous variable, higher KDR was consistently associated with a lower risk of OAB across all regression models. In the unadjusted model, each unit increase in KDR was significantly linked to reduced odds of OAB (OR = 0.53, 95% CI: 0.35–0.79, P = 0.002). After adjustment for demographic factors (Model 2), the inverse association remained statistically significant (OR = 0.53, 95% CI: 0.33–0.84, P = 0.009). This relationship persisted and even strengthened in the fully adjusted model that included metabolic and lifestyle covariates (Model 3: OR = 0.48, 95% CI: 0.30–0.79, P = 0.004). When KDR was categorized into quartiles, a clear dose–response relationship was observed. Participants in the highest quartile (Q4) had significantly lower odds of OAB compared with those in the lowest quartile (Q1) (OR = 0.83, 95% CI: 0.72–0.96, P = 0.011), and the linear trend was statistically significant (P for trend = 0.023). These results indicate a consistent and robust inverse relationship between KDR and the risk of OAB. To further characterize the dose–response pattern, RCS analyses were performed (Fig. 2). RCS analysis demonstrated a significant and primarily linear inverse association (P for overall < 0.001; P for nonlinearity = 0.211). Both multivariable and RCS analyses revealed a largely linear inverse association between KDR and the risk of OAB, with no strong evidence of nonlinearity. However, to further explore whether subtle threshold effects might exist within this overall linear trend, a two-piecewise linear regression model was subsequently applied.

Table 3.

Weighted logistic regression analysis of KDR and the risk of OAB across multiple models

Variables Model 1 Model 2 Model 3
OR (95%CI) P OR (95%CI) P OR (95%CI) P
KDR continuous 0.53 (0.35 ~ 0.79) 0.002 0.53 (0.33 ~ 0.84) 0.009 0.48 (0.30 ~ 0.79) 0.004
KDR quartiles
Q 1 1.00 (Reference) 1.00 (Reference) 1.00 (Reference)
Q 2 0.89 (0.79 ~ 0.99) 0.039 0.85 (0.75 ~ 0.97) 0.018 0.88 (0.77 ~ 1.01) 0.084
Q 3 0.91 (0.80 ~ 1.04) 0.185 0.91 (0.79 ~ 1.05) 0.206 0.92 (0.79 ~ 1.07) 0.294
Q 4 0.82 (0.72 ~ 0.92) 0.002 0.81 (0.70 ~ 0.94) 0.007 0.79 (0.68 ~ 0.92) 0.004
P for Trend 0.46 (0.28 ~ 0.76) < 0.001 0.47 (0.26 ~ 0.85) 0.014 0.40 (0.22 ~ 0.72) 0.003

Q: quartiles; OR: odds ratio; CI: confidence interval; Ref: reference

Model1: Crude: Unadjusted

Model 2: Adjusted for age, sex, and race

Model 3: Adjusted for age, sex, race, education, alcohol consumption, smoking status, physical activity, BMI, marital status, poverty-to-income ratio, hypertension, hyperlipidemia, chronic kidney disease (CKD), cardiovascular disease, diabetes, and average daily water and energy intake (2-day average)

Fig. 2.

Fig. 2

Weighted restricted cubic spline regression of KDR with OAB (A) and nocturia (B). Notes: The adjusted restricted triple spline model was adjusted for age, sex, race, education, alcohol consumption, smoking status, physical activity, BMI, marital status, poverty-to-income ratio, hypertension, hyperlipidemia, chronic kidney disease (CKD), cardiovascular disease, diabetes, and average daily water and energy intake (2-day average). KDR, ketogenic diet ratio; OAB, overactive bladder;

The relationship between KDR and nocturia

In the unadjusted model, a higher KDR was significantly associated with a reduced likelihood of nocturia (OR = 0.67, 95% CI: 0.48–0.94, P = 0.021). This inverse association persisted after adjusting for age, sex, and race (OR = 0.62, 95% CI: 0.43–0.90, P = 0.014). In the fully adjusted model, which additionally accounted for socioeconomic, behavioral, and clinical covariates, the association remained negative in direction but did not reach statistical significance (OR = 0.71, 95% CI: 0.48–1.04, P = 0.082). The attenuation of significance in the fully adjusted model suggests that the relationship between KDR and nocturia may not follow a strictly linear pattern, warranting further exploration of potential nonlinear or threshold effects (Table 4).

Table 4.

Weighted logistic regression analysis of KDR and the risk of nocturia across multiple models

Variables Model1 Model2 Model3
OR (95%CI) P OR (95%CI) P OR (95%CI) P
KDR 0.67 (0.48 ~ 0.94) 0.021 0.62 (0.43 ~ 0.90) 0.014 0.71 (0.48 ~ 1.04) 0.082

OR: Odds Ratio, CI: Confidence Interval

Q: quartiles; OR: odds ratio; CI: confidence interval; Ref: reference

Model 1: Crude model

Model 2: Adjusted for age, sex, and race

Model 3: Adjusted for age, sex, race, education, alcohol consumption, smoking status, physical activity, BMI, marital status, poverty-to-income ratio, hypertension, hyperlipidemia, chronic kidney disease (CKD), cardiovascular disease, diabetes, sedentary time, and average daily water and energy intake (2-day average)

To evaluate the possibility of nonlinearity, RCS analysis was conducted. The RCS analysis demonstrated a significant overall association (P for overall < 0.001) and clear evidence of nonlinearity (P for nonlinearity < 0.001). The spline curve revealed a decline in nocturia risk at lower KDR values, followed by a gradual rise at higher KDR levels (Fig. 2), suggesting a biphasic rather than a monotonic dose–response pattern.

Threshold effect analysis of KDR on OAB

In contrast, the threshold effects analyses provided a more refined interpretation of the relationship between KDR and OAB (Table 5). The likelihood ratio test indicated that the two-piecewise linear model significantly improved model fit compared with the single linear model (P = 0.021), suggesting the presence of a potential threshold effect. An inflection point was identified at KDR = 0.218. Below this threshold, higher KDR was associated with markedly lower odds of OAB (OR = 0.01; 95% CI, 0.00–0.72; P = 0.035), whereas above this point, the inverse association persisted but became substantially weaker (OR = 0.68, 95% CI: 0.47–0.99, P = 0.044). These findings indicate that higher KDR is associated with lower prevalence of OAB, with the association appearing stronger at lower KDR levels and leveling off beyond the identified threshold.

Table 5.

Threshold effect analysis of KDR on OAB

Outcome Effect P
Model 1 Fitting model by standard linear regression 0.56 (0.40–0.79) < 0.001
Model 2 Fitting model by two-piecewise linear regression
Inflection point (K) 0.218
< K-segment effect 0.01 (0.00–0.72) 0.035
≥ K-segment effect 0.68 (0.47–0.99) 0.044
P for likelihood test 0.021

Threshold effect analysis of KDR on nocturia

To further quantify the potential threshold pattern between KDR and nocturia, a segmented (two-piecewise) linear regression model was employed (Table 6). Compared with the single linear model, the segmented model provided a significantly better fit to the data (likelihood ratio test, P < 0.001), supporting the presence of a non-uniform dose–response relationship. An inflection point was identified at KDR = 0.342. Below this threshold, higher KDR values were markedly associated with a decreased likelihood of nocturia (OR = 0.14, 95% CI: 0.06–0.36, P < 0.001), suggesting a strong protective effect within the lower range of KDR. However, beyond this point, the inverse association substantially attenuated and became statistically non-significant (OR = 1.34, 95% CI: 0.84–2.14, P = 0.224).

Table 6.

Threshold effect analysis of KDR on nocturia

Outcome Effect P
Model 1 Fitting model by standard linear regression 0.65 (0.49–0.87) 0.004
Model 2 Fitting model by two-piecewise linear regression
Inflection point (K) 0.342
< 0.342 0.14 (0.06–0.36) < 0.001
≥ 0.342 1.34 (0.84–2.14) 0.224
P for likelihood test < 0.001

Subgroup analysis

To assess the robustness of the observed association between KDR and OAB, stratified analyses were performed across multiple demographic and clinical subgroups. The results revealed a consistently inverse association between KDR and OAB across nearly all subgroups (ORs < 1), indicating that higher KDR levels were generally associated with lower odds of OAB. The only exception was the 40–60-year age group, in which the association was null (P = 0.954). No significant interaction effects were detected in any subgroup, suggesting that the protective relationship between KDR and OAB was robust and broadly generalizable across different population characteristics (Fig. 3).

Fig. 3.

Fig. 3

Fig. 3

Weighted subgroup analyses showing the associations of KDR with OAB (A) and nocturia (B). Notes: The adjusted restricted triple spline model was adjusted for age, sex, race, education, alcohol consumption, smoking status, physical activity, BMI, marital status, poverty-to-income ratio, hypertension, hyperlipidemia, chronic kidney disease (CKD), cardiovascular disease, diabetes, and average daily water and energy intake (2-day average). KDR, ketogenic diet ratio; OAB, overactive bladder; OR, odds ratio; CI, confidence interval

Stratified analyses demonstrated that the inverse association between KDR and nocturia was more pronounced in specific subgroups (Fig. 3). The association was particularly significant among Mexican American/Hispanic participants (OR = 0.48, 95% CI: 0.24–0.96, P = 0.043), older adults aged > 60 years (OR = 0.51, 95% CI: 0.28–0.92, P = 0.028), individuals with low physical activity (< 500 MET-min/week) (OR = 0.43, 95% CI: 0.24–0.79, P = 0.009), those with diabetes (OR = 0.40, 95% CI: 0.19–0.83, P = 0.017), and participants with a PIR between 1.3 and 3.5 (OR = 0.53, 95% CI: 0.28–0.98, P = 0.045). These findings suggest that populations with greater metabolic vulnerability or limited energy expenditure may derive stronger protective benefits from higher KDR levels.

Although modest heterogeneity was observed across subgroups, the direction of association remained largely consistent, suggesting that the relationship between KDR and nocturia is generally robust but may vary according to physiological or behavioral contexts. Notably, a significant interaction with physical activity was identified (P for interaction < 0.05). Notably, stratified analyses revealed that in individuals with low activity levels, higher KDR was linearly associated with a reduced risk of nocturia, whereas in those with higher activity levels, the association followed a nonlinear U-shaped curve with an inflection point near KDR = 0.344 (Fig. 4; Supplementary Table S3). These results indicate a potential association between moderate ketogenic patterns and lower prevalence of nocturia. In contrast, higher levels of KDR combined with greater physical activity were associated with smaller or reversed differences, highlighting the complex interplay between macronutrient metabolism, energy balance, and nocturnal bladder function.

Fig. 4.

Fig. 4

Weighted restricted cubic spline regression of KDR with nocturia in participants with < 500 MET-min/week (A) and ≥ 500 MET-min/week (B). Notes: The adjusted restricted triple spline model was adjusted for age, sex, race, education, alcohol consumption, smoking status, physical activity, BMI, marital status, poverty-to-income ratio, hypertension, hyperlipidemia, chronic kidney disease (CKD), cardiovascular disease, diabetes, and average daily water and energy intake (2-day average). KDR, ketogenic diet ratio;

Mediation analysis of the relationship between KDR and OAB

In the mediation model illustrated in Figs. 5, KDR served as the independent variable, OAB was the dependent variable, and PHR and frailty index acted as the mediating variables. As shown in Table 7, after adjusting for potential confounders, both mediators exhibited significant indirect effects on the association between KDR and OAB. Specifically, in the PHR-mediated model, the indirect effect of KDR on OAB was − 0.0042 (P = 0.040), accounting for 5.8% of the total effect, while the direct effect remained significant (β = −0.0672, P < 0.001). In the frailty index–mediated model, the indirect effect was − 0.0153 (P < 0.001), contributing to 21.6% of the total effect. Both models demonstrated that higher KDR was associated with a lower risk of OAB, partially mediated through improved platelet–lipid balance and reduced frailty levels.

Fig. 5.

Fig. 5

Mediation analysis chart of the indirect effects of KDR on OAB via PHR (A) and FI (B). Analyses were adjusted for covariates according to Model 3. KDR, ketogenic diet ratio; OAB, overactive bladder; PHR, platelet-to-HDL-C ratio; FI, Frailty Index

Table 7.

Mediation analysis of the FI and PHR in the association between KDR and OAB

Effect Estimate 95% CI lower 95% CI upper P-value Mediation
FI
Indirect effect -0.0153 -0.0224 -0.0075 0.0001 21.6420
Direct effect -0.0521 -0.0837 -0.0056 0.0400 78.3580
Total effect -0.0674 -0.0964 -0.0223 0.0001 100.0000
Effect Estimate 95% CI lower 95% CI upper P-value Mediation
PHR
Indirect effect -0.0042 -0.0068 -0.0005 0.0400 5.8461
Direct effect -0.0672 -0.1053 -0.0323 0.0001 94.1539
Total effect -0.0714 -0.1114 -0.0362 0.0001 100.0000

Discussion

Using data from 22,249 participants in the NHANES, our analysis revealed two distinct association patterns between the KDR and LUTS. A higher KDR was consistently associated with a substantially lower risk of OAB, indicating a robust inverse relationship. In contrast, the association between KDR and nocturia exhibited a nonlinear, threshold-dependent pattern. RCS and threshold effects analyses identified a turning point at approximately KDR = 0.342. Below this threshold, an increase in KDR was strongly protective against nocturia; however, beyond this level, the risk of nocturia began to rise progressively, suggesting that excessive ketogenic patterns may attenuate or even reverse the metabolic benefits. Moreover, physical activity significantly modified this relationship. Among individuals with lower activity levels, the association between KDR and nocturia was nearly linear and inverse. In contrast, those with higher physical activity exhibited a U-shaped pattern, suggesting that dietary and behavioral factors may jointly influence nocturnal bladder regulation. Further mediation analysis revealed that both the FI and the PHR partially mediated the association between KDR and OAB.

The significance of dietary patterns in relation to bladder symptoms has been previously highlighted by studies in this domain. A comprehensive review emphasised that nutritional intake and physical activity constitute modifiable factors that influence storage symptoms such as OAB and nocturia [29, 30]. A cross-sectional investigation in an older U.S. cohort observed that greater flavonoid intake was inversely associated with nocturia [31]. Additionally, an observational case series reported improvement in urinary incontinence among obese women following a very-low-carbohydrate, ketogenic diet [31]. While these studies did not quantify KDR or explore dose response and lifestyle interaction, they provide supporting evidence for the concept that macronutrient balance and low-carbohydrate patterns may benefit bladder function.

Mechanistically, ketogenic diets have long been recognised for their neuro-metabolic and anti-inflammatory efficacy in neurological disorders, including epilepsy, Alzheimer’s disease, and Parkinson’s disease [32]. These effects include enhanced mitochondrial function, suppression of inflammasome activation, modulation of neurotransmitter balance (increasing GABA and reducing glutamate excitotoxicity), and alteration of gut-brain signaling [23, 33]. The relevance of these pathways to LUTS is increasingly recognised, as both OAB and nocturia involve dysregulated bladder-brain communication, heightened afferent signalling, and impaired central inhibition [12, 13]. In individuals with OAB, the observed inverse association with KDR aligns with prior evidence suggesting that neural metabolic status may influence detrusor activity and autonomic regulation [34]. Similarly, the consistent inverse pattern is compatible with emerging evidence linking neural metabolic processes to the control of visceral organs [35]. The OAB phenotype is increasingly understood as a state of “neuro-urothelial hyperexcitability,” sharing pathophysiological features with central nervous system excitability disorders like epilepsy [36, 37]. The ketogenic diet’s efficacy in drug-resistant epilepsy is well-established, with mechanisms extending beyond simple ketone body fueling. Crucially, β-hydroxybutyrate (BHB) has been shown to function as a signaling molecule, activating hydroxyl-carboxylic acid receptor 2 (HCAR2) and downstream pathways that enhance mitochondrial biogenesis and reduce oxidative stress in neurons [38, 39]. We hypothesize that a similar mechanism may be associated with stabilization of neural circuits within the pontine micturition center and sacral spinal cord, potentially relating to higher thresholds for bladder contractions [40]. This is consistent with our mediation analysis, where the Frailty Index may partially explain the observed association, suggesting KDR may be linked to lower symptom burden through pathways involving systemic physiological resilience [41, 42].

The identification of a U-shaped relationship with a threshold is a novel finding that challenges the “more is better” assumption. Nocturia represents a multifactorial disorder involving the interplay between sleep–wake regulation, circadian control of renal function, metabolic status, and nocturnal polyuria [15, 43]. We propose a dual-phase model to explain this nonlinearity. At moderate KDR levels, observed patterns are consistent with aspects of improved metabolic health. For instance, prior studies have reported that a low-carbohydrate diet is associated with reduced nocturnal sodium excretion and more stable fluid balance in individuals with insulin resistance, a condition linked to nocturnal polyuria, without implying direct causation [44, 45]. Furthermore, ketone bodies, particularly BHB, can promote deeper, more consolidated sleep as reported in prior studies, potentially reducing arousals that precipitate voiding [46]. However, beyond a certain threshold, the elevated risk of nocturia observed at very high KDR levels may reflect physiological adaptations reported under marked carbohydrate restriction. Previous studies have shown that low-carbohydrate states are accompanied by reduced insulin concentrations, a metabolic condition associated with increased urinary sodium excretion and higher urine volume [20]. Moreover, under these conditions, nutritional ketosis may develop, with higher circulating and urinary ketone bodies whose excretion increases the renal solute load and may induce osmotic diuresis [47]. Together, these alterations in natriuresis, ketonuria, and renal handling of electrolytes could influence overall fluid and electrolyte balance [48], providing a plausible physiological context for the greater nocturnal urine output observed at the upper end of the KDR range. While the precise mechanisms remain incompletely understood, these patterns may be related to the higher nocturia risk observed at very high KDR levels. The profound modification by physical activity provides a critical clue: in highly active individuals, exercise may already optimize metabolic and stress pathways, leaving little room for additional benefit from an extreme diet, hence the observed plateau and potential for harm [49, 50].

An increasingly plausible, yet unexplored, pathway linking KDR to LUTS is the gut-bladder axis. Ketogenic or low-carbohydrate dietary patterns are associated with changes in gut microbial composition and function; in some contexts, these differences may be linked to higher microbial production of short-chain fatty acids (SCFAs) such as butyrate, which have been proposed to exert anti-inflammatory effects and modulate peripheral sensory signaling [51]. These metabolites exert anti-inflammatory effects and modulate peripheral sensory signaling [52]. Experimental studies have shown that gut-derived SCFAs can reduce the excitability of bladder afferent pathways, including those mediated by TRPV1 and P2 × 3 receptors [53, 54]. Accordingly, a moderate KDR may foster a more favorable microbial and metabolic environment, stabilizing urothelial–neural communication and thereby alleviating urgency and frequency. This hypothesis highlights a biologically plausible link between dietary composition, microbiota-derived metabolites, and bladder function, meriting validation in future mechanistic studies.

Mediation analyses further elucidated the systemic pathways linking KDR to bladder function. The FI mediated approximately 21.6% of the KDR–OAB association, indicating that enhanced physiological resilience may contribute to better bladder control, consistent with reports linking frailty and metabolic dysregulation to detrusor overactivity [55, 56]. The PHR accounted for 5.8% of the effect, suggesting that vascular–inflammatory processes are also involved [57, 58]. These findings imply that dietary patterns may influence bladder function not only through neural mechanisms but also via systemic metabolic and inflammatory modulation. Physical activity further modifies the diet–bladder link: in individuals with low activity, the metabolic shift induced by higher KDR may serve a compensatory role; whereas in already active individuals, metabolic pathways may already be optimised by exercise, and additional KDR benefit may plateau or even invert. This compensatory relationship emphasizes the integrated role of diet and physical activity in maintaining bladder health and preventing LUTS.

Our findings carry significant translational potential but should be interpreted with the caution warranted by an observational design. Rather than endorsing a one-size-fits-all dietary recommendation for LUTS, the results support a precision lifestyle approach that integrates dietary composition with physical activity level. For individuals with nocturia who are physically inactive, modest increases in KDR may confer benefit, whereas for highly active individuals, maintaining a moderate rather than extreme KDR appears more appropriate. Importantly, these propositions are exploratory and should be regarded as hypothesis-generating rather than prescriptive.

Future studies, including randomized controlled trials, are warranted to evaluate whether targeting KDR near the empirically identified thresholds can meaningfully improve urinary symptoms in stratified populations. Such trials should ideally incorporate objective measures to verify ketosis, assess urinary patterns, and monitor sleep or other relevant physiological parameters. Complementary mechanistic studies, including controlled animal experiments, will be important to elucidate the underlying biological pathways and establish causality, particularly regarding ketone-mediated modulation of bladder function and central micturition circuits. Integrative multi-omics approaches may further clarify potential interactions along the gut–bladder axis and other systemic mechanisms.

This study has several notable strengths. To our knowledge, it is among the first large-scale, nationally representative investigations to explore the relationship between KD and LUTS. By concurrently analyzing OAB and its key clinical manifestation, nocturia, the study offers an integrated perspective on bladder dysfunction from both dietary and metabolic dimensions. The use of RCS modeling and threshold effect analysis enabled the identification of nonlinear and segmented associations, revealing a potential inflection point in the KDR–nocturia relationship. Furthermore, mediation and sensitivity analyses clarified potential biological pathways and confirmed the robustness of the findings. These analyses also demonstrated that physical activity modifies the metabolic effects of KDR on urinary outcomes, underscoring the interactive influence of diet and lifestyle on bladder regulation. Collectively, these findings extend current understanding by illustrating that nutritional composition, metabolic health, and behavioral context jointly shape bladder function, thereby suggesting promising directions for lifestyle-based prevention and management of LUTS.

Nonetheless, several limitations should be acknowledged. First, the cross-sectional design precludes causal inference. Individuals with severe nocturia or OAB may modify their diet—for example, by reducing fluid intake or altering macronutrient composition—potentially introducing reverse causation. Second, dietary intake was assessed using two 24-hour recalls, which may not fully capture habitual eating patterns, and inter-individual variability in macronutrient consumption was substantial. KDR reflects a relative ketogenic dietary tendency rather than fixed macronutrient distributions; therefore, the identified thresholds should be interpreted as indicators of dietary inclination rather than precise intakes of carbohydrate, protein, or fat. Third, the study lacked direct measurements of ketone levels, nocturnal urine volume, vasopressin rhythms, and sleep architecture. Residual confounding from unmeasured factors, such as medication use, timing of fluid intake, or undiagnosed sleep disorders, cannot be excluded. Finally, because the analysis was based on the US population in NHANES, generalizability to other populations may be limited. Future studies, ideally longitudinal or interventional, are warranted to validate these associations and to define corresponding quantitative nutrient targets under controlled or standardized conditions.

Conclusion

In conclusion, we found that a ketogenic dietary tendency is associated with reduced odds of OAB and exhibits a threshold-dependent, nonlinear association with nocturia that is modified by physical activity. These data support an integrative framework that links diet, neural and urothelial signaling, systemic health, and lifestyle factors. They generate specific hypotheses for future experimental and clinical research aimed at personalised, non-pharmacological strategies to prevent and manage lower urinary tract symptoms. However, these findings remain preliminary and should be interpreted with caution. Future longitudinal and interventional studies are needed to further clarify the underlying mechanisms and determine whether the observed associations reflect causal relationships.

Supplementary Information

Supplementary Material 1 (12.1KB, docx)
Supplementary Material 2 (17.5KB, docx)

Acknowledgements

We gratefully acknowledge the NHANES program and the National Center for Health Statistics staff for their efforts in data collection, management, and statistical support. We also thank all others who contributed to this work but do not meet authorship criteria.

Abbreviations

KD

Ketogenic diet

OAB

Overactive bladder

LUTS

Lower urinary tract symptoms

KDR

Ketogenic diet ratio

FI

Frailty index

PHR

Platelet-to-HDL-C ratio

NHANES

National Health and Nutrition Examination Survey

CDC

Centers for Disease Control and Prevention

NCHS

National Center for Health Statistics

OABSS

Overactive Bladder Symptom Score

UUI

Urge urinary incontinence

PIR

Poverty income ratio

BMI

Body mass index

CKD

Chronic kidney disease

CVD

Cardiovascular disease

PWI

Plain water intake

ST

Sedentary time

SE

Standard errors

IQR

Interquartile ranges

ORs

Odds ratios

CIs

Confidence intervals

RCS

Restricted cubic spline

BHB

β-hydroxybutyrate

HCAR2

Hydroxyl-carboxylic acid receptor 2

HPA

Hypothalamic–pituitary–adrenal; SCFAs, short-chain fatty acids

Author contributions

Y.S. designed the study, performed data analysis, and drafted the manuscript.M.Y. contributed to the literature review, interpreted results, and enhanced the discussion.L.Z. supported statistical analysis and data interpretation.All authors contributed to writing and editing, and approved the final manuscript.

Funding

The financial support received for this article was provided by the Medicine and Health Project of Zhejiang Province (2025KY1284), Zhejiang Medical Association Clinical Medical Research Special Fund Project (2024ZYC-Z82), the Natural Science Foundation of Ningbo Municipality (2024J346), the Key Cultivating Discipline of LihHuiLi Hospital (2022-P09) and Ningbo Key Clinical Speciality Construction Project (2023-BZZ);

Data availability

A publicly available database utilized in this study were available on the website (https://www.cdc.gov/nchs/nhanes).

Declarations

Ethics approval

The studies involving human participants were approved by the National Center for Health Statistics Research Ethics Review Board, and informed consent was obtained from all participants in this study (continuation of protocol #2001-01). Participants gave informed consent to participate in the study before taking part.

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Contributor Information

Min Yin, Email: lhlyinmin@nbu.edu.

Libin Zhou, Email: zlburo2013@sina.com.

References

  • 1.Dani H, Esdaille A, Weiss JP. Nocturia: aetiology and treatment in adults. Nat Rev Urol Engl. 2016;13:573–83. 10.1038/nrurol.2016.134. [DOI] [PubMed] [Google Scholar]
  • 2.Zhang L, Cai N, Mo L, Tian X, Liu H, Yu B. Global prevalence of overactive bladder: a systematic review and meta-analysis. Int Urogynecol J Engl. 2025;36:1547–66. 10.1007/s00192-024-06029-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Irwin DE, Milsom I, Hunskaar S, Reilly K, Kopp Z, Herschorn S, et al. Population-based survey of urinary incontinence, overactive bladder, and other lower urinary tract symptoms in five countries: results of the EPIC study. Eur Urol Switz. 2006;50:1306–14. 10.1016/j.eururo.2006.09.019. discussion 1314–1315. [DOI] [PubMed] [Google Scholar]
  • 4.Li T, Hou J, Xiao B, Li J, Liu X. Combined healthy lifestyles and overactive bladder: a cross-sectional study of NHANES 2007–2020. Front Nutr Switz. 2025;12:1603078. 10.3389/fnut.2025.1603078. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Nambiar AK, Arlandis S, Bø K, Cobussen-Boekhorst H, Costantini E, de Heide M, et al. European association of urology guidelines on the diagnosis and management of female non-neurogenic lower urinary tract symptoms. Part 1: diagnostics, overactive bladder, stress urinary incontinence, and mixed urinary incontinence. Eur Urol Switz. 2022;82:49–59. 10.1016/j.eururo.2022.01.045. [DOI] [PubMed] [Google Scholar]
  • 6.Guan C, Wang L, Wang C, Ma Y, Chen Y, Wu J, et al. Sleep matters: the U-shaped relationship between sleep duration and overactive bladder in U.S. Adults. Front Med Switz. 2025;12:1612280. 10.3389/fmed.2025.1612280. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Kupelian V, Wei JT, O’Leary MP, Norgaard JP, Rosen RC, McKinlay JB. Nocturia and quality of life: results from the Boston area community health survey. Eur Urol Switz. 2012;61:78–84. 10.1016/j.eururo.2011.05.065. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Chow P-M, Liu S-P, Chuang Y-C, Lee K-S, Yoo TK, Liao L, et al. The prevalence and risk factors of nocturia in China, South korea, and taiwan: results from a cross-sectional, population-based study. World J Urol Ger. 2018;36:1853–62. 10.1007/s00345-018-2329-0. [DOI] [PubMed] [Google Scholar]
  • 9.Zhang Y, Wu X, Liu G, Feng X, Jiang H, Zhang X. Association between overactive bladder and depression in American adults: a cross-sectional study from NHANES 2005–2018. J Affect Disord Neth. 2024;356:545–53. 10.1016/j.jad.2024.04.030. [DOI] [PubMed] [Google Scholar]
  • 10.Durden E, Walker D, Gray S, Fowler R, Juneau P, Gooch K. The economic burden of overactive bladder (OAB) and its effects on the costs associated with other chronic, age-related comorbidities in the united States. Neurourol Urodyn United States. 2018;37:1641–9. 10.1002/nau.23513. [DOI] [PubMed] [Google Scholar]
  • 11.Weng S, Weiss JP. The relationship between overactive bladder and nocturia. Eur Urol Focus Neth. 2022;8:4–5. 10.1016/j.euf.2022.01.005. [DOI] [PubMed] [Google Scholar]
  • 12.Peyronnet B, Mironska E, Chapple C, Cardozo L, Oelke M, Dmochowski R, et al. A comprehensive review of overactive bladder pathophysiology: on the way to tailored treatment. Eur Urol Switz. 2019;75:988–1000. 10.1016/j.eururo.2019.02.038. [DOI] [PubMed] [Google Scholar]
  • 13.Goessaert A-S, Krott L, Hoebeke P, Vande Walle J, Everaert K. Diagnosing the pathophysiologic mechanisms of nocturnal polyuria. Eur Urol Switz. 2015;67:283–8. 10.1016/j.eururo.2014.09.003. [DOI] [PubMed] [Google Scholar]
  • 14.Hsu L-N, Hu J-C, Chen P-Y, Lee W-C, Chuang Y-C. Metabolic syndrome and overactive bladder syndrome May share common pathophysiologies. Biomedicines Switz. 2022;10. 10.3390/biomedicines10081957. [DOI] [PMC free article] [PubMed]
  • 15.Kupelian V. Nocturia, sleep disturbance and the metabolic syndrome. J Urol United States. 2012;188:2041–2. 10.1016/j.juro.2012.09.064. [DOI] [PubMed] [Google Scholar]
  • 16.Bradley CS, Erickson BA, Messersmith EE, Pelletier-Cameron A, Lai HH, Kreder KJ, et al. Evidence of the impact of diet, fluid intake, caffeine, alcohol and tobacco on lower urinary tract symptoms: a systematic review. J Urol United States. 2017;198:1010–20. 10.1016/j.juro.2017.04.097. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Ha B, Seo Y, Weaver AM, Khan FZA, Handa VL. Potential bladder irritants and overactive bladder symptoms: a systematic review. Urogynecol (phila Pa) United States. 2025;31:454–64. 10.1097/SPV.0000000000001567. [DOI] [PubMed] [Google Scholar]
  • 18.Holton KF, Marshall LM, Shannon J, Lapidus JA, Shikany JM, Bauer DC, et al. Dietary antioxidants and longitudinal changes in lower urinary tract symptoms in elderly men: the osteoporotic fractures in men study. Eur Urol Focus Neth. 2016;2:310–8. 10.1016/j.euf.2015.09.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Wang L, Yin S, Yang J-W, Wang K-Y, Li K-P, Wan S, et al. A cross-sectional study on the link between mediterranean diet adherence and overactive bladder in American adults. J Health Popul Nutr Bangladesh. 2025;44:354. 10.1186/s41043-025-01100-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Skartun O, Smith CR, Laupsa-Borge J, Dankel SN. Symptoms during initiation of a ketogenic diet: A scoping review of occurrence rates, mechanisms and relief strategies. Front Nutr Switz. 2025;12:1538266. 10.3389/fnut.2025.1538266. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21.Fernández-Verdejo R, Mey JT, Ravussin E. Effects of ketone bodies on energy expenditure, substrate utilization, and energy intake in humans. J Lipid Res United States. 2023;64:100442. 10.1016/j.jlr.2023.100442. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Martin-McGill KJ, Jackson CF, Bresnahan R, Levy RG, Cooper PN. Ketogenic diets for drug-resistant epilepsy. Cochrane Database Syst Rev Engl. 2018;11:CD001903. 10.1002/14651858.CD001903.pub4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Field R, Field T, Pourkazemi F, Rooney K. Low-carbohydrate and ketogenic diets: A scoping review of neurological and inflammatory outcomes in human studies and their relevance to chronic pain. Nutr Res Rev Engl. 2023;36:295–319. 10.1017/S0954422422000087. [DOI] [PubMed] [Google Scholar]
  • 24.Antunes-Lopes T, Vale L, Coelho AM, Silva C, Rieken M, Geavlete B, et al. The role of urinary microbiota in lower urinary tract dysfunction: A systematic review. Eur Urol Focus Neth. 2020;6:361–9. 10.1016/j.euf.2018.09.011. [DOI] [PubMed] [Google Scholar]
  • 25.Cukoski S, Lindemann CH, Arjune S, Todorova P, Brecht T, Kühn A, et al. Feasibility and impact of ketogenic dietary interventions in polycystic kidney disease: KETO-ADPKD-a randomized controlled trial. Cell Rep Med United States. 2023;4:101283. 10.1016/j.xcrm.2023.101283. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Fechner E, Smeets ETHC, Schrauwen P, Mensink RP. The effects of different degrees of carbohydrate restriction and carbohydrate replacement on cardiometabolic risk markers in humans-a systematic review and meta-analysis. Nutrients Switz. 2020;12. 10.3390/nu12040991. [DOI] [PMC free article] [PubMed]
  • 27.Ren H, Wang Z, Yuan Y, He Y, Li W, Ou Y, et al. Association between ketogenic diets and depression: a cross-sectional analysis of the NHANES 2005–2023 August. J Affect Disord. 2025;381:260–9. 10.1016/j.jad.2025.04.035. [DOI] [PubMed] [Google Scholar]
  • 28.Withrow CD. The ketogenic diet: mechanism of anticonvulsant action. Adv Neurol United States. 1980;27:635–42. [PubMed] [Google Scholar]
  • 29.Alwis US, Monaghan TF, Haddad R, Weiss JP, Roggeman S, Van Laecke E, et al. Dietary considerations in the evaluation and management of nocturia. F1000Res. England. 2020;9. 10.12688/f1000research.21466.1. F1000 Faculty Rev-165. [DOI] [PMC free article] [PubMed]
  • 30.ElJalby M, Thomas D, Elterman D, Chughtai B. The effect of diet on BPH, LUTS and ED. World J Urol Ger. 2019;37:1001–5. 10.1007/s00345-018-2568-0. [DOI] [PubMed] [Google Scholar]
  • 31.Sun Y, Chen H, Bai Y, Zhang T, Bai W, Jiang B. Ketogenic diet May be a new approach to treatment stress urinary incontinence in obese elderly women: report of five cases. BMC Women’s Health Engl. 2022;22:402. 10.1186/s12905-022-01987-5. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Dyńka D, Kowalcze K, Paziewska A. The role of ketogenic diet in the treatment of neurological diseases. Nutrients Switz. 2022;14. 10.3390/nu14235003. [DOI] [PMC free article] [PubMed]
  • 33.Field R, Field T, Pourkazemi F, Rooney K. Ketogenic diets and the nervous system: A scoping review of neurological outcomes from nutritional ketosis in animal studies. Nutr Res Rev Engl. 2022;35:268–81. 10.1017/S0954422421000214. [DOI] [PubMed] [Google Scholar]
  • 34.Grundy L, Caldwell A, Brierley SM. Mechanisms underlying overactive bladder and interstitial cystitis/painful bladder syndrome. Front Neurosci Switz. 2018;12:931. 10.3389/fnins.2018.00931. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Qin C, Wang Y, Gao Y. Overactive bladder symptoms within nervous system: a focus on etiology. Front Physiol Switz. 2021;12:747144. 10.3389/fphys.2021.747144. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Lima MC, Gabiatti MP, Moreira JD, Ribeiro LC, Lunardi MDS, Lin K, et al. Ketogenic diet, epilepsy and cognition: what do we know so far? A systematic review. Nutr Rev United States. 2022;80:2064–75. 10.1093/nutrit/nuac021. [DOI] [PubMed] [Google Scholar]
  • 37.Kwon J, Kim DY, Cho KJ, Hashimoto M, Matsuoka K, Kamijo T, et al. Pathophysiology of overactive bladder and Pharmacologic treatments including β3-adrenoceptor agonists -basic research perspectives. Int Neurourol J Korea (South). 2024;28:12–33. 10.5213/inj.2448002.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Rahman M, Muhammad S, Khan MA, Chen H, Ridder DA, Müller-Fielitz H, et al. The β-hydroxybutyrate receptor HCA2 activates a neuroprotective subset of macrophages. Nat Commun Engl. 2014;5:3944. 10.1038/ncomms4944. [DOI] [PubMed] [Google Scholar]
  • 39.Hasan-Olive MM, Lauritzen KH, Ali M, Rasmussen LJ, Storm-Mathisen J, Bergersen LH. A ketogenic diet improves mitochondrial biogenesis and bioenergetics via the PGC1α-SIRT3-UCP2 axis. Neurochem Res United States. 2019;44:22–37. 10.1007/s11064-018-2588-6. [DOI] [PubMed] [Google Scholar]
  • 40.Kreydin EI, Abedi A, Morales L, Montero S, Kohli P, Ha N, et al. Neural mechanisms of poststroke urinary incontinence: results from an fMRI study. Stroke United States. 2025;56:1516–27. 10.1161/STROKEAHA.124.048057. [DOI] [PubMed] [Google Scholar]
  • 41.Cosarderelioglu C, Walston JD, Abadir PM. From frailty to resilience: exploring adaptive capacity and reserve in older adults-a narrative review. Front Aging Switz. 2025;6:1520842. 10.3389/fragi.2025.1520842. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Athinarayanan SJ, Volek JS. Mitigating muscle loss during weight loss: can nutritional ketosis make a difference? A call for more research. Obes (silver Spring Md) United States. 2025;33:431–4. 10.1002/oby.24235. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 43.Tyagi S, Perera S, Clarkson BD, Tadic SD, Resnick NM. Nocturnal excretion in healthy older women and rationale for a safer approach to sleep disruption. J Am Geriatr Soc United States. 2019;67:2610–4. 10.1111/jgs.16144. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Foley PJ. Effect of low carbohydrate diets on insulin resistance and the metabolic syndrome. Curr Opin Endocrinol Diabetes Obes Engl. 2021;28:463–8. 10.1097/MED.0000000000000659. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Lombardo R, Tubaro A, Burkhard F, Nocturia. The complex role of the heart, kidneys, and bladder. Eur Urol Focus Neth. 2020;6:534–6. 10.1016/j.euf.2019.07.007. [DOI] [PubMed] [Google Scholar]
  • 46.Masi D, Spoltore ME, Rossetti R, Watanabe M, Tozzi R, Caputi A, et al. The influence of ketone bodies on circadian processes regarding appetite, sleep and hormone release: A systematic review of the literature. Nutrients Switz. 2022;14. 10.3390/nu14071410. [DOI] [PMC free article] [PubMed]
  • 47.Palmer BF, Clegg DJ. Starvation ketosis and the kidney. Am J Nephrol Switz. 2021;52:467–78. 10.1159/000517305. [DOI] [PubMed] [Google Scholar]
  • 48.O’Reilly MW. Ketosis, salt, and water: novel mechanistic insights into diet and mineralocorticoid metabolism. J Clin Endocrinol Metab. 2023;108:e634–5. 10.1210/clinem/dgad106. [DOI] [PubMed] [Google Scholar]
  • 49.Burke LM, Ross ML, Garvican-Lewis LA, Welvaert M, Heikura IA, Forbes SG, et al. Low carbohydrate, high fat diet impairs exercise economy and negates the performance benefit from intensified training in elite race walkers. J Physiol Engl. 2017;595:2785–807. 10.1113/JP273230. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Burke LM, Whitfield J, Heikura IA, Ross MLR, Tee N, Forbes SF, et al. Adaptation to a low carbohydrate high fat diet is rapid but impairs endurance exercise metabolism and performance despite enhanced glycogen availability. J Physiol Engl. 2021;599:771–90. 10.1113/JP280221. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Chen M-L, He Y, Dong X-H, Liu H-F, Yan Z-X, Lu X-L, et al. Ketogenic diet inhibits glioma progression by promoting gut microbiota-derived butyrate production. Cancer Cell United States. 2025. 10.1016/j.ccell.2025.09.002. S1535-6108(25)394-0. [DOI] [PubMed] [Google Scholar]
  • 52.Parada Venegas D, De la Fuente MK, Landskron G, González MJ, Quera R, Dijkstra G, et al. Short chain fatty acids (SCFAs)-mediated gut epithelial and immune regulation and its relevance for inflammatory bowel diseases. Front Immunol Switz. 2019;10:277. 10.3389/fimmu.2019.00277. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 53.Grundy L, Daly DM, Chapple C, Grundy D, Chess-Williams R. TRPV1 enhances the afferent response to P2X receptor activation in the mouse urinary bladder. Sci Rep Engl. 2018;8:197. 10.1038/s41598-017-18136-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 54.Lee W-C, Chiang P-H, Tain Y-L, Wu C-C, Chuang Y-C. Sensory dysfunction of bladder mucosa and bladder oversensitivity in a rat model of metabolic syndrome. PLOS One United States. 2012;7:e45578. 10.1371/journal.pone.0045578. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 55.Ly OD, Monaghan TF, Chartier-Kastler E, Petrovic M, Goessaert A-S, Everaert K, et al. Association between frailty and detrusor overactivity with detrusor underactivity in older women. Neurourol Urodyn United States. 2024;43:1075–82. 10.1002/nau.25381. [DOI] [PubMed] [Google Scholar]
  • 56.Yoshida M, Satake S, Ishida K, Tanaka Y, Ukai M. A non-interventional cross-sectional re-contact study investigating the relationship between overactive bladder and frailty in older adults in Japan. BMC Geriatr Engl. 2022;22:68. 10.1186/s12877-022-02756-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 57.Gacci M, Vignozzi L, Sebastianelli A, Salvi M, Giannessi C, De Nunzio C, et al. Metabolic syndrome and lower urinary tract symptoms: the role of inflammation. Prostate Cancer Prostatic Dis Engl. 2013;16:101–6. 10.1038/pcan.2012.44. [DOI] [PubMed] [Google Scholar]
  • 58.Zhang J, Chen L, Zhang H. Association of platelet-to-HDL cholesterol ratio with frailty and all-cause mortality. Lipids Health Dis Engl. 2024;23:344. 10.1186/s12944-024-02329-0. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Material 1 (12.1KB, docx)
Supplementary Material 2 (17.5KB, docx)

Data Availability Statement

A publicly available database utilized in this study were available on the website (https://www.cdc.gov/nchs/nhanes).


Articles from Journal of Health, Population, and Nutrition are provided here courtesy of BMC

RESOURCES