Introduction

Colorectal cancer (CRC) is the third most common cancer worldwide (1,800,977 new cases in 2018), and the second most common cause of cancer death (861,663 deaths in 2018)1. Gastric cancer is the sixth most commonly diagnosed cancer (1,033,701 new cases) and third cause of cancer death (782,685 deaths)1. CRC incidence rates overall have declined since the mid-1980s because of changing patterns in risk factors and screening2. However, CRC occurrence has been on the rise in patients younger than age 50 for unknown reasons3. Despite extensive research on the etiology and advancements in early detection and treatment of colorectal and gastric tumors, more research on identifying modifiable risk factors is needed2.

Sleep duration has been suggested as a novel and potentially modifiable risk factor for chronic disease incidence and mortality4,5,6. Specifically, short and long sleep duration have been associated with a higher risk for cardiovascular disease7, type II diabetes8,9, obesity9,10 and cancer11,12,13. Most studies of cancer so far have focused on the effects of sleep duration on breast cancer and the evidence on other tumors is limited14,15. Long sleep duration has been associated with an increased risk of colorectal cancer in two prospective cohorts of health professionals, especially among individuals who were overweight or snored regularly16. Long and short sleep were both associated with an elevated risk of CRC in a cohort study of postmenopausal women17. So far only one study, a prospective cohort of older adults, has reported an increased risk for gastric cancer associated with short sleep18. In a recent study prediagnosis short sleep and long napping were associated with significantly higher mortality among CRC survivors19. No previous study has, to our knowledge, evaluated daytime napping as a risk factor for colorectal and gastric cancer.

Our aim in the present study was to evaluate habitual sleep duration and daytime napping in relation to colorectal and gastric cancer adjusting for potential confounders and other sleep characteristics in a large population based case–control study. Long-term night shift work has been shown to increase the odds of colorectal and gastric cancer in our previous analyses20,21. Therefore, we additionally conducted stratified analyses by night shift work history to evaluate potential joint effects of sleep and circadian disruption in relation to gastrointestinal cancer risk.

Methods

The MCC-Spain Study is a population-based case–control study on five tumors (breast, colorectal, prostate, stomach and chronic lymphocytic leukemia) in Spain, with the general aim to investigate environmental and genetic factors related to cancer risk. Methods used in this study have been previously reported in detail22. In brief, the study recruited incident cancer cases from 23 hospitals in 12 different regions in Spain and a common set of population controls for all cases. The recruitment of cancer cases and controls study began in the year 2008 and was conducted through 2013. All procedures performed in studies involving human participants were in accordance with the ethical standards of the research committee, and with the 1964 Helsinki Declaration and its later amendments or comparable ethical standards. The protocol of MCC-Spain was approved by each of the ethics committees of the participating institutions (Ethical Committee of Clinical Research of Barcelona, Cantabria, Girona, Gipuzkoa, Huelva, León, Principado de Asturias, Madrid, Navarra and Valencia). All participants provided informed consent prior to enrolment into the study. The data underlying this article cannot be shared publicly for the privacy of individuals that participated in the study. The data can be shared on reasonable request to the corresponding author and coordinator of the study.

Study population

Cases were males and females, aged 20–85 years with a new histological confirmed diagnosis of colorectal or gastric cancer living in the catchment area of each hospital for at least 6 months. Cases were defined by the International Classification of Disease 10 (ICD-10) codes: C18, C19, C20, D01.0, D01.1, D01.2 for colon or rectum, C16 and D00.2 for stomach and C15.5 for cancer cases of the lower third of the oesophagus. Clinical data such as CRC histological type (adenocarcinoma, mucinous adenocarcinoma, signet ring-cell carcinoma, squamous cell carcinoma, medullary carcinoma, undifferentiated carcinoma, other, type not specified), tumor localization (proximal colon, distal colon, rectum), and TNM staging information was available through hospital medical records. Most CRC tumors were adenocarcinomas (92% adenocarcinomas, 5.5% mucinous carcinomas, 1.5% other types, 1% not specified). Most colorectal cancers (52%) were at clinical stage II or lower at recruitment, and in 110 patients (5.3%) we could not establish the clinical stage. Clinical data for gastric cancer included tumor histological type, localization, Lauren classification, the 2010 classification of the WHO and degree of differentiation Data on Helicobacter pylori (H. pylori) status were available in 279 cases, with 93% positive. Controls living in the same catchment area as cases for the same period of time (≥ 6 months) were randomly selected from the rosters of General Practitioners (GP) at the Primary Health Centers (PHC) included in the study. They were contacted on behalf of their GP and invited to participate in the study. Controls were frequency-matched to the overall distribution of cases, by age, sex and center, ensuring that in each center there was at least one control of the same sex and 5-year interval for each case. Eligible controls were free of CRC or gastric cancer history, respectively. Subjects were ineligible if they were incapable to participate in the interview due to communication difficulties (e.g. speaking problems) or excess impairment of physical ability. Response rates among cases and controls varied by center and on average were 68% among colorectal cancer cases, 55% among gastric cancer cases and 54% among controls with valid telephone numbers. There were no differences in educational level and age between those subjects who participated and those who did not respond to the study invitation or refused to participate. A total of 2140 CRC cases, 459 gastric cancer cases, 3950 controls for colorectal cancer and 3440 controls for gastric cancer were recruited in the study. Participants with missing information on sleep duration (N = 487, 7.3%) and key confounders (N = 7, 0.1%) were excluded. The present analysis included 2008 colorectal cancer cases, 452 gastric cancer cases, 3598 controls for colorectal cancer and 3099 population controls for gastric cancer (3077 were common controls used in both analyses).

Data collection

Participant information was collected using face-to-face interviews performed by trained personnel. Interviews with cancer patients were scheduled shortly after a new cancer diagnosis. The median time between date of diagnosis and interview was 63 days (interquartile range, iqr 106) for colorectal cancer and 40 days (iqr 75) for gastric cancer. To evaluate sleep duration, subjects were asked to report how many hours on average they slept per night at the time of recruitment. They were also asked how frequently (days/week) they usually took daytime naps (“siestas”) and what was their average duration (minutes/nap). Sleep quality was assessed using questions on occurrence of sleep problems (difficulty falling asleep, waking up during the night, taking sleep medication) that lasted for at least 1 year through lifetime and also by reporting the the age of beginning and end of the sleep problem. Sleep timing was assessed asking participants to report their habitual bedtime, if they reported going to sleep at approximately the same time every day during the last 10 years, and whether they had experienced a period of at least 1 year with frequent changes in their bedtime. Night shift work (working for at least 3 h between midnight and 5am at least 3 times per month) was assessed using a lifetime occupational history and detailed questions on work schedules for all jobs held for at least a year. Information on known or suspected risk factors for colorectal and gastric cancer was collected including age, educational level, family socioeconomic level, race, BMI, family history of colorectal and gastric cancer, smoking status, physical activity, medication use, and personal disease history (e.g. diabetes). In a subset of participants (88% of controls, 88% of colorectal cancer cases, 77% of gastric cancer cases) a self-administered diet questionnaire was used to assess current and past (at the age of 30–40 years) diet habits including alcohol consumption.

Statistical analysis

In bivariate analyses we examined participant’s characteristics by case–control status and by categories of sleep duration and daytime napping. We used generalized additive models (GAM) to inspect the linearity of associations of sleep duration with CRC and gastric cancer. GAMs used a smoothing function for sleep duration and were adjusted for confounders. We used unconditional logistic regression analysis and calculated odds ratios (OR) with 95% confidence intervals (CI) for colorectal and gastric cancer separately, across predefined categories of : (i) nighttime sleep duration (≤ 5 hours, 6 hours, 7 hours (reference), 8 hours, ≥ 9 hours), (ii) daytime napping frequency (no napping (reference), 1–5 days/week, 6–7 days/week), (iii) daytime napping duration (no napping, < 15 min, 15–29 min, 30–59 min, ≥ 60 min), (iv) combined napping frequency and duration (no napping, 1–5 naps/week for < 30 min, 6–7 naps/week for < 30 min, 1–5 naps/week for ≥ 30 min, 6–7 naps/week for ≥ 30 min). For the combined analysis, the median of napping duration (30 min) and the 25th percentile of napping frequency (5 days/week) among controls that napped were used as cut-offs. We also assessed the effects of ever having sleep problems (for at least 1 year), duration of sleep problems (years) and having experienced frequent changes in bedtime. Crude models were adjusted for frequency-matched variables (age, center, sex) and educational level (less than primary, primary, high school, university). Fully-adjusted models were additionally adjusted for family history of CRC or gastric cancer in first degree relatives (yes/no), body mass index (< 25, 25–29, ≥ 30 units), leisure time physical activity (inactive, little active, moderately active, very active)), smoking status (never, ex-smoker, current smoker) and occupational status (employed, unemployed, housewives, retired). A category of missing values was used for confounders included in the final model. Full case-analysis was performed in a subset of participants (88% of controls, 88% of colorectal cancer cases, 77% of gastric cancer cases), with diet information on usual and past dietary intake. In this analysis we additionally adjusted for diet habits [past alcohol consumption (quartiles), total energy intake in grams/day (quartiles), red meat consumption in grams/day (quartiles), fruit consumption in grams/day (quartiles), vegetable consumption in grams/day (quartiles)], other sleep characteristics (sleep duration/daytime napping; sleep problems, frequent changes in bedtime), and night shift work history (never shift work, permanent night shifts, rotating night shifts, rotating shifts, housewives). Further adjustment to the above mentioned variables made minimal difference in risk estimates and these results are presented in Supplemental Table 1. We tested possible interactions between sleep duration/daytime napping and sex (women, men), BMI (< 25, 25–30, > 30), night shift work history (never, ever), education (primary school or less vs high school, university or higher) and age at recruitment/diagnosis (< 50 years, ≥ 50 years) using the likelihood ratio test (LRT) and performed stratified analyses. Stratified analysis by night shift work history (never, ever) was conducted among participants with night shift work information (87.5%), after excluding participants with missing night shift work history (CRC: 7.9%, gastric: 5.8%) and housewives (CRC/gastric: 6.7%). We also evaluated the association between sleep duration and daytime napping and anatomical subtypes (colon, rectum), and TNM staging (0–II, III, IV) of colorectal cancer and anatomical site (non-cardia/oesophageal, cardia) and Lauren classification (Intestinal vs Diffuse) for gastric cancer using multinomial logistic regression and tested for heterogeneity across subtypes of cancer. In sensitivity analysis we (i) excluded participants with any report of sleep problem in the 5 years prior to recruitment in the study (N = 1930, 31.7%) (ii) excluded retired workers (N = 3146, 52%), (iii) excluded participants with more than 6 months between the date of diagnosis and interview. Analyses were performed using Stata version 14.1.

Table 1 Characteristics of controls and cases with sleep duration information in the MCC-Spain study (N = 6082).

Compliance with ethical standards

Ethical approval was obtained from the local ethical committee. Informed consent was obtained from all participants. All methods were carried out in accordance with relevant guidelines and regulations.

Results

CRC cases were more likely to be older, obese, less physically active, to smoke, to have a lower educational level and to report CRC in their family history, than controls (Table 1). Similarly, gastric cancer cases were older and more likely to be obese, physically inactive, ever smokers, and to have family history of gastric cancer, compared to controls. Both colorectal and gastric cancer cases reported higher total energy intake, past alcohol consumption and red meat consumption compared to their respective controls. Average sleep duration was slightly longer among cases (CRC 7.3 h; SD1.6; gastric cancer 7.2 h; SD 1.6) than controls (7 h; SD 1.4). Daytime napping was reported among 61% of colorectal cancer cases, 60% of gastric cancer cases and approximately 55% of population controls. Both colorectal and gastric cancer cases were more likely to report a higher frequency (days/week) and duration (minutes/nap) of daytime napping compared to controls. Sleep problems and use of sleep medication was more frequent among controls than among cancer cases.

Controls in the extreme sleep duration categories (≤ 5 and ≥ 9 h) were more likely to be older and retired, have a higher BMI, lower education, and be less physically active, compared to those with 7 h of sleep (Table 2). Controls with the longest durations of sleep (≥ 9 h) were also more likely to be male, to have night shift work history and report higher past alcohol consumption, compared to participants with shorter sleep duration. Controls who slept ≤ 5 h were more likely to have sleep problems, take sleep medication, and report frequent changes in bed time. Daytime napping was less common in the extreme sleep duration categories, compared to the 7 h group, however frequency and duration of naps was higher in participants with extreme nighttime sleep duration, compared to 7 h of sleep. Participants napping 6–7 times a week were slightly older and more likely to be male, retired workers, smokers and less likely to have sleep problems. Sleep duration was similar between participants with and without napping and across categories of increasing napping frequency.

Table 2 Characteristics of sleep duration and daytime napping profiles among all controls included in the analysis of colorectal cancer (N = 3598).

We found a U-shape association between sleep duration and gastric cancer as shown in the multivariable adjusted GAM spline (Fig. 1). A similar but less pronounced shape of association was observed for CRC. The quadratic term of sleep duration was statistically significant (p < 0.001) for both colorectal and gastric cancer risk, showing departure from linearity. Associations of sleep duration categories, daytime naps with incident colorectal and gastric cancer are presented in Table 3. In multivariable adjusted models sleep duration of 8 hours and ≥ 9 hours were associated with an increase in the odds of CRC (OR8 hours: 1.27; 95% CI 1.08–1.49, OR≥9 hours: 1.59; 1.30–1.94) and gastric cancer (OR8 hours: 1.46; 95% CI 1.09–1.97, OR≥9 hours: 1.95; 1.35–2.76), compared to 7 h of sleep. Short sleep (≤ 5 hours) was associated with non-significant increase in the odds of gastric cancer (OR≤5 hours: 1.32; 95% CI; 0.93–1.88). Effects of short sleep on gastric cancer became stronger and statistically significant in full case-analyses among participants with diet information after additionally adjusting for diet, sleep, and shift work history (Supplemental Table 1). Daytime napping frequency and duration were both significantly associated with higher odds of colorectal and gastric cancer, compared to those who did not nap (Table 3). Cancer odds were highest among those who reported napping frequently (CRC: OR6-7 days/week: 1.24; 95% CI 1.09–1.42; gastric: OR6-7 days/week 1.31; 95%CI 1.04–1.67) or longer (CRC: OR>60 min: 1.32; 95% CI 1.12–1.55; gastric: OR>60 min 1.60; 95%CI 1.21–2.11). Mutually adjusting sleep duration for napping and vice-versa had minimal impact on the respective risk estimates (not shown). In combined analyses of napping frequency/duration the odds of cancer significantly increased among participants that reported frequent (6–7 naps/week) and longer (30 min) naps (CRC: OR6-7 days/week, ≥30 min: 1.32; 95% CI 1.14–1.54; gastric: OR6-7 days/week, ≥30 min: 1.56, 95%CI 1.21–2.02) and not for the other combinations of frequency and duration. The effects of long sleep duration and daytime napping on both tumors remained statistically significant and became stronger in full case-analysis among participants with diet information and after several additional adjustments for diet factors, sleep characteristics, and night shift work history (Supplemental Table 1). Sleep problems, duration of sleep problems (years) and frequent changes in time of sleep were not associated with colorectal or gastric cancer (Supplemental Table 2). In stratified analysis by BMI categories, long sleep was associated with a larger increase in CRC odds among individuals with BMI < 25 (colorectal: OR≥9 hours: 2.21, 1.55–3.16) than among overweight (BMI = 25–30: OR≥9 hours 1.38; 1.01–1.87) and obese (BMI > 30: OR≥9 hours: 1.40; 0.93–2.09) participants (Table 4). We found no important variation in CRC risk estimates for daytime napping across BMI strata. On the contrary, the strongest effects on gastric cancer of extreme sleep durations and daytime napping were observed among overweight (BMI: 25–30) participants (p-for-interaction with sleep duration = 0.002).

Figure 1
figure 1

Multivariable adjusted General Additive Model (GAM) splines for the association (smooth function) of sleep duration and colorectal (A) and gastric (B) cancer risk in the MCC-Spain study. (A) Sleep duration and colorectal cancer (p-Gain = 0.0001). (B) Sleep duration and gastric cancer (p-Gain = 0.0001). Adjusted for age (continuous), centre (Barcelona, Madrid, Leon, Navarra, Cantabria, Guipuzcoa, Valencia, Huelva, Asturias, Granada, Murcia),, sex (female, male), and educational level (less than primary, primary, high school, university), family history of colorectal cancer or gastric cancer in first degree relatives (yes/no), body mass index (< 22.5, 22.5–24.9, 25–29.9, ≥ 30), leisure time physical activity (inactive, little active, moderately active, very active), smoking status (never, ex-smoker, current smoker).

Table 3 Sleep duration and daytime napping in relation to colorectal and gastric cancer odds in the MCC-Spain study.
Table 4 Sleep duration and daytime napping in relation to colorectal and gastric cancer odds in the MCC-Spain study by BMI categories.

In stratified analysis by lifetime night shift work history, short sleep was associated with a significantly increased odds of colorectal (OR≤5 hours: 1.69, 95%CI 1.04–2.74) and gastric cancer (OR≤5 hours: 2.75; 95%CI 1.15–6.59) among participants with night shift work history (LRT p-for interaction = 0.11) (Table 5). Long sleep duration (8 h and ≥ 9 h) was associated with higher odds of colorectal and gastric cancer of similar magnitude, compared to 7 h of sleep, in both strata. Regular long naps (6–7 days/week, ≥ 30 min) were associated with a greater increase in the odds of colorectal and gastric cancer among participants with night shift work history (CRC: OR6-7 days/week, ≥30 min 1.75, 95%CI 1.23, 2.51; gastric: OR6-7 days/week, ≥30 min 2.54, 95%CI 1.06–6.06), while a weaker or no association was described among participants with no shift work history (CRC: OR6-7 days/week, ≥30min1.33, 95%CI 1.11–1.61; gastric: OR6-7 days/week, ≥ 30 min 1.19; 0.87–1.63), although the statistical interaction between daytime naps and night work history was not significant.

Table 5 Sleep duration and daytime napping in relation to colorectal and gastric cancer odds in the MCC-Spain study by night shift work history.

In stratified analyses by sex, the association between sleep duration and cancer varied slightly across sexes (opposite direction for short and long sleep), but there was no evidence for a statistically significant sex-interaction with sleep duration (Supplemental Table 3). Women in the top category of napping frequency and duration had a higher odds for gastric cancer than men (LRT p-for-interaction = 0.03). In analyses stratified by education associations of sleep duration and cancer were observed across both strata of education (primary or less/high school or more) (Supplemental Table 4). A finer analysis using 4 strata revealed a similar risk pattern for sleep duration (data not shown); results for 9 + hours of sleep were insignificant and weaker among those with the lowest education (less than primary) compared to the rest of the groups. Daytime napping results were stronger in the stratum with lowest education for CRC but results for gastric cancer were similar across strata of education. In stratified analysis by age at diagnosis/interview, the effects of longer sleep duration and daytime napping on colorectal and gastric cancer were more pronounced among participants younger than 50 years than among those older than 50 years, but no statistically significant interaction was observed (Supplemental Table 5). Results for colorectal cancer showed no significant heterogeneity by TNM staging or anatomical site (Supplemental Table 6). Associations with long sleep duration and napping were a bit stronger for stage IV colorectal cancer but also strong and significant for stage 0–II colorectal tumors. Most of the associations were retained in analyses by anatomical cancer site and Lauren’s classification categories for gastric cancer (Supplemental Table 7). Long sleep duration was associated with an increased odds for both tumors located in the colon and rectum, while most of the risk estimates did not differ between non-cardia and cardia/esophageal cancer. In sensitivity analyses excluding participants with report of sleep problems in the 5 years prior to recruitment, results were unchanged (Supplemental Table 8). After the exclusion of retired participants and participants with more than 6 months between the date of diagnosis and interview most results were unchanged or became stronger (data not shown).

Discussion

In this large case–control study we found that participants with longer sleep duration (8 hours and ≥ 9 hours) had significantly increased odds of colorectal and gastric cancer, compared to those with 7 hours of sleep. Short sleep duration (≤ 5 hours) was also associated with increased, but not statistically significant, gastric cancer odds. Frequent (6–7 days/week) long (> 60 min) naps were associated with increased odds of colorectal and gastric cancer. The effects of short sleep duration and napping were stronger among participants with night shift work history for both tumors.

Long sleep duration was independently associated with colorectal and gastric cancer in our study. Long sleep duration has been associated with higher all-cause and cancer-specific mortality in several meta-analyses including a large number of observational studies4,23,24. To date, only a few studies have examined the association of sleep duration with cancer risk for tumors other than breast cancer11,14. Our findings for an association of long sleep with CRC are in line with results from two prospective US cohorts of health professionals previously reported an increased risk of CRC among participants with sleep duration of 8 hours and ≥ 9 hours (compared to 7 hours of sleep), especially among individuals who were overweight or snored regularly16. Although we lacked information on snoring or sleep disordered breathing, our results did not change after adjusting for BMI/obesity and impaired sleep quality, two surrogates of sleep apnoea. Long sleep exhibited a stronger effect on CRC among individuals with a normal BMI. This may indicate that mechanisms other than increased adiposity—a well-known risk factor for CRC and gastric cancer—might be involved in the potential link between long sleep and cancer. A 40% increase in risk of CRC was associated with sleep durations of 10 + hours/day in a cohort of female teachers25. Our study extends these findings to both sexes and to the general population across occupational groups. Both long (≥ 9 hours) and short (≤ 5 hours) sleep have been associated with an increase in the incidence of CRC among postmenopausal women17. In our study, short sleep (≤ 5 hours) was associated with borderline higher odds of gastric cancer, but not CRC. Previous studies have identified associations of short sleep with all-cause mortality, cancer-specific mortality and cancer incidence12. In line with our results, a US cohort of older adults (the NIH-AARP Diet and Health Study) reported a significantly increased gastric cancer risk in male short (5–6 hours) sleepers18. Our findings for short sleep duration and gastric cancer are also supported by a recent Mendelian Randomization study that analysed 22-site specific cancers among UK Biobank participants and reported suggestive associations of genetic liability to short sleep duration with higher odds of several gastrointestinal cancers including gastric, pancreatic and CRC26.

Daytime napping frequency and duration were associated with increasing odds of colorectal and gastric cancer, with highest odds observed in participants with frequent (6–7 naps/week) and long (≥ 30 min) naps. When napping analyses were further adjusted for sleep duration and other sleep characteristics results were robust, indicating independent association with cancer. This is the first study to examine the role of daytime napping—commonly known as “siesta”—in relation to colorectal and gastric cancer risk. In a previous study no napping was associated with a greater all-cancer incidence in males, compared to < 30 min napping, but longer napping durations (30 + min) were also associated with a higher cancer risk27. Similarly in our data, gastrointestinal cancer odds increased among participants reporting longer naps (≥ 30 min) but not among those with shorter napping duration (< 30 min) independently of napping frequency. Interestingly, in a study including 4869 CRC survivors, prediagnostic napping was associated with higher total and cardiovascular disease-specific mortality19. The role of daytime napping and its frequency and duration in modifying the association of sleep needs to be explored in future studies of cancer and other chronic disease outcomes.

In stratified analysis by night shift work history we found a stronger effect of short sleep and napping among subjects with night shift work history, and this risk pattern was consistent for both colorectal and gastric cancer. Sleep disruption is one of the suggested mechanisms for the link between night shift work and cancer risk28. While in our previous analyses long-term night shift work has been shown to increase the odds of gastric and colorectal20,21, the present study suggests that short sleep duration and napping may interact with shift work with joint effects on gastrointestinal cancer risk. Although in our study, sleep problems could not be attributed to night shift work, our findings corroborate with a few other studies suggesting combined effects of long-term night shift work and long sleep duration on total cancer incidence and mortality27, breast cancer29 and lung cancer30. Night shift work leads to acute sleep loss and impaired sleep quality31,32, compensational daytime napping on work days and longer sleep on days off6,32,33. Shift work related sleep disturbances may become chronic and persist even after quitting shift work34, and in retirement35. Shift workers who are especially vulnerable to shift work schedules are more likely to develop “shift work sleep disorder” (SWD) which consists of chronic insomnia and/or daytime sleepiness36. However it is currently unknown if shift workers with SWD are at a greater risk of developing later chronic diseases compared to shift workers without SWD37. Our results suggest that participants with short sleep and daytime naps may be more susceptible to the negative effects of night work. Alternatively participants with night shift work history that develop sleep problems might be at a higher risk of colorectal and gastric cancer, compared to night workers without sleep complaints. Our finding of joint effects between circadian and sleep disruption is novel and needs to be confirmed in prospective cohort studies.

Animal and human studies suggest a genetic basis for sleep duration, thus, short and long sleepers may represent phenotypes of the function of clock genes in human sleep38,39,40. Experimental data provide a physiological basis for the inter-individual variability and the intra-individual stability of habitual sleep duration38. Sleep is well known for its contribution to the maintenance of the immune system and regulation of human metabolism41,42. Several mechanisms for the negative effects of long sleep on mortality have been suggested and discussed by Grander and Drummond43 and many of them may have implications for cancer outcomes: First, reported long sleep might reflect disturbances in sleep continuity or sleep architecture and thus may result from impaired sleep quality or fragmented sleep44. Second, long sleep has been associated with feelings of fatigue and lethargy which in turn may decrease resistance to stress and disease. Third, long sleep may influence the immune system and expression of cytokines45,46,47. Fourth long sleep may be associated with shorter photoperiod and inadequate light exposure patterns48. Fifth, long sleep has been consistently associated with a more sedentary behaviour, less healthy lifestyle and obesity49,50,51,52. Furthermore, long sleepers were found more likely to be divorced, living alone, unemployed, and have a lower socioeconomic status50. Sixth, depression or other underlying chronic disease such as sleep apnoea or diabetes that lead to longer sleep or longer time in bed may mediate the association between long sleep and cancer. Last, there is a possibility that poor health including cancer leads to long sleep rather than the opposite43. On the other hand, several biological mechanisms may explain the potential link between short sleep with cancer risk. Sleep deprivation has been associated with impaired immune function, elevated levels of inflammatory markers and deregulation of cortisol levels that may affect the tumor surveillance system53,54,55. Specifically for gastric cancer, a disrupted immune–inflammation balance might promote H. pylori related gastric carcinogenesis41. Sleep deficiency has been also linked to higher adiposity, metabolic syndrome and type II diabetes that may in turn further increase the risk of cancer56,57,58. Furthermore, short sleep duration might be related to increased light-at-night exposure and thus lower nocturnal melatonin levels38, a hormone with well-known direct and indirect oncostatic properties59,60. Finally, sleep loss and/or circadian misalignment may be associated with gut microbiota disruption and subsequent increased risk for metabolic disease and CRC61,62.

Our study has several limitations. First, reverse causality could partly explain some of the observed associations since cancer status may affect sleep duration and napping habits in both directions (towards more but also less sleep). Similar to most previous epidemiological studies, we assessed current sleep duration and assumed it to be representative of habitual and past sleep duration during adulthood within individuals, but likely reflects relatively recent exposures. In order to address this question, in a follow up of the MCC-Spain study additional sleep information was collected at age 40 years and in the year prior to recruitment/cancer diagnosis among breast and prostate cancer cases and respective controls. In preliminary analysis, we found a significant correlation between sleep durations at age 40 and in the year before diagnosis and results did not vary by case–control status (data not shown). These results are supportive of our assumption that current sleep duration assessed in late adulthood could be indicative of past sleep duration in mid adulthood. Furthermore, in our study only incident cases were recruited and interviews were scheduled soon after cancer diagnoses. Our results did not change when we excluded interviews that took place 6 months or later after cancer diagnoses (data not shown). In order to reduce the potential for reverse causality, we conducted sensitivity analyses excluding participants with sleep problems in the 5 years before diagnosis/recruitment, which did not materially change the results. In addition, we found no evidence for significant risk variation across colorectal cancer stages in TNM stage-stratified analyses. Second, self-reported sleep duration estimates may contain error and are in poor or moderate agreement with objective (polysomnography or actigraphy) measurements in some but not all studies63,64,65. Participants might have provided information on how many hours they spend in bed instead of actual sleep time, although these two metrics tend to correlate. However, report of current sleep duration is unlikely differential between cases and controls since no recall of past exposure was involved and sleep duration is not a well-known risk factor for cancer, thus, exposure misclassification may have biased our estimates to the null. Third, sleep duration was missing in 8.8% of CRC controls, 9% in gastric cancer controls, 6.1% of CRC cases and 1.5% in gastric cancer cases, but no differences were found in age, BMI, family history of cancer between participants with and without sleep duration information. Missingness in sleep duration was associated with education and lifestyle (opposite pattern for cases and for controls) but in stratified analyses by education most results were robust. Fourth, we assessed habitual sleep duration once and did not record changes or sustained effects of sleep duration over time, although we controlled for frequent changes of sleeping time that could account for night-to-night variability in sleep duration. Epidemiology is still limited due to constraints in measuring sleep with existing questionnaires66, and future studies should include detailed sleep assessment over critical periods in life that would help reconstruct and evaluate a person’s “lifetime sleep history”67. Fifth, although our study was large, power was limited in stratified analyses, especially for gastric cancer. Sixth, although our study extensively controlled for potential confounders, residual confounding cannot be entirely ruled out. In addition, psychiatric conditions such as depression or anxiety were not assessed and thus not controlled for analytically. Last, similar to other population-based case–control studies low to moderate response rates were observed in both cases and controls, especially among gastric cancer patients due to poor disease prognosis. It is possible that gastric cancer patients with more advanced disease at diagnosis were underrepresented in our study. The reasons for the relatively low response rates may have differed between cases and controls and could have led to selection bias. Participants with a higher socioeconomic or educational status were more likely to participate in the study, especially among controls. However, we found no clear differences of the effects according to groups of education, where selection bias potential would be minimized.

Strengths of this study include the large sample size with enough participants in the categories of extreme sleep duration (29% reported ≤ 5 h and 10% reported ≥ 9 h), the collection of information on a wide range of known and suspected risk factors for both tumors and extensive control for potential confounders, including other sleep characteristics such as sleep quality and sleep timing, to account for potential confounding due to impaired sleep. Most results were strong and consistent between colorectal and gastric cancer and remained significant after additional adjustments and in several stratified and sensitivity analyses, suggesting that our findings were unlikely entirely due to chance.

In this large population-based case–control study we described an association of long sleep duration (8 hours and ≥ 9 hours) with increased odds of colorectal and gastric cancer. Short sleep duration (≤ 5 hours) was associated with increased—but not statistically significant—odds of gastric cancer. Short sleep and daytime napping, especially frequent (6–7 days/week) long (≥ 30 min) naps, were associated with increased colorectal and gastric cancer odds, in particular among participants with night shift work history. Our findings support a potential role of extreme nighttime sleep duration and daytime napping in the odds of colorectal and gastric cancer and suggest possible joint effects of sleep and circadian disruption on the risk of gastrointestinal cancer.