Foods that are high in magnesium include whole grains, dark green leafy vegetables, nuts and seeds, avocados, beans, bananas, fish and dark chocolate.