Skip to main content
Foreigners with a valid certificate of registration or residence card. By sex Catalonia Value
Total Men Women % over the total population % over the total foreigners in Spain.
2022 1,426,386 748,420 677,966 18.3 22.0
2021 1,319,207 697,673 621,534 17.0 22.0
2020 1,278,127 677,654 600,473 16.4 22.0
2019 1,253,913 665,376 588,537 16.3 22.1
2018 1,194,947 636,747 558,200 15.7 22.0
2017 1,146,319 613,765 532,554 15.2 21.9
2016 1,104,782 594,170 510,612 14.7 21.9
2015 1,085,472 585,572 499,900 14.5 21.8
2014 1,085,523 585,854 499,669 14.4 22.0
2013 1,103,073 594,625 508,448 14.6 22.3
2012 1,109,449 598,804 510,645 14.7 22.3
2011 1,085,829 589,288 496,541 14.4 22.2
2010 1,002,369 546,204 456,165 13.3 21.5
2009 1,061,079 578,149 481,309 14.2 22.1
2008 974,743 535,122 438,051 13.2 21.8
2007 860,575 478,599 381,880 11.9 21.6
2006 642,829 359,839 282,879 9.0 21.3
2005 603,636 339,675 263,858 8.6 22.0
2004 462,046 260,918 200,975 6.8 23.4
2003 383,938 221,395 162,061 5.7 23.3
2002 328,461 191,962 135,635 5.0 24.8
2001 280,167 164,625 113,944 4.4 25.3
2000 214,996 119,921 92,775 3.4 24.0
1999 183,736 99,015 80,800 3.0 22.9
1998 148,803 79,584 64,653 2.4 20.7
Source: Ministry Inclusion, Social Security and Migrations.
Note: The total includes the number of certificate of registration or residence card in which is not included sex.
Foreigners with a valid certificate of registration or residence card. By sex Spain Value
Total Men Women % over the total population
2022 6,493,147 3,345,637 3,147,510 13.7
2021 6,008,151 3,118,761 2,889,390 12.7
2020 5,800,468 3,019,924 2,780,544 12.2
2019 5,663,348 2,953,200 2,710,148 12.0
2018 5,424,781 2,837,735 2,587,046 11.6
2017 5,237,710 2,747,795 2,489,915 11.2
2016 5,053,887 2,660,368 2,393,519 10.9
2015 4,982,183 2,624,315 2,357,868 10.7
2014 4,925,089 2,598,060 2,327,029 10.5
2013 4,943,627 2,605,421 2,338,206 10.5
2012 4,971,070 2,621,819 2,349,251 10.5
2011 4,891,738 2,592,887 2,298,851 10.4
2010 4,656,818 2,480,776 2,176,042 9.9
2009 4,791,232 2,556,033 2,228,608 10.2
2008 4,473,499 2,407,716 2,059,252 9.7
2007 3,979,014 2,162,190 1,816,392 8.8
2006 3,021,808 1,636,653 1,384,541 6.8
2005 2,738,932 1,487,446 1,250,371 6.2
2004 1,977,291 1,067,958 907,129 4.6
2003 1,647,011 904,331 739,153 3.9
2002 1,324,001 728,019 590,629 3.2
2001 1,109,060 606,018 494,843 2.7
2000 895,720 477,155 407,423 2.2
1999 801,329 408,772 375,078 2.0
1998 719,647 359,899 334,612 1.8
Source: Ministry Inclusion, Social Security and Migrations.
Note: The total includes the number of certificate of registration or residence card in which is not included sex.

Last update: December 21, 2023.

Methodological note

The statistics Foreigners with a valid certificate of registration or residence card are obtained from files produced by the Central Register of Foreigners, an administrative record managed by the Directorate General of the Police and the Civil Guard, which is part of the Ministry for the Interior

The statistical treatment of these files corresponds to the Permanent Immigration Observatory, which is part of the Ministry of Employment and Social Security.

These are stock statistics that are produced quarterly. They count and analyse the number of foreigners with a valid registry certificate or residency card at the end of each quarter.

The legislation applicable to foreigners residing in Spain depends on their residency system and this, to a large extent, on the nationality of foreigners.

These statistics do not include the following foreigners:

  • Those that are only staying temporarily in Spain (three months per half-year)
  • Those that are in Spain with a permit to be in the country for a course, studies, research work, training or volunteering
  • Trans-frontier workers that do not reside in Spain
  • Applicants for asylum or persons that have obtained refugee or expatriate status
  • Foreigners from the European Union that have not applied for inscription to the Central Registry of Foreigners or that have applied for it but have not yet received the corresponding certificate
  • Foreigners whose documentation has expired and are in the process of renewing it

Data from 2010 onward has been reviewed with the aim of excluding persons who have been granted Spanish nationality and foreigners who have expired, in Spain, and whose residence permits were valid at the time of their death.