Tripterygium Glycosides Tablets (TGT) has shown obvious anti-rheumatoid arthritis (RA) effects accompanied by hepatotoxicity. Despite that many studies looked at TGT's anti-RA or hepatotoxic mechanism and substance basis, the results were still insufficient. Furthermore, the anti-RA and hepatotoxicity investigations of TGT were undertaken separately, neglecting the relationship between efficacy and toxicity. Herein, an integrated approach combining metabolomics, network pharmacology, serum pharmacochemistry, and molecular docking was adopted to elucidate the mechanism and substance basis of Tripterygium Glycosides Tablets (TGT) on anti-rheumatoid arthritis and hepatotoxicity simultaneously. The results showed that 33 components in TGT were absorbed into rat serum. Two toxic targets (PRKCA, FASN), three effective targets (PLA2G10, PTGES, PLA2G1B), and four effective and toxic targets (PTGS1, PTGS2, PLA2G2A, ALOX5) were obtained by metabolomics combined with network analysis and network pharmacology. A component-target-RA-hepatotoxicity network was constructed and five hepatotoxic components (1-desacetylwilforgine, wilfordconine, wilforgine, wilformine, wilfornine D), eight effective-toxic components (14-oxo-19-(4 → 3) abeo-abieta-3,8,12-tetraen-19,18-olide, 7-oxo-18(4 → 3) abeo-abieta-3,8,11,13-tetraen-18-oic acid, hypoglaulide, triptotriterpenic acid A, wilforol F, wilforlide B, triptoquinone B, wilforlide A); and 23 non-effective and non-toxic components were acquired and validated by molecular docking. In addition, our research revealed that glycerophospholipid metabolism and ether lipid metabolism were correlated to both hepatotoxicity and anti-RA of TGT. While in sphingolipid metabolism, ceramidases regulated ceramide-sphingosine and phytoceramide-phytosphingosine reaction were found to be correlated to hepatotoxicity, sphinganine-1-phosphate lyase (SPL) regulated sphingosine 1-phosphate (S1P)-phosphoethanolamine and sphinganine 1-phosphate-phosphoethanolamine were found to be attributed to anti-RA effects.