Anxiety is a natural part of our survival mechanism. It can motivate us to act, meet a deadline, or avoid danger. But when the feeling becomes constant and is accompanied by physical tension, shallow breathing, and intrusive thoughts, it constitutes a burden that harms quality of life. To manage anxiety effectively, it is necessary to get to the root of the problem, and one factor that is sometimes overlooked is nutrition.

A study published in the British Journal of Nutrition found that adults with magnesium deficiency tended to report higher anxiety levels compared with those who consumed a sufficient amount of the mineral. Additional data published in the journal Nutrients indicate that about half of the population in the United States does not consume enough magnesium.

Magnesium is not a miracle cure and does not replace psychological or medical treatment when necessary, but experts explain that it can be a significant supportive tool in managing anxiety.

The link between magnesium and anxiety

Magnesium is a mineral involved in hundreds of biochemical processes in the body, many of which are directly related to the nervous system. According to clinical dietitian Sonia Angelon, magnesium helps regulate neurotransmitters and supports the body’s response to stress.

One of the central mechanisms is related to a substance called GABA, a calming neurotransmitter in the brain. When magnesium levels are normal, the nervous system can transition more efficiently from a state of alertness to a relaxed state. In other words, the brain is less prone to go into overdrive and get caught in a state of hypervigilance.

William Cho, a licensed mental health nurse specializing in nutritional psychiatry, explains that magnesium acts as one of the brain’s natural calming agents. In addition, magnesium deficiency is linked to increased cortisol, the stress hormone. When the mineral is lacking, the body is more sensitive to stress, and the likelihood of entering an anxious state increases.

Nutritional psychiatrist Uma Naidu emphasizes that when magnesium levels are low, the body is more primed to react with anxiety to any trigger. In contrast, with sufficient intake, we may experience the same stressful event but respond to it with relative calm.

Avocado is rich in magnesiumAvocado is rich in magnesium (credit: SHUTTERSTOCK)How much and when

The recommended daily amount for adults ranges from 400 to 420 milligrams per day. Intake above the recommendation does not provide additional protection against anxiety and may even cause gastrointestinal side effects.

Magnesium intake can be increased in two main ways: Diet or supplements. Most experts recommend starting with food and only in the case of a proven deficiency in blood tests consider a supplement under a doctor’s guidance.

Magnesium-rich foods

Legumes such as beans and lentils, avocado, nuts and seeds, whole grains, dark green leafy vegetables, white potatoes, fish, and dark chocolate are good sources of magnesium. Pumpkin seeds, chia seeds, and sour cherries also contain a decent amount of the mineral.

The easiest way to ensure sufficient intake is to diversify the diet and increase plant-based foods. Beyond getting more magnesium, you will also gain more dietary fiber and iron.

Experts note that people who increase their intake of magnesium-rich foods sometimes also report improvements in energy, sleep quality, and mood.

Those who choose a supplement will encounter a wide variety of types, such as magnesium glycinate, citrate, or malate. Most experts agree that magnesium glycinate is the preferred form in the context of anxiety, as it is well absorbed and crosses the blood–brain barrier efficiently.

Capsules and powders are considered more effective compared with topical products, although massage with an oil or cream containing magnesium may help with muscle pain.

Regarding timing, those who experience anxiety mainly during the day can consider taking it in the morning. Those who suffer from intrusive thoughts at night may benefit from taking it in the evening. Some choose to split the dose between morning and evening, making sure not to exceed the recommended daily amount.

Naidu adds another simple tip: Drink a large glass of water immediately upon waking. Mild dehydration can worsen feelings of tension, and maintaining proper fluid balance may support emotional stability.

Managing anxiety sometimes requires a combination of therapeutic tools, lifestyle changes, and occasionally medication. Magnesium is one piece of the puzzle, but for those who are deficient, it can make a real difference.

Increasing plant-based foods, checking magnesium levels when necessary, and considering a supplement under professional guidance can help the body cope better with daily stress. When the body gets what it needs, the mental response may also be calmer.