In general, we found that M2 macrophages’ infiltration was most positively correlated with AD, and we found that TLR2, FCGR2A, ITGB2, NCKAP1L and CYBA are involved in the process of infiltration, providing new and promising insights into the treatment of AD. The gene discussed is TLR2; the disease is Alzheimer disease.