1 Introduction

Good sleep quality has been widely recognized as an important indicator for maintaining physical health and optimal brain function [1, 2]. The consensus of the American Academy of Sleep Medicine and Sleep Research Society indicates that adults should sleep seven or more hours per night regularly to maintain optimal health [2]. Nonetheless, poor sleep has become a worldwide public health issue in today’s society [3,4,5]. A meta-analysis conducted on the general population from Netherlands, United Kingdom, and United States revealed that the prevalence of sleep disorders ranges from 9.6 to 19.4% [6]. Therefore, identifying risk factors for sleep disorders may help to alleviate sleep disturbance and improve sleep-related health problems including depression, cognitive dysfunction, Alzheimer’s disease, dry eye disease, obesity, and cardiovascular diseases [7,8,9,10].

Sleep health may be influenced by many factors such as sociodemographic status, health status, individual behaviors, psychological conditions, and environmental factors [3,4,5, 11]. With advancements in industrialization and urbanization, heavy metal pollution has become a global environmental problem. Lead is a well-established environmental neurotoxicant [12]. Previous studies investigating the negative effects of lead have mainly focused on nervous system damage caused by lead exposure. However, the association between blood lead and sleep disorders has not yet received sufficient attention.

A cross-sectional study of 40 female workers exposed to lead showed that most had poor sleep quality [13]. Another cross-sectional study reported a positive association between serum lead levels and sleep duration in premenopausal women, while this association was negative in postmenopausal women [14]. Thus, conflicting findings exist regarding the association between blood lead and sleep disorders in different populations. A cross-sectional study conducted in Mexican children aged 6–8 years showed that increased blood lead levels were associated with decreased sleep duration [15]. Similarly, another study conducted in China showed that elevated blood lead levels among children aged 3–5 years were associated with an increased risk of sleep problems in early adolescence [16]. However, studies in children relied mostly on parental reports, which may lead to inaccurate findings. Meanwhile, owing to the nature of cross-sectional studies, causality cannot be inferred [17]. Therefore, strong evidence supporting the causal link between lead exposure and sleep disorders is still lacking. The same issue also exists in the association between hypertension and sleep disorders. As the pace of life has accelerated and pressure on individuals has increased, researchers have noted a high degree of hypertension and sleep disorders comorbidity [18,19,20]. However, whether the association is causal remains undetermined. Therefore, to fill these gaps, further research is required to explore causal risk factors for sleep disorders among large-scale populations.

The National Health and Nutrition Examination Survey (NHANES) is a large, nationally representative survey of American civilians that provides comprehensive data on health and nutrition [21]. Data from the NHANES have the potential to facilitate an investigation of the association between risk factors and sleep disorders at the epidemiologic level. Mendelian randomization (MR) is an epidemiological method that uses genetic instrumental variables (IVs) to infer the causal effect of exposure on outcomes [22]. Application of the MR method can help to mitigate the potential challenges of residual confounding and reverse causality. This is because genetic variants are randomly assorted during gamete formation and are not influenced by environmental or lifestyle factors [23, 24]. Therefore, the combined application of NHANES and MR analyses provides reliable and unbiased estimates of the causal effects of risk factors on sleep disorders.

In light of this background, the present study aimed to comprehensively explore risk factors for sleep disorders based on 2017–2018 cross-sectional data of NHANES and clarify the causal effect of risk factors on sleep disorders based on MR analysis. These findings may provide novel insights into the prevention of sleep disorders.

2 Methods

2.1 Data Source

The NHANES is a cross-sectional survey that aims to examine the health and nutritional status of the US population [25]. Data for this cross-sectional study were obtained from the 2017–2018 cycles of NHANES. Genome-wide association study (GWAS) datasets for MR analysis were obtained from the National Human Genome Research Institute and European Bioinformatics Institute’s (NHGRI-EBI) GWAS catalog in the MR-Base database [26, 27]. The GWAS IDs for lead levels in the blood, hypertension, and sleep disorders are GCST002831, GCST007707, and finn-b-SLEEP, respectively [28, 29]. Details of the GWAS datasets are given in Supplementary Table 1. No informed consent was required because all data analyzed in this study were publicly available.

2.2 Covariates and Outcome

For the cross-sectional study, covariates including demographic, examination, laboratory, and questionnaire data from the 2017–2018 cycles of the NHANES were defined as covariates. Participants were asked whether they had trouble sleeping via the sleep disorder questionnaire [30], with yes answers indicating a sleep disorders and no answers indicating the absence of a sleep disorders. The answers, “Do not know” and “Refused,” indicated that data regarding the presence or absence of a sleep disorders were missing. For MR analysis, blood lead levels and hypertension were considered exposures, with sleep disorders considered an outcome.

2.3 Statistical Analyses

Baseline characteristics of groups with and without sleep disorders were compared. Shapiro–Wilk test and Levene’s test were used to verify the normality and homogeneity of variance of the baseline data, respectively. The independent-sample t test was used to compare the differences in the measurement covariates meeting assumptions of normality and homogeneity of variance. And the data were presented as mean ± standard deviation (\(\bar{x }\)±s). If normality or homogeneity of variance was not met, differences were assessed using the Wilcoxon rank-sum test, with data presented as the median and interquartile range (IQR). Categorical data were compared using the chi-square test. Multivariate logistic regression was performed to calculate the odds ratio (OR) and 95% confidence interval (CI) for the effects of each variable on sleep disorders. The goodness of fit of the model was evaluated using the Hosmer–Lemeshow test, omnibus test of model, and prediction accuracy.

For MR analysis, single-nucleotide polymorphisms (SNPs) associated with exposures (P < 5 × 10–8) without linkage disequilibrium were selected as IVs. Inverse variance weighted (IVW), MR-Egger, weighted median, and weighted mode methods were applied to assess the causal effect of blood lead on sleep disorders. MR is based on three conditional assumptions including relevance, independence, and exclusion restriction. Cochran’s Q statistic was used to assess the heterogeneity. The MR-Egger regression intercept was used to examine horizontal pleiotropy. The leave-one-out sensitive analysis was performed to verify the robustness of the results. MR analyses were performed using the TwoSampleMR R package. The present study protocol and details had not been registered.

R studio and SPSS software were used to perform statistical analyses and two-sided P < 0.05 was considered as statistically significant.

3 Results

3.1 Baseline Data of Included Individuals

A total of 9254 participants were identified from the 2017–2018 cycles of the NHANES. After excluding 2212 participants younger than 18 years old, 87 pregnancies, and 3098 with missing sleep questionnaire data, 3660 individuals were ultimately enrolled in the current study. The overall prevalence of self-reported sleep disorders was 26.21%. Univariate analysis showed that differences in serum lead, hypertension, serum mercury, retinol, and vigorous work between the two groups were statistically significant. The serum lead level, serum mercury level, serum retinol level, prevalence of hypertension, and the proportion of vigorous work in the sleep disorders group were significantly higher than those in the control group. Baseline characteristics of the included participants are presented in Table 1.

Table 1 Comparison of baseline characteristics in groups with and without sleep disorders

3.2 Multivariate Logistic Regression

Variables with statistical significance in the univariate analysis were further included in the multivariate logistic regression (model 1). The crude model was adjusted for demographic factors, social status, and lifestyle habits. Hosmer–Lemeshow goodness-of-fit tests were not significant (P > 0.05) indicating a good fit of the multivariate logistic regression models (Supplementary Table 2). All the models were statistically significant (Omnibus P < 0.0001). After adjusting for covariates, effects of serum lead level and hypertension on sleep disorders were determined to be stable when applying Models 1–4 (Table 2). Therefore, elevated blood lead and hypertension may be risk factors for sleep disorders.

Table 2 Multivariate logistic regression models for sleep disorders

3.3 MR Analysis

Because a cross-sectional study cannot provide definite information about cause–effect relationships, we attempted to assess the direction of causality based on MR analysis. According to selection criteria, 9 SNPs were selected as IVs to assess the causal relationship between blood lead and sleep disorders. And 56 SNPs were used to assess the causal relationship between hypertension and sleep disorders. The results of the IVW method showed that blood lead levels are causally related to the risk of sleep disorders (ORIVW = 1.09, 95% CI 1.01–1.17, P = 0.030). The scatter plot also indicated that the risk of sleep disorders increases with the increase of blood lead (Fig. 1a). No causal link between elevated blood pressure and sleep disorders was identified (ORIVW = 0.99, 95% CI 0.94–1.04, P = 0.757) (Fig. 1b).

Fig. 1
figure 1

The causal effect of a serum lead levels and b hypertension on sleep disorders. Colored lines represent the results of MR analysis based on four methods. The slope of the line represents the causal effect of exposure on the risk of sleep disorders

3.4 Sensitivity Analysis for MR Results

Cochran’s Q and MR-Egger intercept tests confirmed the absence of heterogeneity and horizontal pleiotropy in MR analysis (Supplementary Table 3 and 4). Leave-one-out analysis showed that the results remained stable when SNPs were removed individually, indicating the reliability of MR estimates (Supplementary Figs. 1 and 2).

4 Discussion

In the present study, we investigated risk factors for sleep disorders using data of 2017–2018 NHANES participants. Furthermore, we applied the MR approach to assess causal effects of blood lead levels and hypertension on sleep disorders. Results from the observational research showed that serum lead levels were positively related to sleep disorders risk after adjusting for various confounding factors, and the MR analysis further proved that the association was causal. Therefore, high levels of blood lead were directly associated with an increased risk of sleep disorders. Although we found that hypertension was also correlated with sleep disorders, hypertension was not the cause of sleep disorders. To the best of our knowledge, this is the first large-sample study examining the causal association between blood lead and sleep disorders among the real-world population and at the genetic level. Goodness-of-fit tests and sensitivity analyses verified the reliability of our results.

The present study provides direct evidence for the causal effect of blood lead on sleep disorders based on a large-sample cross-sectional study (including adult males and females) and MR analysis. Lead is one of the most toxic metals and potent pollutants [31, 32]. The possible mechanism by which blood lead inducing sleep disorders is that lead may affect the release and reuptake of several neurotransmitters controlled by voltage-gated Ca2+ channels to affect the activity of cerebral cortex [33,34,35]. Fortunately, lead exposure is preventable [36]. Blood levels of lead is a precise estimate of lead exposure [37]. It is generally recognized that environmental pollution is the main cause of human exposure to heavy metals [38]. Pollutants that may expose humans to lead include industrial waste, lead-acid batteries, metal smelting, lead-based paint, leaded gasoline and kerosene, lead-containing water pipes, and contaminated foods [32, 38,39,40,41,42]. Children and pregnant women are more sensitive to lead toxicity than adults [38, 43]. As the subjects in the present study were adults, the impact of lead exposure on sleep disorders may be higher than our estimate. Initiatives aimed at reducing lead exposure, such as strengthening hand hygiene, environmental rehabilitation, and conformity testing of industrial materials and waste, may have significant implications for protecting sleep health. As a result, body energy and immunity can be maintained [44]. We also observed a correlation between hypertension and sleep disorders. Another study that enrolled participants from the 2007–2014 cycles of NHANES also proved that poor sleep patterns were associated with an increased risk of hypertension [20]. However, as is the case with all cross‐sectional studies, associations identified do not necessarily indicate causality [45]. The results of the MR analysis did not support the hypothesis that hypertension causes sleep disorders. This may be because sleep disorders excite the sympathetic nervous system, leading to hypertension [46]. Therefore, further studies are needed to clarify whether sleep disorders are a direct cause of hypertension.

The major strength of this study was the combination of a large-sample cross-sectional investigation and GWAS data. The NHANES is a nationally representative survey and its large sample size is sufficient for providing real-world evidence of the association between blood lead and sleep disorders. MR analysis addresses the inherent effects of residual confounding factors and reverse causality. The combined application of NHANES and MR analyses provides robust and unbiased estimates of the causal effects of blood lead on sleep disorders.

The present study has some noteworthy limitations. First, the diagnosis of sleep disorders was based on self-reported questionnaire. Thus, self-selection, memory, and recall biases may exist. In addition, the populations in the MR analysis were predominantly of European descent; hence, its generalizability to other races may be limited. Another limitation was that we did not explore the specific biological mechanism by which elevated blood lead promote sleep disorders. Further studies are needed to clarify the mechanisms underlying this association.

5 Conclusions

Ultimately, we conclude that blood lead is positively associated with an increased risk of sleep disorders, and that this association is causal. These findings provide a novel perspective for the protection of sleep health. Taking effective measures to reduce lead exposure may significantly improve sleep health.