Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Nutr., 21 November 2025

Sec. Nutritional Epidemiology

Volume 12 - 2025 | https://doi.org/10.3389/fnut.2025.1660080

This article is part of the Research TopicInteractions Between Diet, Sleep and Musculoskeletal Health: Beyond a Disease-Specific PerspectiveView all 7 articles

Development and validation of an osteoporosis risk prediction model incorporating nighttime eating exposure

Chenxi Liu,Chenxi Liu1,2Yiping TongYiping Tong2Mingxia PanMingxia Pan2Yang LiYang Li1Xuan YangXuan Yang2Yanlei Wang
Yanlei Wang1*Lingbo Xing,
Lingbo Xing1,2*
  • 1Luoyang Orthopedic Hospital of Henan Province (Henan Provincial Orthopedic Hospital), Luoyang, China
  • 2School of Nursing, Fujian University of Traditional Chinese Medicine, Fuzhou, China

Introduction: Osteoporosis (OP) is a global bone metabolic disease, and its incidence continues to rise with the intensifying aging of the population. In recent years, chrono-nutrition research has uncovered the significant impact of dietary timing patterns on health, but the relationship between nighttime eating exposure (NEE) and OP remains unclear.This study aimed to confirm through multi-dimensional methodologies that NEE is an independent risk factor for OP.

Methods: A clinical cross-sectional study (n = 186) employed LASSO regression, logistic regression, and random forest to screen for OP predictors, constructing and validating a nomogram model. Analysis of the US NHANES database (n = 18,975) assessed the association between NEE and OP and explored non-linear relationships using weighted logistic regression. Multivariable Mendelian randomization (MR) analysis inferred causal associations using genetic instruments for dietary patterns, BMI, and sleep duration.

Results: NEE was identified as an independent risk factor for OP. In the clinical prediction model, the combination model including NEE (NEE + bone mineral density + age, etc.) demonstrated optimal predictive performance (training set AUC = 0.808). NHANES validation showed a significantly increased OP risk when NEE > 25% (OR = 1.83, 95% CI: 1.27–2.64), with a dose-effect threshold identified (steep risk increase at NEE = 10–25%). Subgroup analysis revealed that the effect size of NEE was significantly higher in individuals with osteopenia (OR = 1.12) compared to those with normal bone mass (OR = 1.06, interaction p = 0.0297), and the protective effect of bone mineral density was weakened in the osteopenic group. Multivariable MR results indicated that a genetic predisposition representing dietary disturbance was positively associated with OP risk (β = 0.0228, p = 0.0033), reflecting the potential causal role of NEE-related behavioral patterns.

Discussion: NEE is a novel behavioral risk factor for OP, posing a significant hazard particularly for osteopenic individuals. Its mechanism may be related to circadian rhythm disruption, metabolic dysregulation, and melatonin suppression. This research provides a new direction for precision OP prevention strategies based on “chrono-nutrition.”

1 Introduction

Osteoporosis (OP) is a systemic metabolic disease primarily caused by an imbalance in bone metabolism (1). With the intensification of global population aging, its incidence continues to rise, and it is projected to affect over 200 million people worldwide (2). Therefore, in-depth exploration of effective early prevention and intervention strategies for OP holds significant importance for research in this field.

Chrono-nutrition, an emerging field, investigates the impact of the circadian rhythm of dietary behaviors on health, emphasizing the importance of the timing of food intake beyond merely its quantity and quality (3). Nutritional imbalances can remodel the circadian clock, and food consumption at different times has been demonstrated to profoundly affect physiological functions (4, 5). Accumulating evidence indicates that disruptions in circadian rhythms and dietary patterns, such as skipping breakfast, consuming high-energy foods at dinner, and late-night eating, are associated with various health hazards Unlike traditional research focusing on “what” and “how much” to eat, this study explores the value of specific dietary timing behaviors on skeletal health.

Nighttime Eating Exposure (NEE) refers to the consumption of food, particularly energy-dense items such as high-fat and high-sugar processed foods, during the biological rest period, which typically occurs at night. As prior research has not explicitly defined the temporal boundaries for nighttime eating exposure, based on a review of the literature and consideration of lifestyle habits and circadian rhythms, this study provisionally defines the NEE window as 8:00 p.m. to 6:00 a.m. (6, 7). This dietary behavior may pose a potential threat to skeletal health and exacerbate OP risk. It is hypothesized that this eating pattern may disrupt bone metabolic homeostasis through several pathways: First, it may directly disrupt the rhythmic expression of core circadian clock genes, suppress osteoblast activity, and potentially enhance osteoclast function, disrupting the balance between bone formation and resorption (8). Concurrently, it may lead to skeletal muscle mitochondrial dysfunction; for example, BMAL1 and CLOCK knockout mice exhibit reduced mitochondrial volume in muscle,morphological defects in remaining mitochondria, decreased respiratory function, and reduced PGC-1α levels, resulting in diminished muscle contractility (9, 10). Second, nighttime eating is often accompanied by metabolic disturbances, such as decreased insulin sensitivity (11), impaired glucose tolerance, and adipose tissue dysfunction. These metabolic alterations may indirectly lead to the upregulation of inflammatory factors or affect bone metabolism-related hormones, such as leptin and adiponectin, thereby negatively regulating bone remodeling processes (12). Moreover, consuming food at night exposes individuals to artificial light, which may inhibit the secretion of melatonin. Research has demonstrated that melatonin possesses a direct bone-protective effect. (13); thus, chronic nighttime light exposure may further impair bone mineralization capacity. Given these considerations, chronic irregular nighttime eating habits constitute an important chrono-nutritional risk factor. By interfering with endogenous circadian rhythms, inducing metabolic dysregulation, and affecting key hormones, NEE may collectively contribute to reduced bone mass and degradation of bone microstructure, ultimately promoting the onset and progression of OP.

Chrono-nutrition research has confirmed significant associations between dinner intake patterns and health outcomes, but the specific impact of NEE on OP and its underlying mechanisms remain unclear. To preliminarily investigate the association between NEE and OP, this study employed a three-part methodology: first, conducting a clinical cross-sectional analysis to construct an NEE-OP risk prediction model; second, utilizing the US National Health and Nutrition Examination Survey (NHANES) database to validate this association in a large, nationally representative sample and explore dose–response relationships (14); finally, applying Mendelian Randomization (MR) analysis to infer potential causal relationships while controlling for confounding factors and reverse causality (15). This research strategy, which advances from local clinical samples to nationwide large-sample validation and subsequently to genetic causal inference, aims to establish a robust, step-by-step, and comprehensive foundation for transitioning from association to causation regarding the novel risk factor of ‘NEE’.(See Figure 1).

Figure 1
Flowchart depicting the development and validation of an osteoporosis risk prediction model incorporating night-time eating exposure. It includes three main sections: Clinical cross-sectional study, NHANES database analysis, and Mendelian randomization analysis. The flow involves steps like continuous sampling, applying inclusion/exclusion criteria, logistic regression, feature selection methods, and assessing causal relationships. Each section builds upon the previous to construct and validate the prediction model.

Figure 1. Flowchart of the study design.

2 Materials and methods

2.1 Study design and participants

This cross-sectional study aimed to investigate the association between nighttime eating exposure (NEE, exposure) and osteoporosis (outcome). The sample size was calculated using the formula for cross-sectional surveys (α = 0.05, Z₂/α = 1.96). As shown in Equation (1).

n = Z 2 a / 2 ( 1 p ) p δ 2     (1)

Based on an osteoporosis patient prevalence p = 39.19% (16), and an allowable error δ = 0.2p = 0.07838, the minimum sample size was calculated as 150. The final sample size was determined to be 150 participants. This study employed consecutive sampling from patients with nighttime eating habits at the Neck, Shoulder, Low Back, and Leg Pain Center of Luoyang Orthopedic Hospital (Henan Provincial Orthopedic Hospital) from January 2024 to May 2025. Inclusion criteria: (1) Patients with nighttime eating habits; (2) Able to undergo both lumbar spine and femoral neck bone mineral density examinations within an interval not exceeding 7 days to minimize external influences and ensure consistency; (3) Age 18 years or older; clear consciousness, possessing normal reading and communication abilities. Exclusion criteria: (1) Presence of congenital scoliosis, spinal fracture, spinal tumor, ankylosing spondylitis; (2) Suffering from diseases severely affecting bone metabolism, such as chronic kidney/liver failure, hyperparathyroidism, rheumatoid arthritis, and other autoimmune diseases; (3) Long-term use of medications affecting bone metabolism, such as glucocorticoids, antiepileptic drugs, etc.; (4) Patients with incomplete questionnaires or clinical data. Osteoporosis diagnosis in enrolled patients followed the Guidelines for Diagnosis and Treatment of Primary Osteoporosis (2022) (17). Informed consent was obtained from all participants prior to any procedures. Before any procedure, all participants provided written informed consent. The study was conducted in accordance with the principles and guidelines of the Declaration of Helsinki and was approved by the Ethics Committee of Henan Luoyang Orthopedic Hospital (Henan Orthopedic Hospital) (approval No. 2023KYKT0021-02).

2.2 Nighttime eating exposure

During the dietary assessment, rigorously trained researchers employed the Retrospective Dietary Survey Auxiliary Reference Food Atlas, developed by Professor Wang Zhixu, alongside food models to assist patients, family members, or caregivers in recalling dietary intake over a period of three days. The average daily nutrient intake was calculated using Nutrition Calculator v2.8.0.5, provided by the Institute of Nutrition and Food Safety, Chinese Center for Disease Control and Prevention, Beijing, China. This study utilized a 24-h dietary recall form, where dietary intake was evaluated through face-to-face interviews conducted over three consecutive days. All patients exhibiting nighttime eating habits were interviewed to describe the types and quantities of foods consumed within the past 24 h. In cases where patient recall proved challenging, family members supplemented the dietary information. All dietary surveys were conducted following patient admission. The timing of food intake was incorporated into the standard 24-h dietary recall form. Due to the absence of a standardized definition in prior research, the NEE window was provisionally defined as occurring between 8:00 p.m. and 6:00 a.m., based on relevant literature and dietary habits. It is important to note that this study is a preliminary exploration of the relationship between NEE and obesity prevalence (OP); therefore, special circumstances, such as night-shift workers, were not considered separately, and only food consumption within this defined time window was included. The calculation formula for NEE is as shown in Equation (2):

NEE = night _ kcal total _ kcal × 100 %     (2)

2.3 Data collection and quality control

Investigators personally distributed questionnaires and provided detailed explanations to participants regarding the survey’s purpose, importance, requirements, and completion methods. All questionnaires were collected immediately upon completion by patients and meticulously checked by investigators for completeness and accuracy. A total of 194 questionnaires were distributed, with 186 valid questionnaires ultimately collected, yielding an effective response rate of 95.6%. Patient disease data were collected and entered by investigators via the hospital’s nursing information system, with each entry verified individually.

2.4 Predictive model construction and validation

Data Preparation and Splitting: The osteoporosis status was converted into a binary factor variable (positive/negative). A stratified random sampling strategy (strata = “osteoporosis”) was employed to split the dataset into training (70%) and testing (30%) sets at a 7:3 ratio. Reproducibility was ensured using set.seed(123). Stratified sampling guaranteed consistent outcome variable distribution between groups.

Feature Engineering: Predictor variables in the training set were converted to a design matrix via the model.matrix function, with the intercept term removed ([, −1]). All continuous variables were centered and scaled, and zero-variance features (zv) were eliminated.

Feature Selection and Model Construction: A multi-method fusion strategy was used for feature selection to enhance robustness. Model construction: LASSO Regression: The glmnet package was used to fit a LASSO-regularized logistic regression model (family = “binomial,” alpha = 1). The λ value was optimized via 10-fold cross-validation. This step was limited to hyperparameter tuning for the LASSO model, aiming to prevent overfitting. Logistic Regression: A standard logistic regression model was fitted using identical preprocessing and 10-fold cross-validation. Random Forest: The randomForest package was used to fit an ensemble model with 500 decision trees (ntree = 500). Predictor importance was calculated based on the mean decrease in Gini impurity. The top 5 important variables from each of the three methods were selected, and their union was taken,finally incorporating 7 variables to construct the final nomogram prediction model.

Model validation: A multi-level validation strategy was employed to assess model performance: the model’s performance was evaluated on an independent test set, the Receiver Operating Characteristic curve was calculated to assess discriminative ability, and Decision Curve Analysis and Clinical Impact Curve were used to evaluate clinical utility; additionally, 1,000 Bootstrap resamplings were performed to calculate the model’s calibration C-index and Optimism, quantifying the assessment of the model’s stability and internal validity.

2.5 Validation of the NHANES database

We selected the NHANES database cycles 2013–2014 and 2017–2018; data were merged initially, but the resulting dataset size was small after direct processing, necessitating the use of random forest imputation for handling missing data. Based on literature review and the focus of this study investigating the relationship between NEE and OP (18), with selection results shown in Supplementary Figure 1. Dietary data were obtained using two non-consecutive 24-h dietary recall interviews following USDA Food and Nutrition Database guidelines. The first interview was conducted in-person, and the second was administered via telephone 3 to 10 days later. Dietary intake data estimated the types and quantities of all foods and beverages (including all types of water) consumed during the 24-h period (midnight to midnight) preceding each interview. Total nutrient intake profiles were generated for each participant, representing daily total energy and nutrient intake from foods and beverages. Time quantification variables were processed using the lubridate package to convert eating time strings (DR1_020) into POSIXct time objects, extracting hour and minute numerical variables. Energy intake statistics were calculated by grouping by subject ID (SEQN): total_kcal represented total daily energy intake; night_kcal represented the sum of energy intake during the nighttime period (night = 1). Data quality control measures included: excluding extreme energy intake (retaining only records with 500 ≤ total_kcal ≤ 5,000 kcal/day); handling zero values (when total_kcal = 0, night_ratio was forced to NA); and coding missing time data (original code 99) as NA. Covariates considered included age, race/ethnicity, education level, household income, marital status, smoking status, alcohol consumption, body mass index (BMI), diabetes status, hypertension status, lumbar spine bone mineral density (BMD), femoral neck BMD, and white blood cell count. The outcome variable was defined as self-reported physician-diagnosed osteoporosis/bone fragility.

2.6 Multi-sample Mendel

NEE served as the exposure variable in this study. As prior research lacks directly relevant exposure variables, no direct genetic instrument for NEE was identified; therefore, indirect exposure variables (sleep deprivation, 24-h dietary patterns, and BMI) were selected to investigate the relationship between NEE and OP using multivariable Mendelian randomization (MVMR). Genetic variants for dietary variables (ukb-b-14294) and BMI (ukb-b-19953) were obtained from European population studies within the UK Biobank; BMI data (ebi-a-GCST006686) were sourced from the European Bioinformatics Institute. Instrumental variable (IV) selection adhered to three core MR assumptions: First, single nucleotide polymorphisms (SNPs) must be strongly associated with the exposure (p < 5 × 10−6) and exhibit an F-statistic >10. Second, independent SNPs were ensured using linkage disequilibrium (LD) clumping (R2 < 0.001, distance = 10,000 kb). Finally, SNPs associated with the outcome or confounding variables were excluded (p < 5 × 10−6). The OP outcome data (ukb-b-12141) were derived from a European population study within the UK Biobank by Ben Elsworth et al., comprising 462,933 individuals of European ancestry, including 455.386 with OP. MR-PRESSO analysis detected no outlier SNPs.

2.7 Statistical analysis

First, LASSO regression (glmnet package), logistic regression (method = “glm”), and random forest (randomForest package) were applied to the training set data for feature selection to identify core predictors of osteoporosis. Subsequently, selected variables were integrated to construct a visual nomogram (rms:nomogram) for individualized risk quantification. Further, model discriminative ability was evaluated using receiver operating characteristic (ROC) curves (pROC package calculating AUC and 95% CI), while calibration curve analysis (rms:calibrate) supplemented by the Hosmer-Lemeshow goodness-of-fit test was performed on both training and validation sets to assess agreement between predicted risk and observed frequencies. Finally, decision curve analysis (DCA) (rmda:decision_curve) quantified the clinical net benefit across risk thresholds of 10–80%, comprehensively evaluating clinical utility. Analyses used R software (version 4.2.1). All NHANES analyses incorporated survey weights to account for the complex multi-stage probability sampling design. Categorical variables are presented as weighted frequencies (%), with group comparisons performed using weighted chi-square tests. Continuous variables are expressed as mean ± standard error (SE), and group comparisons used weighted linear regression models. Three multivariable logistic regression models assessed the association between NEE and OP: Crude model (unadjusted); Model 1 (adjusted for age, sex, race/ethnicity, education level, and marital status); Model 2 (further adjusted for smoking status, alcohol consumption, BMI, diabetes, hypertension, lumbar spine BMD, femoral neck BMD, and white blood cell count). Inverse-variance weighted (IVW) served as the primary method for Mendelian randomization (MR) analysis, with MR-Egger and weighted median as supplementary methods. MR findings are presented as odds ratios (ORs) per unit increase in the genetically predicted exposure. The MR-Egger intercept tested for horizontal pleiotropy (intercept close to 0 and p > 0.05 indicating absence). Heterogeneity among SNPs was assessed using Cochran’s Q test (p > 0.05 and I2 < 25% considered acceptable). MR reliability was evaluated via funnel plot symmetry and leave-one-out analysis. MR analyses used the “MRPRESSO” and “TwoSampleMR” R packages. p < 0.05 was considered statistically significant.

3 Results

3.1 General information of the participant

This study included 186 participants. The prevalence of osteoporosis in the overall cohort was 14.6%, with balanced distribution between the training and validation sets (14.5% vs. 14.8%). No statistically significant differences (p > 0.05) were observed between the training and validation sets regarding clinical characteristics including osteoporosis status, age, hypertension, diabetes, education level, height, BMI, etc. (Table 1).

Table 1
www.frontiersin.org

Table 1. Baseline characteristics of the clinical cohort.

3.2 Screening of influencing factors

Analysis of factors influencing osteoporosis based on the training set, using three methods (LASSO regression, logistic regression, random forest), all identified NEE as one of the influencing factors for osteoporosis. NEE showed a moderate effect in LASSO regression and random forest, while its importance score was lower in logistic regression. From the figure, it can be seen that the importance of NEE in model validation was higher than traditional social-behavioral factors like smoking and alcohol consumption in two models, but weaker than the gold standard BMD and age, indicating its value as an independent risk factor for supplementary screening, potentially providing early warning, especially in individuals with borderline BMD values. (Figure 2).

Figure 2
Three bar charts compare the importance of variables using LASSO regression, logistic regression, and random forest. Age has the highest importance in all models. Lumbar bone density is also significant across all. Each plot shows variable importance ranked from high to low, with varying colors representing different factors.

Figure 2. Comparison of feature importance across the three feature-selection models: the ranking of predictors for osteoporosis risk is shown for LASSO regression (left), logistic regression (middle), and random forest (right).

3.3 Establishment of predictive models

The influencing factors screened by the three models from the training set were used for nomogram and ROC curve analysis, constructing an osteoporosis prediction model. The nomogram model integrated key predictive variables, allowing for visual quantification of individual OP risk. Among them, NEE contributed significantly as an independent behavioral risk factor, forming a core predictive framework together with BMD indicators (lumbar/femoral). In ROC curve comparisons, the combined model including NEE (NEE + Femoral shaft density + Lumbar bone density + Age + Drinking) demonstrated high predictive performance (AUC = 0.808), significantly superior to single-variable models. This confirmed a synergistic effect between NEE and BMD indicators, and that NEE is an indispensable independent variable in the osteoporosis prediction model. (Figures 3AC).

Figure 3
Panel (A) displays a nomogram assessing osteoporosis risk, considering factors like BMI, drinking habits, and lumbar bone density. Panel (B) shows ROC curves for different predictive models, highlighting various AUC values. Panel (C) compares a combined model with predictors such as NEE and femoral shaft density. The AUC and p-values are marked for significance assessment.

Figure 3. Construction and validation of the osteoporosis risk prediction model in the training set: (A) predictive nomogram; (B) Single-variable ROC curve comparisons; (C) Multivariable model ROC comparisons.

3.4 Test set validation

In the validation set, this prediction model maintained good discriminative ability, with an AUC of 0.898, confirming that variable synergy enhances model discrimination. DCA further confirmed that this NEE-containing model (red curve) yielded consistently higher net benefit than the “all-variables model” (green curve) and the “null model” (blue dashed line) within the 0.1–0.6 risk threshold range, with the most substantial net benefit advantage observed specifically within the clinically critical 0.2–0.4 threshold interval (Figures 4A,B). To evaluate the stability of the nomogram’s predictive performance, Bootstrap resampling (1,000 times) showed the model’s corrected C-index was 0.795 (95% CI: 0.752–0.838), indicating low model optimism and good internal stability (Supplementary Table 1).

Figure 4
(A) ROC curve comparing six models. Sensitivity and specificity are plotted, with an area under the curve (AUC) of 0.898. Key features include NEE, femoral shaft density, lumbar bone density, age, diabetes, and drinking, with a p-value of 0.00668.(B) Decision curve analysis showing net benefit versus risk threshold. Three strategies are compared: NEE (red), All (green dashed), and None (blue dashed).

Figure 4. Performance evaluation of the osteoporosis prediction model in the validation set: (A) Multivariable ROC comparison; (B) Decision curve analysis (DCA).

3.5 Subgroup analysis of osteopenia

Osteopenia was defined as a T-score between −1.0 and −2.5 standard deviations at either the lumbar spine or femoral neck. The worst-site principle was applied, whereby meeting the criterion at any site classified an individual as osteopenic. Three feature learning methods (LASSO regression, logistic regression, and random forest) were used to screen for influencing factors of osteopenia. The union of the top five influencing factors from these three methods was taken, finally resulting in seven important influencing factors. (Figure 5).

Figure 5
Comparison of variable importance across LASSO regression, Logistics regression, and Random Forest models. The LASSO and Random Forest models show Lumbar Done Density as most important, while Logistics regression highlights NEE second. Each model assigns varying importance to factors like Age, BMI, and Marriage.

Figure 5. Screening for osteopenia risk factors using three feature-learning methods: LASSO regression (left), logistic regression (middle), and random forest (right).

3.6 Analysis of the effect of osteopenia and NEE risk

Subgroup analysis revealed that the effect of NEE is prominent in the osteopenic population. Full cohort analysis showed that for each 1-unit increase in NEE, osteoporosis risk increased by 20% (OR = 1.20, 95%CI:1.16–1.44, p < 0.05). In the osteopenic population, the effect size of NEE was significantly higher than in the normal bone mass population (OR = 1.12 vs. 1.06), and statistical significance jumped to the p < 0.001 level. This between-group difference was directly supported by interaction analysis (interaction p = 0.0297), indicating that osteopenic status may amplify the pathological effect of nighttime eating. At a deeper mechanistic level, in the osteopenic subgroup, NEE may enhance bone metabolic sensitivity leading to abnormally elevated nocturnal bone resorption peaks, disrupting the bone resorption balance. In the subgroup, the protective effect of BMD was significantly weakened (femoral density OR = 0.10 vs. full cohort 0.33). (Table 2).

Table 2
www.frontiersin.org

Table 2. Subgroup analysis of osteoporosis risk factors stratified by bone mass status: effect estimates and interaction P values.

3.7 Basic characteristics of NHANES research subjects

Among the 15,464 participants included, there were 7,904 males and 7,560 females, with a mean age of (38.69 ± 22.23) years and a mean NEE of (19.96% ± 9.47%). Statistically significant differences (p < 0.05) between groups were observed for age, race, place of birth, education level, household income, smoking history, hypertension history, diabetes history, and other data. Basic characteristic comparisons are shown in Supplementary Table 2.

3.8 Correlation between NEE and OP

Weighted logistic regression analysis treating NEE intake level as a continuous variable showed a correlation between NEE intake and OP (OR = 1.67, p = 0.002). After adjusting for variables, Model 1 did not find a correlation, while Model 2 indicated a correlation between NEE and OP. After categorizing NEE and conducting correlation analysis with OP, the crude model and Model 2 showed its correlation. The higher the NEE value, the greater the risk of developing OP. Sensitivity analysis based on the fully-adjusted Model 2, with additional adjustment for total energy intake (Model 3), showed that the NEE–OP association was only slightly attenuated but remained significant (OR = 1.79, p = 0.002), suggesting that the effect of NEE is independent of total energy intake (Table 3). Sensitivity analyses for other thresholds in Model 2 are presented in Supplementary Table 3.

Table 3
www.frontiersin.org

Table 3. Weighted logistic regression analysis of the correlation between NEE and OP.

3.9 Subgroup analysis

Subgroup analyses stratified by covariates were conducted using logistic regression to explore their relationships with osteoporosis (OP). Significant heterogeneity existed in the association between the exposure factor (NEE) and the outcome; the highest risk increases were observed in elderly individuals (≥60 years), those with low bone mineral density (BMD), and patients with sleep disorders (OR > 1.15). Age (p = 0.001), BMD (p ≤ 0.008), and sleep disorders (p = 0.001) were identified as significant effect modifiers (Figure 6).

Figure 6
Forest plot showing odds ratios (OR) with 95% confidence intervals for various subgroups. Categories include age, sex, race, education, marital status, BMI, smoking, drinking, white blood cell counts, femoral neck BMD, sleep, lumbar spine BMD, high blood pressure, and diabetes. The plot visually quantifies the risk with significant p-values indicated for certain interactions, highlighting disparities among subgroups in terms of health risk factors.

Figure 6. Subgroup analysis of the association between NEE and OP.

3.10 Nonlinear plot of NEE versus OP risk

A robust nonlinear association exists between NEE and OP: risk increased steeply within the NEE range of 10–25% (p ≤ 0.05), plateauing beyond 25%. This pattern remained highly significant (p ≤ 0.05) across the unadjusted model, demographically adjusted model, and fully adjusted model, confirming NEE as an independent predictor of bone health risk, distinct from age, sex, and metabolic factors. The 10–25% interval represents a critical threshold range for a sharp increase in risk, providing a quantitative basis for chrono-nutritional interventions (Figures 7AC).

Figure 7
Three graphs labeled A, B, and C showing the relationship between the variable NEE and predicted probability. Each graph displays a histogram, a red trend line indicating outcome prediction incidence, and shaded areas representing density. Graph A highlights significant p-values for overall and nonlinear relationships, both less than 0.001 and 0.002, respectively. Graph B shows p-values of 0.008 and 0.003, while Graph C mirrors Graph A with similar p-values.

Figure 7. Nonlinear relationship between NEE and OP risk: (A) Unadjusted model; (B) Model 1 adjusted for age, sex, race/ethnicity, education level, and marital status; (C) Model 2 adjusted for smoking, alcohol consumption, BMI, diabetes, hypertension, white blood cell count, femoral neck bone mineral density, and lumbar spine bone mineral density.

3.11 Sensitivity analysis of causality between NEE and OP

Multivariable Mendelian randomization analysis showed (Figure 8): 24-h dietary pattern (β = 0.0228, p = 0.0033) and BMI were significantly positively associated with osteoporosis risk; while sleep duration was negatively associated with risk. Sensitivity analysis found no horizontal pleiotropy (MR-Egger intercept test p > 0.05) or significant heterogeneity (Cochran’s Q test p > 0.05), supporting the robustness of the results. Detailed results are in Supplementary Table 4.

Figure 8
Mendelian randomization analysis for osteoporosis showing odds ratios on a log scale for three exposures: sleep duration, twenty-four-hour recall dietary, and body mass index. Each exposure is represented by a blue diamond with horizontal error bars indicating 95% confidence intervals. A red dashed line marks an odds ratio of 1.0.

Figure 8. Forest plot of multivariable Mendelian randomization analysis.

4 Discussion

The rapid development of society has rendered shift work and nocturnal lifestyles increasingly prevalent, inevitably disrupting circadian rhythms. Existing research has established that circadian rhythm disturbances adversely affect bone metabolism, leading to reduced bone mineral density (19). Whether irregular nighttime eating exacerbates this impact warrants further investigation. By integrating clinical cross-sectional data, constructing machine learning prediction models, validating findings using the nationally representative NHANES database, and performing multivariable Mendelian randomization (MR) analysis, this study provides novel insights into the role of chrono-nutrition in skeletal health through mutually corroborative evidence from diverse methodologies.

The core finding of this study is the confirmation of NEE as an independent and quantifiable behavioral risk factor for OP. In the clinical cross-sectional study, feature selection using three machine learning methods (LASSO regression, logistic regression, and random forest) identified NEE as a significant predictor (Figure 2). While its importance was lower than that of bone mineral density (BMD, the gold standard) and age, it significantly surpassed traditional behavioral factors such as smoking and alcohol consumption. Crucially, within the constructed nomogram prediction model (Figure 3A), the combined model incorporating NEE (NEE + Femoral neck BMD + Lumbar spine BMD + Age + Alcohol consumption) demonstrated the highest predictive performance (AUC = 0.808), significantly outperforming models excluding NEE or single-variable models. This clearly indicates that NEE provides incremental predictive value beyond traditional risk factors. Validation using the NHANES database further supports this conclusion; weighted logistic regression analysis revealed that even after extensive adjustment for demographic, socioeconomic, lifestyle, metabolic disease, and BMD indicators, NEE (particularly high NEE levels, e.g., Q3 group) remained significantly positively associated with OP risk (Table 3). Nonlinear relationship analysis (Figures 7AC) further revealed a steep increase in risk within the NEE range of 10–25%, plateauing beyond 25%, providing a preliminary quantitative threshold for defining high-risk NEE levels.

Subgroup analysis uncovered a key phenomenon: the detrimental effect of NEE on OP risk was significantly amplified in individuals with osteopenia (Table 2). Compared to those with normal bone mass, osteopenic individuals exposed to the same unit increase in NEE exhibited a greater increase in OP risk (OR = 1.12 vs. 1.06) and stronger statistical significance (p < 0.001 vs. p < 0.05). Interaction analysis (interaction p = 0.0297) directly confirmed an effect modification between osteopenic status and NEE. Mechanistically, this may stem from the compromised bone metabolic homeostasis in osteopenic individuals, rendering them more sensitive to the circadian disruption and metabolic dysregulation induced by NEE. This heightened sensitivity could lead to abnormally elevated nocturnal bone resorption peaks, making the delicate balance between bone formation and resorption more susceptible to disruption. Notably, within the osteopenic subgroup, the protective effect of BMD itself was significantly attenuated (femoral neck BMD OR = 0.10 vs. full cohort OR = 0.33), suggesting that NEE may partially counteract the physiological protective barrier conferred by BMD. This finding holds significant implications for precision prevention, indicating that osteopenic populations are a crucial target for NEE restriction, where early intervention may yield greater bone health benefits.

Due to the lack of genetic instrumental variables for directly studying NEE, the use of suggestive genetic evidence in MR indirectly supports the potential existence of a causal association between NEE and the risk of osteoporosis. The results (Figure 8) showed that genetic predisposition to disordered overall dietary patterns and higher BMI were both significantly positively associated with OP risk. Although not directly equivalent to the causal effect of NEE itself, this provides genetic-level causal evidence supporting the notion that “unhealthy dietary behavioral patterns (which may include NEE) and obesity are risk factors for OP,” thereby strengthening the robustness of our observational findings (20). Concurrently, longer sleep duration exhibited a protective effect, aligning with the concept that maintaining circadian health supports bone integrity. Sensitivity analyses (MR-Egger intercept test p > 0.05, absence of significant heterogeneity) supported the reliability of the results. Although we employed a multivariate model, it still cannot be entirely equated to the direct causal effect of NEE, providing indirect support for the existence of a potential causal relationship, but by no means conclusive evidence.

From the perspective of mechanism exploration, the association between NEE and impaired skeletal health may be realized through multiple pathways, primarily based on previous research, providing a reasonable biological explanatory framework for the findings of this study. (1) NEE may interfere with the expression of circadian rhythm clock genes: Disruption of core clock genes (such as BMAL1 and CLOCK) has been shown to inhibit osteoblast activity and potentially enhance osteoclast function, thereby disrupting the balance of bone metabolism (21). The observed association between NEE and osteoporosis (OP) in this study, particularly the heightened risk in populations with sleep disorders, indirectly supports the central role of circadian rhythm disruption in this context. (2) NEE may induce metabolic disorders: It is often accompanied by decreased insulin sensitivity, abnormal glucose tolerance, and dysfunctional adipose tissue. These metabolic alterations may indirectly and negatively regulate the bone remodeling process by upregulating inflammatory factors or influencing the secretion of key hormones in bone metabolism, such as leptin, adiponectin, and glucocorticoids (22). The significant association observed in this study, even after adjusting for metabolic-related factors such as diabetes and hypertension, suggests that NEE may impact bone health through independent or overlapping metabolic pathways. (3) It is speculated that NEE may inhibit melatonin secretion: Nocturnal eating is often associated with nighttime light exposure, which can suppress melatonin secretion, a hormone known for its direct bone-protective effects (23, 24). Its deficiency may further impair bone mineralization capacity. Although this study did not directly measure melatonin levels, the temporal characteristics of NEE (from 8 p.m. to 6 a.m.) suggest it could be an important mechanistic link.

Therefore, we speculate that the harm of NEE to bone is the result of the combined action of the “timing factor” and the “possibly accompanying food quality factor.”

4.1 Advantages and limitations

The main strength of this study lies in its comprehensive research strategy: it integrates nationally representative observational data from NHANES, Mendelian randomization analysis for causal inference, and the construction and validation of diagnostic models in independent clinical cohorts, providing multi-level evidence. In the observational analysis, a wide range of covariates, including key bone mineral density indicators, were adjusted. It reveals nonlinear relationships and effect modifications: it clarifies the nonlinear dose–response relationship between NEE and OP and identifies high-risk populations (such as those with low bone mineral density, sleep disorders, etc.). It has certain clinical translatability, as it constructs and validates a practical clinical diagnostic prediction model for NEE.

Limitations include: The cross-sectional design of the clinical component precludes establishing the absolute temporal sequence and long-term effects of NEE on OP. Although Mendelian randomization (MR) was used to infer causality, the indirect exposure variables cannot fully equate to the direct causal effect of NEE. The definition and measurement of NEE (8:00 p.m. to 6:00 a.m.) were based on literature review and habits, lacking an internationally unified standard. Reliance on 24-h dietary recall introduces potential recall bias and measurement error. Specific food types, quality, and special circumstances like shift workers were not differentiated. The clinical cross-sectional study had a relatively small sample size (n = 186) from a single center (China), necessitating caution in extrapolation. While NHANES provided a large, nationally representative sample, its US population has cultural and dietary differences. Despite adjusting for multiple confounders in statistical models, residual confounding from unknown or unmeasured factors (e.g., detailed physical activity levels, specific nutrient intakes, other sleep parameters) may influence the results.

5 Conclusion

In summary, supported by multiple evidence chains, this study confirms that NEE is an independent and potentially modifiable risk factor for OP, with particularly significant harm for the osteopenic population. NEE may impair skeletal health through multiple pathways, including disrupting circadian rhythms, inducing metabolic dysregulation, and affecting the secretion of key hormones (e.g., melatonin). The research results provide a new intervention direction for incorporating “dietary timing management” into comprehensive osteoporosis prevention and control strategies, especially for precision intervention targeting high-risk osteopenic populations. Future research should focus on elucidating its deeper mechanisms and validating the effectiveness of adjusting eating chronology for improving skeletal health in different populations.

Data availability statement

The original contributions presented in the study are included in the article/Supplementary material, further inquiries can be directed to the corresponding author.

Ethics statement

The studies involving humans were approved by the Ethics Committee of Luoyang Orthopedic Hospital (Henan Provincial Orthopedic Hospital) (Ethics Approval No. 2023KYKT0021-02). The studies were conducted in accordance with the local legislation and institutional requirements. The participants provided their written informed consent to participate in this study.

Author contributions

CL: Conceptualization, Methodology, Software, Writing – original draft, Writing – review & editing. YT: Methodology, Conceptualization, Writing – review & editing. MP: Conceptualization, Methodology, Formal analysis, Writing – review & editing. YL: Writing – review & editing, Conceptualization, Methodology. XY: Conceptualization, Writing – review & editing. YW: Resources, Writing – original draft, Data curation, Writing – review & editing, Conceptualization, Methodology. LX: Data curation, Investigation, Writing – original draft.

Funding

The author(s) declare that financial support was received for the research and/or publication of this article. Henan Province Major Science and Technology Special Project (221100310200). China Association of Traditional Chinese Medicine Information Science Research Project (CACMS-KY-2023026) No commercial funding was received.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The authors declare that no Gen AI was used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher’s note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fnut.2025.1660080/full#supplementary-material

References

1. Long, G, Liu, C, Liang, T, Zhang, Z, Qin, Z, and Zhan, X. Predictors of osteoporotic fracture in postmenopausal women: a meta-analysis. J Orthop Surg Res. (2023) 18:574. doi: 10.1186/s13018-023-04051-6

PubMed Abstract | Crossref Full Text | Google Scholar

2. Li, Y, Hao, W, Guan, J, Li, B, Meng, L, Sun, S, et al. Relationship between indices of circulating blood cells and bone homeostasis in osteoporosis. Front Endocrinol. (2022) 13:965290. doi: 10.3389/fendo.2022.965290

PubMed Abstract | Crossref Full Text | Google Scholar

3. Challet, E. The circadian regulation of food intake. Nat Rev Endocrinol. (2019) 15:393–405. doi: 10.1038/s41574-019-0210-x

PubMed Abstract | Crossref Full Text | Google Scholar

4. Xu, W, Zhang, B, Xi, C, Qin, Y, Lin, X, Wang, B, et al. Ferroptosis plays a role in human chondrocyte of osteoarthritis induced by IL-1β in vitro. Cartilage. (2023) 14:455–66. doi: 10.1177/19476035221142011

PubMed Abstract | Crossref Full Text | Google Scholar

5. Asher, G, and Sassone-Corsi, P. Time for food: the intimate interplay between nutrition, metabolism, and the circadian clock. Cell. (2015) 161:84–92. doi: 10.1016/j.cell.2015.03.015

PubMed Abstract | Crossref Full Text | Google Scholar

6. Lennerz, BS, Wabitsch, M, Lippert, H, Wolff, S, Knoll, C, Weiner, R, et al. Bariatric surgery in adolescents and young adults--safety and effectiveness in a cohort of 345 patients. Int J Obes. (2014) 38:334–40. doi: 10.1038/ijo.2013.182

PubMed Abstract | Crossref Full Text | Google Scholar

7. Slater, T, Mode, W, Pinkney, MG, Hough, J, James, RM, Sale, C, et al. Fasting before evening exercise reduces net energy intake and increases fat oxidation, but impairs performance in healthy males and females. Int J Sport Nutr Exerc Metab. (2023) 33:11–22. doi: 10.1123/ijsnem.2022-0132

PubMed Abstract | Crossref Full Text | Google Scholar

8. Aoyama, S, Nakahata, Y, and Shinohara, K. Chrono-nutrition has potential in preventing age-related muscle loss and dysfunction. Front Neurosci. (2021) 15:659883. doi: 10.3389/fnins.2021.659883

PubMed Abstract | Crossref Full Text | Google Scholar

9. Andrews, JL, Zhang, X, McCarthy, JJ, McDearmon, EL, Hornberger, TA, Russell, B, et al. CLOCK and BMAL1 regulate MyoD and are necessary for maintenance of skeletal muscle phenotype and function. Proc Natl Acad Sci USA. (2010) 107:19090–5. doi: 10.1073/pnas.1014523107

PubMed Abstract | Crossref Full Text | Google Scholar

10. Pastore, S, and Hood, DA. Endurance training ameliorates the metabolic and performance characteristics of circadian clock mutant mice. J Appl Physiol (1985). (2013) 114:1076–84. doi: 10.1152/japplphysiol.01505.2012

PubMed Abstract | Crossref Full Text | Google Scholar

11. Liu, ZJ, and Zhu, CF. Causal relationship between insulin resistance and sarcopenia. Diabetol Metab Syndr. (2023) 15:46. doi: 10.1186/s13098-023-01022-z

PubMed Abstract | Crossref Full Text | Google Scholar

12. Barnea, M, Chapnik, N, Genzer, Y, and Froy, O. The circadian clock machinery controls adiponectin expression. Mol Cell Endocrinol. (2015) 399:284–7. doi: 10.1016/j.mce.2014.10.018

PubMed Abstract | Crossref Full Text | Google Scholar

13. Song, C, Wang, J, Kim, B, Lu, C, Zhang, Z, Liu, H, et al. Insights into the role of circadian rhythms in bone metabolism: a promising intervention target? Biomed Res Int. (2018) 2018:1–11. doi: 10.1155/2018/9156478

PubMed Abstract | Crossref Full Text | Google Scholar

14. Ahluwalia, N, Dwyer, J, Terry, A, Moshfegh, A, and Johnson, C. Update on NHANES dietary data: focus on collection, release, analytical considerations, and uses to inform public policy. Adv Nutr. (2016) 7:121–34. doi: 10.3945/an.115.009258

PubMed Abstract | Crossref Full Text | Google Scholar

15. Wang, K, Zhao, L, Luo, H, Deng, C, Gong, L, and Chen, Z. Association of serum vitamin C levels with asthma in adults: results of NHANES 2003-2006 and mendelian randomization study. BMC Pulm Med. (2024) 24:4. doi: 10.1186/s12890-023-02821-w

PubMed Abstract | Crossref Full Text | Google Scholar

16. Cui, Z, Meng, X, Feng, H, Zhuang, S, Liu, Z, Zhu, T, et al. Estimation and projection about the standardized prevalence of osteoporosis in mainland China. Arch Osteoporos. (2019) 15:2. doi: 10.1007/s11657-019-0670-6

PubMed Abstract | Crossref Full Text | Google Scholar

17. Löffler, MT, Jacob, A, Scharr, A, Sollmann, N, Burian, E, El, HM, et al. Automatic opportunistic osteoporosis screening in routine CT: improved prediction of patients with prevalent vertebral fractures compared to DXA. Eur Radiol. (2021) 31:6069–77. doi: 10.1007/s00330-020-07655-2

Crossref Full Text | Google Scholar

18. McHill, AW, Phillips, AJ, Czeisler, CA, Keating, L, Yee, K, Barger, LK, et al. Later circadian timing of food intake is associated with increased body fat. Am J Clin Nutr. (2017) 106:1213–9. doi: 10.3945/ajcn.117.161588

PubMed Abstract | Crossref Full Text | Google Scholar

19. Kim, BK, Choi, YJ, and Chung, YS. Other than daytime working is associated with lower bone mineral density: the Korea National Health and nutrition examination survey 2009. Calcif Tissue Int. (2013) 93:495–501. doi: 10.1007/s00223-013-9779-6

PubMed Abstract | Crossref Full Text | Google Scholar

20. Da, SS, Renovato-Martins, M, Ribeiro-Pereira, C, Citelli, M, and Barja-Fidalgo, C. Obesity modifies bone marrow microenvironment and directs bone marrow mesenchymal cells to adipogenesis. Obesity. (2016) 24:2522–32. doi: 10.1002/oby.21660

Crossref Full Text | Google Scholar

21. Gao, Y, Wang, S, He, L, Wang, C, and Yang, L. Alpinetin protects chondrocytes and exhibits anti-inflammatory effects via the NF-κB/ERK pathway for alleviating osteoarthritis. Inflammation. (2020) 43:1742–50. doi: 10.1007/s10753-020-01248-3

PubMed Abstract | Crossref Full Text | Google Scholar

22. Meszaros, K, and Patocs, A. Glucocorticoids influencing Wnt/β-catenin pathway; multiple sites, heterogeneous effects. Molecules. (2020) 25:25. doi: 10.3390/molecules25071489

PubMed Abstract | Crossref Full Text | Google Scholar

23. Munmun, F, and Witt-Enderby, PA. Melatonin effects on bone: implications for use as a therapy for managing bone loss. J Pineal Res. (2021) 71:e12749. doi: 10.1111/jpi.12749

PubMed Abstract | Crossref Full Text | Google Scholar

24. Huang, J, Li, Y, and He, C. Melatonin having therapeutic bone regenerating capacity in biomaterials. Curr Pharm Biotechnol. (2022) 23:707–18. doi: 10.2174/1389201022666210709145347

PubMed Abstract | Crossref Full Text | Google Scholar

Keywords: chrono-nutrition, nighttime eating exposure, osteoporosis, Mendelian randomization, bone mineral density

Citation: Liu C, Tong Y, Pan M, Li Y, Yang X, Wang Y and Xing L (2025) Development and validation of an osteoporosis risk prediction model incorporating nighttime eating exposure. Front. Nutr. 12:1660080. doi: 10.3389/fnut.2025.1660080

Received: 05 July 2025; Revised: 12 October 2025; Accepted: 04 November 2025;
Published: 21 November 2025.

Edited by:

Xiwei Fan, Central South University, China

Reviewed by:

Paulo Sargento, Escola Superior de Saúde Ribeiro Sanches, Portugal
Shuai Wang, Guangdong University of Technology, China
Sara Shahid, Lahore University of Biological and Applied Sciences, Pakistan
Ferit Böyük, Kanuni Sultan Süleyman Training and Research Hospital, Türkiye

Copyright © 2025 Liu, Tong, Pan, Li, Yang, Wang and Xing. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Yanlei Wang, MTUxNjk5MjY5MkAxNjMuY29t; Lingbo Xing, bHl6Z3h6ckAxNjMuY29t

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.