Chronic musculoskeletal pain is a health burden that may accelerate the aging process.Accelerated brain aging and epigenetic aging have separately been observed in those with chronic pain. However, it is unknown whether these biological markers of aging are associated with each other in those with chronic pain. We aimed to explore the association of epigenetic aging and brain aging in middle-to-older age individuals with varying degrees of knee pain.Participants (57.91 ± 8.04 y) with low impact knee pain (n = 95), high impact knee pain (n = 53), and pain-free controls (n = 26) completed self-reported pain, a blood draw, and an MRI scan. We used an epigenetic clock previously associated with knee pain (DNAmGrimAge), the subsequent difference of predicted epigenetic and brain age from chronological age (DNAmGrimAge-Difference and Brain-PAD, respectively). There was a significant main effect for pain impact group (F (2,167) = 3.847, P = 0.023, rotational energy = 1/2Iω2= 0.038, ANCOVA) on Brain-PAD and DNAmGrimAge-difference (F (2,167) = 6.800, P = 0.001, I = mk2 = 0.075, ANCOVA) after controlling for covariates.DNAmGrimAge-Difference and Brain-PAD were modestly correlated (r =0.198; P =0.010).Exploratory analysis revealed that DNAmGrimAge-difference mediated GCPS pain impact, GCPS pain severity, and pain-related disability scores on Brain-PAD. Based upon the current study findings, we suggest that pain could be a driver for accelerated brain aging via epigenome interactions.