Knee osteoarthritis (KOA) is characterized by low-grade inflammation, loss of articular cartilage, subchondral bone remodeling, synovitis, osteophyte formation, and pain. Strong, continuous pain may indicate the need for joint replacement in patients with end-stage OA, although postoperative pain (POP) of at least a two-month duration persists in 10–40% of patients with OA. Study purpose: The inflammation observed in joint tissues is linked to pain caused by the production of proinflammatory cytokines. Since the biosynthesis of cytokines requires energy, their production is supported by extensive metabolic conversions of carbohydrates and fatty acids, which could lead to a disruption in cellular homeostasis. Therefore, this study aimed to investigate the association between POP development and disturbances in energy metabolic conversions, focusing on carbohydrate and fatty acid metabolism. Methods: Peripheral blood samples were collected from 26 healthy subjects and 50 patients with end-stage OA before joint replacement surgery. All implants were validated by orthopedic surgeons, and patients with OA demonstrated no inherent abnormalities to cause pain from other reasons than OA disease, such as malalignment, aseptic loosening, or excessive bleeding. Pain levels were assessed before surgery using the visual analogue scale (VAS) and neuropathic pain questionnaires, DN4 and PainDETECT. Functional activity was evaluated using the Western Ontario and McMaster Universities Osteoarthritis Index (WOMAC). Three and six months after surgery, pain indices according to a VAS of 30 mm or higher were considered. Total RNA isolated from whole blood was analyzed using quantitative real-time RT-PCR (qRT-PCR) for the expression of genes related to carbohydrate and fatty acid metabolism. Protein levels of the examined genes were measured using an ELISA in the peripheral blood mononuclear cells (PBMCs). We used qRT-PCR because it is the most sensitive and reliable method for gene expression analysis, while an ELISA was used to confirm our qRT-PCR results. Key findings: Among the study cohort, 17 patients who reported POP demonstrated significantly higher (p < 0.05) expressions of the genes PKM2, LDH, SDH, UCP2, CPT1A, and ACLY compared to pain-free patients with KOA. Receiver-operating characteristic (ROC) curve analyses confirmed the association between these gene expressions and pain development post-arthroplasty. A principle component analysis identified the prognostic values of ACLY, CPT1A, AMPK, SDHB, Caspase 3, and IL-1β gene expressions for POP development in the examined subjects. Conclusion: These findings suggest that the disturbances in energy metabolism, as observed in the PBMCs of patients with end-stage KOA before arthroplasty, may contribute to POP development. An understanding of these metabolic processes could provide insights into the pathogenesis of KOA. Additionally, our findings can be used in a clinical setting to predict POP development in end-stage patients with KOA before arthroplasty.