CD163+ macrophage density was decreased in NSIP patients who smoked, and the ratio of CD163+ macrophages to CD68+ macrophages showed a decreasing trend in IPF/UIP patients who smoked. This evidence concerns the gene CD163 and idiopathic pulmonary fibrosis.