Our study constructed and validated an autophagy-associated risk model based on MYC, MAPK1, IRGM, PRKCQ, and FOXO1. And those five genes may influence the progression of IPF by regulating immune responses and immune cells. This evidence concerns the gene MAPK1 and idiopathic pulmonary fibrosis.