Best Foods for Long-Term Cognitive Health
Observational studies consistently link a Mediterranean or MIND-style pattern to slower cognitive decline, while randomized trials have been far more modest. Here is what each food contributes, and why the pattern and your vascular health matter more than any single item.

No single food protects an aging brain. The best-supported approach is a whole dietary pattern, Mediterranean or MIND style, built on leafy greens, berries, beans, whole grains, nuts and extra virgin olive oil, with less ultra-processed food. That pattern is repeatedly associated with slower cognitive decline in large observational studies. Trial evidence is weaker: a three-year randomized trial of the MIND diet found no significant cognitive advantage over mild calorie restriction.
Key takeaways
- The consistent signal comes from dietary patterns, not from individual foods, and the effect sizes in cohort studies are modest.
- The 2023 MIND diet randomized trial found no significant difference in cognition versus a mild calorie-restriction control after three years.
- Observational studies of berries, leafy greens and flavonoid intake show slower rates of decline, but association is not proof of cause.
- The 2024 Lancet Commission estimates around 45 percent of dementia cases are potentially preventable through 14 modifiable risk factors, several of which respond to diet indirectly through blood pressure, glucose and cholesterol.
- New or rapidly worsening memory problems need medical evaluation, because some causes are treatable.
How these foods were chosen
The list prioritises foods with repeated-measure prospective cohort data linked to validated cognitive testing, and with randomized trial data where any exists. Foods supported only by cell studies, rodent models or plausible antioxidant mechanisms were left out, because that evidence has a poor record of translating to human cognition.
Nutrient values come from USDA FoodData Central. Where a randomized trial has produced a null result, that result is reported here rather than skipped, because a food can still be worth eating for cardiometabolic reasons while failing to show a direct cognitive effect.
One boundary applies to everything below: no food or dietary pattern has been shown to prevent dementia. The realistic framing is slower average decline across populations, over decades, in combination with the non-dietary factors that matter at least as much.
The food list, and why each earns its place
Leafy greens. Spinach and kale have the most direct cohort evidence of any single vegetable category. A prospective study published in Neurology tracked nutrients and bioactives in green leafy vegetables against cognitive decline in older adults and found slower decline among higher consumers. The plausible contributors are lutein, folate, vitamin K and dietary nitrate, though the study design cannot isolate which of them, if any, is responsible.
Blueberries. In the Nurses Health Study, cognitive function was assessed in 16,010 women aged 70 and older whose diets had been recorded every four years since 1980. Greater intake of blueberries and strawberries was associated with slower rates of cognitive decline, with the authors estimating a delay in cognitive aging of up to about 2.5 years. Anthocyanidin and total flavonoid intake showed the same direction of effect.
Strawberries. Strawberries appear alongside blueberries in that analysis and are the cheaper, more available option for many US households. Frozen berries retain their anthocyanin content well and cost substantially less than fresh out of season.
Walnuts. Walnuts are the honest case. The Walnuts and Healthy Aging trial randomized 708 healthy older adults to add walnuts at roughly 30 to 60 grams a day for two years, and found no overall effect on cognition. Brain imaging and post-hoc analyses hinted at possible benefit in higher-risk subgroups, but that is hypothesis-generating, not evidence of effect. Walnuts remain a sensible source of alpha-linolenic acid and a good replacement for less useful snacks.
Extra virgin olive oil. Extra virgin olive oil has the strongest trial signal of anything on this list, and it is still modest. Within PREDIMED, participants assigned a Mediterranean diet supplemented with extra virgin olive oil or mixed nuts showed better cognitive function after four years than those assigned a low-fat control diet, with olive oil linked to global and frontal cognition and nuts to memory. These were secondary outcomes with small effect sizes.
Lentils and beans. Lentils show up in the cohort literature as one of the food groups with inverse associations with subjective cognitive decline, and they have a much firmer evidence base for the intermediate outcomes that drive brain risk: blood pressure, post-meal glucose and LDL cholesterol.
Whole grains. The MIND diet scoring system asks for three servings of whole grains a day, and oats are the simplest way to get one of them. The mechanism most likely runs through vascular and metabolic health rather than any direct neurological effect.
How to actually use them
The MIND scoring thresholds are a useful practical target, though they were designed to score diets in research, not prescribed as doses: six or more servings of leafy greens per week, another vegetable daily, berries at least twice a week, nuts five times a week, beans three to four times a week, three whole grain servings daily, and olive oil as the main cooking fat.
In practice that means keeping washed greens or frozen spinach on hand so a serving takes no decision, buying frozen berries by the bag, batch-cooking a pot of lentils on the weekend, and using olive oil for dressings and finishing as well as cooking, since its polyphenols degrade with prolonged high heat.
Substitution beats addition. Nuts and oil are energy dense, so replacing refined snacks and seed-oil dressings works better than layering them on top of an unchanged diet.
Why the overall pattern matters more than any single food
The MIND trial is the most instructive result in this field. Researchers randomized 604 older adults with a family history of Alzheimer's disease and a suboptimal diet to either the MIND diet or a control diet, both with mild calorie reduction, and followed them for three years. Both groups improved slightly on global cognitive scores, and the difference between them was not statistically significant. Both groups also lost around 5 kilograms, which raises the possibility that weight change, not diet composition, drove what improvement occurred.
That does not mean diet is irrelevant. It means three years is probably too short, the control arm was not a bad diet, and the participants were cognitively healthy at baseline. It also means claims that a specific eating pattern will protect your memory are running ahead of the evidence.
The 2024 Lancet Commission on dementia prevention offers a more useful frame. It identifies 14 modifiable risk factors across the life course, including hypertension, diabetes, obesity, high LDL cholesterol, physical inactivity, smoking, excess alcohol, depression, social isolation, hearing loss and untreated vision loss, and estimates that around 45 percent of dementia cases are potentially preventable by addressing them. Diet is not on that list as a standalone factor. Several of the factors that are on it respond strongly to what you eat. That is probably the main route by which food influences long-term brain health.
Who should adapt or be cautious
If you take warfarin, large swings in vitamin K intake from leafy greens can affect your INR. The advice is consistency rather than avoidance, and any planned change should be discussed with the clinic that manages your anticoagulation. Do not stop or adjust medication on your own.
Spinach is high in oxalate, which matters for people with a history of calcium oxalate kidney stones. Kale and other brassicas are lower-oxalate alternatives.
People with chronic kidney disease may need potassium and protein limits that change how beans and greens fit. Nut allergy is an obvious exclusion, and nut-free households can use seeds instead.
Older adults and people eating fully plant-based diets should pay attention to vitamin B12, because deficiency causes cognitive symptoms and is treatable. NIH notes that plant foods contain no B12 unless fortified.
Be sceptical of supplements marketed for memory. Isolated high-dose compounds have repeatedly failed to reproduce the associations seen with whole foods, and some interact with prescription medicines. Discuss any supplement with a clinician or pharmacist first.
When to seek care. Memory changes that are new, worsening quickly, or interfering with work and daily tasks warrant medical assessment. So do getting lost in familiar places, marked personality change, difficulty finding common words, and confusion that follows a head injury or a new medication. Some causes, including thyroid disease, B12 deficiency, sleep apnea, depression and medication side effects, are reversible when identified.
Bottom line
Eat mostly plants, with leafy greens most days, berries a couple of times a week, beans and whole grains as staples, nuts as the default snack and olive oil as the default fat. Expect a modest population-level effect rather than personal protection, and put at least as much effort into blood pressure, glucose, hearing, activity and sleep, which the dementia prevention evidence supports more strongly than any grocery list.
Frequently asked questions
Does the MIND diet prevent dementia? No trial has shown that. The three-year randomized trial of the MIND diet found no significant difference in cognitive outcomes compared with a mild calorie-restriction control. Observational studies show associations with slower decline, which is a weaker form of evidence and cannot rule out that healthier eaters differ in other ways.
How long would I need to eat this way for it to matter? The cohort studies that show associations track people over decades, with diet recorded from midlife onward. The trials that lasted two to three years found little or nothing. That mismatch suggests any real effect accumulates slowly, which argues for sustainable habits rather than short intensive efforts.
Are berries essential, or can I skip them? Berries have unusually specific cohort data behind them, but no single food is essential. If berries are unavailable or unaffordable, other flavonoid-rich fruits and vegetables fit the same pattern. Frozen berries are a cheap way to keep them in rotation.
Are brain supplements a shortcut? There is no good evidence that isolated supplements reproduce the associations seen with whole-food patterns, and the walnut trial is a reminder that even a well-designed single-food intervention can return a null result. Some supplements interact with prescription drugs. Talk to a pharmacist before starting one.
Does it matter if I am already in my seventies? The Lancet Commission frames dementia risk across the whole life course, including later life factors such as social isolation, hearing loss, vision loss and physical inactivity. Diet quality in later life is worth maintaining, but the highest-yield actions at that age may be hearing aids, blood pressure control and staying socially and physically active.
Should I worry about greens if I take a blood thinner? If you take warfarin, the goal is a steady vitamin K intake rather than avoiding greens. Sudden large increases or decreases can shift your INR. Tell the clinician managing your anticoagulation before you change your diet, and never adjust the dose yourself.
Sources and evidence
- Trial of the MIND Diet for Prevention of Cognitive Decline in Older Persons, New England Journal of Medicine 2023 (https://www.nejm.org/doi/full/10.1056/NEJMoa2302368)
- Lancet Commission on dementia prevention, intervention and care 2024, covering the 14 modifiable risk factors (https://www.thelancet.com/commissions-do/dementia-prevention-intervention-and-care)
- Dietary intakes of berries and flavonoids in relation to cognitive decline, Nurses Health Study analysis in Annals of Neurology (https://pubmed.ncbi.nlm.nih.gov/22535616/)
- Nutrients and bioactives in green leafy vegetables and cognitive decline, prospective study in Neurology (https://www.neurology.org/doi/10.1212/WNL.0000000000004815)
- Association of dietary intake of flavonols with changes in global cognition and several cognitive abilities, Neurology (https://www.neurology.org/doi/10.1212/WNL.0000000000201541)
- Effect of a 2-year diet intervention with walnuts on cognitive decline, the WAHA randomized controlled trial (https://ajcn.nutrition.org/article/S0002-9165(22)01041-3/fulltext)
- Experimental outcomes of the Mediterranean diet, lessons from the PREDIMED randomized controlled trial (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6949939/)
- USDA FoodData Central, nutrient composition reference (https://fdc.nal.usda.gov/)
- NIH Office of Dietary Supplements vitamin B12 fact sheet, on deficiency and plant-based diets (https://ods.od.nih.gov/factsheets/VitaminB12-Consumer/)