BackgroundThe relationship between leisure time physical activity (LPA) and hip and knee OA and subsequent joint replacement has not yet been clearly defined. Some studies have found the risk of knee replacement (TKR) to increase with high levels of LPA, while others have found no overall relationship to either TKR or hip replacement (THR). The aim was to investigate the association between LPA and the risk of severe end-stage OA, defined as THR or TKR due to primary OA, in a large population-based cohort.MethodsParticipants in the Nord-Trøndelag Health Study (HUNT) were followed prospectively to identify THR and TKR using the Norwegian Arthroplasty Register. Self-reported LPA was classified as inactive, low, moderate or high. The Cox proportional hazards model was used to calculate hazard ratios (HRs) according to levels of LPA with adjustments for confounding variables. Analyses were performed by age (<45, 45–59 and ≥60 years) and sex.ResultsA total of 66 964 participants (mean age 46.8 years (SD 16.3) were included in the analyses. We identified 1636 THRs and 1016 TKRs due to primary OA during 17.0 years (median) of follow-up. High LPA was significantly associated with THR for women <45 years (HR 1.78, 95 % CI 1.08–2.94) and men between 45–59 years (HR 1.53, 95 % CI 1.10–2.13) at baseline. A significant trend was found only among women < 45 years at baseline (p = 0.02). We found that LPA was significantly associated with TKR for women only (HR 1.45, 95 % CI 1.03–2.04). No measures of LPA were associated with TKR for men.ConclusionIn this population-based study, high level of LPA was associated with increased risk of THR where a significant trend of LPA was seen among women <45 years at baseline. For TKR, high LPA was associated with increased risk only in women. In contrast to previous studies, this study shows a possible association between high LPA and the risk of THR.Electronic supplementary materialThe online version of this article (doi:10.1186/s12891-016-0937-7) contains supplementary material, which is available to authorized users.