El Escorial (Madrid): population and map
El Escorial is a municipality in the province of Madrid (Comunidad de Madrid), Spain. It has 17,373 inhabitants according to the municipal register of January 1, 2026, spread over 69 km²: 252 inhabitants per square kilometre.
Facts
- Population
- 17,373 inhabitants (January 1, 2026)
- Area
- 69 km²
- Density
- 252 inh./km²
- Altitude
- 911 m The altitude is that of its main settlement, not of the whole municipal area.
- Province
- Madrid
- Autonomous community
- Comunidad de Madrid
- Coast
- Inland
- INE code
- 28054
How it compares
- It ranks 42 by population among the 179 municipalities of the province of Madrid.
- In Comunidad de Madrid it ranks 42 of 179, and in Spain 504 of 8132.
- It holds 0.2% of the inhabitants of the province of Madrid.
- Its density, 252 inh./km², is 0.3 times that of its province (893 inh./km²) and 2.6 times that of Spain (98 inh./km²).
- By area it ranks 21 of the 179 municipalities of Madrid.
- By altitude it ranks 52 of the 179 municipalities of Madrid that have a figure.
Municipalities of a similar size in Madrid
- Villanueva del Pardillo 18,673 inhabitants
- Guadarrama 17,975 inhabitants
- Meco 16,074 inhabitants
- Alpedrete 15,955 inhabitants
Neighbouring municipalities (7)
- Galapagar 37,226 inhabitants · 7 km east
- San Lorenzo de El Escorial 18,971 inhabitants · 6 km north-west
- Valdemorillo 14,904 inhabitants · 11 km south
- Colmenarejo 9,717 inhabitants · 7 km south-east
- Robledo de Chavela 4,982 inhabitants · 20 km south-west
- Navalagamella 3,216 inhabitants · 17 km south
- Zarzalejo 1,987 inhabitants · 10 km south-west
Map of the municipal area
- Obra derivada de BDLJE Continua CC-BY 4.0 ign.es (August 10, 2026)
Get to know El Escorial
El Escorial es un municipio español de la Comunidad de Madrid. Está situado en la zona noroeste de la Comunidad, a los pies de la vertiente meridional de la sierra de Guadarrama, y cuenta con una población de 17 171 habitantes (INE 2025). Pertenece al partido judicial de San Lorenzo de El Escorial.
History
Los restos más antiguos encontrados en el municipio corresponden al periodo romano: por un lado, varias lápidas funerarias halladas en el siglo XIX en las cercanías del núcleo de Navalquejigo, y por otro una posible calzada romana situada entre El Escorial y Zarzalejo, que sería parte de la vía que enlazaba Segovia con la Bética; se complementa con un puente sobre el río Aulencia de traza medieval pero de posible origen romano.
Source: Wikipedia (the article «El Escorial» of the Spanish Wikipedia, revision of October 11, 2026) · Licence CC BY-SA 4.0. Shortened excerpts of the article, in Spanish. You may reuse them under the same licence, citing the source.
In the game
How many towns of Spain do you recognise by their outline? Try today’s challenge.
Where the figures come from
- Population: municipal register at January 1, 2026.
- Area, outline and neighbours: municipal boundary lines.
- Altitude: that of the main settlement, according to the IGN.
- Summary and history: the Spanish Wikipedia.
- Elaboración propia con datos extraídos del sitio web del INE: www.ine.es (January 1, 2026)
- Obra derivada de BDLJE Continua CC-BY 4.0 ign.es (August 10, 2026)
- Obra derivada de IGR_POBLACIONES 2024 CC-BY 4.0 scne.es (December 5, 2025)
- Extractos de artículos de Wikipedia en español, CC BY-SA 4.0 (December 6, 2026)