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. Here, CXXC5 is linked to pulmonary fibrosis.