Through single-cell RNA-seq, spatial transcriptomics, and genetic perturbation, we elucidate that high-temperature requirement A serine peptidase 3 (Htra3) is a critical regulator of cardiac fibrosis and heart failure by maintaining the identity of quiescent cardiac fibroblasts through degrading transforming growth factor-β (TGF-β). Here, TGFB1 is linked to heart failure.