Abnormally low levels of magnesium may result from a number of conditions, including inadequate intake of serum magnesium from chronic diarrhea, malabsorption, alcoholism, chronic stress and the use of medications such as diuretics. Foods rich in magnesium include leafy greens, nuts and seeds, beans, whole grains, avocados, bananas and figs.