Mediation analysis showed that Klotho could improve renal function in the general population by modulating the inflammatory response and lipid metabolism, while in the CKD population, it primarily manifested by mediating the inflammatory response. This evidence concerns the gene KL and chronic kidney disease.