By combining MR with transcriptomics data to explore genetic causality, we performed pathway enrichment analyses and identified three markers: CTSB, IL10, and AGER. These markers can serve as causal diagnostic indicators of immune cell-IPF interactions, offering valuable insights into the validation of a cohort of IPF patients. The gene discussed is AGER; the disease is idiopathic interstitial pneumonia.