Immune microenvironment analysis identified 16 immune cell types with significant differences between IPF and control groups, among which T helper 2 cells were strongly positively correlated with <i>CD163</i>. This evidence concerns the gene CD163 and idiopathic pulmonary fibrosis.