Magnesium hydroxide is used as a laxative. It acts to produce a bowel movement within 6 hours of taking a dose(5 grams). Also, at doses of 1gm four times daily, it is used for heartburn, acid ,acid indigestion and other conditions caused by excess stomach acid.
Not to be taken in kidney disease