The quickest way to get magnesium into the body is by taking a more readily bioavailable form, like magnesium malate or magnesium citrate. Keep in mind, however, that magnesium citrate may cause gastrointestinal upset or diarrhea in some people. Magnesium citrate is an active ingredient in various over-the-counter laxative products.