Introduction

Constipation, characterized by a low frequency of defecation, difficulty in defecation, and incomplete defecation, significantly impacts quality of life [1]. The global incidence of constipation is on the rise, attributed to shifts in dietary habits and lifestyles, with an approximately 15% prevalence worldwide, which is higher among adults than among children [2]. The prevalence of this condition increases with age, with females being more prone to chronic constipation than males are [3], which seriously affects patients’ quality of life and physical and mental health. Currently, pharmacological treatment and microbiological therapies remains the mainstay treatment for constipation. However, mainstream pharmacological treatment, such as various laxatives and pro-biotic and pro-secretory drugs, usually fail or have only short-term efficacy and may cause side effects [4]. Only approximately 22% of patients with constipation seek medical care, and dissatisfaction with current treatments underscores the need for alternative preventive approaches addressing underlying causes.

Currently, numerous studies have confirmed that elevated levels of oxidative stress are observed in patients with constipation and animal models, suggesting a potential link between constipation and oxidative stress [5], which may be related to the elevation of NADPH oxidase in patients with chronic constipation and the fact that oxidative stress can further affect intestinal neurons [6, 7].The oxidative balance score (OBS) serves as a metric for antioxidant and pro-oxidant exposure in diet and lifestyle, reflecting overall oxidative stress levels [8]. OBS has been validated in several studies involving diabetes, Non-alcoholic fatty liver disease, and periodontitis [9,10,11]. The OBS has the potential to assess the impact of lifestyle and dietary factors on oxidative stress. OBS can assess the impact of lifestyle and dietary factors on oxidative stress. Among the dietary indicators in the OBS, dietary fiber, β-carotene, vitamin B2, niacin, vitamin B6, total folate, vitamin B12, vitamin C, vitamin E, calcium, magnesium, zinc, copper, and selenium, most of which have been shown to affect intestinal health and lead to changes in bowel habits. There are no studies confirming the relationship between OBS and constipation; therefore, the aim of this study was to assess the relationship between OBS and constipation through a cross-sectional analysis.

Materials and methods

Study population

The National Health and Nutrition Examination Survey (NHANES) database, led by the National Center for Health Statistics (NCHS), assesses the health and nutritional status of U.S. adults and children. It employs a complex, multistage probability sampling design, annually surveying approximately 5,000 participants. Administered by the Centers for Disease Control and Prevention, the NHANES ensures a representative sample of the total U.S. population through random selection. For this study, data from the 2005–2006, 2007–2008, and 2009–2010 surveys were integrated due to their comprehensive gut health questionnaires [12]. Only adults aged ≥ 20 years were included, with participants excluded if they had rectal and/or colon cancer or were pregnant. [13] Additionally, participants with missing covariate data were excluded. Ultimately, 10,742 participants were included in the analyses, as illustrated in Fig. 1.

Fig. 1
figure 1

Study population screening flow chart

Constipation

The NHANES employs bowel frequency and stool type to assess constipation in participants completing the Bowel Health Questionnaire [14]. During the survey, participants estimated their weekly defecation frequency. According to previous NHANES data, less than 3 defecation per week indicates constipation, 3–21 defecation per week are considered normal, and more than 21 movements per week suggest diarrhea. Additionally, participants are classified as constipated if they report type 1 (hard lumps) or type 2 (sausage-like with lumps) stools based on the Bristol Stool Classification. [15].

Oxidative balance score (exposure)

The oxidative balance score (OBS) was developed based on dietary and lifestyle factors, incorporating 16 nutrients and 4 lifestyle variables. Dietary intake data including nutrients such as dietary fiber, carotenoids, riboflavin, etc. were assessed for each subject by Dietary Interview—Total Nutrient Intakes from two 24-h dietary recall interviews. It was also analyzed based on the average intake over two days [16]. Lifestyle factors such as physical activity, body mass index (BMI), alcohol consumption, and smoking status were also considered, with smoking intensity measured by cotinine levels. Among these factors, total fat, iron, BMI, alcohol consumption, and smoking were categorized as pro-oxidants, while the remaining nutrients were classified as antioxidants [17]. Each component of diet and lifestyle was assigned a score based on its antioxidant or pro-oxidant properties, as well as gender (male or female), following the allocation scheme of the OBS components. The overall OBS score was calculated as the aggregate of individual component scores. A higher OBS signifies greater antioxidant exposure. Following the method proposed by Zhang et al. for calculating OBS, participants in this study were categorized into three groups based on their alcohol consumption: heavy drinkers (≥ 15 g/day for women and ≥ 30 g/day for men), moderate drinkers (0—15 g/day for women and 0—30 g/day for men), and non-drinkers. The participants were assigned scores of 0, 1, and 2, respectively [18]. The remaining components were categorized into three tiers based on sex. In the antioxidant group, the scores ranged from 1 to 3, with position 1 receiving a score of 2 and position 3 receiving a score of 0; conversely, in the pro-oxidant group, position 1 was assigned a score of 0, and position 3 was assigned a score of 2.

Covariate

Given the potential confounding of findings by other factors, we incorporated covariates into our analyses, as informed by prior research [19]. Using data from NHANES interviews, laboratory tests, and questionnaires, we integrated covariates such as age, sex, race, educational level, poverty-to-income ratio (PIR), body mass index (BMI), and various health conditions, including hypertension, diabetes, cardiovascular disease (CVD), arthritis, and cancer. Socioeconomic variables were evaluated and documented through household interviews. The poverty-to-income ratio (PIR) was stratified into < 2 and ≥ 2 groups according to the original survey data, with lower PIR values correlating with increased poverty levels. The participants’ behavioral characteristics were self-reported. Body mass index (BMI) was assessed according to MEC standards and grouped into three categories: < 25, 'under/normal weight'; 25–30, 'overweight'; and ≥ 30, 'obese'. Hypertension, diabetes, arthritis, liver disease, and cancer status were ascertained through self-reports of having been diagnosed with these conditions. Individuals who were diagnosed with congestive heart failure, coronary heart disease, heart attack, or angina pectoris were categorized as having heart disease, while those with asthma, chronic bronchitis, or pulmonary emphysema were classified as having lung disease.

Statistical analysis

Given the intricate nature of the national population sampling design, we incorporated 2-year dietary weights (WTDR2D), sampling units (SDMVPSU), and strata (SDMVSTRA) in all our analyses. Descriptive analyses were conducted for all participants. Continuous data for all participants were analysed using means and standard deviations (SDs) based on the data type. Categorical variables are expressed as percentages (%). Categorical variables were analysed using the chi-square test. Continuous variables (e.g., age) were analysed using the t test. A logistic regression model was employed to analyse the relationship between constipation and OBS. Both unadjusted and multivariate adjusted models were employed: Model I, without adjusting for any covariates; Model II, with adjustments for sex, age, and race; and Model III, adjusted for covariates in Model II as well as education level, PIR, BMI, diabetes, hypertension, arthritis, heart disease, lung disease, liver disease, and cancer. The dose–response relationship between OBS and the risk of constipation was assessed using restricted cubic spline curves (RCS). In addition, stratified analyses were performed to further validate the robustness of the results. Statistical significance was determined by comparing adjusted odds ratios (ORs) with 1.0 and providing 95% confidence intervals (CIs). All the statistical analyses were performed using R version 4.2.1 (R Foundation for Statistical Computing, Vienna, Austria; http://www.r-project.org), and a two-sided P value < 0.05 indicated statistical significance.

Results

Baseline characteristics

A total of 10,742 subjects with complete information were included in the study after combining covariates. Among them, 1,053 were identified as constipated. The mean age of the subjects was 46.94 ± 16.461 years, with 51% being female and the majority being non-Hispanic whites (73.06%). Continuous OBS data underwent quartile transformation, resulting in subgroup determinations labelled Q1, Q2, Q3, and Q4. These quartile ranges for OBS varied for females (0–17, 17–23, 23–28, and 28–39) and males (0–16, 16–22, 22–27, and 27–37). The sample sizes for each OBS subgroup (Q1, Q2, Q3, and Q4) were 2,484, 2,645, 2,470, and 3,143, respectively. The allocation scheme for OBS components is detailed in Table 1. In contrast to the control group, the constipation group exhibited lower education, wealth, BMI, and hypertension incidence, as well as a lower OBS. No significant differences were observed in the remaining covariates (Table 2).

Table 1 Baseline characteristics of the NHANES participants (2005–2010)
Table 2 Oxidative balance score assignment scheme

Relationship between OBS and constipation

In this study, we explored the relationship between OBS and constipation incidence using three models derived from weighted logistic regression analysis: Model 1, Model 2, and Model 3. The results of these models are summarized in Table 3. Model 3 was specifically chosen for analysis in this paper due to its enhanced stability achieved through adjustments for relevant covariates. According to Model 3, there was a negative association between constipation and OBS. Specifically, each one-unit increase in OBS was associated with a 4% decrease in constipation incidence (OR: 0.96 (0.95, 0.97), P < 0.001). Within the OBS subgroup, Model 3 revealed significant negative associations between the risk of constipation and the second, third, and fourth quartiles of OBS compared to the lowest quartile (Q2: 0.72 (0.55, 0.95), P = 0.024; Q3: 0.59 (0.47, 0.75), P < 0.001; Q4: 0.54 (0.41, 0.70), P < 0.001).

Table 3 Association between the OBS and constipation prevalence based on weighted logistic regression analysis

Relationship between dietary OBS/lifestyle OBS and constipation

The results of the multivariate logistic regression analyses evaluating the relationships between dietary and lifestyle OBS and constipation are presented in Table 3. Similar to total OBS, the risk of constipation demonstrated a negative association with dietary OBS, with a 4% reduction in constipation incidence for each unit increase in the dietary component of OBS (OR: 0.96 (0.95, 0.97), p < 0.001). Within the dietary OBS subgroup, model 3 indicated a statistically significant negative association between the risk of constipation and both the third and fourth quartiles of OBS when compared to the lowest quartile (Q3: 0.62 (0.50, 0.77), P < 0.001; Q4: 0.49 (0.39, 0.61), P < 0.001). However, no significant association was observed between lifestyle OBS and the incidence of constipation (Table 3).

Stratified analysis of the incidence of OBS and constipation

In this section, our aim was to investigate the impact of key variables on the relationship between OBS and constipation through stratified analyses. As shown in Fig. 2, the interaction P values for all subgroups (age, sex, race, education level, poverty-to-income ratio, diabetes status, hypertension status, and cancer status) were greater than 0.05. This suggests that our findings remained consistent across all subgroups. In the gender subgroups, we found that the effect of OBS on the incidence of constipation was essentially the same in men and women. (Table S1 and S2).

Fig. 2
figure 2

Stratified analysis for the association between OBS and constipation prevalence in US adults, NHANES 2005–2010

Analysis of restricted cubic spline regression

Through RCS analysis of weighted multivariate logistic regression adjusted for covariates, we discovered a linear relationship (P-nonlinear > 0.05) between OBS, the dietary component of OBS, the lifestyle component of OBS, and constipation incidence (Fig. 3A-C). Our findings suggest a negative correlation between OBS and dietary OBS and the incidence of constipation, whereas in lifestyle OBS there was no significant correlation.

Fig. 3
figure 3

Dose–response associations between OBS, dietary OBS, and lifestyle OBS and risk of constipation. A OBS; B Dietary OBS; C Lifestyle OBS. The solid lines and shaded areas represent the central risk estimates and 95% CIs. There was a linear association of OBS/dietary OBS/lifestyle OBS with risk of depressive symptoms in logistic regression based on restricted cubic splines (P for non-linearity = 0.3373; P for non-linearity = 0.1190; P for non-linearity = 0.4710). Models were adjusted for age, sex, race, education level, PIR, BMI, diabetes, hypertension, arthritis, heart disease, lung disease, liver disease, and cancer; Abbreviation: OBS, oxidative balance score; ORs, odds ratios; CIs, confidence intervals

Discussion

To explore the connection between the OBS and constipation, we conducted a cross-sectional analysis involving 10,742 individuals from the NHANES cohort. Our analysis revealed a negative association between the incidence of constipation and both overall OBS and diet-related OBS. However, we observed a generally positive association with lifestyle-related OBS, although it was not statistically significant. These trends were consistent across sex subgroups. In summary, our findings suggest that higher OBSs are linked to a decreased risk of constipation. This finding underscores the importance of maintaining an antioxidant-rich diet for disease prevention, particularly in the case of constipation.

Several dietary factors have been shown to be associated with the development of constipation. A meta-analysis demonstrated the efficacy of fibre supplementation in alleviating constipation [20]. Additionally, Huang et al. identified a potential negative association between niacin intake and constipation incidence, suggesting a nonlinear relationship [21]. In a randomized controlled trial, MgO was found to significantly enhance bowel frequency and quality of life scores, indicating its potential therapeutic benefit for constipation [22]. Moreover, magnesium-based compounds may facilitate stool softening by retaining water in the intestinal lumen [23]. Selenium, an essential micronutrient with various physiological roles, including antioxidant defense and anti-inflammatory effects, has been linked to a reduced risk of chronic constipation [24]. OBS dietary pro-oxidants include fat and iron, with high-fat diets being an important predisposing factor for constipation [25]. Consistently, the dietary OBS was negatively associated with constipation incidence, likely due to the high antioxidant content in the diet, which aligns with our study findings.

In contrast, our study did not reveal a significant association between the lifestyle OBS and constipation incidence. Consistent with our findings, one study failed to establish a strong association between self-reported physical inactivity and fewer than three bowel movements per week or hard/lumpy stools [14]. Furthermore, moderate and light alcohol consumption showed no association or only a weak correlation with gastrointestinal symptoms [26]. Notably, in adults with poor diet quality, exposure to environmental tobacco smoke (ETS) appeared to be positively linked to chronic constipation in terms of stool frequency, while no significant difference was detected in subgroups with healthier eating habits [27]. This finding aligns closely with our results, indicating that none of the lifestyle factors were significantly correlated with the incidence of constipation.

Studies have shown that oxidative stress contributes to constipation by affecting the intestinal flora as well as enteric neurons, and that a reduction in the diversity of intestinal flora as well as enteric neurons can be found in constipated patients. Oxidative stress is evident in constipated animals, as well as in those with colorectal cancer and other chronic diseases linked to constipation, leading to impaired bowel motility [28]. Constipation is significantly negatively correlated with antioxidant activity, suggesting that excessive constipation diminishes the body's antioxidant capacity. Moreover, constipation induces the accumulation of Ca2+ in colonic cells, subsequently triggering increased ROS production, thereby reducing cell viability and ultimately resulting in cell death [29]. Furthermore, constipation has been associated with the downregulation of cuprous zinc superoxide dismutase, manganese superoxide dismutase, and catalase, along with the upregulation of nitric oxide synthase and its product NO [30]. Hence, the prevention of free radical production through antioxidant therapy has emerged as a feasible strategy for preventing constipation. Remarkably, our study highlights the significant contribution of antioxidant effects from food as a crucial source of antioxidants in the body.

Our study has several strengths. First, we acquired a large and representative sample of Americans by amalgamating all available consecutive NHANES cycles, enabling us to precisely investigate the relationship between constipation and OBS. Second, we meticulously adjusted for numerous covariates, including income, race, sex, and comorbidities, to bolster the reliability of our findings. Third, we conducted subgroup analyses based on age, sex, race, income, education, and common comorbidities, thereby further corroborating the robustness of our results.

However, there are several limitations to consider. First, the cross-sectional study design complicates the exploration of a causal relationship between oxidative status and constipation, and further research is needed to explore the causal relationship. Second, certain covariates, such as laxative use, were excluded from the analyses due to insufficient data from all volunteers, which leads to the possibility that the results we examined may be subject to some error. Third, the two-day dietary recall in the NHANES database has only two complete days of dietary intake data, leading to some possible discrepancies in the results. Finally, additional validation of the results in non-Western countries is warranted due to variations in diet and lifestyle between Western and non-Western nations.

Conclusion

In our study, we found that the oxidative balance score (OBS), which provides a comprehensive measure of oxidative stress burden in individuals, was linked to constipation incidence. Specifically, an increase in OBS was associated with a linear decrease in constipation incidence. Thus, OBS, particularly dietary OBS, has emerged as a significant avenue for preventing constipation, highlighting the potential role of dietary modifications in preventing constipation. However, the mechanism by which OBS affects constipation needs to be further investigated.