Chondroitin, a class of glycosaminoglycan polysaccharides, is found as proteoglycans in the extracellular matrix, plays a crucial role in tissue morphogenesis during development and axonal regeneration. Ingestion of chondroitin prolongs the lifespan of C. elegans. However, the roles of endogenous chondroitin in regulating lifespan and healthspan mostly remain to be investigated. Here, we demonstrate that a gain-of-function mutation in MIG-22, the chondroitin polymerizing factor (ChPF), results in elevated chondroitin levels and a significant extension of both the lifespan and healthspan in C. elegans. Importantly, the remarkable longevity observed in mig-22(gf) mutants is dependent on SQV-5/chondroitin synthase (ChSy), highlighting the pivotal role of chondroitin in controlling both lifespan and healthspan. Additionally, the mig-22(gf) mutation effectively suppresses the reduced healthspan associated with the loss of MIG-17/ADAMTS metalloprotease, a crucial for factor in basement membrane (BM) remodeling. Our findings suggest that chondroitin functions in the control of healthspan downstream of MIG-17, while regulating lifespan through a pathway independent of MIG-17.