Castellar del Vallès (Barcelona): population and map

Castellar del Vallès is a municipality in the province of Barcelona (Cataluña), Spain. It has 25,620 inhabitants according to the municipal register of January 1, 2026, spread over 45 km²: 568 inhabitants per square kilometre.

Facts

Population
25,620 inhabitants (January 1, 2026)
Area
45 km²
Density
568 inh./km²
Altitude
320 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
08051

How it compares

  • It ranks 40 by population among the 311 municipalities of the province of Barcelona.
  • In Cataluña it ranks 54 of 947, and in Spain 326 of 8132.
  • It holds 0.4% of the inhabitants of the province of Barcelona.
  • Its density, 568 inh./km², is 0.7 times that of its province (780 inh./km²) and 5.8 times that of Spain (98 inh./km²).
  • By area it ranks 43 of the 311 municipalities of Barcelona.
  • By altitude it ranks 143 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 Castellar del Vallès

Castellar del Vallés (oficialmente en catalán: Castellar del Vallès) 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 Vallés Occidental.

History

Los primeros indicios de asentamientos humanos son del 7000 a. C. Existe así mismo evidencia de actividad agrícola en el Neolítico, sobre el 5000 a. C. Se confirma la continuación de presencia humana en el término municipal con posteridad, por una pequeña necrópolis de la Edad del Hierro, formada por una veintena de urnas funerarias datadas en el siglo VII a. C. que fueron localizadas en el Pla de La Bruguera.

Source: Wikipedia (the article «Castellar del Vallés» of the Spanish Wikipedia, revision of May 27, 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