San Lorenzo de El Escorial, also known as El Escorial de Arriba is a town and municipality in the Community of Madrid, Spain, located to the northwest of the region in the southeastern side of the Sierra de Guadarrama, at the foot of Mount Abantos and Las Machotas, 29 miles from Madrid.