Main

Coronary heart disease (CHD) remains the predominant cause of morbidity and mortality worldwide1. Current guidelines from the American Heart Association2, the European Society of Cardiology3 and the World Health Organization4 (AHA/ESC/WHO) all recommend at least 150 min week−1 of moderate-to-vigorous physical activity (MVPA) to prevent the development or progression of CHD. Despite these guidelines adopting a ‘one-size-fits-all’ approach for both sexes, a well-documented ‘gender gap’ exists5, with males generally showing greater capacity than females6. Globally, the prevalence of insufficient physical activity (PA) was 5 percentage points higher among females than males (33.8% versus 28.7%)7. However, whether and to what extent sex disparities impact the development and prognosis of CHD remain underexplored. Understanding sex differences is crucial for tailored CHD prevention and has potential to bridge the ‘gender gap’ by tailoring PA recommendations.

Recently, the WHO Guideline Development Group endorsed the advancing surveillance of PA by using a wearable device4, whereas previous studies mainly relied on self-reported questionnaires that are prone to recall bias and overestimation8,9. By contrast, wearable devices provide objective and continuous activity monitoring, enabling more precision interventions10. In addition, with the growing popularity of consumer wearables, their roles in personalized health assessment and PA tracking are increasingly important11. Therefore, a prospective study using wearable accelerometer-derived data is essential to elucidate sex-specific benefits, further advance CHD precision management and modify the development or progression of CHD.

In our study, leveraging accelerometer-derived PA data of over 85,000 participants from the UK Biobank, we investigated sex differences in the association of PA with both the incidence risk of CHD in the CHD-free population and the all-cause mortality risk in patients with CHD.

Results

Population characteristics

In the CHD incidence study of 80,243 participants free of CHD (age: 61.54 ± 7.84 years; 57.3% female), there were 3,764 CHD events over a median follow-up of 7.88 years. In the CHD mortality study of 5,169 CHD-established participants (age: 66.93 ± 5.90 years; 30.0% female), 593 all-cause deaths occurred during a median follow-up of 7.77 years (Table 1). Comprehensive comparisons of participant characteristics across sexes and guideline-adherent groups are presented in Table 1 and Supplementary Tables 1 and 2. Overall, 48.46% of CHD-free participants met the minimum MVPA time (150 min week−1) recommended by AHA/ESC/WHO, whereas only 30.51% of patients with CHD achieved this target. Furthermore, females lag behind males in both MVPA duration and intensity, and had a lower adherence to guidelines (Table 1 and Supplementary Figs. 13).

Table 1 Baseline characteristics of participants in the CHD incidence and mortality study

Sex differences in associations of PA measures with CHD incidence risk in the CHD-free population

In the CHD incidence study, per 30 min week−1 increase of MVPA duration was associated with a lower CHD risk in females (hazard ratio (HR) = 0.971, 95% confidence interval (CI): 0.958–0.985) and males (HR = 0.981, 95% CI: 0.973–0.990), indicating a stronger protective effect in females (Pinteraction < 0.001) (Table 2). When stratified by guideline adherences, the cumulative incidence curves revealed a reduced risk for those adhering to guidelines across both sexes (both Plog-rank < 0.001) (Fig. 1a,b). The incidence rate of CHD was 703.53 per 100,000 person-years in physically active males adhering to AHA/ESC/WHO standard recommendations, compared with 1,143.62 for physically inactive males. A reduction in the CHD incidence rate was also observed in active females compared with inactive ones (249.16 versus 519.28 per 100,000 person-years) (Supplementary Table 3). In addition, we compared the risk of CHD incidence across levels of guideline adherence using multivariable Cox proportional hazard models. Specifically, among participants who met the AHA/ESC/WHO standard recommendations, females experienced a 22% relative reduction in CHD incidence risk (HR = 0.780, 95% CI: 0.689–0.884), whereas males showed a 17% reduction (HR = 0.830, 95% CI: 0.760–0.906); a significant sex difference was observed (Pinteraction = 0.009) (Table 2 and Fig. 1e). A similar pattern was found while adhering to the extended recommendation of WHO (HR = 0.789, 95% CI: 0.658–0.947 for females; HR = 0.888, 95% CI: 0.792–0.994 for males; P = 0.019 for sex difference; Table 2 and Fig. 1).

Fig. 1: Sex-specific cumulative risks of CHD in the CHD-free population and overall survival in patients with CHD stratified by adherence to PA recommendations.
figure 1

a,b, Sex-specific cumulative risk of incident CHD in the CHD-free population stratified by adherence to the AHA/ESC/WHO standard recommendation (150 min week−1) (a) and WHO extended recommendation (300 min week−1) (b). c,d, Sex-specific overall survival of patients with CHD stratified by adherence to the AHA/ESC/WHO standard recommendation (150 min week−1) (c) and WHO extended recommendation (300 min week−1) (d). Cumulative risks and survival differences between groups were assessed using the two-sided log-rank test. e,f, Sex-specific associations and sex differences between PA guideline adherence and incident CHD risk in the CHD-free population (AHA/ESC/WHO standard: Nat/above versus below = 21,043 versus 24,943 in females, and 17,844 versus 16,413 in males; WHO extended: 8,360 versus 37,626 in females, and 7,706 versus 26,551 in males) (e) and all-cause mortality in patients with CHD (AHA/ESC/WHO standard: Nat/above versus below = 340 versus 1,213 in females, and 1,237 versus 2,379 in males; WHO extended: 120 versus 1,433 in females, and 445 versus 3,171 in males) (f). The point estimates and error bars represent the HR and 95% CI from multivariable Cox proportional hazard models. All statistical tests were two-sided.

Source Data

Table 2 Sex-specific associations of accelerometer-derived PA with CHD risk in the CHD-free population and mortality risk in the CHD population

The dose–response associations indicated that to achieve a reduction in CHD risk of 30% (HR = 0.70), males need to engage in 530 min week−1 of MVPA, while only 250 min week−1 was required for females (Fig. 2a). Compared with females, males needed twofold engagement of MVPA to achieve equivalent benefit in CHD risk.

Fig. 2: Dose–response associations of MVPA with CHD incidence and mortality by sex.
figure 2

a,b, The adjusted HRs for associations of MVPA duration with CHD incidence risk in the CHD-free population (Nfemale = 45,986, Nmale = 34,257) (a) and all-cause mortality risk in patients with CHD (Nfemale = 1,553, Nmale = 3,616) (b) by sex. The solid line depicts the estimated HR derived from restricted cubic spline models, and the shaded area indicates the corresponding 95% CI. Statistical tests were two sided.

Source Data

An increase in number of days adhering to daily AHA/ESC/WHO guidelines (150/7 min d−1) was also associated with a reduced risk of incident CHD for both sexes. For females, CHD incidence decreased from 5.2% in those with nonadherent days to 1.5% among participants engaged in PA every day of the week. Comparatively, a protective gradient was observed in males, with CHD incidence declining from 10.2% among inactive ones to 4.7% among those with regular PA engagement (Fig. 3a). The results of Cox models indicated that per 1 day of adhering to the daily AHA/ESC/WHO recommendation increment was related to a relatively lower risk of CHD in both females (HR = 0.940, 95% CI: 0.914–0.967) and males (HR = 0.957, 95% CI: 0.938–0.977). Sex significantly modified the effect of number of days adhering to the recommendation on CHD incidence risk (Pinteraction = 0.002) (Table 2 and Fig. 3e). Similar results were found when analyzing according to the WHO extended recommendation (HR = 0.943, 95% CI: 0.908–0.979 for females; HR = 0.956, 95% CI: 0.932–0.980 for males; P = 0.016 for sex interaction) (Fig. 3 and Table 2).

Fig. 3: Sex-specific rates of CHD incidence and mortality stratified by days adhering to daily PA recommendations.
figure 3

a,b, Sex-specific CHD incidence rate in the CHD-free population stratified by days adhering to the AHA/ESC/WHO standard recommendation (150/7 min d−1) (a) and WHO extended recommendation (300/7 min d−1) (b). c,d, Sex-specific mortality rate in patients with CHD stratified by days adhering to the AHA/ESC/WHO standard recommendation (150/7 min d−1) (c) and WHO extended recommendation (300/7 min d−1) (d). e,f, Sex-specific associations and sex differences between days adhering to daily PA recommendations and CHD incidence risk in the CHD-free population (NFemale = 45,986, NMale = 34,257) (e), and all-cause mortality in patients with CHD (Nfemale = 1,553, Nmale = 3,616) (f). The point estimates and error bars represent the HR and 95% CI from multivariable Cox proportional hazard models. Statistical tests were two sided.

Source Data

Sex differences in associations of PA measures with all-cause mortality risk in patients with CHD

In the CHD mortality study, protective effects of MVPA duration on the all-cause mortality of patients with CHD were present in both females (HR = 0.883, 95% CI: 0.804–0.970) and males (HR = 0.965, 95% CI: 0.940–0.989), while the benefits were different across sexes (Pinteraction = 0.005) (Table 2). Kaplan–Meier curves showed significant survival differences across PA-guideline-adherent groups for both sexes (Plog-rank < 0.05 for both sexes) (Fig. 1c,d). For female patients with CHD, only 340 participants met the AHA/ESC/WHO standard recommendations, of whom 6 (1.76%) deaths were registered. In females with PA below the guidelines, 111 of 1,213 (9.15%) died during the follow-up period. Male patients with CHD showed similar but attenuated benefits; guideline-adherent patients (360 of 2,379, 15.13%) showed a substantially low mortality rate, compared with nonadherent counterparts (116 of 1,237, 9.38%) (Supplementary Table 3). In addition, multivariable Cox regression models indicated an HR of 0.300 (95% CI: 0.129–0.699) for females and 0.808 (95% CI: 0.647–1.009) for males, and this almost threefold sex-difference risk was also significant (Pinteraction = 0.004) (Table 2). Although unadjusted survival curves showed relatively modest disparities between patients with CHD stratified by adherence to WHO extended recommendations (Plog-rank < 0.05) (Fig. 1d), no statistical evidence supports the significant association between mortality risk reduction and adherence to the WHO extended PA recommendation in patients with CHD, after adjusting for potential confounders in the multivariable Cox models (Table 2).

Figure 2b illustrates the sex-specific dose–response relationship between MVPA and all-cause mortality risk in patients with CHD. The results showed that, among patients with CHD, male patients required weekly MVPA engagement nearly 1.7-fold that of females to achieve a comparable relative reduction of mortality risk, with females having an MVPA of 51 min week−1 and males, 85 min week−1.

The trends of mortality rate in patients with CHD suggested a potential inverse but slightly fluctuant relationship across number of days adhering to daily PA guidelines (Fig. 3c,d), probably owing to the relatively limited sample size (Supplementary Fig. 2d). Overall, per additional day meeting the AHA/ESC/WHO guidelines was related to a 15% (HR = 0.850, 95% CI: 0.734–0.984) relative reduction in mortality risk among female patients with CHD and 8% (HR = 0.922, 95% CI: 0.876–0.971) among male patients with CHD (Pinteraction = 0.052) (Table 2 and Fig. 3f). Furthermore, when examining the relationship between days meeting the WHO extended guidelines and mortality risk in patients with CHD, a greater benefit was noted in female patients (HR = 0.729, 95% CI: 0.552–0.963) versus males (HR = 0.911, 95% CI: 0.847–0.980) (Pinteraction = 0.025; Table 2 and Fig. 3f).

Sensitivity analyses

The sex differences in associations of PA measures with both CHD incidence and mortality remained consistent and robust across various sensitivity analyses. Multiple models incorporating different sets of covariate adjustments were applied to account for the influence of potential confounders (Supplementary Tables 47). Consistent and significant results were observed when accounting for the competing risk of death by using Fine and Gray subdistribution hazard models (Supplementary Table 8), considering alternative Cox proportional hazard models with age as the timescale (Supplementary Table 9), and accounting for sex-specific baseline hazards by using stratified Cox proportional hazard models (Supplementary Table 10). We excluded individuals who experienced outcomes within the first year of follow-up period to mitigate reverse causality (Supplementary Figs. 46 and Supplementary Tables 11 and 12). Furthermore, sensitivity analyses using imputed datasets, comprising 88,611 participants in the CHD incidence study and 5,476 participants in the CHD mortality study, consistently revealed that females derived greater benefit in reducing CHD incidence among the CHD-free population and all-cause mortality among patients with CHD with equivalent doses of PA (Supplementary Figs. 79 and Supplementary Tables 13 and 14).

Discussion

In this large-scale prospective study using PA data measured by wrist-worn accelerometers among over 85,000 participants, we observed substantial sex differences in clinical benefits of PA with CHD incidence and mortality. Specifically, to achieve a 30% relative reduction in CHD incidence risk, males need to engage in 530 min of MVPA per week, whereas only half-time engagement (250 min week−1) is needed for females to achieve a comparable benefit. For the all-cause mortality in patients with CHD, although both sexes adhere to equivalent MVPA recommended by AHA/ESC/WHO (150 min week−1), female patients with CHD derived a substantial threefold reduction in mortality risk (Fig. 4). Our findings may provide insights into sex-specific prevention of CHD by using wearable devices, and encourage females to engage in PA.

Fig. 4: Central illustration of the study design and summary of findings.
figure 4

Wrist-worn accelerometer-derived PA data of 80,243 CHD-free participants and 5,169 patients with CHD were used to examine sex-specific dose–response associations between MVPA duration and CHD outcomes. HRs (solid line) and 95% CI (shaded area) were estimated from restricted cubic spline models. Sex-specific associations between guideline adherence and CHD outcomes were shown as HRs (point estimates) and 95% CIs (error bars), estimated from multivariable Cox proportional hazard models. Sex differences were assessed by two-sided likelihood ratio tests. Orange lines and areas represent females. Green lines and areas represent males.

Despite accumulating calls for sex-specific guidelines, few studies have focused on sex differences in risk stratification, prevention and prognosis of CHD5,12. A prospective study investigating the association of questionnaire-based MVPA with all-cause and cardiovascular mortality risk in a general population of US adults showed that females derived greater mortality reductions than males13. Regarding CHD-specific evidence, in a meta-analysis of 33 studies, the authors conducted an exploratory analysis based on 2 studies with sufficient data for interaction analysis, and reported a potential sex difference, but acknowledged biases induced by insufficient data collection and heterogeneity of study design and measures across studies14. Extending from previous work, our study used objective PA measures from wearable devices and confirmed similar sex interactions in both CHD risk prevention in the CHD-free population and mortality prevention in the established CHD population.

Some possible factors might contribute to sex differences in the beneficial effects of PA. Physiologically, circulating estrogen levels are much higher in females than in males, and estrogen can promote body fat loss during PA15. As shown in a randomized controlled trial, estrogen supplementation can increase lipid oxidation in men during exercise16, which is established to improve clinical outcomes of CHD17. In addition, another possible reason could be the considerable sex disparities in the morphological composition of skeletal muscle18. Specifically, males have a greater percentage of type II muscle fibers, whereas the skeletal muscle of females is dominated by type I muscle fibers, leading to disparities in muscle metabolism18. Males have greater glycolytic capacity, while females are characterized with greater whole-muscle oxidative capacity19. These differences may contribute to the observed increased sensitivity to PA and greater clinical benefit in females. Nevertheless, the underlying mechanisms remain to be elucidated.

Our study has potential clinical implications and several strengths. Current ‘one-size-fits-all’ guidelines have uniform recommendations for females and males, assuming that PA amounts and benefits are the same for both sexes2,3,4. By contrast, females are more physically inactive and less likely to achieve management targets of CHD risk factors20, and such a ‘gender gap’ might yield worse clinical outcomes in women. The landmark 2010 Institute of Medicine’s publication called for attentions to sex differences in CHD management21. As reported, the focus on sex and gender research has successfully reduced 30% of CVD deaths in females22. Our study highlighted the necessity of sex-specific individualized management in CHD prevention. Compared with male individuals, females derive equivalent health benefits with only half the exercise time. The findings might have potential to encourage females to engage in PA. In addition, with the rising popularity of wrist-worn wearables revolutionizing PA monitoring23, our results suggest the promise of smart wearable devices for future CHD management. Moreover, the large-scale population, prospective design, objective PA measures, careful covariate consideration and comprehensive sensitivity analyses might strengthen our findings.

Several limitations should be considered when interpreting our findings. First, the generalizability of our findings might be limited by ancestry and geographics. The participants in UK Biobank were mostly white, had healthier lifestyles and lived in areas with less socioeconomic deprivation24. Further studies are warranted to explore the relationships between PA and both CHD incidence and mortality in diverse populations. Second, although our analyses included over 85,000 participants, the sample size of the CHD mortality study was relatively small and the number of documented CHD-specific deaths was relatively limited, which precluded robust analyses of CHD-specific mortality. Third, our results suggested a substantial reduction in mortality risk associated with PA among elderly females with established CHD, which was comparable to findings from previous accelerator-based studies in similar populations of elderly females with or without CHD25,26. Nevertheless, this result should be interpreted with caution owing to the limited sample size, and further validation in large-scale CHD cohorts, particularly those with objectively measured PA data from wearable devices, is warranted. Fourth, given the observational design, causality cannot be definitively established. Nevertheless, we conducted a series of sensitivity analyses by considering a broad range of covariates to address potential confounding, and excluding participants with events that occurred during the first year of follow-up to mitigate reverse causality. In addition, biological experiments are needed to explore the mechanisms underlying sex difference in PA benefits.

In conclusion, we observed significant sex differences in associations between accelerometer-measured PA with both CHD incidence risk in the CHD-free population and all-cause mortality risk in the established CHD population, based on a large-scale prospective cohort. Females compared with males derived greater benefits from the same level of PA engagement. Our findings might provide insights into sex-specific tailored management in the prevention of CHD incidence and mortality and advanced precision prevention using wearable devices, and have potential to bridge the ‘gender gap’ by encouraging female individuals to engage in PA.

Methods

This study was reported in accordance with the Strengthening the Reporting of Observational Studies in Epidemiology (STROBE) (Supplementary Table 15). All data field identifiers are listed in Supplementary Table 16.

Study population

The UK Biobank is extensively described online (www.ukbiobank.ac.uk). Briefly, over 500,000 participants aged 37–73 years were recruited between 2006 and 2010 from 22 assessment centers across England, Scotland and Wales. Each participant completed a touch-screen questionnaire, underwent a nurse-led interview, had physical measurements taken and provided biological samples27. This study was conducted under UK Biobank application number 134551. UK Biobank had ethical approval from the North West Multicenter Research Ethics Committee (ref: 11/NW/0382). All participants gave written informed consent.

Accelerometer-derived PA

In the PA sub-study conducted between February 2013 and December 2015, 103,695 participants provided the weekly wrist-worn triaxial accelerometer (Axivity AX3) data28,29. We excluded individuals who withdrew consent and had unreliable data size (field 90002), insufficient wear time (field 90015), poor calibration (field 90016, 90017) and implausible acceleration values (field 90012). We further excluded individuals with missing covariates or who developed CHD during the wearing period. Finally, 85,412 eligible participants were retained, among which 80,243 without CHD were included in the CHD incidence study to analyze the CHD incidence risk, and 5,169 with established CHD were included in the CHD mortality study for the mortality risk of CHD patients; see details in Supplementary Figs. 10 and 11.

As described previously, PA intensity was quantified as the average vector magnitude over 5-s epochs recorded by a wrist-worn triaxial accelerometer, expressed in milligravity (mg). Non-wear-time epochs were identified as consecutive stationary episodes ≥60 min in which all three axes had standard deviation <13.0 mg, which were imputed on the basis of the average of similar time-of-day vector magnitude and intensity distribution data points on different days30. Furthermore, MVPA duration was defined as the accumulation of 5-s epochs with mean acceleration ≥100 mg (refs. 30,31,32). To minimize the artifact misclassification of MVPA, we extracted MVPA data in bouts defined as 5-min periods in which more than 80% of epochs met the intensity threshold30,31,32. Additional measures derived from the quantified MVPA duration were as follows: (1) adherence to the standard recommendations of the AHA2, ESC3 and WHO4 (AHA/ESC/WHO standard: ≥150 min week−1); (2) adherence to the extended recommendation of WHO (WHO extended: ≥300 min week−1); (3) number of days the average daily AHA/ESC/WHO standard (≥150/7 min d−1) was met and (4) number of days the average daily WHO extended recommendation (≥300/7 min d−1) was met.

Outcome ascertainment

For the CHD incidence study, the time-to-event outcome was defined as following-up years from the end of wear time to incident CHD in the CHD-free population, ascertained by the first occurrences of any code mapped to three-character International Classification of Diseases 10th Revision codes I20–I25 from primary care, hospital records, death registries and self-report fields. For the CHD mortality study, the outcome was following-up years from the end of wear time to the date of all-cause death in the established CHD population. Censoring was defined as death, withdrawal, loss to follow-up or the end of the follow-up period, whichever occurred first.

Covariates

Demographics including age, gender, center (England, Scotland or Wales), ethnicity (white or other), education (college, university or other), Townsend deprivation index and body mass index (BMI); lifestyles including smoking (never, ever or current), alcohol (never, ever or current), sleep duration (<7 h, 7–8 h or >8 h) and dietary health33,34 (Supplementary Table 17); medical conditions including diabetes, hypertension, dyslipidemia, cholesterol-lowering medication, blood pressure medication, insulin therapy and Charlson comorbidity index35; and activity intensity measured by average acceleration were included as common covariates in the CHD incidence and mortality study. We further adjusted the polygenetic risk score of CHD in the CHD incidence study, and the use of CHD treatment medicines (antiplatelet medication, antianginal medication) in the CHD mortality study.

Cox proportional hazard models

Models with follow-up time as the timescale

For participant i at follow-up time t (years from the end of accelerometer wear to the event of interest or censoring), the hazard function was:

$${h}_{i}(t)={h}_{0}(t)\exp (\,\beta {X}_{i}\,+\,\gamma {C}_{i})$$

where Xi represents the PA measures, Ci represents the covariates and h0(t) is the baseline hazard at time t. Sex-specific associations were estimated from separate Cox models for females (gi = 0) and males (gi = 1):

$${h}_{i}(t\,|\,{g}_{i})\,=\,{h}_{0,{g}_{i}}(t)\exp (\,{\beta }_{{g}_{i}}{X}_{i}\,+\,{\gamma }_{{{\rm{g}}}_{i}}{C}_{i})$$

where baseline hazard \({h}_{0,{g}_{i}}(t)\) varies by sex, and \({\beta }_{{g}_{i}}\) denotes the sex-specific effects.

Interactions between sex and PA measures were tested using a likelihood ratio test, comparing the following two models with or without an interaction term.

$$\begin{array}{l}{{\rm{M}}{\rm{o}}{\rm{d}}{\rm{e}}{\rm{l}}}_{1}:\,{h}_{i}(t)\,=\,{h}_{0}(t)\exp (\,{\beta }_{1}{X}_{i}\,+\,{\beta }_{2}{g}_{i}\,+\,\gamma {C}_{i}\,+\,\theta ({X}_{i}\,\times \,{g}_{i}))\\ {{\rm{M}}{\rm{o}}{\rm{d}}{\rm{e}}{\rm{l}}}_{2}:\,{h}_{i}(t)\,=\,{h}_{0}(t)\exp (\,{\beta }_{1}^{{\prime} }{X}_{i}\,+\,{\beta }_{{2}}^{{{\prime} }}{g}_{i}\,+\,{\gamma }^{{\prime} }{C}_{i})\end{array}$$

Models with age as the timescale

When age was used as the timescale, the hazard for participant i at age a was:

$${h}_{i}(a)={h}_{0}(a)\exp (\,\beta {X}_{i}+\gamma {C}_{i})$$

where \({h}_{0}(a)\) represents the baseline hazard at age a. Participants entered the risk set at their attained age and were followed until the age at the event or censoring. Sex-specific associations and sex–PA interactions were evaluated analogous to the follow-up time models.

Stratified Cox models by sex

In stratified Cox models36, the baseline hazard \({h}_{0,{g}_{i}}(t)\) was allowed to differ by sex:

$${h}_{i}(t\,|\,{g}_{i})={h}_{0,{g}_{i}}(t)\exp (\,\beta {X}_{i}+\gamma {C}_{i})$$

To test sex difference, an interaction term between sex and PA measures was included:

$${h}_{i}(t\,|\,{g}_{i})={h}_{0,{g}_{i}}(t)\exp (\,\beta {X}_{i}+\gamma {C}_{i}+\theta ({X}_{i}\times {g}_{i}))$$

For females (gi = 0), the effect of PA measures is simply β. For males (gi = 1), the effect is β + θ. The significance of the sex difference was assessed by likelihood ratio test, comparing models with or without an interaction term.

$$\begin{array}{l}{\mathrm{Model}}_{1}:\,{h}_{i}(t\,|\,{g}_{i})={h}_{0,{g}_{i}}(t)\exp (\,\beta {X}_{i}+\gamma {C}_{i}+\theta ({X}_{i}\times {g}_{i}))\\ {\mathrm{Model}}_{2}:\,{h}_{i}(t\,|\,{g}_{i})={h}_{0,{g}_{i}}(t)\exp (\,\beta ^{{\prime} }{X}_{i}+\gamma^{{\prime} } {C}_{i})\end{array}$$

Statistical analyses

Descriptive characteristics were presented as mean ± s.d. or median with interquartile range for quantitative variables as appropriate; categorized variables were described by frequency (n) and proportion (%). The cumulative risk of incident CHD across guideline-adherent groups was illustrated using a cumulative incidence curve, and the overall survival for patients with CHD across groups was shown using a Kaplan–Meier survival curve. Event proportions over the follow-up period and event rates per 100,000 person-years were calculated to describe the outcome characteristics across groups. Cox proportional hazard models with follow-up time as timescale were used to examine sex-specific associations of all PA measures with both CHD incidence and mortality. HRs and 95% CIs were estimated from models to measure relative instantaneous risk of the outcome, and we reported the HR per 30 min week−1 on MVPA duration. Nonlinear relationships and dose–response associations between MVPA duration and CHD outcomes were evaluated through restricted cubic splines by using R package ‘rms’, with 0 min week−1 of MVPA as the reference. Sex differences in associations were assessed using likelihood ratio tests, comparing models with and without interaction terms between sex and PA measures37. Given the distinct populations and different hypotheses underlying the two outcomes, we applied false discovery rate (FDR) correction using the Benjamini and Hochberg method38 for CHD incidence and mortality separately to account for multiple comparisons across five PA measures evaluated in each analysis.

We performed several sensitivity analyses. (1) We used Fine and Gray subdistribution hazard models39 to account for the competing risk of death in the CHD incidence study; (2) we additionally fitted Cox proportional hazard models with age as the timescale to further control for potential confounding by age; (3) we used stratified Cox proportional hazard models by sex to account for sex-specific baseline hazards36; (4) we examined multiple PA measures with varying thresholds; (5) we used four models with progressively increasing covariate adjustment, and further conducted sensitivity analyses incorporating additional comorbidities (chronic kidney disease and arthritis) as well as family history (biological father, mother and siblings) of heart disease, to account for potential confounders; (6) we excluded participants with events occurring within the first year of the follow-up period to mitigate reverse causality; and (7) we imputed the missing data using the multiple imputation method with the R package ‘mice’40.

Statistical analyses were conducted using R v.4.3.3, and a two-sided P ≤ 0.05 was considered statistically significant.

Reporting summary

Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.