Magnesium hydroxide

Magnesium hydroxide is used to treat occasional constipation in children and adults on a short-term basis. Magnesium hydroxide is in a class of medications called saline laxatives. It works by causing water to be retained with the stool.