Milk of magnesia has a pH of 10.5, as noted by About.com. Also known by its scientific name magnesium hydroxide, milk of magnesia is an alkaline base used to treat occasional symptoms of constipation, upset stomach, heart burn and indigestion...