Osteoarthritis (OA), characterized by chronic pain, significantly affects the quality of life of affected individuals. Key factors in OA pathogenesis include cartilage degradation and inflammation. Signal transducer and activator of transcription 3 (STAT3), a member of the STAT protein family, plays a pivotal role in mediating inflammation. STX-0119 has been verified as a small molecular compound that can specifically inhibit STAT3. However, the efficacy of STX-0119 in the treatment of OA remains to be evaluated. Therefore, the aim of this study was to explore the therapeutic effects and molecular mechanisms of STX-0119 in the treatment of OA. We found that the expression of phosphorylated STAT3 is upregulated in human OA cartilage as well as in the cartilage of a mouse model of OA. In vivo, joint injection of STX-0119 into OA mice alleviated cartilage degeneration without affecting the subchondral bone. Additionally, STX-0119 could inhibit the phosphorylation of STAT3 in the cartilage. In vitro, STX-0119 suppressed inflammatory responses in chondrocytes and promoted anabolic metabolism in an interleukin-1β-induced chondrocyte inflammation model. Additionally, the results of transcriptome sequencing and lentiviral infection assays demonstrated that in chondrocytes, STX-0119 induces the upregulation of peroxisome proliferators-activated receptor gamma (PPARγ) expression by inhibiting STAT3 phosphorylation. Finally, in ex vivo cultures of human cartilage samples, STX-0119 was reaffirmed to inhibit cartilage degeneration via the STAT3/PPARγ signaling pathway. Together, our findings support the potential of STX-0119 for development as a therapeutic agent targeting STAT3 for the treatment of OA.