Magnesium is also used for treating attention deficit-hyperactivity disorder (ADHD), anxiety, chronic fatigue syndrome (CFS), Lyme disease, fibromyalgia, leg cramps during pregnancy, diabetes, kidney stones, migraine headaches, weak bones (osteoporosis), premenstrual syndrome (PMS), altitude sickness, urinary incontinence, restless leg syndrome, asthma, hayfever, multiple sclerosis, and for preventing hearing loss.
From Web-MD….