Guadarrama (Madrid): population and map

Guadarrama is a municipality in the province of Madrid (Comunidad de Madrid), Spain. It has 17,975 inhabitants according to the municipal register of January 1, 2026, spread over 57 km²: 314 inhabitants per square kilometre.

Facts

Population
17,975 inhabitants (January 1, 2026)
Area
57 km²
Density
314 inh./km²
Altitude
961 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
28068

How it compares

  • It ranks 41 by population among the 179 municipalities of the province of Madrid.
  • In Comunidad de Madrid it ranks 41 of 179, and in Spain 488 of 8132.
  • It holds 0.3% of the inhabitants of the province of Madrid.
  • Its density, 314 inh./km², is 0.4 times that of its province (893 inh./km²) and 3.2 times that of Spain (98 inh./km²).
  • By area it ranks 37 of the 179 municipalities of Madrid.
  • By altitude it ranks 44 of the 179 municipalities of Madrid that have a figure.

Municipalities of a similar size in Madrid

Neighbouring municipalities (8)

Map of the municipal area

Simplified outlines; the distance and direction to each neighbour are measured between points inside each municipal area.

Get to know Guadarrama

Guadarrama es un municipio de España perteneciente a la Comunidad de Madrid. Tiene una población de 17 547 habitantes (INE 2025).

History

Guadarrama fue fundada por pobladores procedentes del Concejo de Segovia en 1268 bajo la autoridad del rey Alfonso X el Sabio (1252-1284).[cita requerida] Ante la necesidad de poblar la zona reconquistada, fueron concedidas varias cartas puebla por los reyes Alfonso VII (1126-1157) y Alfonso VIII (1158-1214), animando a poblar las Extremaduras del Duero y la Transierra. Los concejos se organizaron en Comunidades de Villa y Tierra. La casa de la Comunidad de Villa y Tierra de Segovia en Guadarrama fue la casa del vecino Araluce.

Source: Wikipedia (the article «Guadarrama (Madrid)» of the Spanish Wikipedia, revision of September 13, 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.

Read more on Wikipedia

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.

How each figure is calculated

All the municipalities of Madrid