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
Map of the Community of Madrid by municipality
- Capital
- Municipality with an elevation page
- Elevation page (color shows elevation)
- Highest point and peaks
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².
| 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).
- Peñalara 2,428 m
- Cabeza de Hierro Mayor 2,379 m
- Peña Cebollera 2,127 m
- Collado Villalba 916 m
- Colmenar Viejo 875 m
- Majadahonda 739 m
- Tres Cantos 737 m
- Alcorcón 711 m
- Las Rozas de Madrid 708 m
- Pozuelo de Alarcón 692 m
- Alcobendas 688 m
- Boadilla del Monte 683 m
- San Sebastián de los Reyes 677 m
- Fuenlabrada 674 m
- Móstoles 658 m
- Leganés 649 m
- Parla 648 m
- Madrid 645 m
- Getafe 624 m
- Coslada 620 m
- Arganda del Rey 617 m
- Pinto 607 m
- Valdemoro 603 m
- Alcalá de Henares 586 m
- Torrejón de Ardoz 586 m
- Rivas-Vaciamadrid 563 m
- 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