Magnesium is a cofactor for more than 300 enzymes. However, studies have shown poor penetration of serum magnesium across the blood-brain barrier. Not all forms of magnesium can elevate levels of magnesium in the brain, but supplementation with magnesium threonate has been demonstrated to do so.