Core Concept Human Health Published: August 3, 2021

Healthy Meal, Happy Brain: How Diet Affects Brain Functioning


Do you know that the foods you eat impact your health? Most importantly, what you eat can have negative effects on the most complex organ in your body: your brain! Amazingly, the food you eat affects neurons, which are the major cells of the brain. In the brain, an unhealthy diet that is rich in fats and sugars causes inflammation of neurons and inhibits the formation of new neurons. This can affect the way the brain works and contribute to brain disorders like depression. On the other hand, a diet that contains healthy nutrients, such as omega-3 fatty acids, is beneficial for brain health. Such a diet improves the formation of neurons and leads to improved thinking, attention, and memory. In sum, a healthy diet makes the brain happy, so we should all pay attention to what we eat.

Feeding the Brain

Like everyone, you may have wondered, “Why do my parents urge me to eat fruits and veggies and to stop eating junk foods?” The answer is, “You are what you eat!” What we eat can determine the composition and the activities of our cells. A healthy diet with the proper amounts of nutrients should be eaten regularly, to keep our cells and organs– including the brain–healthy.

The brain is the most complex organ of the human body. Throughout life, the brain monitors our daily operations and activities and communicates with other organs, coordinating their functions. Brain cells called neurons communicate with each other and with other organs, such as the muscles. For example, when you want to move your hand, the brain sends a message to muscles in the hand, telling them to contract. Neurons also communicate with other cells in the brain, called glial cells, which support the neurons. There are two types of glial cells: microglia and astrocytes. Microglia are the main immune cells of the brain, helping to protect the brain from infections. Astrocytes provide neurons with the nutrients they need to stay healthy.

You can see that communication—both with other cells in the brain and with the rest of the body—is the brain’s most important job. Messages sent by the brain not only allow us to perform physical tasks like moving around, but also help us to perform cognitive tasks. Cognitive tasks include actions like thinking, learning, remembering, memorizing, planning, imagining, organizing, and concentrating. Therefore, a problem that affects the brain can change our thinking, emotions, or behaviors. The proper nutrition found in a healthy diet can improve many brain functions, while a poor diet can have a negative effect on our cognitive functions [1]. A healthy diet is the foundation of a happy brain!

How Does a Healthy Diet Improve Brain Functions?

There is a direct relationship between the foods we eat and the functioning of our brains. Proper, healthy nutrition can benefit the brain in several positive ways. A healthy diet can increase the production of new neurons, a process called neurogenesis. What we eat can also affect the synaptic plasticity of the brain. Synaptic plasticity is simply a measure of the number of connections between neurons. The more the connections between neurons the better they can communicate, and the better we can learn, think, and memorize.

The hippocampus is one of the most important structures of the brain (Figure 1). It helps to regulate memory and neurogenesis. Neurons, including those in the hippocampus, produce and use many molecules to send and receive messages. Brain-derived neurotrophic factor (BDNF) is one such molecule. BDNF can protect neurons from death, increase neurogenesis, and improve our cognitive abilities. A healthy diet can increase the levels of BDNF and improve neurogenesis in the hippocampus. This increased neurogenesis in the hippocampus can improve our learning, memory, mood, attention, and mental health [2].

Figure 1 - The human brain.
  • Figure 1 - The human brain.
  • The hippocampus and the hypothalamus are the brain areas most affected by brain inflammation caused by a diet high in fats. The hippocampus regulates neurogenesis and memory. The hypothalamus, among other functions, is responsible for the control of body weight.

What About an Unhealthy Diet?

Did you know that the gut and the brain are connected? These two body organs are connected by neurons that transmit messages back and forth between them. The food we eat is sensed by the neurons of the gut, which then send signals to alert the brain. This connection and the resulting communication are called the gut-brain axis. Because of the gut-brain axis, it is not surprising that an unhealthy diet can cause problems with cognitive functions such as remembering, learning, or thinking.

An unhealthy diet causes the body to release too much of a type of stress hormone that can activate the brain’s microglia and astrocytes. In fact, the stress hormone activates microglia and astrocytes at times when they should not be active. This activation can cause inflammation in certain parts of the brain, including the hippocampus. Inflammation in the hippocampus can negatively affect our cognitive abilities, which makes it harder to plan, focus, or remember things. This inflammation can even lead to depression [3].

What Should I Eat to Keep My Brain Healthy?

Certain food we eat can help our brains to function properly. Food components such as omega-3 fatty acids have been shown to improve brain function [3]. If we do not eat enough omega-3 fatty acids, then inflammation—and its resulting negative cognitive effects—may take place in the brain. Omega-3 fatty acids are an essential nutrient, which means that we need to get them through what we eat because the body cannot make them. One omega-3 fatty acid, called α-linolenic acid, is common in plants like walnuts and in edible seeds like flax seeds. Eicosapentaenoic acid and docosahexaenoic acid (DHA) are found in fish oils. A diet rich in fish oil and omega-3 fatty acids can decrease the risk of certain brain disorders, such as Alzheimer’s disease or depression.

In our lab, we asked whether DHA could protect the neurons of mice after a brain injury. We and other scientists found that DHA can lower the amount of inflammation that happens in the brain following brain injury. We also found that DHA increases neurogenesis and decreases the death of neurons that are injured. Finally, DHA increases the numbers of microglia and astrocytes near the location of brain injury. Interestingly, when DHA helped to decrease the death of neurons, the injured mice showed better cognitive abilities than mice that were injured but did not receive DHA.

Studies by other scientists have indicated that taking DHA during pregnancy can improve the development of the neurons of the unborn baby [4, 5]. Also, DHA is needed in early life when the body and brain are still growing. In fact, intake of DHA at young age can increase the formation of new neurons (neurogenesis) and improve cognitive abilities. On the other hand, if young people do not get enough DHA there can be negative effects, since their brains are still developing and that is when DHA is most important. Scientists have found that young people who do not get enough DHA can have problems with neurogenesis, which can lead to issues with behavior and cognition. Interestingly, intake of DHA can reverse these negative effects. From all this evidence, you can probably see that getting lots of omega-3 fatty acids in your diet will help keep your brain healthy!

Which Foods Should I Avoid to Keep My Brain Happy?

When it comes to brain health, knowing which foods to avoid is just as important as knowing which foods to eat! A bad diet can be unhealthy for your body and your brain. For example, eating a lot of sugars can affect the brain’s memory and learning functions. Sodas contain a lot of sugars, and even diet sodas, which contain artificial sweeteners, are not good for the brain. The artificial sweetener, aspartame, in diet sodas can make you irritable or anxious and can cause sleep disturbances (Figure 2).

Figure 2 - Effects of unhealthy foods on the brain.
  • Figure 2 - Effects of unhealthy foods on the brain.
  • Drinking sodas or energy drinks containing the artificial sweetener aspartame can cause irritability, anxiety, and sleep difficulties called insomnia. Eating trans-fats can increase the risk of cognitive problems and Alzheimer’s disease. Too much sugar in the diet can affect brain’s memory and learning abilities.

A high-fat diet is also unhealthy because it can lead to oxidative stress in the brain. Oxidative stress is a harmful process that can disrupt several structures inside cells [6]. In addition, scientists have found that consuming a high-fat diet can activate microglia, which can cause inflammation in both the hippocampus and the hypothalamus, which are important areas of the brain (Figure 1). The hypothalamus is responsible for control of body weight, among other functions. Inflammation in the brain’s weight-control center can make a person eat even more [7].

Have you heard of trans-fats? Trans-fats are artificial fats that are considered the worst type of fats to eat. Trans-fats have many negative effects, but in the brain, they can increase the risk of cognitive problems, anxiety, and even Alzheimer’s disease. Trans-fats can be found in margarines, frostings, snacks, and store-bought cookies and cakes. So, avoid them to protect your brain!

In another experiment in our lab, we fed a group of mice a high-fat diet for a long period of time. These mice gained a lot of weight and became obese! These obese mice, due to eating a high-fat diet, had much more inflammation in their brains and more death of neurons in response to brain injury than did thin mice eating a normal diet. Other scientists found that eating a high-fat diet can even delay the recovery of a person suffering from a brain injury, by decreasing production of BDNF in the brain, leading to a decrease in neurogenesis [8]. Decreased neurogenesis makes it harder for the brain to regain its functions after an injury. As if this is not bad enough, a high-fat diet can worsen memory, learning, and other cognitive problems that take place after a brain injury.

Take-Home Message

The brain performs many essential functions, including regulating our mental health and physical well-being. So, we should work hard to keep it healthy! As a result, we should be careful when choosing what we eat, since our diet can have a huge impact on brain health. We should eat foods rich in healthy nutrients, such as omega-3 fatty acids. A healthy diet can improve our cognitive functions, such as our ability to concentrate, remember, learn, and think. We should also try to avoid or minimize the intake of foods rich in fats or sugars, which when taken in high amounts can lead to inflammation in the brain, decreased neurogenesis, and defects in brain functions. Figure 3 can help guide you in your diet decisions. A healthy diet will help your brain perform better, and this will help you to learn better at school, remember things more easily, and avoid quick changes in mood. To conclude, carefully watch what you eat, since your diet can make or break it when it comes to your brain health!

Figure 3 - Eating healthy foods, and avoiding unhealthy foods, can help to keep the brain healthy.
  • Figure 3 - Eating healthy foods, and avoiding unhealthy foods, can help to keep the brain healthy.
  • In general, healthy foods contain proper amount of carbohydrates, proteins, calcium, vitamins, minerals, and fibers, however, unhealthy foods contain high amount of sugars and fats.


Neuron: A nerve cell that is the building block of the tissues of the nervous system. A neuron can receive and transmit signals to different parts of the body. A neuron connects with other neurons to transfer their signals. The neuron usually transfers the signals in the form of chemical molecules and electric impulses. A neuron has a cell body (soma), dendrites and an axon.

Glial Cells: Glial cells are non-neuronal cells of the nervous system. Unlike neurons they do not produce electric impulses. Their functions is to maintain balance in the nervous system by providing support and protection for neurons. Glial cells are of two main types: microglia and astrocytes. Astrocytes can help supply nutrients to neurons while the main function of microglia is to destroy microbes that infect the nervous system.

Neurogenesis: The process by which new neurons are formed in the brain.

Synaptic Plasticity: The ability of the connections between neurons to become stronger or weaker over time.

Brain-Derived Neurotrophic Factor (BDNF): A protein that enhances the growth and survival of neurons.

Inflammation: It is a protective biological response that starts under harmful conditions, such as stress. It is one way your body fights infection, injury, or disease. It involves immune cells, blood vessels, and many molecules inside the cell.

Omega-3 Fatty Acids: They are fats that belong to the chemical class of poly-unsaturated fatty acids. There are three kinds: docosahexaenoic acid (DHA) and eicosapentaenoic acid (EPA), which are found in certain fish, as well as alpha-linolenic acid (ALA) present in plants like nuts and seeds. They are essential nutrients which means we need to intake them in diet because our body cannot make them. In addition, they were shown to have several health benefits.

Cognition: Mental processes that include thinking, reasoning, remembering, and imagining.

Oxidative Stress: Cellular stress that leads to damage of molecules inside cells, such as lipids, proteins, and DNA.

Conflict of Interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.


[1] Ackerman, S. 1992. Discovering the Brain. Washington, DC: National Academies Press.

[2] Zainuddin, M. S., and Thuret, S. 2012. Nutrition, adult hippocampal neurogenesis and mental health. Br. Med. Bull. 103:89–114. doi: 10.1093/bmb/lds021

[3] Spencer, S. J., Korosi, A., Layé, S., Shukitt-Hale, B., and Barrientos, R. M. 2017. Food for thought: how nutrition impacts cognition and emotion. NPJ Sci. Food 1:7. doi: 10.1038/s41538-017-0008-y

[4] Ghazale, H., Ramadan, N., Mantash, S., Zibara, K., El-Sitt, S., Darwish, H., et al. 2018. Docosahexaenoic acid (DHA) enhances the therapeutic potential of neonatal neural stem cell transplantation post-traumatic brain injury. Behav. Brain Res. 340:1–13. doi: 10.1016/j.bbr.2017.11.007

[5] Lauritzen, L., Brambilla, P., Mazzocchi, A., Harsløf, L. B., Ciappolino, V., Agostoni, C. 2016. DHA effects in brain development and function. Nutrients 8:6. doi: 10.3390/nu8010006

[6] Tan, B. L., and Norhaizan, M. E. 2019. Effect of high-fat diets on oxidative stress, cellular inflammatory response and cognitive function. Nutrients 11:2579. doi: 10.3390/nu11112579

[7] Reichelt, A. C., Westbrook, R. F., and Morris, M. J. 2017. Editorial: impact of diet on learning, memory and cognition. Front. Behav. Neurosci. 11:96. doi: 10.3389/fnbeh.2017.00096

[8] Wu, A., Molteni, R., Ying, Z., and Gomez-Pinilla, F. 2003. A saturated fat diet aggravates the outcome of traumatic brain injury on hippocampal plasticity and cognitive function by reducing BDNF. Neuroscience 119:365–75. doi: 10.1016/S0306-4522(03)00154-4