Population and Housing Censuses Barcelona Dwellings by municipalities (with over 50,000 inhabitants or capitals), type of housing and year of construction (aggregate) of the building Units: dwellings Total Before 1900 From 1900 to 1920 From 1921 to 1940 From 1941 to 1950 From 1951 to 1960 From 1961 to 1970 From 1971 to 1980 From 1981 to 1990 From 1991 to 2001 From 2002 to 2011 No data recorded 2.1 Total main dwellings 08015 Badalona 81,793 1,973 2,022 2,739 2,622 8,290 20,387 23,373 5,105 7,410 5,806 2,068 08019 Barcelona 684,078 42,226 42,970 56,608 37,558 75,496 158,832 151,543 37,443 35,679 29,320 16,403 08056 Castelldefels 23,397 128 18 110 80 936 4,800 5,647 1,840 5,189 3,678 972 08266 Cerdanyola del Vallès 21,316 422 231 511 307 640 3,090 6,482 3,330 3,885 2,201 218 08073 Cornellà de Llobregat 33,424 606 896 779 636 3,246 11,024 8,790 1,248 3,175 1,836 1,187 08096 Granollers 22,831 275 637 524 548 1,710 4,479 6,168 2,161 3,670 2,218 443 08101 Hospitalet de Llobregat, L' 102,031 1,173 2,208 2,895 5,120 14,956 35,852 26,031 1,848 4,022 5,857 2,071 08113 Manresa 29,072 1,826 751 464 559 2,158 4,397 7,099 2,540 3,773 3,832 1,673 08121 Mataró 47,081 971 735 520 509 2,149 10,459 12,163 3,423 6,242 7,167 2,743 08124 Mollet del Vallès 19,307 174 106 393 387 773 3,066 6,416 1,797 4,161 1,658 375 08169 Prat de Llobregat, El 24,253 148 183 476 411 1,440 5,090 8,531 2,158 2,878 1,752 1,184 08184 Rubí 28,114 533 182 324 277 796 4,185 8,175 3,021 6,034 3,514 1,075 08187 Sabadell 81,596 1,145 1,101 2,148 2,181 9,356 17,049 18,805 6,199 9,605 11,670 2,337 08200 Sant Boi de Llobregat 30,582 411 274 345 469 1,622 8,216 10,220 2,671 3,733 1,889 732 08205 Sant Cugat del Vallès 29,641 177 379 586 621 1,427 2,120 5,454 3,588 8,032 5,943 1,314 08245 Santa Coloma de Gramenet 45,646 136 82 400 712 3,249 17,776 15,978 3,081 2,311 1,410 511 08279 Terrassa 83,249 960 1,176 2,808 3,099 9,465 12,264 16,915 7,285 14,221 6,397 8,659 08301 Viladecans 24,231 230 229 484 236 1,437 4,817 6,094 1,504 5,332 3,067 802 08307 Vilanova i la Geltrú 26,586 1,091 598 549 650 1,468 2,712 6,140 3,270 5,105 3,547 1,456 2.21 Secondary dwellings 08015 Badalona 2,199 178 65 184 150 309 541 586 .. 106 79 .. 08019 Barcelona 38,769 3,411 3,153 3,153 2,805 3,667 9,025 8,501 1,893 1,616 1,330 214 08056 Castelldefels 4,523 82 27 55 129 432 1,614 1,228 212 510 232 .. 08266 Cerdanyola del Vallès 435 .. 38 .. 55 31 38 150 61 61 .. .. 08073 Cornellà de Llobregat 550 .. 45 64 .. 36 279 122 .. .. 5 .. 08096 Granollers 685 13 .. .. 33 152 99 173 47 74 93 .. 08101 Hospitalet de Llobregat, L' 1,429 31 14 130 44 204 358 479 .. 58 71 40 08113 Manresa 1,099 69 43 92 34 136 89 147 50 203 237 .. 08121 Mataró 1,272 14 42 94 19 56 418 319 .. 167 142 .. 08124 Mollet del Vallès 306 .. .. 36 .. .. 18 92 .. 124 36 .. 08169 Prat de Llobregat, El 531 .. .. .. 35 .. 119 193 35 94 42 14 08184 Rubí 1,751 35 .. .. .. .. 192 347 283 79 815 .. 08187 Sabadell 1,423 16 .. .. 71 347 472 296 .. 104 74 43 08200 Sant Boi de Llobregat 631 .. 52 .. .. .. 170 241 147 .. 20 .. 08205 Sant Cugat del Vallès 1,431 35 .. 102 164 155 124 213 300 242 97 .. 08245 Santa Coloma de Gramenet 498 .. .. .. .. 68 136 283 .. 12 .. .. 08279 Terrassa 2,544 15 150 326 65 331 551 269 229 263 252 93 08301 Viladecans 671 28 .. 49 .. .. 209 74 119 80 61 50 08307 Vilanova i la Geltrú 2,816 14 .. 59 17 118 284 1,263 559 182 158 161 2.22 Empty dwellings 08015 Badalona 8,881 347 745 739 367 1,175 2,297 1,873 118 474 672 76 08019 Barcelona 88,259 9,015 7,327 10,197 5,618 9,866 19,426 14,302 3,162 3,574 4,999 771 08056 Castelldefels 4,294 28 .. 27 28 511 1,014 1,173 222 599 216 475 08266 Cerdanyola del Vallès 3,549 612 99 68 154 865 260 617 178 270 303 122 08073 Cornellà de Llobregat 2,688 130 27 .. 134 167 1,225 502 86 95 279 43 08096 Granollers 2,609 165 125 177 42 218 224 484 215 357 432 169 08101 Hospitalet de Llobregat, L' 8,605 61 383 608 647 1,655 3,375 1,277 127 194 79 198 08113 Manresa 9,434 1,225 535 479 396 745 1,010 900 307 650 3,058 128 08121 Mataró 5,957 336 189 180 123 380 1,625 1,053 120 243 1,663 46 08124 Mollet del Vallès 2,829 91 175 105 60 18 790 751 311 257 195 75 08169 Prat de Llobregat, El 2,297 .. 48 213 .. 82 465 931 304 228 26 .. 08184 Rubí 3,174 .. 16 83 50 139 682 881 305 512 429 78 08187 Sabadell 10,184 449 429 224 602 1,752 2,376 1,571 461 736 1,416 168 08200 Sant Boi de Llobregat 3,295 222 97 134 262 339 479 884 95 451 201 131 08205 Sant Cugat del Vallès 2,264 63 62 47 119 315 157 349 225 380 491 56 08245 Santa Coloma de Gramenet 2,371 60 16 19 32 234 940 623 176 51 191 28 08279 Terrassa 15,908 525 447 639 861 2,271 2,918 2,705 912 1,530 2,103 999 08301 Viladecans 2,714 103 162 .. 31 150 992 413 39 236 467 121 08307 Vilanova i la Geltrú 3,348 163 80 57 95 326 412 711 202 599 661 42 Notes: Source: National Statistics Institute