For anxiety and sleep, many experts suggest 200-400 mg of magnesium daily, often as magnesium glycinate (a calming form), taken before bed, but always check with a doctor, as the safe upper limit for supplements is generally 350 mg/day to avoid side effects like diarrhea, and the ideal dose depends on age, sex, and health status. Aim to get magnesium from foods first, as dietary intake is important, but supplements can help fill gaps, with studies using doses from 225mg to 500mg, but higher doses need medical supervision.
If you're not sure where to begin, magnesium glycinate is an excellent place to start for sleep and anxiety. For sharper thinking or brain-based anxiety, try magnesium L-threonate. And for calming both your mind and body, magnesium taurate offers a gentle, heart-centered approach.
You generally need 350 to 400 milligrams (mg) of magnesium daily during pregnancy, depending on your age (e.g., 350 mg for ages 19-30; 360 mg for 31+; 400 mg for teens), but it's crucial to talk to your doctor for personalized advice, as individual needs and food intake vary, with too much causing diarrhea and low blood pressure, while food sources like greens, nuts, and seeds are best.
How Long Does Magnesium Take to Work for Anxiety? Most people begin to notice subtle improvements in calmness, sleep, and focus within one to two weeks of consistent use. However, research suggests that full benefits, especially for mood and anxiety, tend to appear after four to six weeks of daily supplementation.
As long as you have healthy kidney function, magnesium supplements should be safe to take, says Dr. Millstine. She recommends 250 to 500 milligrams of magnesium in a single dose at bedtime. Although it is safe to take magnesium along with other sleep aids, it is unlikely to have any additional effect, she says.
Regular daily intake is more important than the exact time of day. Taking magnesium at the same time every day, whether it's morning or evening, helps keep your levels stable. Some people prefer to take magnesium in the morning with breakfast to make it part of their routine.
Your body needs magnesium to function normally. Symptoms of magnesium deficiency include low appetite, nausea or vomiting, muscle spasms or tremors and abnormal heart rhythms. A blood test or urine test can be used to diagnose magnesium deficiency.
Timing matters less than consistency when it comes to taking magnesium supplements. Magnesium types like glycinate and taurate help with anxiety and work quickly when taken in the morning. Taking magnesium at night might support better sleep by helping make melatonin.
Things you can try to help with anxiety, fear and panic
Magnesium: Magnesium can help manage anxiety and insomnia by regulating serotonin and improving brain function, explains Dr. Madrak. Plus, it can improve other areas of our health, including digestion, cardiac function and sleep patterns. Suggested dose: Up to 250 milligrams before bed.
Individuals with diabetes, intestinal disease, heart disease, or kidney disease should avoid magnesium unless specifically instructed by their healthcare provider. Overdose: Signs of a magnesium overdose include nausea, diarrhea, low blood pressure, muscle weakness, and fatigue.
Magnesium plays a key role in supporting the nervous system, making it a popular supplement for promoting sleep and reducing anxiety.
For adults over 19, the NIH states that 350 mg is the tolerable upper intake level for supplemental magnesium to avoid side effects. Dr. Wu advises capping elemental magnesium consumption at 500 mg daily. Your doctor may recommend a higher dose depending on your situation.
Here's what we know — and don't know — about some herbal supplements:
In an 8‐week Phase IV randomised controlled study in individuals with low magnesemia and severe/extremely severe stress but who were otherwise healthy, greater stress reduction was achieved with magnesium combined with vitamin B6 than with magnesium alone.
Magnesium L-threonate (MgT) is believed to not only help you fall asleep but also feel well-rested, alert, and functional during the day. People may benefit from this extra boost if they struggle with nightly sleep and the after-effects the following day.
Feeling nervous, restless or tense. Having a sense of impending danger, panic or doom. Having an increased heart rate. Breathing rapidly (hyperventilation).
In addition to behavioral tools, healthy eating, and lifestyle choices, drinking tea can also help with stress and anxiety relief.
Research suggests that GAD results from a mix of genetics, brain chemistry, biology, and environment. Researchers have found that external causes, such as experiencing a traumatic event or being in a stressful environment, may put a person at higher risk for developing GAD.
It's possible to see a decrease in anxiety symptoms very quickly, but for some people, it might take longer or not work at all for you. For many people who take magnesium, anxiety starts to subside within about a week. It's important to take magnesium consistently and monitor your progress over time.
Magnesium and Zinc
Researchers have found that high doses of zinc supplements can decrease magnesium absorption and affect magnesium balance in the body, regardless of calcium intake.
Try gentle stretching, meditation, a bath, or calming music to activate your rest-and-digest response and ease into sleep. Keep a "mental dump list" by your bed. Write down worries and to-dos so your brain knows they're captured and can let them go.
Among the known magnesium deficiency causes are prescription medications such as diuretics, antibiotics, painkillers and cortisone, which can deplete magnesium levels in the body by impairing absorption or by increasing excretion by the kidneys.
For drinks high in magnesium, opt for mineral waters, fruit juices (especially orange, cherry, watermelon), plant-based milks (soy, almond), and homemade concoctions using raw cacao, coconut milk, or magnesium powders mixed with water or smoothies, with hot chocolate (made with raw cacao) and herbal teas (like nettle) also being good choices.
For women especially, magnesium is important because it plays a role in hundreds of different functions involved in hormone regulation. Thankfully, increasing dietary magnesium intake and taking a daily supplement can reverse symptoms and optimize blood sugar levels, mood, sleep and menstrual cycles.