Lead (Pb) exposure can cause central nervous system (CNS) damage. The process of Pb neurotoxicity is accompanied by the microglia activation. In addition, microglia activation was observed under the intervention of high‐fat diets (HFD). This study was designed to investigate the effect of Pb on the cognitive function of mice with HFD, with focus on the microglia activation in brain. Male C57BL/6J mice, 8 weeks of age, were randomly divided into control, HFD, Pb, and HFD + Pb groups. The results showed that HFD following Pb exposure could exacerbate the learning and memory impairment in mice. Pb exposure could promote microglia activation and increase the expression of M1 microglia marker and decrease the expression of M2 microglia marker in the hippocampus of mice with HFD. Our finding suggested that Pb exposure may aggravate CNS damage by promoting M1 polarization and inhibiting M2 polarization of hippocampal microglia in HFD mice.