Skip to content
Autonomous community

Community of Madrid, Spain

The Community of Madrid, a single-province autonomous community, is home to 7,137,031 people in 179 municipalities covering 8,027 km². Its capital, Madrid, sits at 645 m (2,116 ft), and its highest point is Peñalara, at 2,428 m (7,966 ft).

By the All Map Tools Team

Population (2025)
7,137,031
+11% since 2015
Area
8,027 km²
31st largest of the 50 provinces
Density
889 people/km²
Spain: 97 people/km²
Municipalities
179
42 with fewer than 1,000 people
Capital’s elevation
645 m
Madrid
Highest point
2,428 m
Peñalara

Map of the Community of Madrid by municipality

Aranjuez Alcalá de Henares Alcobendas Alcorcón Algete Arganda del Rey Arroyomolinos Boadilla del Monte Ciempozuelos Colmenar Viejo Collado Villalba Paracuellos de Jarama Parla Pozuelo de Alarcón Coslada Fuenlabrada Galapagar Getafe Humanes de Madrid Leganés Madrid Majadahonda Mejorada del Campo Móstoles Navalcarnero Pinto Rivas-Vaciamadrid Las Rozas de Madrid San Fernando de Henares San Martín de la Vega San Sebastián de los Reyes Torrejón de Ardoz Torrelodones Valdemoro Villanueva de la Cañada Villaviciosa de Odón Tres Cantos Collado Villalba · 916 m Galapagar · 877 m Colmenar Viejo · 875 m Torrelodones · 842 m Majadahonda · 739 m Tres Cantos · 737 m Alcorcón · 711 m Las Rozas de Madrid · 708 m Algete · 707 m Pozuelo de Alarcón · 692 m Alcobendas · 688 m Paracuellos de Jarama · 688 m Boadilla del Monte · 683 m San Sebastián de los Reyes · 677 m Humanes de Madrid · 675 m Fuenlabrada · 674 m Navalcarnero · 662 m Móstoles · 658 m Villanueva de la Cañada · 654 m Leganés · 649 m Parla · 648 m Madrid · 645 m Villaviciosa de Odón · 639 m Getafe · 624 m Coslada · 620 m Arganda del Rey · 617 m Pinto · 607 m Arroyomolinos · 604 m Valdemoro · 603 m Alcalá de Henares · 586 m Torrejón de Ardoz · 586 m San Fernando de Henares · 585 m Ciempozuelos · 573 m Mejorada del Campo · 572 m Rivas-Vaciamadrid · 563 m San Martín de la Vega · 514 m Aranjuez · 496 m Peñalara · 2,428 m Cabeza de Hierro Mayor · 2,379 m Peña Cebollera · 2,127 m
  • Capital
  • Municipality with an elevation page
  • Elevation page (color shows elevation)
  • Highest point and peaks
Open the interactive province map

Population and municipalities

With 7,137,031 people on January 1, 2025, the Community of Madrid ranks 1st by population and 31st by area among Spain’s 50 provinces. Since 2015 it has gained 700,035 people (11%). Density is 889 people/km², against a Spanish average of 97 people/km².

The capital, Madrid, has 3,506,730 residents, 49% of the region. Next come Móstoles (214,817), Alcalá de Henares (203,208), and Leganés (195,734).

Of its 179 municipalities (the 23rd most of any province), 42 have fewer than 1,000 people. The smallest by population is Madarcos, with 69, and the largest by area is Madrid, at 606 km².

Largest municipalities by population (2025)
Municipality Population Area Elevation
Madrid 3,506,730 606 km² 645 m
Móstoles 214,817 45.4 km² 658 m
Alcalá de Henares 203,208 87.7 km² 586 m
Leganés 195,734 43.1 km² 649 m
Getafe 193,238 78.4 km² 624 m
Fuenlabrada 190,076 39.4 km² 674 m
Alcorcón 175,719 33.7 km² 711 m
Torrejón de Ardoz 143,526 32.6 km² 586 m
Parla 137,471 24.5 km² 648 m
Alcobendas 123,342 45.0 km² 688 m

Elevation

The capital, Madrid, sits 645 m (2,116 ft) above sea level, the 15th highest of Spain’s 52 provincial capitals and autonomous cities.

According to the IGN’s summit table, the highest point in the Community of Madrid is Peñalara, at 2,428 m (7,966 ft), in the Sierra de Guadarrama, on the border with Segovia. It’s 53 km from the capital in a straight line and 1,783 m higher.

Besides the capital, 23 cities over 50,000 people have their own elevation page: the highest is Collado Villalba (916 m) and the lowest, Aranjuez (496 m).

13 towns of 20,000 to 50,000 people also have a page. The highest is Galapagar (877 m) and the lowest, San Martín de la Vega (514 m); they’re all in the list.

Peaks with a page in the Community of Madrid or on its border: Peñalara (2,428 m), Cabeza de Hierro Mayor (2,379 m), and Peña Cebollera (2,127 m).

  1. Peñalara 2,428 m
  2. Cabeza de Hierro Mayor 2,379 m
  3. Peña Cebollera 2,127 m
  4. Collado Villalba 916 m
  5. Colmenar Viejo 875 m
  6. Majadahonda 739 m
  7. Tres Cantos 737 m
  8. Alcorcón 711 m
  9. Las Rozas de Madrid 708 m
  10. Pozuelo de Alarcón 692 m
  11. Alcobendas 688 m
  12. Boadilla del Monte 683 m
  13. San Sebastián de los Reyes 677 m
  14. Fuenlabrada 674 m
  15. Móstoles 658 m
  16. Leganés 649 m
  17. Parla 648 m
  18. Madrid 645 m
  19. Getafe 624 m
  20. Coslada 620 m
  21. Arganda del Rey 617 m
  22. Pinto 607 m
  23. Valdemoro 603 m
  24. Alcalá de Henares 586 m
  25. Torrejón de Ardoz 586 m
  26. Rivas-Vaciamadrid 563 m
  27. Aranjuez 496 m

Towns of 20,000 to 50,000 people (13)

Tools and maps

Frequently asked questions

How many municipalities are in the Community of Madrid?

179. That ranks 23rd among Spain’s provinces, and 42 of them have fewer than 1,000 people.

What is the population of the Community of Madrid?

7,137,031, according to the INE’s municipal register on January 1, 2025: the most populous province in Spain.

What is the highest point in the Community of Madrid?

Peñalara, at 2,428 m (7,966 ft), according to the IGN’s summit table. It’s shared with Segovia.

What is the elevation of Madrid?

645 m (2,116 ft) above sea level, according to Spain’s National Geographic Institute (IGN).

What is the largest town in the Community of Madrid after the capital?

Móstoles, with 214,817 people. Next is Alcalá de Henares, with 203,208.

Sources

  • Population: our own work with data from the INE website (www.ine.es), municipal register on January 1, 2025 (updated 12/11/2025).
  • Area, municipal boundaries, elevations and highest point: Spain’s National Geographic Institute, IGN (CC BY 4.0 ign.es). Simplified boundaries.
  • Position of peaks with a page: OpenStreetMap (ODbL).

Methodology and sources · Spotted a mistake? Let us know