Magerrain is a mountain in the Glarus Alps. It lies on the border between the cantons of Glarus and St. Gallen in Switzerland.