Purple sweet potato color (PSPC), a naturally occurring anthocyanin, has a powerful antioxidant activity in vitro and in vivo. This study explores whether PSPC has the neuroprotective effect on the aging mouse brain induced by D-galactose (D-gal). The mice administrated with PSPC (100 mg/kg.day, 4 weeks, from 9th week) via oral gavage showed significantly improved behavior performance in the open field and passive avoidance test compared with D-gal-treated mice (500 mg/kg.day, 8 weeks). We further investigate the mechanism involved in neuroprotective effects of PSPC on mouse brain. Interestingly, we found, PSPC decreased the expression level of glial fibrillary acidic protein (GFAP), inducible nitric oxide synthase (iNOS), and cyclooxygenase-2 (COX-2), inhibited nuclear translocation of nuclear factor-kappaB (NF-kappaB), increased the activity of copper/zinc superoxide dismutase (Cu/Zn-SOD) and catalase (CAT), and reduced the content of malondialdehyde (MDA), respectively. Our data suggested that PSPC attenuated D-gal-induced cognitive impairment partly via enhancing the antioxidant and anti-inflammatory capacity.