It’s also associated with very few side effects and may ... Most often, magnesium is taken by mouth for constipation relief in the form of magnesium citrate, magnesium hydroxide, or magnesium ...