Triptolide (TPL), the active component of Tripterygium wilfordii, exhibits anti-cancer and antioxidant functions. We aimed to explore the anti-apoptosis mechanism of TPL based on network pharmacology and in vivo and in vitro research validation using a rat model of focal segmental glomerulosclerosis (FSGS). The chemical structures and pharmacological activities of the compounds reported in T. wilfordii were determined and used to perform the network pharmacology analysis. The Traditional Chinese Medicine Systems Pharmacology Database (TCMSP) was then used to identify the network targets for 16 compounds from Tripterygium wilfordii. Our results showed that 47 overlapping genes obtained from the GeneCards and OMIM databases were involved in the occurrence and development of FSGS and used to construct the protein–protein interaction (PPI) network using the STRING database. Hub genes were identified via the MCODE plug-in of the Cytoscape software. IL4 was the target gene of TPL in FSGS and was mainly enriched in the cell apoptosis term and p53 signaling pathway, according to Gene Ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway enrichment analyses. TPL inhibited FSGS-induced cell apoptosis in rats and regulated IL4, nephrin, podocin, and p53 protein levels via using CCK8, TUNEL, and Western blot assays. The effects of IL4 overexpression, including inhibition of cell viability and promotion of apoptosis, were reversed by TPL. TPL treatment increased the expression of nephrin and podocin and decreased p53 expression in rat podocytes. In conclusion, TPL inhibited podocyte apoptosis by targeting IL4 to alleviate kidney injury in FSGS rats.