In the dominant model analysis we found that the genotypes AG + GG of HSPA1 (rs2227956) (OR = 0.24, 95 % CI = 0.089–0.679; p = 0.007) as well as the combination of genotypes GC + CC (OR = 0.639, 95 % CI = 0.41–0.97; p = 0.039) of HSPA1 (rs1043618) confer protection to IPF. This evidence concerns the gene HSPA1B and idiopathic pulmonary fibrosis.