Sleep and smartphone use: Within and between-person relationships from an objective longitudinal smartphone and wearable data donation study
Paulien Decorte, Karolien Poels, Cedric Vuye, Jonas Lembrechts, Ablenya Barros, Karolien Couscheir, Gert-Jan De Bruijn

TL;DR
This study finds that smartphone use and sleep are linked through daily habits, with in-bed phone use sometimes associated with longer sleep.
Contribution
The study uses objective longitudinal data to reveal within- and between-person relationships between smartphone use and sleep.
Findings
More total smartphone use increases same-day in-bed smartphone use.
Greater in-bed smartphone use is linked to slightly longer sleep duration the same night.
Strong day-to-day associations suggest stable individual habits in smartphone use and sleep.
Abstract
Poor sleep is common and detrimental to health. Smartphone use is often noted as a sleep disruptor, but evidence remains limited and inconsistent. This necessitates research focused on objective, longitudinal designs, as well as analytical approaches that can reveal lagged and reciprocal relationships that capture within- and between-person effects. To address these gaps, the current study investigated within- and between-person lagged and reciprocal effects of sleep duration and smartphone use of 68 participants through longitudinal and objective data donated from iPhones and Apple Watches across 14 consecutive days. Apple Watches objectively measured total sleep and sleep stage durations (REM, core, and deep sleep), while iPhones assessed total smartphone use duration and in-bed smartphone use. Two Dynamic Structural Equation Models (DSEMs), one with total sleep and one with sleep…
Genes, proteins, chemicals, diseases, species, mutations and cell lines named across the full text — each resolved to its canonical identifier and authoritative record.
Click any figure to enlarge with its caption.
Fig 1
Fig 2
Fig 3
Fig 4- —Fonds Wetenschappelijk Onderzoek – Vlaanderen (FWO) ‘Boredom and Smartphone Use
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSleep and related disorders · Impact of Technology on Adolescents · Digital Mental Health Interventions
Introduction
Sleep is vital to both mental and physical health [1,2], though many people struggle with insufficient sleep [3]. Excessive smartphone use is frequently cited as a contributor to poor sleep quality [4,5], with evidence linking it to fatigue and disrupted sleep even when it is used with the intention of aiding sleep [6,7]. However, recent studies have begun to challenge the notion that smartphone use is uniformly harmful to sleep [8], revealing mixed findings and suggesting a more complex relationship than previously assumed. Notably, some research indicates that sleep disturbances may actually lead to increased smartphone use [9], pointing to potential reciprocal effects that have yet to be fully understood.
To address these ambiguities, the current study takes a novel approach by investigating reciprocal relationships between smartphone use and sleep over time, examining how each may influence the other both within and between individuals. This approach allows inferences of both time-varying and habitual ties between sleep and smartphone use [10]. The current study harnesses objective*,* longitudinal data – which is scarce in this area [8,11,12] – captured through smartphones and wearables. The Apple Watch, for instance, has demonstrated sleep measurement validity against gold standards [13,14], making it suitable to objectively measure sleep. As this device is increasingly used by individuals to track their own health behaviors [15,16] - reflecting a larger growing habit of digital health tracking in everyday life [17] - adopting it in this study allows for high ecological validity as well as a detailed operationalization of both sleep and smartphone use. This includes specific in-bed usage patterns and distinctions between sleep stages, which can further improve the empirical evidence of this relationship [11,18]. Analytically, the study applies Dynamic Structural Equation Models (DSEMs) to disentangle the complex interplay between smartphone use and sleep. This method enables robust modelling of both lagged and reciprocal effects across and within days—capturing how sleep may influence next-day smartphone use, and how smartphone use may affect sleep later that same night [19].
By integrating cutting-edge objective measurement with sophisticated longitudinal modelling, this research provides a uniquely detailed and dynamic view of the bidirectional relationship between sleep and smartphone use. The findings will help clarify previous mixed results and inform more precise health and policy recommendations around smartphone use and sleep hygiene.
Methods
Ethics statement
All participants provided written informed consent in Qualtrics. This study was approved by the Ethics Committee for the Social Sciences and Humanities at the University of Antwerp on March 6^th^ 2024 (SHW_2024_10_2).
Design
This work adopted a data donation design [20], where people provide data from their iPhone and Apple Watch (AW) over 14 consecutive days. Sleep data, including total sleep duration and sleep phases (REM, core, deep), were collected via the Apple Watch. Smartphone use data, including total usage and in-bed usage, were obtained through iPhone Screen Time screenshots.
Participants
Data were available from a subsample of participants in a citizen science study in Belgium (De Oorzaak). Through data donation methods, these participants provided objective sensor-based data derived from their AW (WatchOS ≥ 9) and iPhone (iOS ≥ 16) across a six-week period by uploading XML (AW) and JPG (iPhone) files through Qualtrics. Belnet Filesender was used to securely transfer files larger than the 30MB allowed by Qualtrics. Participants' iPhone Screen Time (ST) screenshots spanned 14 consecutive days, since collecting 42 days of screenshots was too demanding. The current dataset is therefore limited to 14 days.
After expressing interest, they provided informed consent and shared their sociodemographic information (e.g., gender, age, education, income). Data collection spanned March-June 2024. Participants were not compensated.
Procedure
Participants were instructed to export their data from their iPhone and AW and upload this securely through Qualtrics. For iPhone ST data, participants took screenshots of their ST app for the past 14 days. Since it is not possible to filter AW data by time or measure beforehand – all data is exported – the researchers pre-processed the data keeping only project-relevant measures (sleep, heart rate, noise exposure) within the data collection timeframe and deleted identifying data before analysis. The full protocol adhering to STROBE guidelines is available on OSF: https://osf.io/yxmv5
Variables
Sleep.
AW Sleep app data (WatchOS ≥ 9) consists of different sleep stages: Awake, REM, Core (N1 and N2 stages), and Deep (N3 stage or slow-wave sleep) [21], widely recognized in sleep process research [22]. REM sleep is not seen as restful and consists of dreaming, resembling brain activity similar to being awake [22]. N1-N3 stages are considered non-rapid eye movement (NREM) sleep, taking up to 75% of sleep and progressively leading to deeper sleep [22]. Of those, N1 (5%) is the lightest sleep stage lasting around 1–5 minutes per sleep cycle. N2 (45%) is deeper and important for memory consolidation, indicated by drops in body temperature and heart rate. N3 (25%) is the deepest NREM sleep, also known as slow-wave sleep, where the body repairs and people are most difficultly awakened [22]. Though these various sleep stages are marked by various physiological signals, including muscle tone, heart rate, temperature, brain activity, and blood oxygen [22], the AW mainly captures movement and respiratory motion via an Apple-developed classifier algorithm from the AW’s triaxial accelerometer signals [21]. Apple’s own sleep validation resulted in 97.9% sensitivity (sleep classified correctly) and 75% specificity (awake classified correctly) [21]. Other studies also reported high accuracy and sensitivity [13], including compared to reference polysomnography devices [14]. We included the three sleep stages separately (REM, Deep, Core) and calculated their sum to obtain participants’ total sleep per day.
Total smartphone use.
Screenshots participants took of their daily ST reports, a native iPhone app [23], provided data on total daily iPhone use (hours and minutes), hourly use duration, and the three most-used app durations. We manually extracted these values from the screenshots and entered them into a database, coding total smartphone use (TSU) based on the recorded total daily duration. While the main author coded the screenshots, a second researcher (KP) independently verified 10% of the dataset (n = 96 screenshots), demonstrating very good agreement between coders.
Smartphone use in bed.
In-bed times can be inferred from participants’ pre-set iPhone sleep schedule reflecting their sleep/wake times via “Sleep Focus” that participants can manually turn on/off [24]. However, to more accurately determine participants’ in-bed intervals, we derived in-bed times from AW accelerometry (StepCount) [25] rather than relying solely on iPhone’s preset Sleep Focus schedule. AW step count accelerometer data were processed by identifying sustained periods of minimal movement during typical evening, nighttime, and early-morning hours. Long inactivity gaps and epochs with very low step counts were used to infer transitions into and out of bed, with brief and isolated low-activity moments classified as wake-after-sleep-onset rather than full exits from bed, which were inferred from activity across several subsequent periods following these gaps. This accelerometry-based classification allowed us to reconstruct in-bed periods for each participant. We then coded their hourly iPhone use duration via ST screenshots during these in-bed stages and summed this smartphone use in bed (SUiB).
Data cleaning
76 participants shared AW data and ST screenshots. We deleted n = 8 participants with ≥7 days of missing data for either sleep or ST, leaving N = 68 participants with 952 total data points across 14 consecutive days for analysis.
Apple Watch data and iPhone screenshots may have contained personal information. To ensure privacy, data were filtered and pseudonymized. An R script anonymized Apple Watch XML files (e.g., renaming device labels) and retained only variables of interest, linking them to participant ID numbers. All other raw data were deleted. Screenshots, which could include participant names, were converted into anonymous numerical datasets (e.g., usage hours, app types), and the original images were deleted.
Data analysis
We estimated two-level Dynamic Structural Equation Models (DSEMs) using R 4.3.2 and the brms package to assess the relationship between smartphone use and sleep, accounting for both within and between-person differences, as well as lagged and reciprocal effects. We tested two models. In the first, we included total sleep time, TSU duration, and SUiB duration in seconds. In the second, we replaced total sleep with the three sleep stages to see which are more strongly affected by smartphone use or vice-versa. Multiple imputation with 5 models was adopted for missing values, pooling the results. We calculated lagged variables (t-1) for lagged and autoregressive effects but kept the effects of TSU and SUiB towards all sleep variables current, as well as the effect of TSU on SUiB. Variables were grand mean centered to extract person-specific means (between-person component) and individual deviations from those means across time (within-person component) [26].
DSEM incorporates Bayesian estimation with uninformative priors [27], using two Markov Chain Monte Carlo (MCMC) simulations. Through this estimation, if the value of 0 falls within the 95% credible interval (CI) for a specific estimate, we conclude that it is non-significant [28]. Models were run with 5,000 iterations, with standardized parameter estimates (β) interpreted, representing means of posterior distributions (OSF https://osf.io/yxmv5). The potential scale reduction (PSR) factor or R-hat [29] determined model convergence, with R-hat < 1.01 indicating adequate model convergence [30].
To assess whether extreme observations influenced model estimates, we conducted posterior predictive checks for the mean of each outcome. For each imputed dataset, we simulated replicated data from the posterior predictive distribution and calculated the proportion of simulations in which the replicated mean exceeded the observed mean (posterior predictive “p-value”). Values near 0.5 indicate that the observed mean is typical under the model [31]. Across outcomes, the models reproduced the means well (0.51–0.68). This indicates that the outliers did not materially affect the central tendency of the modeled outcomes.
Results
Descriptives
Participants had a mean age of 43.76 (SD = 13.63). Over half were men (60.29%), employed full-time (57.35%), and had a net income of>€4000/month (52.95%). The large majority had pursued higher education (94.12%). Table 1 lists the sample demographics.
Table 1: Sample characteristics (N = 68).
Participants’ TSU ranged from 0-13.97 hours/day (M = 3.85, SD = 2.34), their SUiB from 0-7.3 hours/day (M = .54, SD = .73). Fig 1A-1B depict the density distributions of these variables.
Density distribution of participants’ daily smartphone use duration (A) in total and (B) in bed.
Participants’ total daily sleep ranged between 1.69-17.91 hours daily (M = 7.30, SD = 1.38). Participants spent 1.38-10.23 hours per day in core sleep (M = 4.98, SD = 1.16), .06-3.88 hours in deep sleep (M = .73, SD = .35), and .01-4.87 hours in REM sleep daily (M = 1.55, SD = .57). Fig 2A-2D present density distributions of total sleep and sleep stages.
Density distribution of participants’ daily (A) total (B) core, (C) deep, and (D) REM sleep.
Model results
After 5000 iterations, the R-hat dropped below 1.01, indicating excellent model convergence for both models [30]. The standardized estimates and CIs are presented in Table 2 (Model 1) and Table 3 (Model 2). No multicollinearity issues arose, with Variance Inflation Factor (VIF) values in both models between 1.00-2.58, considering those above 3–5 to be problematic [32].
Table 2: Model 1 standardized parameter estimates (β) and 95%-CI.
Table 3: Model 2 standardized parameter estimates (β) and 95%-CI.
It should be noted that in Model 2, the inclusion of sleep phases (REM, core, deep sleep) reduced its predictive accuracy. A leave-one-out cross-validation (LOO) model comparison demonstrated a log predictive density (ELPD) of -2152.4 (SD = 49.8) for Model 2 compared to Model 1. This suggests that Model 1 without sleep stages has a substantially better predictive accuracy. Findings from Model 2 should therefore be interpreted cautiously.
Within-person.
In Model 1 (Fig 3), more previous-day total sleep led to significantly less next-day total sleep (β = -.16). Greater TSU led to more same-day SUiB (β = .25), which in turn increased same-day total sleep (β = .08) and next-day total smartphone use (β = .10) - a cyclical effect. This showcases a day-to-day positive effect of smartphone use in bed on sleep, decreasing total smartphone use the next day (β = -.05).
Diagram of Model 1 significant effects.
Some within-person sleep and smartphone behaviors led to decreased sleep duration in Model 2 (Fig 4). Previous-day core sleep reduced next-day deep (β = -.07) and REM sleep (β = -.10). Previous-day deep sleep led to less the next day (β = -.15). The positive association between same-day TSU and SUiB remained (β = .25), with a cyclical effect remaining where previous-day SUiB increased next-day TSU (β = .10) . Unlike Model 1, there was no significant positive relationship between SUiB and specific sleep stages, though they lean in a positive direction.
Between-person.
Significant positive between-person associations emerged between previous-day and next-day total sleep (β = .53), TSU (β = .82), and SUiB (β = .63) in Model 1. These results contrast the daily within-person fluctuations for this model: though previous-day and next-day sleep have a negative relationship within people, between-person results suggest that those who sleep more continue to do so.
Diagram of Model 2 significant effects.
In Model 2, the significant positive between-person associations between previous-day and next-day TSU (β = .82), and SUiB (β = .63) remained, along with positive associations between previous-day and next-day core (β = .58), deep (β = .56), and REM sleep (β = .56). We find similar contrasts here when comparing with the within-person results for this model: daily within-person shifts and between-person habits do not align.
Discussion
This study investigated the relationship between smartphone use and sleep, overall and across sleep stages considering between- and within-person effects based on objective data from participants’ AWs and iPhones. The first DSEM model found significant positive effects of in-bed smartphone use on sleep. Such effects were not found for total smartphone use. More smartphone use also increased in-bed smartphone use in both models. At the between-person level, both previous-day sleep and smartphone use are strongly associated with the same next-day behaviors, demonstrating behavioral habits. Subsequent paragraphs will discuss these results in more detail.
Descriptive results regarding sleep and smartphone use largely align with the literature. Participants' sleep averaged 7–8 hours/day (Fig 3), which is recommended and associated with healthy sleep [33]. On AWs, core sleep comprises stages N1-N2 [21], which account for 50% of total sleep together [22], where the current results account for more, around 70% (Fig 3). REM and deep sleep (N3) each account for 25% of total sleep [22]. This study’s results reflect this for REM, but not for deep sleep (11%; Fig 3), which is a key difference considering this stage’s role in body repair and regrowth [22]. Participants’ TSU use also aligns with local results [34], though such results for SUiB are not available.
The first models’ within-person dynamics revealed that as individuals used their smartphone more in bed, they slept more overall the same day. Though these relationships are not significant regarding specific sleep stages in the second model, they also lean in a positive direction. This does not align with evidence that smartphones are problematic for sleep [4,7,35]. These results, along with the absence of significant effects of total smartphone use, demonstrate the importance of increased granularity in investigating smartphone use and sleep by focusing on in-bed smartphone use and sleep stages [7]. A cyclical relationship seemed to emerge, where greater total smartphone use led to greater in-bed use, which increased total sleep, in turn decreasing total smartphone use the next day. There is also a reinforcing effect between total smartphone use and in-bed use, where the increased in-bed use due to more total use also leads to more total use the next day. Taken together, this suggests that in-bed smartphone use, reinforced by total smartphone use, may contribute to increased sleep duration over time. Although in-bed use directly increases next-day total smartphone use, its sleep-prolonging effect may counteract this by reducing phone use across days, reflecting a truly dynamic relationship in which in-bed use can ultimately lead to longer sleep and stabilize overall smartphone use. However, it is important to note that longer sleep does not necessarily imply better sleep, where this increased sleep may indicate that in-bed smartphone use requires more sleep over time since people are less well-rested. In sum, despite this positive relationship between in-bed smartphone use and sleep, it is not yet clear whether this represents a beneficial or sleep supportive relationship.
Both models revealed negative relationships between previous-day and next-day sleep. This may be explained by sleep duration’s effect on fatigue [36], such that increased sleep may reduce fatigue, leading to less next-day sleep. Older adults, like the current sample, spend less time asleep, but more time in N1 [37] and N2 [22] or core sleep, which may further explain their effects of reducing next-day sleep stage durations.
Though significant, the within-subjects parameter estimates were small, suggesting that these behaviors do not show large day-to-day fluctuations. The between-person results confirm this, demonstrating habitual strength of smartphone use and sleep [18]: frequent in-bed smartphone use tends to persist, for instance. These habits can strengthen within-person patterns, impacting sleep and smartphone use long-term [18]. Overall, while there are significant within-person daily shifts to consider in the relationship between smartphone use and sleep, between-person habits seem to be stronger predictors of future sleep and smartphone use.
This study demonstrates the efficacy of integrating objective, longitudinal data collection with dynamic statistical modelling. Meaningful and temporally nuanced associations between sleep and smartphone use were identified within a relatively modest sample of 68 healthy participants over a 14-day period, underscoring the methodological strength and scalability of this approach. Furthermore, in populations characterized by more stable or extreme patterns—such as individuals with chronic sleep difficulties or excessive smartphone use—these associations may emerge more strongly, highlighting the potential of this method for future targeted research.
These findings make key contributions to the literature on sleep and smartphone use by adopting a novel longitudinal and objective data donation design, alongside analytically separating between- and within-person effects. To our knowledge, this is the first study in this domain to apply such a design, gleaning novel and called-for insights [18] regarding how smartphone use affects sleep as well as vice-versa, and which parts of sleep are affected by what kind of smartphone use. The current results contrast existing evidence that smartphone use negatively impacts sleep [4,7,35], where in-bed smartphone use may actually lead to increased sleep over time – though closely linked to overall usage habits and with a remaining question on whether this longer sleep reflects poorer rest or a true benefit resulting from in-bed smartphone use. Given the strong habitual patterns observed in both sleep and smartphone use, future interventions and policy efforts should consider targeting these routines, with special attention to in-bed use that may increase sleep over time. Overall, these findings help clarify mixed evidence in the field, revealing that smartphone use is not merely detrimental to sleep [8] and supporting the presence cyclical effects between smartphone use and sleep [9].
Limitations and avenues for future research
This novel approach involves some limitations. Findings are based on a convenience sample , yielding mostly affluent and well-educated participants and limiting generalizability. The current sample size also restricts meaningful demographic comparisons, such as gender, regarding smartphone use and sleep. Future work can build on these observations by including representative samples or focusing on people actively struggling with sleep and/or with consistent smartphone use in bed to investigate this relationship further. Furthermore, we sampled owners of AWs and iPhones, limiting this study to participants with the necessary means. To approach a more inclusive sample, future work should provide such devices to participants.
Model comparison indicated that Model 1, which did not include sleep stages, had substantially better predictive accuracy than Model 2, which did. Findings from Model 2 should therefore be interpreted with caution. Additionally, while Model 2 did not reveal significant associations between in-bed smartphone use and sleep stages, an effect was observed for total sleep. This suggests that a larger or more detailed dataset may be needed to develop a better predictive model incorporating sleep stages in their relationship with (in-bed) smartphone use.
Promising methodological inclusions also remain to be adopted. First, we did not consider the content consumed on participants’ smartphones. Investigating this content consumed in bed can detail media use mechanisms and their effects on sleep [9]. This also enables research on media-multitasking and sleep [18], and on the effects of sleeping aid content [38]. Furthermore, observing awake times on the AW can yield more specific data on nighttime awakenings and subsequent smartphone use, shedding additional light on how and when smartphones are used as sleeping aids [18].
Finally, we reflect on the data donation design. First, while AWs are promising and show adequate validation for research [13], they do not replace gold standards like polysomnography [13]. Results are not clinical and should be interpreted considering that there may be errors, while carrying empirical value by studying this relationship objectively and longitudinally in a natural setting.
Conclusion
While smartphones are often seen as detrimental to sleep, evidence is mixed, suggesting a reciprocal relationship. This study used novel methods to investigate this complex interaction via data donated from participants’ iPhones and AWs, yielding longitudinal, objective insights. We modeled temporal relationships considering lagged and reciprocal effects between and within individuals. Results demonstrated within-person fluctuations and reciprocal effects of sleep and smartphone use: increased in-bed smartphone use led to more same-day sleep. More total smartphone use increased same-day in-bed smartphone use, which in turn increased overall sleep. Both previous-day sleep and smartphone use behaviors were strongly associated with those same behaviors the next, demonstrating habitual between-person patterns. Findings contradict the view of smartphones as sleep disruptors, suggesting that the timing of use – particularly in-bed use – and dynamic smartphone–sleep interactions may increase sleep duration. However, additional research is warranted to clarify whether this effect reflects smartphone use that supports sleep, or rather a need for more sleep due to a lack of restorative sleep resulting from in-bed smartphone use. A focus on specific smartphone use timing and between-person habits may be key in promoting compounding sleep-improving effects of smartphone use.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Chen B, Vgontzas AN, Li Y. Good sleep and health. Lancet Healthy Longev. 2023;4(7):e 295–6. doi: 10.1016/S 2666-7568(23)00100-9 37421955 · doi ↗ · pubmed ↗
- 2Freeman D, Sheaves B, Waite F, Harvey AG, Harrison PJ. Sleep disturbance and psychiatric disorders. Lancet Psychiatry. 2020;7(7):628–37. doi: 10.1016/S 2215-0366(20)30136-X 32563308 · doi ↗ · pubmed ↗
- 3Buysse DJ. Insomnia. JAMA. 2013;309(7):706–16. doi: 10.1001/jama.2013.193 23423416 PMC 3632369 · doi ↗ · pubmed ↗
- 4Mac Cárthaigh S, Griffin C, Perry J. The relationship between sleep and problematic smartphone use among adolescents: A systematic review. Developmental Review. 2020;55:100897. doi: 10.1016/j.dr.2020.100897 · doi ↗
- 5Ho TTQ. Facebook addiction and depression: Loneliness as a moderator and poor sleep quality as a mediator. Telematics and Informatics. 2021;61:101617. doi: 10.1016/j.tele.2021.101617 · doi ↗
- 6Exelmans L, Van den Bulck J. The Use of Media as a Sleep Aid in Adults. Behav Sleep Med. 2016;14(2):121–33. doi: 10.1080/15402002.2014.963582 25313639 · doi ↗ · pubmed ↗
- 7Exelmans L, Van den Bulck J. Bedtime mobile phone use and sleep in adults. Soc Sci Med. 2016;148:93–101. doi: 10.1016/j.socscimed.2015.11.037 26688552 · doi ↗ · pubmed ↗
- 8Tkaczyk M, Lacko D, Elavsky S, TancošM, Smahel D. Are smartphones detrimental to adolescent sleep? An electronic diary study of evening smartphone use and sleep. Computers in Human Behavior. 2023;149:107946. doi: 10.1016/j.chb.2023.107946 · doi ↗
