Crucial for energy production, magnesium plays a key role in the metabolism of blood sugars. Magnesium deficiency interferes with the transmission of nerve and muscle impulses, causing irritability and nervousness. Research confirms that magnesium deficiency can impair hormone health. Supplementing the diet with magnesium can help prevent depression, dizziness, PMS, headaches, migraines, cramping and insomnia. Migraine sufferers typically have lower blood magnesium levels.