Magnesium is involved in many biological processes, including protein synthesis, muscle and nerve function, blood glucose control, blood pressure regulation and energy production. Like calcium, much of our magnesium is stored in the bones. This can make it extremely difficult for anyone test to give an accurate account of magnesium levels in the blood. We get magnesium through foods like dairy products, meat, fish, and seafood. It can also be found at high amounts and green vegetables, especially leafy greens as well as nuts. The recommended daily intake for magnesium is around 420 milligrams per day for men and 310 milligrams for women.
Even though studies have shown that the magnesium intake of the average person is likely to be below the recommended daily intake. I don't feel comfortable recommending to supplement it without knowing your details. So please talk to your doctor first. This is also since acute signs of deficiency are uncommon. because much of the body's magnesium is stored in tissue, and there's plenty of it to draw from if you're not consuming enough in the short term. If you have a chronic deficiency though this can lead to weak muscle contraction, fatigue disruptions and mineral stability, abnormal heart rhythms and even personality changes.
So this is a serious topic.