# List of municipalities in the Community of Madrid

This is a list of the municipalities in the province and autonomous community of Madrid, Spain.
| Name | Area (km$^2$) | Population (2017) | Mayor | Mayor | Mayor | Mayor |
| Name | Area (km$^2$) | Population (2017) | Name | Name | Party | Since |
| Ajalvir | 19.62 | 4,455 | | Víctor Malo | Localist | 2019 |
| Alameda del Valle | 25.01 | 200 | | María Elizabeth Crespo | Spanish Socialist Workers' Party | 2023 |
| Alcalá de Henares | 87.72 | 194,310 | | Judith Piquet | People's Party | 2023 |
| Alcobendas | 44.98 | 114,864 | | Rocío Sara García | People's Party | 2023 |
| Alcorcón | 33.7 | 168,141 | | Candelaria Testa | Spanish Socialist Workers' Party | 2023 |
| Aldea del Fresno | 51.78 | 2,616 | | Alberto Plaza | Localist | 2023 |
| Algete | 37.88 | 20,419 | | Fernando Romo | People's Party | 2023 |
| Alpedrete | 12.64 | 14,240 | | Juan Rodríguez Fernández | People's Party | 2019 |
| Ambite | 26 | 677 | | Apolonio Alcaide | Localist | 2019 |
| Anchuelo | 21.55 | 1,238 | | Javier Doncel | People's Party | 2019 |
| Aranjuez | 201.11 | 58,213 | | María José Martínez | People's Party | 2019 |
| Arganda del Rey | 79.65 | 53,821 | | Alberto Escribano | People's Party | 2023 |
| Arroyomolinos | 20.66 | 29,128 | | Luis Quiroga | People's Party | 2023 |
| Batres | 21.58 | 1,610 | | Juan Carlos Alañon | Localist | 2023 |
| Becerril de la Sierra | 30.35 | 5,457 | | Jose Luis Martín | People's Party | 2023 |
| Belmonte de Tajo | 23.7 | 1,628 | | Roberto Morate | People's Party | 2023 |
| Berzosa del Lozoya | 14.3 | 203 | | Antonio del Pozo | People's Party | 1991 |
| Boadilla del Monte | 47.24 | 51,463 | | Javier Úbeda | People's Party | 2019 |
| Braojos | 25 | 208 | | Ricardo Jose Moreno | People's Party | 2019 |
| Brea de Tajo | 44.33 | 539 | | Rafael Barcala | People's Party | 2019 |
| Brunete | 48.94 | 10,373 | | María del Pilar Nicolás | People's Party | 2023 |
| Buitrago del Lozoya | 26.5 | 1,854 | | Francisco Javier del Valle | People's Party | 2023 |
| Bustarviejo | 56.29 | 2,399 | | Tanausu Luis Perera | People's Party | 2023 |
| Cabanillas de la Sierra | 14.07 | 712 | | Fernando Tarraga | Localist | 2023 |
| Cadalso de los Vidrios | 47.64 | 3,053 | | Verónica Muñoz | People's Party | 2011 |
| Camarma de Esteruelas | 35.43 | 7,084 | | Ana Victoria Cruz | People's Party | 2023 |
| Campo Real | 61.75 | 5,995 | | Francisco Leal | People's Party | 2023 |
| Canencia | 52.7 | 448 | | María Mercedes López | People's Party | 2019 |
| Carabaña | 49 | 1,940 | | Mario Terrón | People's Party | 2019 |
| Casarrubuelos | 5.5 | 3,650 | | Vicente Astillero | Más Madrid | 2019 |
| Cenicientos | 67.49 | 1,984 | | Jerónimo López | People's Party | 2023 |
| Cercedilla | 35.8 | 6,853 | | David José Martín | Localist | 2023 |
| Cervera de Buitrago | 12.02 | 156 | | Isidro Parra | Spanish Socialist Workers' Party | 2015 |
| Chapinería | 25.4 | 2,225 | | Lucía Moya | Localist | 2019 |
| Chinchón | 115.91 | 5,240 | | Juan Antonio Vega | Localist | 2023 |
| Ciempozuelos | 49.64 | 23,737 | | Raquel Jimeno | Spanish Socialist Workers' Party | 2019 |
| Cobeña | 20.8 | 7,163 | | Jorge Amatos | People's Party | 2011 |
| Colmenar de Oreja | 126.3 | 7,810 | | Miguel Ángel Pulido | People's Party | 2023 |
| Colmenar del Arroyo | 50.57 | 1,632 | | Ana Belén Barbero | People's Party | 2010 |
| Colmenar Viejo | 182.6 | 48,614 | | Carlos Blázquez | People's Party | 2023 |
| Colmenarejo | 31.7 | 9,015 | | Fernando Juanas | People's Party | 2023 |
| Collado Mediano | 22.57 | 6,666 | | María de la Sierra Serrano | Localist | 2023 |
| Collado Villalba | 26.5 | 62,152 | | Mariola Vargas | People's Party | 2014 |
| Corpa | 25.91 | 684 | | Santiago Serrano | United Left | 2019 |
| Coslada | 11.7 | 83,011 | | Ángel Viveros | Spanish Socialist Workers' Party | 2015 |
| Cubas de la Sagra | 12.82 | 6,112 | | Antonio Naranjo | People's Party | 2019 |
| Daganzo de Arriba | 43.8 | 10,082 | | Manuel Jurado | People's Party | 2019 |
| El Álamo | 22.25 | 9,149 | | Alberto Cabezas | People's Party | 2023 |
| El Atazar | 29.55 | 97 | | Daniel Lozano | People's Party | 2023 |
| El Berrueco | 28.8 | 743 | | Jaime Sanz | People's Party | 2019 |
| El Boalo | 39.59 | 7,358 | | Sergio Sánchez | People's Party | 2023 |
| El Escorial | 68.75 | 15,562 | | Antonio Vicente Rubio | People's Party | 2019 |
| El Molar | 50.3 | 8,491 | | Borja Díaz | People's Party | 2023 |
| El Vellón | 34.14 | 1,834 | | Catalina Llorente | Spanish Socialist Workers' Party | 2019 |
| Estremera | 79.10 | 1,261 | | María Teresa Ocaña | Spanish Socialist Workers' Party | 2023 |
| Fresnedillas de la Oliva | 28.20 | 1,550 | | José Damián de la Peña | Localist | 2019 |
| Fresno de Torote | 31.6 | 2,115 | | Ana Isabel Arias | People's Party | 2023 |
| Fuenlabrada | 39.41 | 194,669 | | Javier Ayala | Spanish Socialist Workers' Party | 2018 |
| Fuente el Saz de Jarama | 33.2 | 6,424 | | María José Moñino | People's Party | 2019 |
| Fuentidueña de Tajo | 60.6 | 1,980 | | José Antonio Domínguez | Spanish Socialist Workers' Party | 2015 |
| Galapagar | 65 | 32,903 | | Carla Greciano | People's Party | 2023 |
| Garganta de los Montes | 39.66 | 331 | | Rafael Pastor | Localist | 2023 |
| Gargantilla del Lozoya y Pinilla de Buitrago | 24.12 | 315 | | Rafael García | People's Party | 2019 |
| Gascones | 20.04 | 176 | | Jesús Romero | People's Party | 2023 |
| Getafe | 78.74 | 178,288 | | Sara Hernández | Spanish Socialist Workers' Party | 2019 |
| Griñón | 17.42 | 10,060 | | Jose María Porras | People's Party | 2019 |
| Guadalix de la Sierra | 61 | 6,049 | | Borja Álvarez | Spanish Socialist Workers' Party | 2019 |
| Guadarrama | 56.98 | 15,620 | | Diosdado Soto | People's Party | 2019 |
| Horcajo de la Sierra | 21.2 | 142 | | Antonella Melano | People's Party | 2023 |
| Horcajuelo de la Sierra | 45.18 | 88 | | Arancha Álvarez | People's Party | 2023 |
| Hoyo de Manzanares | 24.39 | 8,032 | | María Victoria Barderas | People's Party | 2023 |
| Humanes de Madrid | 19.46 | 19,607 | | Jose Antonio Sánchez | People's Party | 2019 |
| La Acebeda | 22.06 | 66 | | Gustavo Martín | Localist | 2023 |
| La Cabrera | 22.40 | 2,570 | | Ismael de la Fuente | People's Party | 2023 |
| La Hiruela | 17.18 | 52 | | Antonio Biedma | Localist | 2023 |
| La Serna del Monte | 5.44 | 73 | | Mónica Gutiérrez | People's Party | 2023 |
| Las Rozas de Madrid | 59.14 | 95,071 | | José de la Uz | People's Party | 2015 |
| Leganés | 43.09 | 187,720 | | Miguel Ángel Recuenco | People's Party | 2023 |
| Loeches | 44.1 | 8,525 | | Antonio Theodori | People's Party | 2023 |
| Los Molinos | 19.56 | 4,345 | | Antonio Coello | People's Party | 2019 |
| Los Santos de la Humosa | 34.9 | 2,486 | | Lázaro Polo | People's Party | 2019 |
| Lozoya | 57.94 | 559 | | Carlos Ruiz | People's Party | 2019 |
| Lozoyuela-Navas-Sieteiglesias | 51.28 | 1,237 | | Francisco Aunión | Spanish Socialist Workers' Party | 2023 |
| Madarcos | 8.46 | 46 | | Eva María Gallego | People's Party | 2019 |
| Madrid | 604.31 | 3,182,981 | | José Luis Martínez-Almeida | People's Party | 2019 |
| Majadahonda | 38.48 | 71,299 | | María Dolores Moreno | People's Party | 2023 |
| Manzanares el Real | 128.4 | 8,500 | | José Luis Labrador | Spanish Socialist Workers' Party | 2019 |
| Meco | 35.07 | 13,570 | | Pedro Luis Sanz | People's Party | 2019 |
| Mejorada del Campo | 17.21 | 22,948 | | Jorge Capa | Spanish Socialist Workers' Party | 2019 |
| Miraflores de la Sierra | 56.56 | 5,817 | | Luis Guadalix | People's Party | 2019 |
| Montejo de la Sierra | 31.95 | 356 | | Ismael Martin | People's Party | 2015 |
| Moraleja de Enmedio | 31 | 4,870 | | Arantxa Alonso | People's Party | 2023 |
| Moralzarzal | 42.6 | 12,496 | | José María Moreno | People's Party | 2023 |
| Morata de Tajuña | 4.3 | 7,482 | | Fernando Villalaín | People's Party | 2023 |
| Móstoles | 45.36 | 206,589 | | Manuel Bautista | People's Party | 2023 |
| Navacerrada | 27.29 | 2,894 | | Pablo Luis Jorge | People's Party | 2023 |
| Navalafuente | 11.75 | 1,340 | | Eugenio Alcalá | People's Party | 2023 |
| Navalagamella | 76.05 | 2,443 | | Andrés Samperio | People's Party | 2019 |
| Navalcarnero | 100.2 | 27,570 | | José Luis Adell | Spanish Socialist Workers' Party | 2015 |
| Navarredonda y San Mamés | 27.44 | 131 | | José María Fernández | Localist | 2019 |
| Navas del Rey | 50.8 | 2,751 | | Jaime Peral | Localist | 2007 |
| Nuevo Baztán | 20.2 | 6,091 | | Gema Pacheco | Spanish Socialist Workers' Party | 2019 |
| Olmeda de las Fuentes | 16.73 | 332 | | María Victoria Roldán | Localist | 2023 |
| Orusco de Tajuña | 21.51 | 1,218 | | Vanesa Gracia | Spanish Socialist Workers' Party | 2023 |
| Paracuellos de Jarama | 43.92 | 23,905 | | Jesús Muñoz | People's Party | 2023 |
| Parla | 24.43 | 125,898 | | Ramón Jurado | Spanish Socialist Workers' Party | 2019 |
| Patones | 34.5 | 553 | | Luis Arriazu | Spanish Socialist Workers' Party | 2023 |
| Pedrezuela | 28.35 | 5,613 | | Rodrigo García | People's Party | 2023 |
| Pelayos de la Presa | 7.58 | 2,468 | | Antonio Sin | People's Party | 2019 |
| Perales de Tajuña | 48.92 | 2,817 | | Yolanda Cuenca | People's Party | 2019 |
| Pezuela de las Torres | 41.44 | 816 | | José Pío Carmena | Localist | 2019 |
| Pinilla del Valle | 25.84 | 185 | | María del Mar Fernández | Spanish Socialist Workers' Party | 2019 |
| Pinto | 62.7 | 50,442 | | Salomón Aguado | People's Party | 2023 |
| Piñuécar-Gandullas | 18.19 | 183 | | Juan José Suárez | People's Party | 2019 |
| Pozuelo de Alarcón | 43.2 | 85,605 | | Paloma Tejero | People's Party | 2023 |
| Pozuelo del Rey | 30.93 | 1,099 | | Ruth Alcocer | People's Party | 2021 |
| Prádena del Rincón | 22.48 | 132 | | María Sonia García | People's Party | 2023 |
| Puebla de la Sierra | 57.7 | 61 | | Pedro Bautista Sánchez | Localist | 2023 |
| Puentes Viejas | 58 | 632 | | José María Martín | Localist | 2023 |
| Quijorna | 25.71 | 3,282 | | Juan Carlos Pérez | People's Party | 2019 |
| Rascafría | 150.27 | 1,672 | | Óscar Joaquín Robles | Vox | 2023 |
| Redueña | 12.87 | 248 | | María de la Mercedes Pérez | People's Party | 2011 |
| Ribatejada | 31.82 | 702 | | Agustín Peña | People's Party | 2023 |
| Rivas-Vaciamadrid | 67.16 | 83,767 | | Aída Castillejo | United Left-Más Madrid-Equo | 2022 |
| Robledillo de la Jara | 20.35 | 87 | | Guillermo Crescente García | People's Party | 2019 |
| Robledo de Chavela | 93.01 | 4,073 | | Fernando Casado | Independent | 2015 |
| Robregordo | 18.03 | 44 | | Marisol Herreño | Spanish Socialist Workers' Party | 2023 |
| Rozas de Puerto Real | 30.15 | 534 | | Javier Vedia | People's Party | 2019 |
| San Agustín del Guadalix | 38.3 | 13,103 | | Roberto Ronda | People's Party | 2019 |
| San Fernando de Henares | 39.29 | 39,681 | | Javier Corpa | Spanish Socialist Workers' Party | 2019 |
| San Lorenzo de El Escorial | 56.4 | 18,024 | | Carlota López | People's Party | 2019 |
| San Martín de la Vega | 105.9 | 18,824 | | Rafael Martínez | Spanish Socialist Workers' Party | 2015 |
| San Martín de Valdeiglesias | 115.5 | 8,298 | | Aránzazu Povedano | People's Party | 2023 |
| San Sebastián de los Reyes | 59.26 | 86,707 | | Lucía Soledad Fernández | People's Party | 2023 |
| Santa María de la Alameda | 74.41 | 1,163 | | Gloria de Castro | People's Party | 2023 |
| Santorcaz | 28.14 | 856 | | Rubén Gómez | Spanish Socialist Workers' Party | 2019 |
| Serranillos del Valle | 13.28 | 3,967 | | Iván Fernández | Localist | 2019 |
| Sevilla la Nueva | 25.1 | 9,093 | | Asensio Martínez | People's Party | 2019 |
| Somosierra | 20.42 | 77 | | Alejandro Trillo | People's Party | 2023 |
| Soto del Real | 42.17 | 8,607 | | Noelia Barrado | Spanish Socialist Workers' Party | 2021 |
| Talamanca de Jarama | 39.36 | 3,573 | | Juan Manuel García | Spanish Socialist Workers' Party | 2015 |
| Tielmes | 27 | 2,610 | | Miguel Ángel Barbero | People's Party | 2019 |
| Titulcia | 9.9 | 1,274 | | Francisca Suárez | Spanish Socialist Workers' Party | 2019 |
| Torrejón de Ardoz | 32.49 | 128,013 | | Alejandro Navarro | People's Party | 2023 |
| Torrejón de la Calzada | 8.98 | 8,418 | | David Blázquez | Localist | 2023 |
| Torrejón de Velasco | 52.32 | 4,261 | | Esteban Bravo | People's Party | 2019 |
| Torrelaguna | 43.4 | 4,712 | | Eduardo Burgos | Spanish Socialist Workers' Party | 2019 |
| Torrelodones | 21 | 23,128 | | Almudena Negro | People's Party | 2023 |
| Torremocha de Jarama | 18.49 | 942 | | Carlos Rivera | Independent | 1979 |
| Torres de la Alameda | 43.8 | 7,825 | | José Antonio Blanco | People's Party | 2023 |
| Tres Cantos | 37.93 | 46,046 | | Jesús Moreno | People's Party | 2019 |
| Valdaracete | 64.31 | 643 | | Armando Expósito | Spanish Socialist Workers' Party | 2023 |
| Valdeavero | 18.79 | 1,450 | | María Luisa de Castro | Spanish Socialist Workers' Party | 2023 |
| Valdelaguna | 42.13 | 867 | | Pablo Morate | People's Party | 2019 |
| Valdemanco | 17.58 | 916 | | Luis Navarro | Localist | 2023 |
| Valdemaqueda | 52.2 | 768 | | Ricardo Meneses | People's Party | 2023 |
| Valdemorillo | 93.7 | 12,300 | | Santiago Villena | People's Party | 2019 |
| Valdemoro | 64.2 | 73,976 | | David Conde | People's Party | 2023 |
| Valdeolmos-Alalpardo | 26.81 | 3,906 | | Miguel Ángel Medranda | People's Party | 2011 |
| Valdepiélagos | 17.59 | 587 | | Pedro José Cabrera | Localist | 2019 |
| Valdetorres de Jarama | 33.52 | 4,316 | | José María de Diego | Localist | 2019 |
| Valdilecha | 42.48 | 2,755 | | José Javier López | People's Party | 2019 |
| Valverde de Alcalá | 13.53 | 427 | | Gabino de Hago | People's Party | 2019 |
| Velilla de San Antonio | 14.35 | 12,111 | | Antonia Alcázar | Spanish Socialist Workers' Party | 2019 |
| Venturada | 9.79 | 2,032 | | Carolina Folgueira | Localist | 2023 |
| Villa del Prado | 78.42 | 6,337 | | Belén Rodríguez | People's Party | 2023 |
| Villaconejos | 36.65 | 3,350 | | Adolfo Pacheco | People's Party | 2019 |
| Villalbilla | 34.6 | 13,038 | | Antonio Barahona | Localist | 2015 |
| Villamanrique de Tajo | 28.9 | 694 | | Antonia Ayuso | People's Party | 2015 |
| Villamanta | 63.15 | 2,491 | | Mariano Núñez | People's Party | 2023 |
| Villamantilla | 23.99 | 1,382 | | Juan Antonio de la Morena | People's Party | 2007 |
| Villanueva de la Cañada | 34.92 | 20,320 | | Luis Partida | People's Party | 1979 |
| Villanueva de Perales | 31.18 | 1,519 | | José María Barrado | Spanish Socialist Workers' Party | 2019 |
| Villanueva del Pardillo | 25.35 | 17,025 | | Eduardo Fernández Navarro | Localist | 2019 |
| Villar del Olmo | 28 | 1,997 | | Lucila Toledo | People's Party | 2019 |
| Villarejo de Salvanés | 118.6 | 7,245 | | Jesús Díaz | Localist | 2023 |
| Villaviciosa de Odón | 68.17 | 27,504 | | Juan Pedro Izquierdo | People's Party | 2023 |
| Villavieja del Lozoya | 23.6 | 267 | | Aránzazu Reguera | Localist | 2023 |
| Zarzalejo | 20.63 | 1,596 | | Rafael Herranz | People's Party | 2019 |