Esparreguera (Barcelona): population and map

Esparreguera is a municipality in the province of Barcelona (Cataluña), Spain. It has 22,865 inhabitants according to the municipal register of January 1, 2026, spread over 27 km²: 837 inhabitants per square kilometre.

Facts

Population
22,865 inhabitants (January 1, 2026)
Area
27 km²
Density
837 inh./km²
Altitude
181 m The altitude is that of its main settlement, not of the whole municipal area.
Province
Barcelona
Autonomous community
Cataluña
Coast
Inland
Demonym
esparreguerino y esparreguerina
INE code
08076

How it compares

  • It ranks 43 by population among the 311 municipalities of the province of Barcelona.
  • In Cataluña it ranks 62 of 947, and in Spain 374 of 8132.
  • It holds 0.4% of the inhabitants of the province of Barcelona.
  • Its density, 837 inh./km², is 1.1 times that of its province (780 inh./km²) and 8.5 times that of Spain (98 inh./km²).
  • By area it ranks 116 of the 311 municipalities of Barcelona.
  • By altitude it ranks 207 of the 307 municipalities of Barcelona that have a figure.

Municipalities of a similar size in Barcelona

Neighbouring municipalities (6)

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 Esparreguera

Esparraguera (oficialmente en catalán: Esparreguera) es un municipio de España perteneciente a la provincia de Barcelona, en la comunidad autónoma de Cataluña. Situado en la comarca del Bajo Llobregat, tiene una población de 22 665 habitantes (INE 2025).

History

Es una villa milenaria, fundada en el 985 d. C. Su nombre aparece por primera vez en el siglo X. El año 985 el conde Borell II estuvo obligado de abandonar Barcelona por la amenaza de Almanzor y se refugió en las montañas de Manresa. Desde allí llamó a sus hombres de armas para expulsar a los invasores, y entre estos hombres estaba el caballero Guillem de Esparraguera.

Source: Wikipedia (the article «Esparraguera» of the Spanish Wikipedia, revision of August 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.
  • Demonym: Wikidata.
  • Summary and history: the Spanish Wikipedia.

How each figure is calculated

All the municipalities of Barcelona