The Gornergrat Railway (; GGB) is a mountain rack railway, located in the Swiss canton of Valais. It links the resort village of Zermatt, situated at above mean sea level, to the summit of the Gornergrat. The Gornergrat railway station is situated at an altitude of , which makes the Gornergrat Railway the second highest railway in Europe after the Jungfrau, and the highest open-air railway of the continent. The line opened in 1898, and was the first electric rack railway to be built in Switzerland.