In summary, our study identified six hub genes, specifically KDM6B, KDM5A, SETD7, SUZ12, HDAC2, and CHD4, as critical regulators in IPF. Here, KDM6B is linked to idiopathic pulmonary fibrosis.