Teasaponin treatment prevented the HF diet-induced recognition memory impairment and improved neuroinflammation, gliosis and brain-derived neurotrophic factor (BDNF) deficits in the hippocampus. Here, BDNF is linked to hydrops fetalis.