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