Aims. To determine the trajectories of patient reported pain and functional disability over five years following total hip arthroplasty (THA) or total knee arthroplasty (TKA). Methods. A prospective, longitudinal cohort sub-study within the National Joint Registry (NJR) was undertaken. In all, 20,089 patients who underwent primary THA and 22,489 who underwent primary TKA between 2009 and 2010 were sent Oxford Hip Score (OHS) and Oxford Knee Score (OKS) questionnaires at six months, and one, three, and five years postoperatively. OHS and OKS were disaggregated into pain and function subscales. A k-means clustering procedure assigned each patient to a longitudinal trajectory group for pain and function. Ordinal regression was used to predict trajectory group membership using baseline OHS and OKS score, age, BMI, index of multiple deprivation, sex, ethnicity, geographical location, and American Society of Anesthesiologists grade. Results. Data described two discrete