Main

Mandatory public health initiatives to control and limit the spread of coronavirus disease 2019 (COVID-19) have led to dramatic changes in day-to-day routines, resulting in increased social isolation1,2, employment and financial insecurities3, and an altered food environment4. This places most of the world’s population in a unique global experiment on a massive scale. Small European-based studies have observed the exacerbation of unfavourable diet and lifestyle behaviours attributable to these changes, such as increased sedentary behaviour, more snacking, less fresh food consumption and weight gain, although the published data are inconclusive5,6,7.

At an individual level, major life events are associated with changes in health behaviours such as alcohol intake8, sleep9,10, diet11,12 and physical activity13. The complex interrelation of these health behaviours potentially mediates increases in body weight observed during adulthood14,15,16, impacting the number of adults living with excess weight and consequent morbidities17,18,19,20, which is a significant public health threat21. Understanding how health behaviours change in the context of a prolonged pandemic is therefore critical to improve our understanding of its long-term consequences.

In a retrospective longitudinal observational cohort study of 896,286 participants from the ZOE COVID Study, we describe the self-reported impact of the COVID-19 pandemic on diet and health behaviours using a composite disruption index (DI). We determine the association of diet and lifestyle behaviours with weight change during the pandemic, and we explore the relationship between pre-pandemic behavioural patterns and changes in specific diet and lifestyle behaviours.

There were large inter-individual changes observed in all of the 46 health and diet behaviours measured peri-pandemic versus pre-pandemic, but no mean change was observed in the total population. Individuals most adherent to less healthy pre-pandemic diet and health behaviours were more inclined to improve their overall diet quality and lose weight, irrespective of relative deprivation, while those most adherent to healthier pre-pandemic behaviours exhibited little change in health behaviours. Disruption of health behaviours resulting from the pandemic was higher in the younger, female and socio-economically deprived segments of the population. However, greater disruption was associated with more variable change in weight and greater weight loss compared with less disrupted individuals, suggesting that the disruption resulted in more favourable diet and lifestyle changes for some people. Structural equation modelling revealed that changes in physical activity and diet quality during the pandemic were the most relevant factors associated with weight change.

Our data provide quantitative evidence about the impact of the COVID-19 pandemic on lifestyle behaviours and indicate that the perceived negative impact of the pandemic on health behaviours, and factors that exacerbate this, may not hold true for all people22. Indeed, the pandemic may have provided the impetus to improve many diet and lifestyle behaviours among a large proportion of the population.

Results

Within the ZOE COVID Study, we launched a diet and lifestyle retrospective longitudinal observational cohort study (from 31 July to 25 September 2020 in the United Kingdom and from 25 September to 30 November 2020 in the United States). The participants were invited to complete a retrospective questionnaire (Methods) assessing diet quality, diet habits and lifestyle behaviours at two time points: (1) peri-pandemic (the previous month before participant access) and (2) pre-pandemic (the month of February 2020). Baseline participant characteristics including demographics and comorbidities were also assessed from the ZOE COVID Study23. For the UK data, the index of multiple deprivation (IMD), considered a surrogate measure of deprivation across several domains (including income, employment and education) by geographical region24, was assigned to the participants.

Characteristics of the 896,286 survey respondents

After the exclusion of replicates, individuals <18 years old, pregnant women, non-UK and non-US participants and implausible anthropometric measures (Methods), data were available for n = 896,286 peri-pandemic and n = 291,871 pre- and peri-pandemic participants.

The characteristics of the participants who completed the diet and lifestyle survey peri-pandemic are summarized in Table 1 and Supplementary Tables 1 and 2. Compared with the average UK population (Supplementary Table 1), the UK participants who completed the survey were older (mean age 52 versus 41 years), had a lower body mass index (BMI) (25 versus 27 kg m2), resided in less deprived areas (for IMD range 8–10, 40% versus 30%; for IMD range 1–3, 10% versus 30%) and were less likely to smoke. The proportions of males and non-white UK ethnicities were also lower among the surveyed UK participants than in the general population (33% versus 49% and 4% versus 14%, respectively). The proportions of respondents across geographical regions in the United Kingdom were broadly similar to the UK population distribution. Similar patterns were observed for the US cohort (Table 1 and Supplementary Table 1).

Table 1 Characteristics of app users

Prior to data analysis, the UK cohort was divided into discovery (n = 380,847) and validation (n = 448,321) sets, owing to slight differences in data collection processes (Methods and Supplementary Table 2). Data from 67,118 participants from the United States were used as an independent replication cohort (Methods).

Application of a lifestyle DI

To quantify lifestyle disruption attributable to the pandemic, we computed a DI including five metrics: diet quality score (DQS)25, alcohol frequency, physical activity, snacking frequency (food consumed outside of main meals) and weekday sleep duration (Methods). These domains were selected to capture the primary diet and lifestyle behaviours associated with multiple health outcomes, including obesity26,27,28,29,30,31. The DI was independent of the direction of change, ranged from 0 (no disruption) to 5 (change in all five domains) and approximated a normal distribution (Fig. 1a). In the UK discovery cohort (n = 201,301; pre- and peri-pandemic data), most participants experienced a moderate level of disruption (65%; DI ≥ 2), while 15% had a high level of disruption (DI ≥ 4). The DI (Fig. 1a) differed (chi-squared test) according to sex (P < 0.001; effect size, 0.122), age category (P < 0.001; effect size, 0.268), assigned level of deprivation (P < 0.001; effect size, 0.050) and geographical location (P < 0.001; effect size, 0.014), with greater DIs among younger individuals, females and participants living in more deprived areas. Similar patterns were observed for the US replication cohort (n = 14,473; pre- and peri-pandemic data). Participant characteristics according to the DI scores for the United Kingdom and United States are detailed in Supplementary Table 3.

Fig. 1: DI population distribution and weight change.
figure 1

a, Community-level DI on a scale of 0 to 5 including five domains (DQS, snacking frequency, alcohol intake frequency, physical activity and weekday sleep duration), stratified according to sex, age and IMD based on residence in the UK cohort (n = 201,301). b, Change in body weight during the pandemic (pre- minus peri-pandemic values) stratified according to low (≤1) or high (≥4) DI in the UK discovery (n = 201,301) and US replication cohorts (n = 14,473), coefficient of variation for those with high DI (UK discovery cohort, 2,130%; US replication cohort, 2,288%) and coefficient of variation for those with a low DI (UK discovery cohort, 1,488%; US replication cohort, 970%). c,d, Geographical distribution of DI (c) and change in weight (d) in the UK discovery cohort (n = 201,301). The data are provided in Supplementary Table 3.

For body weight change (in the UK discovery cohort (n = 201,301; pre- and peri- pandemic data)), only a small mean change (mean (10th percentile, 90th percentile)) of −0.2 (−4.4, 3.6) kg was observed. However, body weight change was highly variable among individuals, with 33% of participants losing a mean of 4.4 (−8.6, −0.9) kg and 34% gaining a mean of 3.7 (0.9, 6.4) kg during the pandemic (Supplementary Table 4). A similar pattern and magnitude of change was also observed for the UK validation and US replication cohorts (Supplementary Table 4).

A greater disruption was associated with a larger and more variable bidirectional change in weight (both loss and gain) in both the UK and US cohorts (Fig. 1b and Supplementary Table 3). Weight loss and gain in the high DI group (mean (10th percentile, 90th percentile)) was −5.5 (−11.0, −1.0) kg and 4.2 (1.0, 8.0) kg, respectively, compared with −3.5 (−6.4, −0.9) kg and 3.3 (0.5, 5.4) kg, respectively, in the low DI group (all P < 0.001).

After adjusting for potential confounders (age and sex), the pattern of association between the DI and weight changes was similar but stronger among individuals living in areas with low deprivation (IMD, 8–10; β = −0.035; 95% confidence interval, −0.217, −0.145) compared with high deprivation (IMD, 1–3; β = −0.021; 95% confidence interval, −0.153, −0.058). When stratified according to DI group and deprivation index, there was a similar magnitude of weight loss between levels of deprivation, and only a moderately higher weight gain in the UK group residing in more deprived areas (4.4 kg) versus the group in less deprived areas (4.0 kg) within the highly disrupted group (Supplementary Table 3). This observation suggests that community-level deprivation factors may not impair the potential positive behavioural effects of disruption but may exacerbate the negative effects to a small extent, with individuals living in more deprived areas being more susceptible to weight gain.

The association of changes in the five lifestyle behaviour domains captured by the DI and age32 with body weight change (bidirectional) was examined using structural equation modelling (Fig. 2a,d). For individuals who gained weight (n = 68,607), reductions in physical activity, diet quality and sleep and an increase in snacking were moderately associated with weight gain. Among individuals who lost weight (n = 65,327), contrasting associations were observed with an additional moderate association of reduced alcohol frequency with weight loss. This trend remained when examined within strata of community-level deprivation, except for sleep, which was not associated with weight gain or loss in those living in more deprived areas (Supplementary Table 5 and Fig. 2b,c,e,f). In accordance with most population-based strategies, our results show that diet quality and physical activity can be promising targets to prevent weight gain across all socio-economic classes during a global pandemic.

Fig. 2: Association between diet and lifestyle and change in weight pre-pandemic to peri-pandemic.
figure 2

af, Structural equation modelling showing the associations between exposures identified by machine learning and outcome (body weight increase/decrease): overall increase (n = 68,607) (a), body weight increase in the subpopulation in low deprivation areas (IMD 8–10; n = 28,054) (b), body weight increase in the subpopulation in high deprivation areas (IMD 1–3; n = 6,779) (c), overall decreased body weight (n = 65,327) (d), body weight decrease in the subpopulation in low deprivation areas (IMD 8–10; n = 28,015) (e) and body weight decrease in the subpopulation in high deprivation areas (IMD 1–3; n = 5,533) (f). The blue arrows represent indirect effects on body weight. The red arrows represent direct effects on body weight. The dashed arrows represent inverse effects on body weight. The numbers represent the strength of association (standardized β coefficients). *P < 0.05. The data are provided in Supplementary Table 5. Figure created with BioRender.com.

To determine any differential effect of pre-pandemic weight on the relationship between the DI components and weight change, we also stratified according to normal weight (BMI < 25 kg m−2; n = 97,915) and overweight/obese (BMI ≥ 25 kg m−2; n = 103,386) (Supplementary Table 4). Reductions in physical activity and DQS and an increase in snacking were most closely associated with weight gain in both groups, with a stronger association in the overweight/obese individuals (β = −0.055, −0.044 and 0.05, respectively, all P < 0.05) versus normal-weight individuals (β = −0.014, −0.019 and 0.028, respectively, all P < 0.05).

Individual-level changes in diet and lifestyle behaviours

There was minimal population average change in all diet and lifestyle variables in response to the pandemic (in the UK and US cohorts) but large individual-level changes (Table 2, Fig. 3a–c and Supplementary Tables 4, 6 and 7). For example, in the UK discovery cohort (n = 201,301), despite minimal mean change in the DQS (mean (10th percentile, 90th percentile), 0.2 (−2.0, 2.0)), more participants increased their score (37% by a mean of 1.7 (1.0, 3.0)) than decreased it (26% by a mean of −1.6 (−3.0, −1.0)). Likewise, a higher proportion of participants (31.0%) increased their daily fruit and vegetable portions (by mean 1.85 (1.0, 3.0), from 4.3 (0.2, 7.0) to 6.1 (3.5, 9.0) portions per day) than decreased them (22.0%) (by mean −1.68 (−3.0, −1.0), from 6.04 (3.0, 9.0) to 4.35 (2.0, 7.0) portions per day), consistent with a level that would confer significant health effects27,33. There was only a minimal mean change in the number of snacks consumed per day (by mean −0.1 (−1.0, 1.0)), but a large number of individuals increased their intake (16%; by mean 1.4 snacks per day (1.0, 2.0) (from 1.1 per day)) and decreased their intake (23%; by mean −1.4 snacks per day (−2.0, −1.0) (from 2.6 per day)). More people increased their weekday sleep (15%) than decreased it (9%), although the magnitude of change was similar (mean ±1.2 h). Interestingly, for frequency of alcohol intake, the proportion of people increasing (18.2%) was greater than the proportion decreasing (11.2%), while the inverse was the case for the amount consumed at each drinking event (10.6% increasing versus 13.4% decreasing units), suggesting that the total amount of alcohol consumption (frequency × units) may have been unchanged. Notably, most participants reported no change (92.8%) in food access, probably a reflection of the survey demographic, although more participants reported a decrease in food access (5.8%) than an increase (1.4%).

Table 2 Pre- and peri-pandemic data
Fig. 3: Proportion of the population changing the frequency of intake of food groups and behaviours.
figure 3

ac, Percentage of the cohort that changed (increased/decreased) the frequency of dietary intake and lifestyle behaviours from pre-pandemic to peri-pandemic, obtained from the amended LSF-FFQ and others, in the UK discovery (n = 201,301) (a), UK validation (n = 75,840) (b) and US replication (n = 14,473) cohorts (c). The data are provided in Supplementary Table 6.

A similar pattern of change in the individual variables was observed in the UK validation cohort and US replication cohort except for physical activity levels. In the United Kingdom, the proportions of participants increasing and decreasing their physical activity were similar (in both cohorts), yet in the United States, the proportion of participants decreasing their physical activity (35.4%) was greater than those increasing it (24.6%) (Table 2 and Fig. 3). The moderately greater magnitude of change in the UK validation and US replication cohorts than in the UK discovery cohort is probably a consequence of the different data collection methods (Methods). All other variables from the questionnaire, including full Leeds Short Form Food Frequency Questionnaire (LSF-FFQ) data, are reported for pre- and peri-pandemic (as well as the change) in Supplementary Tables 4, 6 and 7.

Association between pre-pandemic diet and lifestyle and peri-pandemic change

To explore the impact of pre-pandemic diet and lifestyle behaviours on the variable response to the pandemic, we undertook a factor analysis (Methods) identifying two distinct diet and lifestyle patterns labelled as ‘healthier’ and ‘less healthy’ on the basis of items and loadings summarized in Fig. 4 and Supplementary Table 8.

Fig. 4: Loadings of diet and health behaviour variables to ‘healthier’ and ‘less healthy’ clusters.
figure 4

ad, Loadings (≥0.1) for ‘healthier’ (a) and ‘less healthy’ (b) patterns in the UK discovery cohort (n = 201,301) and ‘healthier’ (c) and ‘less healthy’ (d) patterns in the US replication cohort (n = 14,473). A full breakdown of the loading of each diet and health behaviour variable for the ‘healthier’ and ‘less healthy’ patterns can be seen in Supplementary Table 8.

Participants’ demographic and behavioural characteristics differed between quartiles (n = 50,497 per quartile) of the diet and lifestyle patterns (Supplementary Tables 9 and 10). In the United Kingdom, those with the highest adherence to the ‘healthier’ pattern (quartile 4 (Q4) versus Q1) were on average older (61 versus 53 years), less likely to smoke (1.2% versus 3.9%) and more likely to reside in an area with a lower level of deprivation (44.8% versus 37.7% with IMD 8–10) than those with the lowest adherence (all P < 0.001) (Table 3). A broadly similar pattern was observed in the US replication cohort (Supplementary Table 9).

Table 3 Participant characteristics and lifestyle changes according to pre-pandemic health behaviour

Individuals most adherent to the ‘less healthy’ pattern lost more weight than those reporting higher adherence to the ‘healthier’ pattern (by 1.1 kg) (Table 3). The same trends of association were observed in other diet and lifestyle measures (for both the UK and US cohorts), with larger increases in weeknight sleep, DQS, and fruit and vegetable consumption and a larger decrease in the number of snacks among those most adherent to the ‘less healthy’ pattern compared with the ‘healthier’ lifestyle pattern. These findings suggest that participants with less healthy behaviours in the pre-pandemic phase were more likely to implement healthy changes. This may be a consequence of a greater scope for improvement in the ‘less healthy’ group, while those classified as having a healthy pre-pandemic lifestyle pattern tended to retain their beneficial health behaviours and experienced minimal change. This observation was also reflected in those with a lower DI typically being highly adherent to the ‘healthier’ pattern while those with a higher DI tended to be adherent to the ‘less healthy’ pattern (both P < 0.001).

To assess whether the population demographics were driving this finding, in the United Kingdom, we stratified individuals most adherent to the ‘less healthy’ pattern according to their community-level deprivation, age, sex and constituent countries. When stratified according to deprivation (IMD 1–3 versus 8–10), the improvement in diet quality (0.92 versus 0.94 units) and reduction in body weight (−0.71 versus −0.99 kg) remained, although attenuated. Age, sex and country also had only small impacts on the change in weight (aged 18–25 yr, −1.46 kg; versus aged >65 yr, −0.58 kg; male, −1.16 kg; versus female, −0.70 kg; England, −0.89 kg; versus Wales, −0.81 kg; versus Scotland, −0.69 kg; versus Northern Ireland, −0.43 kg) and minimal impacts on DQS (aged 18–25 yr, 0.88; versus aged >65 yr, 0.82; England, 0.94; versus Wales, 0.98; versus Scotland, 0.90; versus Northern Ireland, 0.70). Therefore, irrespective of community-level deprivation, age, sex and location, individuals most adherent to a ‘less healthy’ pre-pandemic pattern experienced beneficial changes in diet quality and weight. Consequentially, our data suggest apparent positive diet and lifestyle changes related to the COVID-19 pandemic for a large proportion of the study demographic.

Discussion

The changes in daily routine due to national and local measures in response to the COVID-19 pandemic could be viewed as a unique natural experiment of lifestyle disruption, health behaviour change and associated longer-term health outcomes for individuals and populations. We have described the impact of the pandemic on lifestyle behaviour changes in samples of the UK and US populations using data from the largest survey of diet and lifestyle during the pandemic to date.

The disruption of health behaviours by the pandemic, which was more pronounced in females, younger participants and those residing in more deprived areas, was associated with a higher and more variable bidirectional change in body weight. This observation is a likely consequence of unpaid care and family responsibilities falling disproportionately to women, particularly younger females, with women over-represented in lower-income households34.

Although we observed no mean changes in diet and lifestyle behaviours in the total population, considerable inter-individual variation exists upon stratifying the data. This variability in the responses of individual health behaviours and weight changes to COVID-19, in concert with minimal mean population change, is in agreement with studies exploring the impact of comparable mandatory public health interventions across Europe5,6,35,36. While direct comparisons between countries can prove difficult due to differences in populations, government lockdown strategies and dietary habits (among other factors), these results suggest some similarities in terms of behaviour change.

Most surprisingly, those participants who were identified to have a ‘less healthy’ pattern pre-pandemic were more likely to experience improvements in diet quality and greater weight loss peri-pandemic, irrespective of deprivation status. While this may reflect some bias due to the users of the app being self-selected and typically of a higher socio-economic demographic than the average UK and US citizen, the NutriNet-Sante study also observed that positive health behaviour changes were associated with less healthy pre-pandemic behaviours5. Therefore, for a significant proportion of the population, the pandemic may not have had the detrimental impact on diet and lifestyle behaviours that has previously been speculated and reported in the media37,38.

Excess body weight has been linked with an increase of COVID-19 severity39,40 and chronic disease mortality41 and is known to be interrelated with social determinants of health, including systematic racism42 and disparities in food security and socio-economic status43,44. Bidirectional weight changes were observed between groups stratified by levels of deprivation, with those reporting less healthy behaviours and residing in more deprived areas experiencing more weight gain than those residing in less deprived areas. However, irrespective of deprivation, physical activity and diet quality were identified as key determinants of short-term weight gain and loss. It is noteworthy that the mean change in body weight was greater than typical daily body weight fluctuations45 and, for some, a weight loss of a magnitude to confer improved metabolic function46.

As highlighted in the Foresight Report, weight gain and obesity are the result of complex system interactions47; it therefore may be reasonable to assume that the COVID-19 pandemic has disrupted many active components across multiple domains. From a public health perspective, future research questions should focus on identifying the higher-level disruptions that impact individual health behaviours—for example, working from home, reduced commuting, food availability, structural inequalities or societal influences. These pose the following questions: if we can identify facilitators and barriers to health behaviour changes, how sustainable are these changes? Furthermore, if body weight changes are maintained in the long term, are they associated with corresponding improvements in metabolic health?

While this study had multiple strengths, including sample size, an independent replication cohort and longitudinal data, we note several limitations. The first is the self-reported nature of the data collected, with the potential of recall bias and the unknown impact of COVID-19 on retrospective data collection48. Further limitations include the data collection methods, which were modified part-way through the study to minimize participant burden and decrease attrition (Methods), although sensitivity analysis displayed minimal population characteristic differences. Additionally, the DI is a crude bidirectional index composed of only five behaviours. Further work is needed to determine how the direction of change in the individual components may contribute to health outcomes. Considerations for future studies would be to collect data on level of isolation, mental health, comorbidities, job role and furlough status to assist in the interpretation of lifestyle behaviour changes in response to COVID-19. The generalizability of our findings to a wider population sample also needs to be determined, given the differences in age, IMD and ethnicity of the ZOE COVID Study cohort compared with the general population. Regression to the mean can be problematic in studies that focus on assessing changes in behaviours in subgroups of the population where only a single follow-up assessment is made. Thus, to some extent, the improvements in health behaviours seen in people recording the least healthy behaviours at baseline could be artificial improvements. Nevertheless, the same degree of change was not observed in people who reported the most healthy baseline behaviours, reinforcing the argument that changes in health seen in either group are likely to be real.

In conclusion, this large population-based study has demonstrated that the COVID-19 pandemic has impacted individuals differently, with those most disrupted being more susceptible to weight change.

Methods

Study design and participants

The ZOE COVID Symptom Study mobile application was developed by the technology company ZOE in collaboration with King’s College London, UK, and Massachusetts General Hospital, USA. It was made available for free download for Apple and Android users (on 24 March 2020 in the United Kingdom and on 29 March 2020 in the United States). The application offers a guided interface developed using Expo and ReactNative (JavaScript). The participants were requested to report information including baseline demographics, comorbidities, daily symptoms and COVID-19 testing outcomes.

Using the ZOE COVID Study app, a longitudinal, retrospective, observational cohort study investigating diet quality, diet habits and lifestyle changes before and during the pandemic was launched (from 31 July to 25 September 2020 in the United Kingdom and from 25 September to 30 November 2020 in the United States). The participants were recruited via the app interface. At enrolment, the participants consented to the use of their information for research investigations related to COVID-19, diet and lifestyle, and to applicable privacy policies and terms of use. The study was approved by Partners Human Research Committee (protocol no. 2020P000909) and King’s College London ethics committee (REMAS ID 18210; LRS-19/20-18210). The ZOE COVID Study app is registered with ClinicalTrials.gov, NCT04331509. Data collected in the app are being shared with other health researchers through the NHS-funded Health Data Research UK (HDRUK)/SAIL Consortium, housed in the UK Secure e-Research Platform in Swansea, Wales. Anonymized data are available to be shared with bona fide researchers through HDRUK according to their protocols in the public interest. US investigators are encouraged to coordinate data requests through the Coronavirus Pandemic Epidemiology (COPE) Consortium (www.monganinstitute.org/cope-consortium).

Procedures

Information obtained through the ZOE COVID Study mobile application has been described in detail previously23,49. The participants were requested to complete a retrospective questionnaire investigating diet quality, diet habits and lifestyle at two time points: (1) peri-pandemic, described as the previous month (from user access), and (2) pre-pandemic, described as the month of February 2020. The sections contained identical sets of questions collated by the research team and included the validated LSF-FFQ25 developed by Cleghorn and listed in the Nutritools (www.nutritools.org) library (Supplementary Information).

Questionnaire userface

The user experience was drafted in a requirements document by the engineering and product team at ZOE. A designer laid out a format optimized for mobile and tablet devices. The format and the requirements document were reviewed by the researchers. The answer options were developed using a library of standard form components, including a dropdown list, multi-select checkboxes and user input validation. Interstitial pages provided guidance to the users on how to answer these questions. A prominent callout label displayed the time period at the top of every screen to remind users to ‘Answer for the last 4 weeks’ or ‘Answer for the month of February 2020’.

Prior to launching, the release candidate of the app (including the questionnaire) was circulated to internal quality assurance testers and nutrition researchers to check that the delivered software matched the requirements document. The sample data collected from the quality assurance sessions were reviewed and checked to be in an analysable format. The questionnaire was launched via controlled roll-out to a smaller cohort of users before wider dissemination. Existing users were invited to complete the questionnaire using a feature flag, which allows the targeting of specific users before roll-out to a wider user base. A total of 199,230 UK users and 19,079 US users declined the diet study invite in the app.

The participants were prompted to complete an additional consent form to allow processing of data for purposes outside of COVID-19 research, to allow for further investigations into diet and lifestyle aspects independent of COVID-19. As users submit questionnaires to the application, the data are submitted in JSON format to REST APIs / WebServers that store the questionnaire responses in a Postgres Database that is hosted in the Google Cloud Platform operated by ZOE. These data are anonymized and exported daily into comma-separated value files that are delivered via Secure FTP from ZOE to the research partners for further analysis.

The LSF-FFQ interface was developed by the engineering team in conjunction with the designer using a four-by-two grid of the eight FFQ ‘frequency of consumption’ options. Effort was made to retain the original structure and layout of the paper-based validated LSF-FFQ25. The questionnaire was designed for participants to complete the first section in reference to the previous four weeks (peri-pandemic) and then to complete an identical section for the month of February 2020 (pre-pandemic). Additional food items were included in the LSF-FFQ under general consensus by two dietitians and a nutritionist. These food items included fast food; eggs and egg dishes; refined carbohydrates such as white rice, white pasta and white bread; and live probiotic or fermented foods such as kimchi, live yogurt and kefir (Supplementary Information).

Data collection

Data were collected via two similar app flows in the United Kingdom (over an eight-week period) and via one app flow in the United States (over a nine-week period). In the United Kingdom, the questionnaire was released to 1% of users on 31 July 2020, 2% on 4 August 2020 and 100% on 6 August 2020. In this first app flow, 380,847 participants completed the questionnaire. After reviewing feedback from UK users, the app flow was altered to limit participant burden and to reduce attrition. On 7 August 2020, a new question was added after the participants had completed the first peri-pandemic section asking ‘Has your diet changed?’ (‘Yes’, ‘No’ or ‘Unsure’). If users answered ‘yes’ or ‘unsure’, they were invited to complete the pre-pandemic section. If users answered ‘No’, the app flow ended (Extended Data Fig. 1). A total of 448,321 participants participated in the second flow. In the United States, the questionnaire was launched to 20% of users on 3 September 2020 and 100% on 28 September 2020 (n = 67,118 via the second flow only). The mode completion time for both sections was 14–16 minutes. Within the app, individuals reported their height and weight in response to the questions ‘About how much do you weigh without shoes?’ and ‘About how tall are you without shoes?’. These were converted (if necessary) to kilograms and metres before calculating the BMI (kg m−2). Participant characteristics are described in Supplementary Table 1.

Exclusions and cohort interaction analysis

Participants were excluded if (1) the primary outcome (BMI) was below the 0.1st percentile or above the 99.9th percentile (excluding 10–150 kg m−2), (2) they were pregnant, (3) they were less than 18 years old, or (4) they left questionnaire sections incomplete (the full details are given in Supplementary Table 11). Additional exclusions were made per analysis, with the application of percentiles on the consensus of the research team (S.B., R.G., M.M. and E.R.L.). The participants were divided into cohorts relative to the flow of the app (Extended Data Fig. 1) and by country: the discovery cohort (n = 380,847) from the first flow, the UK validation cohort (n = 448,321) from the second flow (‘Has your diet changed’) and the US replication cohort (n = 67,118). A sensitivity analysis was performed to assess significant population differences between the discovery and validation cohorts. We defined ‘change’ and ‘no change’ groups within both cohorts relative to a >1-point multi-directional change in DQS (no change, ≤1 and ≥−1). Demographic characteristics were compared between the ‘change’ and ‘no change’ groups (Supplementary Table 2). The interaction was plotted between the primary outcome (BMI) and the primary exposure (DQS). To minimize bias, all analyses in this study were performed using the discovery cohort. The DI as well as diet and lifestyle pattern analyses were replicated in the UK validation and US replication cohorts.

DI

A diet and lifestyle DI was developed. The domains sleep (on weekdays), physical activity, diet (DQS and snacking frequency) and alcohol intake frequency were selected on the basis of commonality in previously published healthy lifestyle scores50,51. A bidirectional change was determined as one point for any change (either positive or negative) for each variable, with the maximum disruption score as 5 and the minimum as 0 (Supplementary Table 3).

Pre- and peri-pandemic comparisons

In the discovery cohort, and validated in the UK validation cohort, the mean, s.d., and 10th and 90th percentiles for the pre-pandemic and peri-pandemic periods, the percentage change (between the two time points), and the number of participants who increased/decreased were applied to the continuous and categorical variables (Supplementary Tables 4, 6 and 7). For the continuous variables, the quantity of increase/decrease was also described. Changes in body weight, BMI, DI, physical activity, alcohol intake (units), snacking, fruit and vegetable intake (combined) and diet quality were visualized across UK geographical regions using the Python package geopandas v.0.7.0. IMD was estimated according to small geographical location, or neighbourhood, ranking areas according to multiple deprivation parameters (least deprived = 32,844, most deprived = 1). Further reference to deprivation throughout is related to IMD status24. Deciles for England, Wales and Northern Ireland were pre-generated by the official data source24. For Scotland, the same deciles were applied by the research team.

Factor analysis

Factor analysis with orthogonal transformation (varimax procedure) was used to construct a distinct ‘healthier’ diet and lifestyle pattern and a ‘less healthy’ dietary pattern (the loadings and input variables are depicted in Supplementary Table 8). The dietary patterns were stratified into quartiles to compare demographic characteristics and body weight changes (Supplementary Tables 9 and 10).

Structural equation modelling

Structural equation modelling was used to describe the relationship of exposures of changes in sleep (on weekends and weekdays), physical activity, diet (DQS and snacking frequency) and alcohol intake (frequency and quantity) (Supplementary Table 5). Age was included in the model owing to its established relationship with BMI32. Changes in body weight were categorized as (1) an absolute bidirectional change, (2) an increase in body weight or (3) a decrease in body weight from pre-pandemic to peri-pandemic weight status. Furthermore, stratified models were also developed on the basis of a low and high IMD. The model was fitted under a maximum likelihood framework using covariance matrices. Relative model fit was assessed using the comparative fit index (0, no fit; 1, perfect fit)52, and the absolute fit by the root mean square error of approximation. Statistical analysis was performed using SPSS (IBM Corp), R v.3.5.1 (Foundation for Statistical Computing; https://www.R-project.org/) and AMOS53.

Ethics

The King’s College London Ethics Committee approved the ethics for the app, and all users provided consent for non-commercial use. An informal consultation with TwinsUK members over email and social media before the app was launched found that they were overwhelmingly supportive of the project. The US protocol was approved by the Partners Human Research Committee.