Population and Housing Censuses National results Population by sex, nationality (Spanish/Foreign) and country of birth Units: persons Both sexes Men Women Total Spaniards Foreign Nationals Total Spaniards Foreign Nationals Total Spaniards Foreign Nationals TOTAL 46,815,916 41,563,443 5,252,473 23,104,303 20,372,386 2,731,917 23,711,613 21,191,057 2,520,556 Spain 40,508,639 40,123,786 384,853 19,909,588 19,709,735 199,853 20,599,051 20,414,051 185,000 Afghanistan 418 61 357 334 41 293 84 20 64 Albania 1,835 239 1,596 1,041 134 907 793 105 688 Germany 209,982 71,616 138,366 103,931 34,993 68,938 106,052 36,623 69,429 Andorra 5,810 4,987 823 2,848 2,452 397 2,961 2,535 426 Angola 3,661 680 2,981 2,072 343 1,729 1,589 337 1,252 Antigua and Barbuda 7 4 3 3 .. 3 4 4 .. Saudi Arabia 670 210 460 424 131 294 246 79 166 Argelia 59,201 6,648 52,553 39,836 3,655 36,181 19,364 2,993 16,371 Argentina 272,198 114,984 157,214 140,027 58,960 81,067 132,171 56,024 76,147 Armenia 9,857 289 9,568 5,136 142 4,994 4,721 147 4,574 Australia 5,678 3,533 2,144 2,875 1,761 1,114 2,803 1,772 1,031 Austria 8,774 820 7,954 4,091 304 3,787 4,683 516 4,168 Azerbaijan 508 55 453 240 21 219 268 34 234 The Bahamas 49 24 25 24 12 12 25 12 13 Bahrain 46 14 32 29 9 20 17 5 12 Bangladesh 10,998 361 10,637 8,845 297 8,548 2,153 64 2,089 Barbados 39 7 31 19 4 15 19 3 16 Belarus 3,598 208 3,390 1,196 46 1,150 2,402 162 2,240 Belgium 42,107 15,425 26,682 21,158 7,509 13,649 20,949 7,916 13,033 Belize 28 12 16 11 2 9 17 10 7 Benin 384 40 344 273 28 245 111 12 99 Bolivia 190,997 13,970 177,028 78,351 5,968 72,383 112,646 8,001 104,645 Bosnia and Herzegovina 2,087 667 1,420 1,039 319 720 1,048 348 700 Botswana 14 4 10 7 1 6 7 3 4 Brazil 120,436 28,018 92,418 44,546 11,908 32,638 75,890 16,110 59,780 Brunei 21 8 13 10 4 6 11 4 7 Bulgaria 144,571 1,945 142,626 76,435 978 75,457 68,136 967 67,169 Burkina Faso 1,112 97 1,016 831 57 774 281 40 242 Burundi 88 16 73 42 8 34 46 8 39 Green Cape 4,453 1,325 3,128 1,875 500 1,375 2,578 825 1,753 Cambodia 74 18 56 30 8 22 44 10 34 Cameroon 5,737 521 5,216 3,684 275 3,409 2,052 246 1,807 Canada 5,883 2,908 2,975 2,691 1,367 1,323 3,192 1,541 1,651 Chad 93 16 77 62 10 52 32 6 26 Chile 62,626 22,612 40,014 30,438 10,687 19,751 32,188 11,925 20,263 China 164,368 19,027 145,342 79,871 3,361 76,510 84,498 15,666 68,832 Cyprus 307 63 244 170 28 143 137 35 102 Colombia 374,642 123,378 251,263 160,301 48,339 111,962 214,341 75,039 139,302 Comoros 11 2 9 6 2 4 5 .. 5 Congo 2,181 305 1,876 1,353 188 1,165 828 116 712 Korea 3,860 807 3,053 1,734 433 1,300 2,126 374 1,752 North Korea 110 24 86 51 12 39 59 12 47 Ivory Coast 3,090 292 2,798 2,295 176 2,119 794 116 679 Costa Rica 3,195 1,412 1,783 1,441 651 790 1,754 761 993 Croatia 1,564 251 1,313 762 103 659 802 148 654 Cuba 116,852 61,107 55,745 53,041 27,912 25,130 63,811 33,195 30,616 Danemark 11,264 847 10,417 5,685 320 5,365 5,579 527 5,051 Djibouti 21 3 18 13 2 11 8 1 7 Dominica 849 380 469 297 111 185 552 269 284 Ecuador 474,075 170,045 304,030 227,245 74,489 152,755 246,830 95,555 151,275 Egypt 3,998 1,111 2,886 2,852 772 2,080 1,145 339 806 El Salvador 8,784 2,719 6,065 3,308 977 2,331 5,476 1,743 3,733 Unied Arab Emirates 250 110 140 145 64 81 105 46 59 Eritrea 119 8 110 73 5 68 46 3 43 Slovenia 1,099 47 1,052 541 19 521 559 28 531 United States of America 37,524 14,507 23,017 17,937 6,726 11,211 19,586 7,781 11,806 Estonia 1,465 34 1,431 548 12 536 917 21 896 Ethiopia 3,375 2,566 809 1,830 1,431 399 1,545 1,135 410 Fiji 25 9 16 10 3 7 15 6 9 The Philippines 41,020 13,213 27,807 15,274 4,580 10,694 25,746 8,633 17,113 Finland 11,063 645 10,418 4,931 212 4,719 6,132 433 5,699 France 209,144 124,099 85,045 101,629 58,357 43,272 107,514 65,742 41,773 Gabon 260 64 196 125 37 88 136 27 108 The Gambia 18,731 2,270 16,461 15,213 1,828 13,385 3,518 442 3,076 Georgia 9,710 247 9,463 4,986 119 4,868 4,723 128 4,595 Ghana 14,239 451 13,787 11,636 333 11,303 2,603 118 2,485 Granada 600 575 25 305 296 9 295 280 15 Greece 3,693 478 3,216 2,232 259 1,973 1,462 219 1,243 Guatemala 7,142 3,170 3,972 2,817 1,313 1,505 4,324 1,857 2,467 Guinea 11,265 2,089 9,177 7,814 999 6,815 3,451 1,090 2,361 Equatorial Guinea 20,353 9,477 10,876 7,754 3,901 3,853 12,598 5,576 7,022 Guinea-Bissau 5,944 358 5,586 4,684 292 4,392 1,260 66 1,194 Guyana 100 27 73 50 14 36 50 13 37 Haiti 673 304 369 388 164 224 285 140 144 Honduras 33,334 3,445 29,889 9,419 1,220 8,200 23,915 2,226 21,690 Hungary 8,565 516 8,049 4,021 214 3,806 4,545 302 4,243 India 36,662 5,025 31,637 24,208 2,543 21,665 12,454 2,482 9,972 Indonesia 1,922 221 1,701 1,026 77 949 896 145 751 Iran 5,262 1,780 3,482 3,191 1,093 2,098 2,072 687 1,384 Iraq 1,656 571 1,085 1,057 386 671 599 185 414 Ireland 13,840 910 12,929 7,161 331 6,831 6,678 580 6,099 Iceland 1,011 60 951 483 21 462 527 38 489 Cook Islands 23 8 15 13 6 7 10 2 8 Marshall Islands 11 4 7 5 2 3 6 2 4 Salomon Islands 1 .. 1 .. .. .. 1 .. 1 Israel 2,632 864 1,767 1,667 582 1,085 965 282 683 Italy 93,961 5,860 88,100 57,975 2,844 55,131 35,986 3,017 32,969 Jamaica 258 43 214 122 18 104 136 25 111 Japan 5,961 589 5,372 2,302 257 2,045 3,659 332 3,327 Jordan 2,133 1,297 836 1,566 1,010 556 567 287 279 Kazajstan 1,463 415 1,049 586 188 398 877 227 650 Kenia 1,447 128 1,319 422 54 369 1,025 74 951 Kyrgyztan 277 15 262 87 4 83 189 11 178 Kuwait 400 181 219 255 107 148 145 74 71 Laos 187 135 53 92 68 24 96 67 29 Lesotho 16 6 10 8 3 5 8 3 5 Latvia 3,542 81 3,461 1,457 27 1,430 2,085 54 2,031 Libano 3,098 1,592 1,506 2,117 1,189 928 981 403 578 Liberia 809 299 510 549 170 379 259 129 131 Libya 770 278 492 491 176 316 278 102 176 Liechtenstein 107 71 36 50 32 18 57 39 18 Lithuania 18,473 80 18,393 9,182 26 9,156 9,291 54 9,237 Luxembourg 1,373 793 579 672 370 302 701 424 277 North Macedonia 570 49 521 298 28 270 272 21 251 Madagascar 403 187 216 134 67 67 268 119 149 Malaysia 544 89 456 227 36 191 318 53 265 Malawi 53 14 39 24 6 18 29 8 21 Maldives 4 1 3 1 .. 1 2 1 1 Mali 22,016 288 21,729 20,076 213 19,863 1,940 75 1,865 Malta 274 29 245 137 9 128 136 20 116 Morrocco 772,126 131,794 640,332 458,871 70,008 388,863 313,254 61,786 251,469 Mauritius 218 69 148 115 33 82 102 36 66 Mauritania 10,418 756 9,662 8,295 533 7,761 2,123 223 1,900 Mexico 47,609 22,919 24,691 20,419 10,195 10,223 27,191 12,723 14,467 Micronesia 67 30 37 30 15 15 37 15 22 Moldova 17,129 229 16,900 8,473 65 8,408 8,656 164 8,492 Monaco 233 156 77 114 75 40 119 81 38 Mongolia 466 9 457 158 1 157 308 8 300 Montenegro 143 21 122 75 10 65 68 11 57 Mozambique 1,163 273 890 583 105 478 580 169 412 Myanmar 72 18 54 40 10 30 32 8 24 Namibia 112 39 73 51 23 28 61 16 45 Nauru 8 3 5 2 1 1 6 2 4 Nepal 2,666 709 1,957 1,726 292 1,434 940 417 523 Nicaragua 17,057 2,101 14,956 4,369 915 3,454 12,688 1,186 11,502 Niger 246 16 230 189 8 181 57 8 49 Nigeria 36,045 985 35,060 21,843 634 21,209 14,202 351 13,851 Norway 15,396 528 14,867 7,654 218 7,437 7,741 311 7,430 New Zeland 882 104 778 512 56 457 369 48 321 Oman 24 8 16 16 7 9 8 1 7 African countries without diplomatic relations 195 135 60 127 88 39 68 47 21 American countries without diplomatic relations 56 24 32 24 9 15 32 15 17 Asian countries without diplomatic relations 535 181 354 391 132 258 144 49 95 Netherlands 47,004 7,755 39,249 24,476 3,582 20,894 22,528 4,174 18,355 European countries without diplomatic relations 56 25 31 35 16 19 21 9 12 Ocean countries without diplomatic relations 44 13 32 32 10 22 13 3 10 Pakistan 68,279 2,636 65,643 52,951 1,994 50,957 15,328 643 14,686 Palau 7 .. 7 4 .. 4 3 .. 3 Panama 4,339 2,243 2,096 1,851 970 881 2,488 1,273 1,215 Papua New Guinea 24 5 19 14 4 10 10 1 9 Paraguay 79,850 3,448 76,401 24,202 1,382 22,820 55,647 2,066 53,581 Peru 198,547 72,738 125,809 91,647 31,011 60,636 106,899 41,727 65,172 Poland 71,524 1,442 70,082 35,278 597 34,681 36,247 845 35,401 Portugal 128,639 22,392 106,247 76,691 9,733 66,957 51,948 12,659 39,289 Qatar 66 30 36 42 13 29 24 17 7 United Kingdom 317,950 23,303 294,647 159,419 10,134 149,285 158,531 13,169 145,362 Democratic Republic of the Congo 1,533 344 1,189 958 197 761 575 147 428 Central African Republic 138 34 105 76 13 63 62 21 41 The Czech Republic 8,655 405 8,249 3,572 156 3,416 5,083 250 4,833 Dominican Republic 146,613 58,127 88,486 56,998 19,714 37,284 89,615 38,413 51,202 Slovak Republic 7,506 161 7,346 3,394 58 3,336 4,112 103 4,010 Rwanda 242 61 182 135 37 98 107 24 83 Romania 750,901 3,755 747,146 388,304 1,730 386,574 362,596 2,025 360,571 Russia 66,478 12,077 54,400 23,404 6,234 17,170 43,074 5,844 37,230 Samoa 3 1 2 1 1 0 2 .. 2 Saint Kitts and Nevis 8 2 6 1 .. 1 7 2 5 San Marino 27 2 25 13 1 12 13 1 12 Saint Vincent and the Grenadines 12 4 8 5 3 2 7 1 6 Saint Lucia 44 28 16 22 14 8 22 14 8 Santa Sede 29 22 7 19 15 4 9 7 3 Sao Tome and Principe 179 39 140 89 16 73 90 23 67 Senegal 55,748 2,920 52,828 46,028 2,398 43,630 9,720 522 9,198 Serbia 3,813 694 3,119 1,932 325 1,607 1,882 369 1,513 Seychelles 36 4 32 17 2 15 20 2 18 Sierra Leone 1,035 149 886 718 100 618 317 49 268 Singapore 435 80 355 165 31 134 271 49 222 Syria 4,993 2,682 2,311 3,533 2,070 1,464 1,459 612 847 Somalia 246 11 235 160 8 152 86 3 83 Sri Lanka 574 126 448 363 80 283 211 46 165 South Africa 2,537 831 1,705 1,351 416 935 1,185 415 770 Sudan 345 109 236 246 93 153 99 16 83 Sweden 18,609 2,461 16,147 8,259 988 7,272 10,349 1,474 8,876 Switzerland 63,191 48,486 14,705 31,484 24,179 7,304 31,707 24,306 7,401 Suriname 187 12 175 75 5 69 112 7 106 Swaziland 8 4 4 4 2 2 4 2 2 Tayikistan 61 3 58 27 1 26 34 2 32 Thailand 1,803 272 1,531 443 99 344 1,360 173 1,187 Taiwan 983 310 672 341 131 210 641 179 462 Tanzania 297 56 241 158 28 130 139 28 112 East Timor 4 .. 4 1 .. 1 3 .. 3 Togo 479 55 424 335 42 293 144 13 131 Tonga 5 .. 5 3 .. 3 2 .. 2 Trinidad and Tobago 180 40 140 66 12 54 114 28 86 Tunisia 2,657 581 2,076 1,815 380 1,435 842 201 641 Turkmenistan 36 3 33 10 .. 10 26 3 23 Turkey 3,627 523 3,104 2,315 345 1,970 1,312 178 1,135 Tuvalu 35 25 11 21 15 6 15 10 5 Ucraine 81,304 3,586 77,718 35,992 1,640 34,353 45,311 1,946 43,366 Uganda 186 10 175 94 4 90 91 6 85 Uruguay 80,571 31,760 48,811 41,088 16,237 24,850 39,484 15,523 23,961 Uzbekistan 528 32 496 207 12 195 321 20 301 Vanuatu 13 4 9 10 2 8 3 2 1 Venezuela 155,153 95,997 59,157 71,906 46,420 25,486 83,248 49,577 33,671 Vietnam 1,435 729 706 662 307 355 773 422 352 Yemen 90 24 66 69 20 49 20 4 16 Zambia 142 33 109 67 13 53 75 20 55 Zimbabwe 309 58 251 155 30 125 154 27 126 Notes: Source: Instituto Nacional de Estadística