Five candidate m6A regulators (insulin-like growth factor binding protein 2, insulin-like growth factor binding protein 3, YTH domain-containing protein 1, zinc finger CCCH domain-containing protein 13, and methyltransferase-like 3) were screened by the application of a random forest model and nomogram model to predict risks of pulmonary fibrosis. Here, YTHDC1 is linked to pulmonary fibrosis.