Mountain village
El Espinar is a Spanish population centre and a municipality located 65 kilometres (40.38 mi) away northwest from Madrid city centre, in the northern slope of the Sistema Central mountain range. It belongs to the province of Segovia and to the autonomous Community of Castile and León. The distance from the city of Segovia is 34 kilometres (21.12 mi).
According to the 2025 census (INE), the municipality has 10,409 inhabitants, being 5,258 men and 5,151 women.
The municipality has four population centres that are physically separate from one another:
El Espinar.
San Rafael.
La Estación de El Espinar.
Los Ángeles de San Rafael.
The population centre of El Espinar, the oldest and the most populated one, gives the name to the entire local territory and has the municipality hall's headquarters. As of 2024, these 10,145 inhabitants are roughly distributed in the municipality as follows: 50% of population live in El Espinar, 25% in San Rafael, 15% in Los Ángeles de San Rafael and 10% in La Estación de El Espinar.
The municipality is not part of Madrid metropolitan area, but is not far away from it because its outer ring begins just heading 25 kilometres southeast in Collado Villalba. However, the municipality of El Espinar is part of Madrid's functional urban area as more than 15% of the inhabitants commute daily in Madrid.
Text from Wikipedia (CC BY-SA)
15 places to stay in El Espinar
See places to stay32 restaurants in El Espinar
See where to eat8 experiences in El Espinar
See experiencesEverything you need for your visit or your day-to-day
Tap a row to see it on the map and how far away it is.
Parks, beaches and places to stay that OpenStreetMap marks as dog-friendly. Many places allow dogs without it being marked: ask when you book.
No data on: tourist office, motorhomes, street market.
Data from OpenStreetMap (ODbL), extract from October 2026: we count what is mapped within the municipal boundary. "No data" means OpenStreetMap doesn't have it, not that it doesn't exist. Completed with Overture Maps (CDLA-Permissive-2.0): the pharmacies, health centres, petrol stations, banks, cash machines, food shops and schools that OpenStreetMap was missing. Town hall contact details: General Database of Local Entities (Spanish Ministry of Finance); tourist offices: each region's open registry, where it publishes one. Connectivity: Spanish Ministry for Digital Transformation, % of homes covered in June 2025.
Municipal information, services, procedures and grants.
Keep exploring