Background Peritoneal fibrosis caused by long-term peritoneal dialysis (PD) is the main reason why patients withdraw from PD treatment. Lipid accumulation in the peritoneum was shown to participate in fibrosis, and klotho is a molecule involved in lipid metabolism. GSK343 (enhancer of zeste 2 polycomb repressive complex 2 subunit (EZH2) inhibitor) has been verified to inhibit epithelial mesenchymal transdifferentiation (EMT) and peritoneal fibrosis, but its related mechanism remains unclear. This study aimed to investigate whether lipid accumulation was involved in the effect of GSK343 and its related mechanism. Materials and Methods First, the expression of EZH2, klotho and EMT indices in human peritoneal mesothelial cells (HMrSV5) incubated with high glucose (HG) levels was detected. After EZH2 was inhibited by GSK343, Western blot (WB), wound healing and Transwell assays were used to explore the effect of GSK343. EZH2 and klotho expression was also detected. Oil red O and Nile red staining and triglyceride (TG) detection kits were used to detect lipid accumulation. A rescue experiment with small interfering RNA specific for klotho (si-klotho) on the basis of GSK343 was also conducted to verify that GSK343 exerted its effect via klotho. In in vivo experiments, rats were administered GSK343, and the related index was assessed. Results In our study, we revealed that the expression of EZH2 was significantly upregulated and klotho was significantly downregulated in HMrSV5 cells induced by high glucose. With the aid of GSK343, we found that lipid deposition caused by HG was significantly decreased. In addition, EMT and fibrosis were also significantly alleviated. Moreover, GSK343 could also restore the downregulation of klotho. To further verify whether klotho mediated the effect of EZH2, a rescue experiment with si-klotho was also conducted. The results showed that si-klotho could counteract the protective effect of GSK343 on high glucose-induced lipid accumulation and fibrosis. In vivo experiments also revealed that GSK343 could relieve peritoneal fibrosis, lipid deposition and EMT by mitigating EZH2 and restoring klotho expression. Conclusions Combining these findings, we found that EZH2 regulated lipid deposition, peritoneal fibrosis, and EMT mediated by klotho. To our knowledge, this is the first study to demonstrate the effect of the EZH2-klotho interaction on peritoneal fibrosis. Hence, EZH2 and klotho could act as potential targets for the treatment of peritoneal fibrosis.