In conclusion, we found that the TP53 rs12951053 and rs12602273 SNPs were significantly associated with survival in IPF patients and that CDKN1A SNPs rs2395655 and rs733590 were significantly associated with the risk of developing IPF. This evidence concerns the gene CDKN1A and idiopathic pulmonary fibrosis.