Castelldefels (Barcelona): population and map

Castelldefels is a municipality in the province of Barcelona (Cataluña), Spain. It has 70,230 inhabitants according to the municipal register of January 1, 2026, spread over 13 km²: 5,427 inhabitants per square kilometre.

Facts

Population
70,230 inhabitants (January 1, 2026)
Area
13 km²
Density
5,427 inh./km²
Altitude
3 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
08056

How it compares

  • It ranks 14 by population among the 311 municipalities of the province of Barcelona.
  • In Cataluña it ranks 18 of 947, and in Spain 114 of 8132.
  • It holds 1.2% of the inhabitants of the province of Barcelona.
  • Its density, 5,427 inh./km², is 7 times that of its province (780 inh./km²) and 55.3 times that of Spain (98 inh./km²).
  • By area it ranks 222 of the 311 municipalities of Barcelona.
  • By altitude it ranks 306 of the 307 municipalities of Barcelona that have a figure.

Municipalities of a similar size in Barcelona

Neighbouring municipalities (2)

  • Gavà 48,462 inhabitants · 3 km north-west
  • Sitges 32,727 inhabitants · 10 km west

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 Castelldefels

Castelldefels 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 70 057 habitantes (INE 2025). Originalmente formado por una serie de masías dispersas, a mediados del siglo XX Castelldefels se convirtió en lugar de veraneo de muchos barceloneses.

History

Castelldefels no cuenta, de momento, con restos muy antiguos de presencia humana, pero sí en sus cercanías. En agosto de 2005 se recuperaron herramientas de piedra del Paleolítico inferior en el parque de Vallparadís (Tarrasa, Barcelona) de un millón de años de antigüedad aproximadamente. Un hallazgo más cercano es la mandíbula de la Cova del Gegant (Sitges) que tiene entre 100 000 y 40 000 años, recuperada en 1952, pero no identificada como perteneciente al Homo neanderthalensis hasta 2001.

Source: Wikipedia (the article «Castelldefels» of the Spanish Wikipedia, revision of September 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