Our bioinformatics analysis uncovered that IKBKE and HSPA1A play pivotal roles in modulating immune cell infiltration in AD and LIHC patients, thereby reshaping the immune microenvironment. Here, HSPA1A is linked to Alzheimer disease.