National and foreign population figures in Spain 2006-2023
by autonomous community, with Andalusia topping the list of the most populated regions.
As of January 2023, the Spanish-born population accounted for nearly 42 million out of the national total. Foreign-born residents grew during the analyzed period of time, with over 6 million in 2023, while between 2014 and 2018 they amounted to less than five million. The population in Spain has also been analyzed