The reduced expression of Cox2 and Hmox1 in IPF lung fibroblasts is restored by OGT inhibition. Here, HMOX1 is linked to idiopathic pulmonary fibrosis.