Mediation analysis revealed that CXCL10 accounted for 36.45% of the impact of hypothyroidism on IPF. The gene discussed is CXCL10; the disease is hypothyroidism.