Eating foods high in magnesium is an effective way to increase energy levels, protect bone health, and ensure normal sleep patterns, among many others. Experts recommend 400-420 milligrams of magnesium per day for men and 300-320 milligrams per day for women.