Osteoarthritis (OA) is widely recognized as the prevailing joint disease associated with aging. The ketogenic diet (KD) has been postulated to impede the advancement of various inflammatory ailments. β-Hydroxybutyrate (βOHB), a prominent constituent of ketone bodies, has recently been proposed to possess crucial signaling capabilities. In this study, we propose to explore the role and mechanism of βOHB in OA. Tissue staining and inflammatory factor assay were employed to evaluate the impacts of KD and βOHB on OA rats. The oxidative stress conditions in chondrocytes were induced using tert-butyl hydroperoxide (TBHP). The mechanisms were determined using the siRNA of hydroxycarboxylic acid receptor 2 (HCAR2), the antagonist of adenosine monophosphate-activated protein kinase (AMPK), and the inhibitor of mitophagy. The administration of KD demonstrated a reduction in pathological damage to cartilage, as well as a decrease in plasma levels of inflammatory factors. Furthermore, it resulted in an increase in the concentration of βOHB in the blood and synovial fluid. Invitro experiments showed that βOHB facilitated mitophagy and adenosine triphosphate production. Besides, βOHB mitigated chondrocyte senescence, inflammatory factors secretion, extracellular matrix degradation, and apoptosis induced by TBHP. Subsequent investigations indicated that the protective effects of βOHB were no longer observed following the knockdown of HCAR2, the antagonist of AMPK, or the inhibitor of mitophagy. Moreover, invivo studies suggested that βOHB played a protective role by targeting the HCAR2-AMPK-PINK1 axis. In conclusion,βOHB enhanced chondrocyte mitophagy through the HCAR2/AMPK/PINK1/Parkin pathway, offering a potential therapeutic approach for the treatment of OA.