Introduction

Mental disorders are common [1], constituting 13% of the global burden of disease surpassing both cardiovascular disease and cancer [2]. It is estimated that one in four worldwide will be affected by a mental disorder at some stage of life [3]; meanwhile, 7% of the European Union (EU) adult population (18–65 years) is or has been affected by at least one mental disorder in the past 12 months [4].

Although chronic sleep loss is common in today's society, many people are unaware of the potential adverse health effects of habitual sleep restriction [5]. Short sleep duration is considered to be shorter in length than 7–8 h in a 24-h period [6]. Scientific reports have provided evidence that habitual short sleep duration is associated with mortality [7], obesity [8], diabetes type 2 [9], cardiovascular disease [10], and automobile and workplace accidents [11].

Sleep is vital for normal brain function and there is a complex bidirectional relationship between disturbed sleep and cognitive and mental health problems [12]. Sleep duration is important for physical and psychological wellbeing. Decreasing sleep duration below the required optimum time can cause a number of neurobehavioral deficits, including loss of attention, decreased working memory, reduced cognitive performance, depressed mood, and perseverative thinking [13, 14]. The use of multiple forms of technology influence sleep duration and worsening daytime functioning as well as quality of life [15]. Despite all of this, chronic sleep deficiency is a growing and underestimated determinant of health status [16].

Many studies addressing sleep and mental health have focused on insomnia rather than sleep duration, and most have been carried out in Anglo-Saxon contexts [17, 18]. Moreover, these previous studies have targeted a specific population such as nurses [19], military [20], or veterans [21] considered to have a greater probability of suffering from mental illness [22, 23].

Our hypothesis is that people who experience shorter sleep duration are at greater risk of poor mental health than those who sleep the recommended hours. The objective of the present study was to evaluate the impact of reduced sleep duration on the mental health, controlling by sociodemographic and lifestyle variables, of a sample of adults from the general population in Spain. The ultimate purpose of our research is to obtain scientific evidence on the association of sleep duration and psychological health of the general population.

Participants and methods

Study design

In order to study the effects of sleep duration on mental health, a population survey was carried out with a representative adult population sample (16 to 64 years old) residing in the municipality of Mairena del Aljarafe located in the Seville Metropolitan Area (Spain), occupies an area of 17.61 km2. This municipality is characterized by a strong urban expansion associated with a spectacular population growth [24]. In relation to the metropolitan area, Mairena del Aljarafe has a strong connection and dependence with the city of Seville. It is characterized by a young population with a medium-high economic level that resides in areas of low population density following the urban sprawl patterns.

Data source (survey)

This was a cross-sectional study using data extracted from the 2015 Commuting, Daily Habits and Urban Health Survey. [24] The survey was carried out in the municipality of Mairena del Aljarafe between January and April 2015. From a policy perspective, it was carried out by the Health Territory Research (HTR) group of the University of Seville in conjunction with the City of Mairena del Aljarafe. The municipality had input into the design of the survey and also provided field collectors who were trained up by researchers from the HTR. A representative sample of 505 adults (16–64 years old) stratified by age, gender, and geographic area was collected, being a representative sample of a population of 44,582 inhabitants according to the 2014 Population Census, with a confidence level above 95%. This sample was randomly selected, and the people interviewed face-to-face in their respective household dwelling at the time of the survey. The questionnaire was divided into the following domains: sociodemographic characteristics, lifestyle, sleep duration, and health-related outcomes.

Variables

Sociodemographic characteristics

Participants were asked to report their gender (male, female); age (in years) and were categorized into three groups: 16–31, 32–48, 49–64; civil status (single, married, divorced, living with a partner, widowed), and employment status (employed, unemployed, student, retired, non-contributory pension, homemaker).

Lifestyle habits

The population survey includes the following items related to lifestyle habits: alcohol intake (yes, no); smoking (yes, no); no. of hours watching TV per day (never, < 1, 1–2, 2–5, > 5); no. of hours playing videogames per day (never, < 1, 1–2, 2–5, > 5); no. of hours on the internet per day not related to work (never, < 1, 1–2, 2–5, > 5); no. of hours using smartphone and/or tablet per day (never, < 1, 1–2, 2–5,> 5).

Sleep duration

Self-reported daily sleep duration was measured using the following question: “How many hours a day do you sleep usually?” The possible responses were < 6 h; 6–7 h; > 7–8 h, and > 8 h. In order to carry out the analysis, these four options were grouped into three categories as per previous studies [25]. The duration of sleep hours were grouped into the following categories: < 6 h, 6–7 h, and > 7 h.

Mental health

To assess mental health, the 12-item General Health Questionnaire (GHQ-12) was included in the survey. This is a self-administered screening tool that aims to detect psychological morbidity among the general population and those who are likely to have or be at risk of developing psychiatric disorders [26]. GHQ-12 includes 12 items valued using the original scoring method as shown in Laaksonen et al. [27] and Hamer et al. [28]. We use a 4-point Likert scale (less than usual, no more than usual, rather more than usual, or much more than usual). Total GHQ-12 scores range between 0 and 36, with higher scores reflecting an increased risk of psychiatric comorbidity. To determine the risk of mental disorders, the Likert scale was transformed to (0, 0, 1, 1). The scoring system assigns to each individual a value between 0 (minimum) and 12 (maximum) of risk of poor mental health. In the Spanish version of the GHQ-12, the optimal cutoff point identifying those at risk of poor mental health was established at ≥ 3 [29]. A recent study developed in Spain found an alpha Cronbach of 0.76 [30]. In our study, Cronbach's alpha was even higher (0.934), which confirms the reliability of this scale.

Statistical analysis

Bivariate analysis

The Chi-square test was used to analyze categorical variables and compare the distributions of sleep duration measures by sociodemographic, lifestyle habits, and mental health outcomes using the GHQ-12 scale (≥ 3). Statistical significance was determined at p < 0.05.

Regression analysis

The second step consisted of evaluating the strength and direction of a linear relationship between the influence of sleep duration on risk of poor mental health by using a regression analysis while controlling for sex, age group, job status, alcohol intake, smoking, no. of hours watching TV/day, and no. of hours using internet/day. The regression coefficient was considered statistically significant when the p value was < 0.05.

Results

Sleep duration less than 6 hours

Sociodemographic factors

Table 1 shows that sleep duration of less than 6 h per night was in our sample. Gender differences were observed related to sleep duration, with more women experiencing shorter sleep duration than men, although this difference was not statistically significant (p = 0.156). A greater proportion of older people experienced shorter sleep duration (< 6 h) compared with younger respondents (p < 0.001). A greater proportion of people with a lower level of education had a shorter sleep duration (< 6 h) compared with those who completed high school or university (p < 0.001). Job status was also related to sleep duration with 13.3% of those employed and 3.7% of students sleeping less than 6 h per night (p < 0.001).

Table 1 Sociodemographic factors, lifestyle habits and health-related outcomes according to sleep duration levels (short <6 h, 6–7 h, and >7 h) N = 505

Lifestyle

Gender differences between lifestyle habits and sleep duration were also found. In addition, 23.9% of people who use internet for more than 2 h per day slept less than 6 h (p < 0.001).

Health-related outcomes

The mean (± standard deviation) of GHQ-12 was 0.9 ± 2.5, and the prevalence of poor mental health (GHQ-12 ≥ 3) was 13.5%. There exists a statistically significant relationship between sleep duration and mental disorders, with 26.5% of people who reported sleeping less than 6 h are at risk of poor mental health (GHQ-12 ≥ 3) (p = 0.002). A percentage of the female cohort (18.4%) who sleep less than 6 h per night reported cardiovascular problems, while for men this figure drops to 3.6% (p = 0.068).

Sleep duration longer than 7 hours

Sociodemographic factors

Table 1 shows that a greater propotion of younger people experienced longer sleep duration compared with older people (p < 0.001). In addition, a higher proportion of singles had sleep longer than 7 h compared with married people (p < 0.001). Longer sleep duration is related to job status, in particular, a higher proportion of those unemployed, or students slept more than 7 h per night compared with those employed or retired (p < 0.001).

Lifestyle

Gender differences were also found between the use of electronic devices and sleep duration longer than 7 h with 71.4% of men who did not use the Internet sleeping more than 7 h, while this figure was 28.6% for women (p < 0.001).

Regression analysis

A percentage of 13.1% reported sleeping less than 6 h, and 26.5% exhibited poor mental health (according to the GHQ-12 score). To evaluate the influence of sleep duration on mental health, a regression analysis controlled by variables that had shown a significant relationship with sleep duration in the bivariate analyses was performed. The analysis demonstrated that there exists a significant (p = 0.001) negative (B = − 0.512) relationship between hours of sleep and mental health status (GHQ-12) in that reduced sleep duration increases the risk of poor mental health (Table 2).

Table 2 Regression analysis between sleep duration and mental health (GHQ-12) N = 505

Likewise, regression analysis between sleep duration and mental health without mediation variables was conducted to observe the strengths of this relationship (p = 0.005; B = − 0.443). The results show that when including the control variables, the regression analysis between the variables hours of sleep and GHQ-12 (B = − 0.512) improves moderately, which shows that control variables do not have a major impact.

Discussion

Most studies have shown the importance of sleeping a minimum number of hours in order to cope with daily life activities and body regeneration, with sleep duration less than 6 h being a predictor of poor mental health outcomes [31, 32]. Despite growing evidence about the important role of sleep duration as a determinant of health, it remains unrecognized by national agencies, politicians, scientists, and the general public [16]. The fact that 69.3% of those interviewed for this study in the city of Mairena del Aljarafe experienced a duration of sleep less than 7 h, of which 13.1% had less than 6 h of sleep, points to a key lifestyle risk factor that should be considered by health authorities.

The results of this study, in line with previous research, show a higher percentage of women experiencing shorter sleep duration than men [33]. This could be due to gender differences, as there was a higher proportion of unemployed women in the sample, and those who are working receive lower salaries generally [34] and often take on several roles simultaneously without being compensated economically. In fact, the increased burden of domestic activities, coupled in many cases with childcare and work outside the home [35], makes life more stressful for women, a factor that may affect their sleep duration, as well as their mental health status.

Screen time has become a serious threat to the population's well-being, as short sleep duration is associated with excessive television viewing and computer use [36,37,38] and recent increasing use of portable electronic devices [39]. Time spent watching TV can reduce sleep time or increase mental arousal and exposure to blue light, with negative effects on the onset, duration, and quality of sleep [40]. In a study exploring the impact of portable electronic device use in bed on sleep/waking behavior within an adult population, it was found that electronic device usage reduces sleep duration and quality [41]. In this study, the population spending multiple hours per day on electronic devices was associated with sleep duration less than 6 h, but also with sleep duration longer than 7 h.

We have been able to analyze the prevalence of poor mental health, which stands at 13.5%, almost double that of the adult population of the EU, for whom 7% is affected by mental health [4]. In our study, sleep duration was associated with most variables considered, particularly risk of poor mental health. These findings are consistent with previous studies in which shorter sleep was associated with an increased risk of psychological distress [23, 31].

Regarding the respondents who reported sleeping less than 6 h per night (13.1%), it is necessary to indicate that many of them may in fact be suffering from insomnia. According to the ICD-10 criteria, insomnia includes the difficulty initiating or maintaining sleep at least three times per week [42]. A study in Hong Kong found insomnia to be present in 11.9% of the general population with higher proportions among the elderly, women, the less educated, the unemployed, and the divorced or widowed [43]. In our sample, the population sleeping less than 6 h were mostly women (15 vs. 11.2%), divorced and widowed (14.3 and 35.7%, respectively), with low educational level (35.7%), and unemployed (18.3%). These results show that the population with insomnia has similar sociodemographic characteristics to our population who sleep less than 6 h a day. However, further research is needed to corroborate these results. Other studies have shown that people who suffer from insomnia and short sleep duration are at higher risk of poor mental health [23, 43]. Our results would confirm also these findings by showing that shorter sleep duration is associated with a higher risk of poor mental health. From a methodological point of view, one of the strengths of this study is the selection of a representative sample of survey respondents by gender, age group, and geographic area. The face-to-face interview used as a survey method, in which respondents were interviewed on their doorstep, increases the rigor and strength of the information collected. Another strength of this study is that the results come from a randomly selected sample of the general population, so they are free from clinical selection bias or characteristics specific to a given population group.

Although the data were extracted from a population survey conducted door-to-door by trained interviewers, one of the limitations of this study was that sleep duration was not collected and measured but instead self-reported by participants, with the result that this information could include some bias.

For the scientific and theoretical advancement of science, we have been able to identify empirically the relationship between sleep duration and risk of poor mental health in the general population, paying special attention to gender differences and the effects of harmful habits, such as prolonged use of electronic devices.

Conclusions

The present study has shown that sleep duration less than 6 h is a prevalent experience among the general adult population in Spain, especially among women and people who most frequently use electronic devices. These results corroborate the initial hypothesis. Compared with people who sleep the recommended number of hours, people who experience shorter sleep duration face a greater risk of suffering from poor mental health. These findings suggest that healthcare professionals should include information about habits of healthy sleep duration in their clinical practice as a possible way to prevent mental illness in the general population.