Community of Madrid, Spain
The Community of Madrid, a single-province autonomous community, is home to 7,137,031 people in 179 municipalities covering 3,099 sq mi. Its capital, Madrid, sits at 2,116 ft (645 m), and its highest point is Peñalara, at 7,966 ft (2,428 m).
- Population (2025)
- 7,137,031
- +11% since 2015
- Area
- 3,099 sq mi
- 31st largest of the 50 provinces
- Density
- 2,303 people/sq mi
- Spain: 251 people/sq mi
- 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 2,303 people/sq mi, against a Spanish average of 251 people/sq mi.
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 234 sq mi.
| Municipality | Population | Area | Elevation |
|---|---|---|---|
| Madrid | 3,506,730 | 234 sq mi | 2,116 ft |
| Móstoles | 214,817 | 17.5 sq mi | 2,159 ft |
| Alcalá de Henares | 203,208 | 33.9 sq mi | 1,923 ft |
| Leganés | 195,734 | 16.6 sq mi | 2,129 ft |
| Getafe | 193,238 | 30.3 sq mi | 2,047 ft |
| Fuenlabrada | 190,076 | 15.2 sq mi | 2,211 ft |
| Alcorcón | 175,719 | 13.0 sq mi | 2,333 ft |
| Torrejón de Ardoz | 143,526 | 12.6 sq mi | 1,923 ft |
| Parla | 137,471 | 9.46 sq mi | 2,126 ft |
| Alcobendas | 123,342 | 17.4 sq mi | 2,257 ft |
Elevation
The capital, Madrid, sits 2,116 ft (645 m) 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 7,966 ft (2,428 m), in the Sierra de Guadarrama, on the border with Segovia. It’s 33 mi from the capital in a straight line and 5,850 ft higher.
Besides the capital, 23 cities over 50,000 people have their own elevation page: Collado Villalba (3,005 ft), Colmenar Viejo (2,871 ft), Majadahonda (2,425 ft), Tres Cantos (2,418 ft), Alcorcón (2,333 ft), Las Rozas de Madrid (2,323 ft), Pozuelo de Alarcón (2,270 ft), Alcobendas (2,257 ft), Boadilla del Monte (2,241 ft), San Sebastián de los Reyes (2,221 ft), Fuenlabrada (2,211 ft), Móstoles (2,159 ft), Leganés (2,129 ft), Parla (2,126 ft), Getafe (2,047 ft), Coslada (2,034 ft), Arganda del Rey (2,024 ft), Pinto (1,991 ft), Valdemoro (1,978 ft), Alcalá de Henares (1,923 ft), Torrejón de Ardoz (1,923 ft), Rivas-Vaciamadrid (1,847 ft), and Aranjuez (1,627 ft).
Peaks with a page in the Community of Madrid or on its border: Peñalara (7,966 ft), Cabeza de Hierro Mayor (7,805 ft), and Peña Cebollera (6,978 ft).
- Peñalara 7,966 ft
- Cabeza de Hierro Mayor 7,805 ft
- Peña Cebollera 6,978 ft
- Collado Villalba 3,005 ft
- Colmenar Viejo 2,871 ft
- Majadahonda 2,425 ft
- Tres Cantos 2,418 ft
- Alcorcón 2,333 ft
- Las Rozas de Madrid 2,323 ft
- Pozuelo de Alarcón 2,270 ft
- Alcobendas 2,257 ft
- Boadilla del Monte 2,241 ft
- San Sebastián de los Reyes 2,221 ft
- Fuenlabrada 2,211 ft
- Móstoles 2,159 ft
- Leganés 2,129 ft
- Parla 2,126 ft
- Madrid 2,116 ft
- Getafe 2,047 ft
- Coslada 2,034 ft
- Arganda del Rey 2,024 ft
- Pinto 1,991 ft
- Valdemoro 1,978 ft
- Alcalá de Henares 1,923 ft
- Torrejón de Ardoz 1,923 ft
- Rivas-Vaciamadrid 1,847 ft
- Aranjuez 1,627 ft
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 7,966 ft (2,428 m), according to the IGN’s summit table. It’s shared with Segovia.
What is the elevation of Madrid?
2,116 ft (645 m) 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).
Reviewed October 31, 2026 · Methodology and sources · Spotted a mistake? Let us know