What Helps With Cognitive Function and Memory

Several lifestyle factors have strong evidence behind them for protecting and improving cognitive function, and most are things you can start today. The 2024 Lancet Commission on dementia prevention identified 14 modifiable risk factors that together account for roughly 45% of all dementia cases worldwide. That means nearly half of cognitive decline isn’t inevitable. It’s driven by habits, health conditions, and environments you can change. Here’s what the evidence says works.

Physical Activity Builds New Brain Cells

Aerobic exercise is one of the most consistently supported interventions for brain health. When you walk briskly, swim, cycle, or do anything that raises your heart rate, your brain ramps up production of a growth protein that promotes the creation of new neurons and strengthens connections between existing ones, particularly in the hippocampus, the region most critical for learning and memory. This process, sometimes called exercise-induced neuroplasticity, is one reason why physical inactivity appears on the Lancet Commission’s list of late-life dementia risk factors.

You don’t need to train like an athlete. Most of the research showing cognitive benefits involves moderate-intensity activity: 150 minutes per week of brisk walking, light jogging, or dancing. The key is consistency over time rather than intensity in any single session.

Sleep Clears Toxic Proteins From Your Brain

Your brain has its own waste-clearance system, sometimes called the glymphatic system, that becomes most active during sleep. A 2026 study published in Nature Communications confirmed that this system clears amyloid beta and tau, two proteins linked to Alzheimer’s disease, from brain tissue into the bloodstream. The process depends on sleep-specific conditions: increased slow brainwave activity, reduced heart rate, and lower resistance to fluid flow through brain tissue.

In practical terms, this means that poor or insufficient sleep doesn’t just leave you foggy the next morning. It allows waste products to accumulate in brain regions responsible for memory and decision-making. Prioritizing seven to nine hours of sleep, keeping a consistent schedule, and addressing issues like sleep apnea are some of the most direct things you can do to protect long-term cognitive health.

Diet Patterns That Protect the Brain

No single food is a cognitive miracle, but dietary patterns rich in leafy greens, berries, nuts, whole grains, fish, and olive oil have been repeatedly linked to slower cognitive decline. The MIND diet, a hybrid of the Mediterranean and DASH diets, was specifically designed around foods with the strongest evidence for brain protection. It emphasizes green leafy vegetables (at least six servings per week), berries (at least two servings per week), and fish (at least once per week), while limiting red meat, butter, cheese, pastries, and fried food.

Omega-3 fatty acids, found in fatty fish like salmon and sardines, deserve special mention. In clinical trials, supplementation with DHA and EPA (the two main omega-3s) has improved episodic memory, working memory, and response speed in adults. One 26-week trial using roughly 1,160 mg of DHA and 160 mg of EPA daily improved memory reaction times, with some benefits differing between men and women. Even in children, as little as 280 mg per day of combined EPA and DHA improved verbal memory scores. If you don’t eat fish regularly, a fish oil supplement delivering at least a few hundred milligrams of combined EPA and DHA daily is a reasonable option.

Hydration Matters More Than You Think

Mild dehydration, defined as losing just 1 to 2% of your body water, can impair concentration, slow reaction time, and reduce short-term memory. That 1 to 2% range is also where you first start to feel thirsty, which means that by the time you notice thirst, your cognitive performance may already be declining. Problems with focus, moodiness, and anxiety have all been documented at this level of dehydration.

For most adults, this translates to keeping water accessible throughout the day and not waiting until you feel parched to drink. Coffee and tea count toward fluid intake, though the caffeine in them has its own cognitive effects worth understanding.

Caffeine and L-Theanine: A Practical Combination

Caffeine improves alertness and reaction time, but it can also increase anxiety and jitteriness, especially at higher doses. Pairing it with L-theanine, an amino acid found naturally in tea, appears to smooth out those rough edges. In a controlled study of young adults, a combination of 40 mg of caffeine (less than half a cup of coffee) with 97 mg of L-theanine significantly improved accuracy on attention-switching tasks, increased self-reported alertness, and reduced tiredness, all without raising blood pressure or heart rate.

That roughly 1:2.5 ratio of caffeine to L-theanine is a useful starting point. A cup of green tea naturally contains both compounds in a similar ratio, which may partly explain why tea drinkers often describe feeling alert but calm. L-theanine supplements are also widely available if you prefer to fine-tune the dose alongside your coffee.

Mental Stimulation and Cognitive Reserve

Your brain builds something researchers call cognitive reserve: a buffer of neural connections that helps you maintain function even as age-related changes occur. The more you challenge your brain across your lifespan, the larger that buffer becomes. Imaging studies of healthy older adults show that those with high levels of lifelong mental activity, spanning education, creative arts, reading, writing, and socializing, had measurably less shrinkage in their hippocampus compared to those with low levels.

Musical activities stand out in the research. Playing an instrument or singing enhances attention and executive function by promoting neural plasticity and increasing grey matter volume in several brain regions, including areas involved in memory. But you don’t necessarily need structured “brain training” programs. A Cochrane review of 36 studies found that general cognitive stimulation, things like reading, playing board games, or dancing, produced improvements in verbal recall that were just as strong as those from formal cognitive training targeting specific skills. The message is straightforward: stay mentally engaged in ways you enjoy, and variety helps.

Chronic Stress Shrinks Memory Centers

Stress hormones are useful in short bursts, helping you focus and react quickly. But when stress becomes chronic, prolonged exposure to cortisol physically damages the hippocampus. Animal and human studies show that sustained stress changes the shape of neurons, reduces the growth of new brain cells, and shrinks hippocampal volume over time. These structural changes are thought to drive the memory impairments, anxiety, and depression that often accompany chronic stress.

Effective stress management looks different for everyone, but the interventions with the most evidence include regular physical activity (which pulls double duty here), mindfulness meditation, adequate sleep, and maintaining social connections. Even small, consistent practices like 10 minutes of daily meditation or a short walk outdoors can lower baseline cortisol levels over weeks.

Social Connection Protects Every Cognitive Domain

Social isolation is not just an emotional problem. It is a cognitive risk factor. A large longitudinal study spanning 24 countries found that social isolation was significantly associated with reduced cognitive ability across memory, orientation, and executive function. The Lancet Commission lists social isolation alongside smoking, diabetes, and physical inactivity as a late-life risk factor for dementia.

What counts as “social engagement” is broad: regular conversations with friends or family, group activities, volunteering, or participating in a community. The cognitive benefits likely come from the mental demands of social interaction itself. Navigating a conversation requires attention, memory retrieval, emotional processing, and quick thinking, all at once. For people who live alone or work remotely, even brief daily social contact, a phone call, a shared meal, or a group class, provides measurable protection.

The Bigger Picture on Prevention

The 2024 Lancet Commission’s list of 14 modifiable risk factors spans the entire lifespan. In early life, education is the primary lever. In midlife, the risks shift to hearing loss, traumatic brain injury, high blood pressure, excessive alcohol use, and obesity. In later life, the factors include smoking, depression, social isolation, physical inactivity, diabetes, air pollution exposure, vision loss, and high LDL cholesterol. The two newest additions, vision loss and high cholesterol, reflect growing evidence that sensory health and cardiovascular health are directly tied to brain function.

No single intervention covers all 14 factors, but most people can meaningfully reduce their risk by addressing a handful of them. Getting regular exercise, sleeping well, eating a diet rich in vegetables and fish, staying socially active, managing stress, protecting your hearing and vision, and treating conditions like high blood pressure and diabetes early all contribute. The research consistently points to the same conclusion: cognitive function is not fixed. It responds to how you live.