Ferulic acid (FA) acts as a powerful antioxidant against various age-related diseases. To investigate the effect and underlying mechanism of FA against d-galactose(d-gal)-induced memory deficit, mice were injected with d-gal to induce memory impairment and simultaneously treated with FA and donepezil. The behavioral results revealed that chronic FA treatment reversed d-gal-induced memory impairment. Further, FA treatment inhibited d-gal-induced AChE activity and oxidative stress via increase of superoxide dismutase activity and reduced glutathione content, as well as decrease of malondialdehyde and nitric oxide levels. We also observed that FA significantly inhibits inflammation in the brain through reduction of NF-κB and IL-1β by enzyme-linked immunosorbent assay. Additionally, FA treatment significantly reduces the caspase-3 level in the hippocampus of d-gal-treated mice. Hematoxylin and eosin and Nissl staining showed that FA prevents neurodegeneration induced by d-gal. These findings showed that FA inhibits d-gal-induced AChE activity, oxidative stress, neuroinflammation and neurodegeneration, and consequently ameliorates memory impairment.