The myeloid differentiation factor 2 (MD-2)-toll-like receptor 4 (TLR4) signaling pathway has been linked to cognitive decline in obese rats. However, more research is required to fully understand the mechanistic role of MD-2-TLR4 signalling pathway in obese-related cognitive impairment. In this study, we used two novel MD-2 inhibitors-MAC28 (a mono-carbonyl analogue of curcumin 28) and 2i-10 (a cinnamamide-derivative compound)-to better comprehend the mechanistic role of the MD-2-TLR4 signalling pathway in obese-related cognitive impairment. A normal diet (ND) (n = 16) and a high-fat diet (HFD) (n = 64) were given to randomly divided groups of male Wistar rats for 16-weeks. At week 13, 2 types of vehicles were randomly administered to ND-fed and HFD-fed rats, whereas MAC28 (3-doses) and 2i-10 (3-doses) were randomly given to HFD-fed rats until week 16. HFD-fed rats developed obesity with metabolic disturbances, a variety of brain pathologies and cognitive decline. In obese rats, blocking the brain MD-2-TLR4 signalling pathway with MAC28 or 2i-10 improved cognition via reducing brain inflammation, neurodegeneration, microglial activation, dendritic spine loss, brain oxidative stress, as well as preserving adult hippocampal neurogenesis. Our findings highlight to better understand the role of MD-2-TLR4 signaling pathway in obese-related cognitive decline, and MD-2 could be a potential therapeutic target for brain pathologies and cognitive decline in obesity.