1 Introduction

Irritable bowel syndrome (IBS) is defined by the ROME IV criteria as a functional bowel disorder, characterised by recurrent abdominal pain associated with defecation or a change in bowel habits [1]. The abdominal pain is accompanied by diarrhoea or constipation, or both. IBS symptoms should be present for at least 1 day per week during the past 3 months, with a symptom onset of at least 6 months before the diagnosis is made [1]. IBS complaints are related to changes in mucosal barrier integrity and secretion which causes an increased sensitivity of the bowel and changed bowel motility. Several psychological and physiological stressors may impact the severity of IBS complaints [2,3,4], including comorbid disorders such as insomnia [5]. Insomnia is diagnosed in 10–20% of adults and is defined by difficulty falling asleep, maintaining sleep, early morning awakenings, or poor sleep quality (i.e., non-restorative sleep) [6, 7]. Both IBS and insomnia have been associated with daytime impairment and distress, and reduced quality of life [5, 8].

IBS is often associated with disturbed and insufficient sleep [5, 9, 10]. On the one hand, for example, Lee et al. reported that total sleep time (TST), sleep onset latency (SOL), difficulty initiating and maintaining sleep, and the number of awakenings at night relate to the severity of IBS symptoms [10]. On the other hand, IBS complaints, in particular pain, often have a significant impact on sleep. Therefore, the association between IBS and insomnia is of a bi-directional nature. In a recent study, the association between sleep complaints and IBS was investigated among 1950 Dutch students [5]. The analysis revealed that IBS symptoms severity was significantly associated with the severity of insomnia symptoms, sleep quality, sleep onset latency, and number of nightly awakenings. Having IBS complaints was negatively correlated with perceived general health, perceived immune functioning, and quality of life. However, the data were collected from a relative young and healthy population and most participants did not screen positive for having insomnia. Therefore, the aim of the current study was to specifically recruit adult subjects with sleep difficulties to further investigate the association between IBS and sleep. As both insomnia and IBS are heterogeneous conditions, it was determined whether the nature and extent of sleep difficulties (i.e., sleep initiation problems, sleep maintenance problems, or both) had a differential impact on specific IBS complaints (constipation, pain, or diarrhoea). The impact of gender and having a formal insomnia diagnosis on experiencing IBS complaints was also evaluated. Finally, disturbed sleep and IBS complaints were related to health perception and their impact on daytime functioning was assessed by investigating to what extent these complaints affect driving ability.

2 Methods

In February 2018, subjects, aged 18 and older, were invited via a Facebook advertisement to complete an online survey, created in Survey Monkey. The advertisement specifically targeted subjects ‘having difficulty falling asleep or maintaining sleep (insomnia)’. All procedures performed in studies involving human participants were in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki declaration and its later amendments or comparable ethical standards. Informed consent was obtained from all participants, and the Ethics Committee of the Faculty of Social and Behavioural Sciences of Utrecht University approved the study. As an incentive to participate, subjects could enter a prize draw to win a pillow. Data were stored anonymous (personal data, i.e., email addresses were removed from the dataset).

The survey first gathered information on demographics. These were followed by a series of questions about the nature and extent of sleep problems (i.e., sleep initiation problems, sleep maintenance problems, or both), IBS complaints (constipation, pain or diarrhoea), health perception (self-rated general health and immune functioning), and daytime functioning (lapses during driving).

2.1 Sleep Complaints

Data were collected on the type and duration of sleep disturbances and whether or not the insomnia was formally diagnosed. The severity of sleep difficulties was assessed for ‘difficulty falling asleep’ and ‘difficulty maintaining sleep’ on a scale ranging from 0 (none) to 4 (very). To calculate total sleep time and sleep onset latency, information on common sleep characteristics was collected using items from the Groningen Sleep Quality Scale (GSQS) [11]. Perceived ‘sleep quality’ and ‘satisfaction with sleep pattern’ were scored on an 11-point scale ranging from 0 (very poor) to 10 (excellent).

2.2 IBS Complaints

The presence and severity of IBS symptoms were evaluated with a modified Dutch version of the Birmingham IBS Symptom Questionnaire [12]. The questionnaire comprises 11 items with 6-answer possibilities, ranging from 0 (none of the time) to 5 (all of the time). The sum-score of all items represents overall IBS symptom severity and higher scores indicate a greater likelihood of diagnosis of IBS. In addition, scores on three symptom-specific scales representing the factors ‘constipation’ (three items), ‘pain’ (three items), and ‘diarrhoea’ (five items) were calculated.

2.3 Perceived Health Status and Immune Functioning

Self-rated current immune functioning and perceived general health were assessed using single-item questions and rated on a scale ranging from 0 (very poor) to 10 (excellent) [13]. Past-year immune status was assessed with the Immune Status Questionnaire (ISQ) [14]. The ISQ is a 7-item scale assessing the frequency of experiencing sudden high fever, diarrhoea, headache, skin problems, muscle and joint pain, common cold, and coughing, on a scale ranging from never (0), sometimes (1), regularly (2), often (3) to (almost) always (4). The total ISQ score ranges from 0 to 28, with higher scores indicating a poorer past year’s immune fitness.

2.4 Daytime Functioning—Driving

As a measure of daytime functioning that may be affected by disturbed sleep, the Dutch version of the lapses subscale of the Manchester Driver Behaviour Questionnaire was completed [15]. The lapses subscale consists of eight items that can be rated on a six-point scale ranging from 0 (never) to 6 (nearly all the time). Lapses are defined as brief periods of inattention and reduced alertness, which may be a risk factor for car crashes [16, 17]. Higher scores indicate more lapses.

2.5 Statistical Analysis

Data were analysed using SPSS software (IBM SPSS statistics, version 25). Bivariate correlations between the IBS scores and the variables were calculated using the Spearman’s ρ correlation coefficient for non-parametric data and the Pearson’s r correlation coefficient for parametric data. In particular, analyses were conducted to compare (1) men and women, (2) those with and without a formal insomnia diagnosis, and (3) those with sleep initiation problems, sleep maintenance problems, or both. The groups were compared using ANOVA in case of a normal distribution, and the nonparametric Independent Samples Mann–Whitney U test was applied if the data were not normally distributed.

3 Results

Of the N = 1031 subjects who opened the link to the survey, N = 25 were excluded from the study as they did not accept the terms and conditions of the survey; another N = 41 were excluded as they did not present with sleep problems; and N = 94 were excluded because their data were unreliable or incomplete (i.e., who stopped the survey before completing questions on sleep and IBS). Data from N = 871 subjects, of which N = 698 (83.1%) women, were included in the analysis. The mean (SD) age of the study cohort was 37.0 (13.3) years and their mean (SD) BMI was 26.6 (5.6) kg/m2. As sometimes subjects skipped answering some of the questions of the survey, the total number of participants varies between the different correlations, as indicated in tables.

Table 1 gives an overview of associations between sleep and IBS variables. It shows that various sleep difficulties correlate significantly, albeit modestly, with the overall IBS severity and the subscales for constipation, pain, and diarrhoea. Of note, there were significant correlations between IBS complaint severity and difficulty falling asleep, but not for difficulty maintaining sleep. The duration of sleep problems was not significantly associated with the severity of IBS complaints. Amongst the various IBS symptoms, the correlations were strongest with IBS-related pain. In addition, IBS severity correlated significantly with self-rated general health and immune functioning. Finally, driving impairment, operationalized as lapses during driving, correlated significantly with the severity of IBS complaints (overall, and the three subscales).

Table 1 Correlations of variables with IBS scores

Table 2 presents the correlations calculated for men and women separately. The correlation in women was generally more robust than those observed in men. In fact, the associations between sleep variables and IBS complaints among men often did not reach statistical significance. Women had significantly higher scores on difficulty to falling asleep, reported a significantly higher number of nightly awakenings, and had a significantly higher BMI relative to men.

Table 2 Correlations with IBS depending on differences in gender

Table 3 compares subjects diagnosed as having insomnia with subjects that did not have this diagnosis. Subjects with an insomnia diagnosis reported significantly more severe sleep disturbances, as well as significantly more severe IBS symptoms. The correlations between sleep and IBS complaints in diagnosed patients were stronger than those observed in subjects without an insomnia diagnosis.

Table 3 Correlations with IBS depending on differences in diagnosis

Subjects with difficulty falling asleep had significantly less nightly awakenings and were younger than subjects with sleep maintenance difficulties. The groups did not significantly differ on other sleep outcome measures. Subjects that reported having both sleep initiation and maintenance complaints experienced sleep problems for a significantly longer duration, had a shorter total sleep time, more nightly awakenings, and were accordingly less satisfied with their sleep and sleep quality than subjects with only one of the sleep symptoms. As expected, they rated their general health and perceived immune functioning as lower than those who reported only one sleep complaint. The association with IBS complaints was significant for the severity of difficulty falling asleep, but not for the severity of difficulty maintaining sleep (see Table 4).

Table 4 Correlations with IBS depending on type sleep problems

Finally, the association of current immune functioning and past year’s immune fitness with sleep and IBS outcomes was investigated. The results are summarised in Fig. 1. Perceived current immune functioning (Fig. 1, top) correlated significantly with the total IBS score, and the subscales for constipation, diarrhoea, and pain (p < 0.0001). For sleep outcomes, perceived immune functioning correlated significantly with sleep quality (p = 0.0001) and the number of nightly awakenings (p = 0.004), but not with TST (p = 0.127). In accordance, past year’s immune fitness (Fig. 1, bottom) correlated significantly with the total IBS score, and the subscales for constipation, diarrhoea, and pain (p < 0.0001). For sleep outcomes, ISQ scores correlated significantly with sleep quality (p = 0.0001) and the number of nightly awakenings (p = 0.037), but not with TST (p = 0.392).

Fig. 1
figure 1

Associations between sleep, immune functioning, and IBS. Significant associations (p < 0.05) are depicted as uninterrupted lines. Note: in the top figure, current immune functioning was rated from 0 (poor) to 10 (excellent), resulting in negative correlations with sleep and IBS complaints. In the bottom figure, past year’s immune fitness was assessed with the ISQ in which higher scores represent poorer immune fitness, resulting in positive correlations with sleep and IBS outcomes

4 Discussion

The current study in adults with insomnia and or disturbed sleep (induction and or maintenance) showed that sleep is negatively associated with the presence of IBS. This is reflected in patients reporting poorer sleep quality and less satisfaction with their sleep pattern. The associations were most pronounced for the IBS subscale of pain, which is consistent with the previous research [5]. Disturbed or insufficient sleep for any cause exacerbates pain. This finding suggests that the improving sleep behaviourally and/or pharmacologically will reduce IBS-associated pain. Further, these data show that having IBS complaints is associated with the severity of difficulty falling asleep, but not with the severity of difficulty maintaining sleep. This finding suggests that the most important therapeutic approach would be behavioural treatment intended to reduce sleep latency (e.g., relaxation training) or pharmacological intervention with hypnotic agents with short sleep latency. Future research is needed to determine if there is a phase delay among IBS patients given their difficulty falling asleep. If so, the use of light to phase advance IBS patients might relieve the sleep impairments as well as the pain associated with it.

While sleep initiation seems to be the dominant problem, it is important to recognise that sleep difficulties were worst in the group that reported having both difficulty falling asleep and sleep maintenance problems (see Table 4). In terms of IBS, these are the subjects that reported significantly higher scores on overall IBS complaints, and more specific IBS pain complaints, compared to subjects who only reported sleep maintenance problems. The association between IBS complaints and sleep difficulties is further supported by the comparison of diagnosed insomnia relative to non-diagnosed patients. The associations with IBS complaints were greater in subjects with a formal insomnia diagnosis and those using sleep medication. These patients report significantly more severe sleep disturbances, as well as significantly more severe IBS symptoms compared to subjects with no formal insomnia diagnosis. These findings may reflect the fact that subjects with more severe complaints are more likely to visit their physician and inquire for treatment.

IBS is a chronic disorder that is present in all age groups. However, older people tend to have milder symptoms than younger IBS patients [18, 19]. Consistent is that data of the current study found significant negative correlations between age and the severity of IBS complaints. This might be explained by the fact that older people become more tolerant to IBS symptoms over time. A paradoxical finding is that sleep disturbance aggravates with age while IBS symptoms seem to moderate with age. This seeming discrepancy might in fact be explained by the fact that IBS is related primarily to sleep induction and the primary sleep difficulty in the elderly is sleep maintenance.

IBS and insomnia occur more often in women than in men [8], and in line, in the current study, the observed correlations between IBS and sleep were stronger in women compared to men. Women also had significantly higher absolute scores on the IBS subscales. Thus, both sleep disturbances and IBS complaints were more frequently reported and more severe in women compared to men. This observation has been reported previously by Lee et al. who argued that sex differences in both autonomic and attentional processes may facilitate sex-specific general stress responses that may also affect the presence and severity of IBS complaints [20].

The associations between IBS and sleep complaints have clear implications for quality of life and the performance of daily activities. Also, in the current study, significant associations were observed indicating that subjects with more IBS and/or sleep complaints report poorer general health and reported poorer immune functioning. As an example of a daily activity, effects on driving performance were operationalized by assessing lapses during driving. In women with an increasing severity of IBS symptoms, significantly more lapses were reported. In men, the correlations between IBS complaints and lapses were not significant.

Previous studies showed that perceived health and immune status are associated with both sleep quality and insomnia complaints [21], and IBS complaints [5]. Donner et al. [21] reported significant associations between sleep complaints and perceived immune functioning, whereas Balikji et al. [5] found significant associations between IBS symptom severity and insomnia complaints (r = 0.32, p = 0.0001), sleep quality (r = − 0.21, p = 0.0001), sleep onset latency (r = 0.11, p = 0.0001) and the number of nightly awakenings (r = 0.24, p = 0.0001). Similar associations were found in the current study, confirming that significant associations were found between IBS and sleep outcomes (see Tables 1, 2, 3, 4). In addition, both sleep and IBS outcomes correlated significantly with current perceived immune functioning and past year’s immune fitness (see Fig. 1). Correlations were most strong in men, subjects formally diagnosed with insomnia, and those who report having both sleep initiation and sleep maintenance problems (see Tables 2, 3, 4). Together, the observed multiple significant interrelationships further support the growing evidence that the immune system is involved in the pathogenesis of both insomnia and IBS.

The current findings suggest that people with IBS complaints can significantly improve their IBS-related health status by improving their sleep. The data suggest that, in this context, a focus on sleep initiation problems would be most effective. This may be accomplished by adopting adequate sleep practices, but they may also benefit from behavioural as well as pharmacological treatment of insomnia.

Several limitations have to be taken into account when interpreting the results. First, the current study consists of a relatively young study population. Since the subjects were recruited via Facebook, this has limited the number of elderly who participated, as they less frequently use social media and computers than younger adults. Therefore, it is not clear how the current findings can be translated to older age groups, which limits the generalizability to the population at large. Second, the current study population consisted of relatively more women (83.1%) than men, reflecting the higher prevalence of IBS and sleep disturbance in women than men [8, 22]. However, the study population was sufficiently large for conducting statistical analyses for both sexes. Third, the data of our study were assessed solely by self-report. Recall bias, thus, may have influenced the outcome. Biomarkers of IBS, objective measurement of pain sensitivity, and objective assessments of sleep such as polysomnography should be implemented in future studies to verify the observed relationships.

Taken together, the current findings underline the associations between sleep, perceived health, and IBS complaints. Sleep complaints can exacerbate IBS complaints, and vice versa. Given this, the data suggest that a combined treatment of insomnia and IBS complaints should be most effective.