Idiopathic pulmonary fibrosis (IPF) is a fatal lung disease in which airway macrophages (AMs) play a key role. Itaconate has emerged as a mediator of macrophage function, but its role during fibrosis is unknown. Here, we reveal that itaconate is an endogenous antifibrotic factor in the lung. Itaconate levels are reduced in bronchoalveolar lavage, and itaconate-synthesizing cis-aconitate decarboxylase expression (ACOD1) is reduced in AMs from patients with IPF compared with controls. In the murine bleomycin model of pulmonary fibrosis, Acod1−/− mice develop persistent fibrosis, unlike wild-type (WT) littermates. Profibrotic gene expression is increased in Acod1−/− tissue-resident AMs compared with WT, and adoptive transfer of WT monocyte-recruited AMs rescued mice from disease phenotype. Culture of lung fibroblasts with itaconate decreased proliferation and wound healing capacity, and inhaled itaconate was protective in mice in vivo. Collectively, these data identify itaconate as critical for controlling the severity of lung fibrosis, and targeting this pathway may be a viable therapeutic strategy.