Objective. Myocardial fibrosis (MF) is a common manifestation of end-stage cardiovascular diseases. Triptolide (TP) provides protection against cardiovascular diseases. This study was to explore the functional mechanism of TP in MF rats via the Wnt/β-catenin pathway. Methods. The MF rat model was established via subcutaneous injection of isoproterenol (ISO) and treated with low/medium/high doses of TP (L-TP/M-TP/H-TP) or Wnt agonist BML-284. Cardiac function was examined by echocardiography. Pathological changes of myocardial tissues were observed by HE and Masson staining. Col-I/Col-III/Vimentin/α-SMA levels were detected by immunohistochemistry, RT-qPCR, and Western blot. Collagen volume fraction content was measured. Expression levels of the Wnt/β-catenin pathway-related proteins (β-catenin/c-myc/Cyclin D1) were detected by Western blot. Rat cardiac fibroblasts were utilized for in vitro validation experiments. Results. MF rats had enlarged left ventricle, decreased systolic and diastolic function and cardiac dysfunction, elevated collagen fiber distribution, collagen volume fraction and hydroxyproline content. Levels of Col-I/Col-III/Vimentin/α-SMA, and protein levels of β-catenin/c-myc/Cyclin D1 were increased in MF rats. The Wnt/β-catenin pathway was activated in the myocardial tissues of MF rats. TP treatment alleviated impairments of cardiac function and myocardial tissuepathological injury, decreased collagen fibers, collagen volume fraction, Col-I, Col-III, α-SMA and Vimentin levels, HYP content, inhibited Wnt/β-catenin pathway, with H-TP showing the most significant effects. Wnt agonist BML-284 antagonized the inhibitive effect of TP on MF. TP inhibited the Wnt/β-catenin pathway to repress the proliferation and differentiation of mouse cardiac fibroblasts in vitro. Conclusions. TP was found to ameliorate ISO-induced MF in rats by inhibiting the Wnt/β-catenin pathway.