Objective To explore the causal relationship between DNA copy number and the risk of Alzheimer disease (AD) using Mendelian randomization (MR) methods, as well as to investigate the potential mediating effects of immune cells. Methods The data related to 731 immune cell types, DNA copy number and AD from the Genome-Wide Association Study database were collected. A bidirectional MR analysis was conducted to explore the causal relationship between DNA copy number and AD, primarily using the inverse-variance weighted method and MR-Egger method. Additionally, a two-step mediation analysis was performed to identify potential mediating immune cells. Results A total of 134 single-nucleotide polymorphisms were included for bidirectional MR analysis. The MR methods results showed a negative causal relationship between DNA copy number and the risk of AD (P<0.05), while the reverse analysis showed no statistical significance. Sensitivity analysis confirmed the robustness of these results. The mediation analysis indicated that the immune cell phenotype (HVEM on CD45RA-CD4+) partially mediated the causal relationship between DNA copy numbers and the risk of AD, with a mediation effect proportion of 4.6%. Conclusion An increase in DNA copy numbers may reduce the risk of AD, and immune cells partially mediate this causal relationship.