We found that the PD-1/PD-L1 pathway plays a more predominant profibrotic role than its immunomodulatory role in IPF by interacting with multiple cell types and pathways. Here, RPL17 is linked to idiopathic pulmonary fibrosis.