Introduction

Sleep is an integral part of our life1. According to the American Academy of Sleep Medicine and the Sleep Research Society, adults should sleep at least 7 h a night2. Trouble sleeping is defined as a difficulty getting to sleep or staying asleep, including insomnia, sleep deprivation, obstructive sleep apnea and other sleep problems3,4. With the development of society and the increase of mental stress, trouble sleeping is a common phenomenon in modern people. A previous study among US participants reported that about 14.5% of adults in America had sleeping problems5. Moreover, trouble sleeping is regarded as an important risk factor for many chronic diseases. Related studies have demonstrated strong associations between trouble sleeping and the occurrence of cardiovascular events, hypertension, type 2 diabetes, and depressive symptoms3,6,7,8. Currently, trouble sleeping significantly affects the life quality of a large number of people and has become a serious public health problem worldwide. Therefore, it is necessary to explore the determinants of trouble sleeping for the prevention and control of trouble sleeping.

As the factor needed for the treatment of scurvy, vitamin C (L-ascorbic acid) is an essential micronutrient for humans9. It is a water-soluble vitamin that is widely found in fresh fruits and vegetables10. Previous studies have demonstrated that vitamin C is beneficial for immune defense, antioxidant protection and prevention for cancer11,12,13. In recent years, researchers have begun to focus on the relationship between vitamin C and trouble sleeping14. It is well-known that vitamin C is a regulator of neurotransmitter biosynthesis. It plays an important role in the conversion of dopamine to norepinephrine, which is crucial for regulating our mood15. Chronic lack of vitamin C may lead to decreasing norepinephrine levels, and thus have a negative effect on our mood16. Meanwhile, a study suggested that prolonged periods of low mood may affect our sleep quality in a degree17. Therefore, whether vitamin C can help to improve trouble sleeping needs to be explored.

Rare studies have investigated the association between vitamin C in serum and trouble sleeping. We aimed at examining the association by analyzing data from the National Health and Nutrition Examination Survey (NHANES) 2017–2018.

Materials and methods

Study sample

The cross-sectional data is derived from the National Health and Nutrition Examination Survey (NHANES) from 2017 to 2018, involving 9254 participants. NHANES is a national and population-based study in the United States. Based on a complex multistage sampling design, NHANES obtained data on demographics, lifestyle factors and other health outcomes through interviews. The NHANES program was approved by the Ethics Review Board of the National Centre for Health Statistics (NCHS). After excluding participants with missing data, we finally included 3227 participants (Fig. 1). Complete details about NHANES can be accessed from https://www.cdc.gov/nchs/nhanes/index.htm.

Figure 1
figure 1

Flowchart showing the selection of study population.

Self-reported trouble sleeping and vitamin C

Trouble sleeping was measured by asking participants: “Have you ever told doctor had trouble sleeping?”. Responses to this question were dichotomized as either yes or no. This question was asked in the home, by trained interviewers, using the Computer-Assisted Personal Interview (CAPI) system. Serum specimens were mixed with four parts 6% metaphosphoric acid to acidify the serum and stabilize ascorbate. All serum specimens of vitamin C were stored under appropriate frozen (− 70 °C) conditions until they were shipped to National Center for Environmental Health for testing. Vitamin C (mg/dL) in serum was measured using isocratic ultra-high performance liquid.

Covariates

We collected 3227 participants’ baseline data and physical and laboratory examination indicators from NHANES. Baseline data included gender (male, female), age (years), race/ethnicity (Mexican American, Other Hispanic, Non-Hispanic White, Non-Hispanic Black, Other Race), diabetes (yes, no), hypertension (yes, no), high cholesterol level (yes, no), weak/failing kidneys (yes, no), little interest in doing things (not at all, several days, more than half the days, nearly every day) and feeling depressed (not at all, several days, more than half the days, nearly every day). These variables were obtained through participant self-reports. Physical examination indicators included weight (kg), height (cm), body mass index (BMI, kg/m2), upper leg length (cm), upper arm length (cm), arm circumference (cm) and waist circumference (cm). Leg and arm measurements were performed on the right side of the body. Measurement would be taken on the left side if a participant had an amputation or other adverse condition. Laboratory examination indicators included total cholesterol (mmol/L), high-density lipoprotein cholesterol (HDL-C, mmol/L), ferritin (ug/L), hypersensitive C-reactive protein (HS-CRP, mg/L), glycohemoglobin (%), transferrin receptor (nmol/L), alpha-carotene (ug/dL), cis-beta-carotene (ug/dL), gamma-tocopherol (ug/dL), total lycopene (ug/dL), retinol (ug/dL) and alpha-tocopherol (ug/dL). All laboratory indicators were obtained by measuring the serum samples.

Statistical analysis

Chi-Square (χ2) test was used for all binary and categorical variables to assess differences between baseline characteristics by Self-reported trouble sleeping. We used t test for quantitative variable to assess differences between all examination indicators by self-reported trouble sleeping. Vitamin C is categorized into quartiles (“ ≤ 0.554”, “0.555 ~ 0.894”, “0.895 ~ 1.190”, “ > 1.19”), and the lowest quartile is considered as the reference group. We created four binary logistic regression models to determine associations between vitamin C and self-reported trouble sleeping. Model 1 was unadjusted; Model 2 Adjusted for gender, age and race/ethnicity based on model 1; Model 3 additionally adjusted for diabetes, hypertension, high cholesterol level, weak/failing kidneys, feeling depressed and little interest in doing things. based on Model 2; Model 4 additionally adjusted for weight, height, body mass index, upper arm length, arm circumference, waist circumference, total cholesterol, high-density lipoprotein cholesterol, ferritin, hypersensitive C-reactive protein, glycohemoglobin, transferrin receptor, alpha-carotene, cis-beta-carotene, gamma-tocopherol, total Lycopene, retinol and alpha-tocopherol based on Model 3. In addition, the association between vitamin C and self-reported trouble sleeping was further investigated by subgroup analysis stratified by gender, age, diabetes, hypertension and high cholesterol level. Finally, we used restricted cubic spline (RCS) model to detect the possible nonlinear dose–response relationship between vitamin C and self-reported trouble sleeping. The significant level is P < 0.05. R version 4.1.0 was used to conduct all statistical analysis.

Results

Baseline data of the study population

A total of 3227 participants were included in this study, of whom 49.1% were male and 50.9% were female, 23.5% were over 65 years of age. Moreover, among all participants, 29.1% had trouble sleeping and 70.9% hadn’t trouble sleeping. The baseline characteristics of all participants by self-reported trouble sleeping were showed in Tables 1 and 2, from which we can find statistically significant differences in gender, age, race/ethnicity, diabetes, hypertension, high cholesterol level, weak/failing kidneys, feeling depressed, little interest in doing things, weight, body mass index, upper leg length, upper arm length, arm circumference, waist circumference, hypersensitive C-reactive protein, glycohemoglobin, vitamin C, alpha-carotene, cis-beta-carotene, gamma-tocopherol, total Lycopene, retinol and alpha-tocopherol (all P < 0.05).

Table 1 Baseline characteristics of the NHANES 2017–2018 study sample[N(%)].
Table 2 Demographic and clinical indicators of participants[mean ± SD].

Association between vitamin C and trouble sleeping

After performing a binary logistic regression analysis, we found vitamin C in serum was a protective factor for trouble sleeping (Table 3). This relationship was significant in model 1(OR = 0.787; 95% CI:0.670 ~ 0.924), model 2(OR = 0.667; 95% CI:0.566 ~ 0.787) and model 3(OR = 0.809; 95% CI:0.681 ~ 0.960). After adjusting for all potential confounders(model 4), the negative association between vitamin C and trouble sleeping was still significant(OR = 0.816; 95% CI:0.669 ~ 0.995), suggesting that for every unit increase in vitamin C, the risk of trouble sleeping decreased by 18.4%. When using the lowest quartile of vitamin C as a reference group, individuals in the second to the fourth quartile had a lower risk of trouble sleeping after adjustment for all confounders. The ORs for trouble sleeping across increasing quartiles were 0.706(95% CI:0.558 ~ 0.894), 0.738(95% CI:0.577 ~ 0.942) and 0.707(95% CI:0.541 ~ 0.923) in the full-adjusted model(P for Trend < 0.05).

Table 3 Associations between vitamin C and trouble sleeping.

The non‑linear relationship between vitamin C and trouble sleeping

We used RCS model with four knots to simulate the non‑linear relationship between vitamin C in serum and trouble sleeping among all participants. After adjustment for all confounders, the RCS model showed significant nonlinear dose–response relationship between vitamin C and trouble sleeping (P value of nonlinear = 0.010). Figure 2 showed the results of RCS model.

Figure 2
figure 2

Restricted cubic spline of association between vitamin C and trouble sleeping after adjusting all confounders.

Subgroup analysis

Subgroup analysis results showed association between vitamin C in serum and trouble sleeping was statistically significant in female in model 1(OR = 0.647; 95% CI:0.523 ~ 0.801), model 2(OR = 0.579; 95% CI:0.466 ~ 0.718), model 3(OR = 0.727; 95% CI:0.579 ~ 0.912) and model 4(OR = 0.713; 95% CI:0.546 ~ 0.931), indicating vitamin C can decrease the risk of trouble sleeping in female. Meanwhile, similar association was also found in the group of age ≤ 65 years in model 1(OR = 0.639; 95% CI:0.521 ~ 0.784), model 2(OR = 0.591; 95% CI:0.480 ~ 0.727), model 3(OR = 0.757; 95% CI:0.607 ~ 0.945) and model 4(OR = 0.773; 95% CI:(0.600 ~ 0.996). For male and age > 65 years, this relationship was not statistically significant. Moreover, after adjusting all potential confounders, we also found vitamin C in serum was a protective factor for trouble sleeping in participants with high cholesterol level(OR = 0.738; 95% CI:0.548 ~ 0.994). Subgroup analysis results were showed in Table 4.

Table 4 Subgroup analysis of association between vitamin C in serum and trouble sleeping: models with vitamin C as a continuous variable.

Discussion

In this study, we found a link between vitamin C in serum and trouble sleeping, even after adjusting for gender, age, race/ethnicity, weight, height, total cholesterol, HDL-C, ferritin, HS-CRP and etc. Besides, the RCS model also showed that the risk of trouble sleeping decreased nonlinearly with increasing vitamin C in serum.

Vitamin C has multiple benefits for several diseases. In a review, vitamin C was reported to increase the death of cancerous cells by inhibiting BCL-2(B-cell lymphoma-2) expression and increasing the expression of BAX (BCL2-Association X) and caspase-318. A cross-sectional study involving 5145 participants showed an inverse association between vitamin C intake and periodontitis19. A meta-analysis encompassing 25 observational studies and 91,966 participants demonstrated that dietary vitamin C intake was negatively associated with depression20. In addition, a large cohor study with a follow-up period of 20 years proved increasing vitamin C intake can decrease mortality rate from stroke21. However, studies of association between vitamin C in serum and trouble sleeping are lacking.

Our findings are in line with a previous studies reporting protective effects of vitamin C on trouble sleeping22. As an antioxidant, vitamin C played an essential role in neutralizing free radicals and reducing the risk of oxidative stress23,24. Oxidative stress can interfere with the normal function of the nervous system and affect sleep quality25. Therefore, the antioxidant properties of vitamin C may contribute to improving sleep quality. Recently, a cross-sectional study about the relationship between sleep duration and fruit/vegetable intakes showed reference sleepers(7–8 h/days) consumed more fruit and vegetable compared to short sleepers(< 7 h/days)26. A representative study including 4552 participants also demonstrated that the risk of non-restorative sleep decreased with increasing vitamin C intake (OR = 0.92; 95% CI = 0.86 ~ 0.99) 27. Furthermore, in a rat experimental model of obstructive sleep apnea (OSA), rats treated with vitamin C showed a lower concentration of advanced products of protein oxidation than non-treated rats28. The study results indicated vitamin C may be considered as a therapy for patients with OSA.

Our subgroup analysis shows that vitamin C in serum is a protective factor for trouble sleeping in female, but this relationship is not observed in males. Related studies to explain the sex differences are rare. For females, moderately increasing the intake of foods rich in vitamin C such as star fruit, guava, kiwi and broccoli may help improve sleep quality9. More interventions for vitamin C supplementation should be given to females. We also find that young participants (age ≤ 65 years) are likely to report trouble sleeping with decreased vitamin C levels in serum, but the similar link is not significant in participants aged > 65 years. There are no related studies to explain the reason for this phenomenon. The reason for the age differences may be due to differences in physiological and biochemical characterization between young and older adults. More studies should be conducted to explore the cause of age differences in the future. Moreover, In race/ethnicity stratified analysis, we found all subgroups had no significant association. These associations did not reach statistical significance because of reduced statistical power. More evidence should be explored in a larger sample population in future studies. Finally, our study also showed a negative association between vitamin C in serum and trouble sleeping in participants with high cholesterol level. This finding further fills the gap in the role of nutrients in sleep quality in groups with chronic diseases.

Our findings have clinically important implications. Trouble sleeping are a problem that bothers many people worldwide. Diet therapy is an efficient and convenient way for patients. Therefore, doctors can treat patients with trouble sleeping by vitamin C supplementation in the future.

There are several limitations in our study. NHANES was a cross-sectional study, which makes it difficult for us to know the causal relationship between vitamin C in serum and trouble sleeping. Therefore, our findings needed to be further confirmed by interventional or prospective studies. In the meantime, NHANES did not repeatedly measure vitamin C in serum, which might not reflect the long-term condition of participants. Another limiting aspect was more than half participants were excluded in our study due to incomplete information, which might cause bias.

Conclusion

Our study suggests that vitamin C in serum is a protective factor for trouble sleeping, highlighting the importance of nutrition on the sleep quality. More studies are needed to clarify the link between vitamin C in serum and trouble sleeping in the future.