The promoter variant rs35705950 confers a gain of function to the MUC5B gene and is the dominant risk factor for idiopathic pulmonary fibrosis. Here, MUC5B is linked to idiopathic pulmonary fibrosis.