Intra-articular injection of drugs is an effective strategy for osteoarthritis (OA) treatment. However, the complex microenvironment and limited joint space result in rapid clearance of drugs. Herein, a nanogel-based strategy is proposed for prolonged drug delivery and microenvironment remodeling. Nanogel is constructed through the functionalization of hyaluronic acid (HA) by amide reaction on the surface of Kartogenin (KGN)-loaded zeolitic imidazolate framework-8 (denoted as KZIF@HA). Leveraging the inherent hydrophilicity of HA, KZIF@HA spontaneously forms nanogels, ensuring extended drug release in the OA microenvironment. KZIF@HA exhibits sustained drug release over one month, with low leakage risk from the joint cavity compared to KZIF, enhanced cartilage penetration, and reparative effects on chondrocytes. Notably, KGN released from KZIF@HA serves to promote extracellular matrix (ECM) secretion for hyaline cartilage regeneration. Zn2+ release reverses OA progression by promoting M2 macrophage polarization to establish an anti-inflammatory microenvironment. Ultimately, KZIF@HA facilitates cartilage regeneration and OA alleviation within three months. Transcriptome sequencing validates that KZIF@HA stimulates the polarization of M2 macrophages and secretes IL-10 to inhibit the JNK and ERK pathways, promoting chondrocytes recovery and enhancing ECM remodeling. This pioneering nanogel system offers new therapeutic opportunities for sustained drug release, presenting a significant stride in OA treatment strategies.