Based on the results of cell and animal experiments, we found a significant increase in CD40 and CD40L in the model of in vitro and in vivo pulmonary fibrosis and a significant decrease in CD40 and CD40L when CXXC5 was overexpressed. This evidence concerns the gene CD40 and pulmonary fibrosis.