Masquefa (Barcelona): population and map

Masquefa is a municipality in the province of Barcelona (Cataluña), Spain. It has 10,315 inhabitants according to the municipal register of January 1, 2026, spread over 17 km²: 591 inhabitants per square kilometre.

Facts

Population
10,315 inhabitants (January 1, 2026)
Area
17 km²
Density
591 inh./km²
Altitude
257 m The altitude is that of its main settlement, not of the whole municipal area.
Province
Barcelona
Autonomous community
Cataluña
Coast
Inland
INE code
08119

How it compares

  • It ranks 84 by population among the 311 municipalities of the province of Barcelona.
  • In Cataluña it ranks 126 of 947, and in Spain 768 of 8132.
  • It holds 0.2% of the inhabitants of the province of Barcelona.
  • Its density, 591 inh./km², is 0.8 times that of its province (780 inh./km²) and 6 times that of Spain (98 inh./km²).
  • By area it ranks 174 of the 311 municipalities of Barcelona.
  • By altitude it ranks 169 of the 307 municipalities of Barcelona that have a figure.

Municipalities of a similar size in Barcelona

Neighbouring municipalities (4)

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 Masquefa

Masquefa es un municipio de España perteneciente a la provincia de Barcelona, en la comunidad autónoma de Cataluña. Situado en la comarca de Anoia, tiene la categoría de villa.

History

La historia de la villa de Masquefa se remonta al 3 de marzo del 963 cuando Miró, Conde de Barcelona, vendió a Enyec Bonfill, el castrum Machicepfa, por la cantidad de 1000 sueldos. Con el castillo también se ponía en venta su término, la jurisdicción parroquial y la primitiva iglesia de San Pedro. La consecuencia más inmediata es que se acababa el dominio directo de los Condes de Barcelona sobre el castrum y toda su jurisdicción.

Source: Wikipedia (the article «Masquefa» of the Spanish Wikipedia, revision of June 4, 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 Barcelona