Vilassar de Mar (Barcelona): population and map

Vilassar de Mar is a municipality in the province of Barcelona (Cataluña), Spain. It has 21,192 inhabitants according to the municipal register of January 1, 2026, spread over 4 km²: 5,298 inhabitants per square kilometre.

Facts

Population
21,192 inhabitants (January 1, 2026)
Area
4 km²
Density
5,298 inh./km²
Altitude
17 m The altitude is that of its main settlement, not of the whole municipal area.
Province
Barcelona
Autonomous community
Cataluña
Coast
Has a coast
INE code
08219

How it compares

  • It ranks 45 by population among the 311 municipalities of the province of Barcelona.
  • In Cataluña it ranks 65 of 947, and in Spain 409 of 8132.
  • It holds 0.4% of the inhabitants of the province of Barcelona.
  • Its density, 5,298 inh./km², is 6.8 times that of its province (780 inh./km²) and 54 times that of Spain (98 inh./km²).
  • By area it ranks 295 of the 311 municipalities of Barcelona.
  • By altitude it ranks 292 of the 307 municipalities of Barcelona that have a figure.

Municipalities of a similar size in Barcelona

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 Vilassar de Mar

Vilassar de Mar o Vilasar de Mar (oficialmente y en catalán: Vilassar de Mar) 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 El Maresme. Tiene una población de 21 227 habitantes (INE 2025).

History

Lo que hoy se conoce como Vilasar de Mar, a finales del siglo XIV no era más que un pequeño núcleo de barracas habitadas por pescadores que ejercían su actividad en las aguas costeras de Vilasar con el permiso del poder feudal de los señores del castillo de Vilasar, que extendía su jurisdicción sobre las capturas pesqueras. En el siglo xv la población se fue haciendo cada vez más estable. Por miedo a los ataques y las agresiones de los piratas, tres familias fortificaron sus masías con torres de defensa.

Source: Wikipedia (the article «Vilasar de Mar» of the Spanish Wikipedia, revision of November 3, 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