Sant Joan Despí (Barcelona): population and map

Sant Joan Despí is a municipality in the province of Barcelona (Cataluña), Spain. It has 36,334 inhabitants according to the municipal register of January 1, 2026, spread over 5.6 km²: 6,477 inhabitants per square kilometre.

Facts

Population
36,334 inhabitants (January 1, 2026)
Area
5.6 km²
Density
6,477 inh./km²
Altitude
39 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
08217

How it compares

  • It ranks 29 by population among the 311 municipalities of the province of Barcelona.
  • In Cataluña it ranks 40 of 947, and in Spain 220 of 8132.
  • It holds 0.6% of the inhabitants of the province of Barcelona.
  • Its density, 6,477 inh./km², is 8.3 times that of its province (780 inh./km²) and 66 times that of Spain (98 inh./km²).
  • By area it ranks 285 of the 311 municipalities of Barcelona.
  • By altitude it ranks 282 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 Sant Joan Despí

Sant Joan Despí o San Juan Despí (oficialmente en catalán: Sant Joan Despí,, forma arcaica con artículo sigmático: Sant Joan del Pi) es un municipio de España de la provincia de Barcelona, situado en la comarca del Bajo Llobregat, comunidad autónoma de Cataluña. Su historia se remonta a la era romana en que recibía el nombre de Vicomiciano. Posteriormente el municipio tuvo varios nombres, destacando San Juan del Llobregat y San Juan Despí. Durante la Guerra Civil, el nombre de la población pasó a ser "Pi de Llobregat", eliminando las connotaciones religiosas. En 1939 se dejó sin efecto este cambio de nombre, y se mantuvo San Juan Despí como forma oficial hasta 1984, cuando se adoptó el nombre en catalán Sant Joan Despí.

History

Este rincón del fértil valle del Llobregat ha sido poblado desde hace milenios, como atestiguan los restos de cabañas y tumbas neolíticas en los alrededores del barrio de Torreblanca y Les Begudes. Posteriormente, en época de los iberos, se convirtió en uno de los corredores naturales de comunicación de la costa y la zona portuaria del estuario del Llobregat con los territorios al interior.

Source: Wikipedia (the article «Sant Joan Despí» of the Spanish Wikipedia, revision of July 24, 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