El Escorial is a municipality in the Autonomous Community of Madrid, located 45 km northwest of the Spanish capital Madrid. It belongs to t…El Escorial is a municipality in the Autonomous Community of Madrid, located 45 km northwest of the Spanish capital Madrid. It belongs to the comarca of Cuenca del Guadarrama. Its population in 2009 was 14,979.