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. This evidence concerns the gene NCKAP1L and Alzheimer disease.