Cobeña (Madrid): population and map

Cobeña is a municipality in the province of Madrid (Comunidad de Madrid), Spain. It has 7,739 inhabitants according to the municipal register of January 1, 2026, spread over 21 km²: 372 inhabitants per square kilometre.

Facts

Population
7,739 inhabitants (January 1, 2026)
Area
21 km²
Density
372 inh./km²
Altitude
682 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
28041

How it compares

  • It ranks 71 by population among the 179 municipalities of the province of Madrid.
  • In Comunidad de Madrid it ranks 71 of 179, and in Spain 990 of 8132.
  • It holds 0.1% of the inhabitants of the province of Madrid.
  • Its density, 372 inh./km², is 0.4 times that of its province (893 inh./km²) and 3.8 times that of Spain (98 inh./km²).
  • By area it ranks 143 of the 179 municipalities of Madrid.
  • By altitude it ranks 108 of the 179 municipalities of Madrid that have a figure.

Municipalities of a similar size in Madrid

Neighbouring municipalities (5)

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 Cobeña

Cobeña es un municipio de España perteneciente a la Comunidad de Madrid, en la unidad paisajística de La Campiña, situada al lado de Ajalvir. Tiene una población de 7670 habitantes (INE 2025).

History

De la antigüedad de esta villa se tienen noticias de que ya existía en la dominación Romana. Su fundación se estima en el siglo IX o X, por los árabes, si bien y a tenor de los documentos aparecidos es en el 1369 (siglo XIV) cuando Enrique II de Trastamara, llamado el de "Las Mercedes", expide carta de donación de los pueblos de Alcobendas, Barajas y Cobeña a favor de Pedro González de Mendoza, mayordomo del infante D. Juan, su hijo.

Source: Wikipedia (the article «Cobeña (Madrid)» of the Spanish Wikipedia, revision of November 26, 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