It has been recently demonstrated that rosmarinic acid (RA) through modulation in the amyloidogenic pathway exhibit neuroprotective potential in Alzheimer’s disease. However, its effects on non-amyloidogenic pathways such as neuroinflammation (NI) and oxidative stress have not been elucidated carefully. Hence, this study aimed to investigate the effect of RA on cognitive function, cortical and hippocampal oxidant-antioxidant balance, and proinflammatory cytokines production in lipopolysaccharide (LPS)-induced NI in rats. NI was induced by intracerebroventricular injection of LPS (50 μg/20 μL; 10 μL into each ventricle) in Wistar rats. RA (25 and 50 mg/kg.) was intraperitoneally administrated to the experimental groups 30 min before the LPS injection and continued once per day for seven days. Cognitive function was investigated by the Y-maze test, and the production of proinflammatory cytokines and oxidative stress markers were evaluated in their hippocampi (HIP) and prefrontal cortex (PFC). In addition, neuronal damage was evaluated in the HIP subfields histologically. The RA administration could alleviate cognitive impairments caused by NI in LPS-treated rats as evidenced by improved working memory and attenuated neuronal injury in the HIP subfields. RA treatment in a dose-dependent manner prevented the overproduction of tumor necrosis factor-alpha (TNF-α), interleukin 1 beta (IL-1β), and IL-6 in both the HIP and PFC. RA significantly alleviated the HIP and PFC levels of malondialdehyde (MDA) and nitric oxide (NOx) and enhanced the superoxide dismutase (SOD) activity. These findings demonstrated that RA could also exert its neuroprotective effects by modulating non-amyloidogenic pathways such as inflammation and oxidative stress.