Rare mutations in SFTPA2, SFTPC and TERT are collectively over-represented in individuals with IPF. Here, SFTPC is linked to idiopathic pulmonary fibrosis.