In your diet - Foods that are high in fiber are generally high in magnesium. including legumes, whole grains, vegetables (especially broccoli, squash, and green leafy vegetables), seeds, and nuts (especially almonds). Other sources include dairy products, meats, chocolate, and coffee.
Uses - treating acid indigestion, irregular heartbeat, high blood pressure, high levels of “bad” cholesterol called low-density lipoprotein (LDL) cholesterol, low levels of “good” cholesterol called high-density lipoprotein (HDL) cholesterol, heart valve disease (mitral valve prolapse), metabolic syndrome, clogged arteries (coronary artery disease), stroke, and heart attack.
Also used to treat asthma and other lung disease complications, for migraines and cluster headaches, jellyfish stings, poisonings, pain, swelling in the brain, chemotherapy side effects, head trauma and bleeding, sickle cell disease, to prevent cerebral palsy, and for tetanus.
Athletes sometimes use magnesium to increase energy and endurance.
Magnesium is also used for treating attention deficit-hyperactivity disorder (ADHD), anxiety, chronic fatigue syndrome (CFS), Lyme disease, fibromyalgia, cystic fibrosis, alcoholism, mania, recovery after surgery, leg cramps at night and during pregnancy, diabetes, kidney stones, migraine headaches, a long-term pain condition called complex regional pain syndrome, weak bones (osteoporosis), premenstrual syndrome (PMS), altitude sickness, urinary incontinence, a condition that causes burning pain and redness called erythromelalgia, restless leg syndrome, hayfever, multiple sclerosis, and for preventing hearing loss and cancer.