Just a half cup of pumpkin seeds provides nearly 100 percent of the daily requirement for magnesium. Other nuts and seeds high in magnesium include almonds, sunflower seeds, Brazil nuts, cashews, pine nuts, flaxseed, and pecans.