Magnesium hydroxide is an inorganic compound with the chemical formula Mg(OH)2. It is a white, odorless, and slightly basic compound that is commonly used in various applications, including as an antacid, laxative, and in the production of Grignard reagents.