The anti-fibrotic drug pirfenidone (PFD) is currently in clinical testing for the treatment of heart failure with preserved ejection fraction; however, its effects on human cardiac cells have not been fully investigated. Therefore, we aimed to characterize the impact of PFD on human cardiac fibroblasts (CF) in 2D culture as well as in 3D-engineered connective tissues (ECT). We analyzed proliferation by automated cell counting and changes in signaling by immunoblotting. We generated ECT with different geometries to modify the cellular phenotype and investigated the effects of PFD on cell number and viability as well as on cell cycle activity. We further studied its effect on ECT compaction, contraction, stiffening, and strain resistance by ECT imaging, pole deflection analysis, and ultimate tensile testing. Our data demonstrate that PFD inhibits human CF proliferation in a concentration-dependent manner with an IC50of 0.43 mg/ml and its anti-mitogenic effect was further corroborated by an inhibition of MEK1/2, ERK1/2, and riboprotein S6 (rpS6) phosphorylation. In ECT, a lower cell cycle activity was found in PFD-treated ECT and fewer cells resided in these ECT after 5 days of culture compared to the control. Moreover, ECT compaction as well as ECT contraction was impaired. Consequently, biomechanical analyses demonstrated that PFD reduced the stiffness of ECT. Taken together, our data demonstrate that the anti-fibrotic action of PFD on human CF is based on its anti-mitogenic effect in 2D cultures and ECT.Supplementary InformationThe online version contains supplementary material available at 10.1007/s00210-023-02421-9.