In conclusion, the present study was focused on the identification of DEIRGs in AD and MDD, and three shared genes (IL1R1, CHGB, and NRG1) had a good diagnostic value both in MDD and AD. Here, IL1R1 is linked to Alzheimer disease.