Hello everybody,
For people who have deficiency symptoms (muscle cramps, muscle aches, insomnia, irregular heartbeat), taking a good magnesium supplement can really help. Although there are many good forms of supplemental magnesium, magnesium citrate is probably the easiest to find. Taking 200-600 milligrams a day (typically 200 mg. per capsule or caplet) can help tremendously.
In addition to supplemental magnesium, it's a very good idea to increase your consumption of magnesium rich foods. Some good choices include leafy green veggies (kelp, spinach, collards, kale), pumpkin seeds (thanks saved1986

), black beans, white beans, and navy beans.
Have a great day.