Relationship between residence in 2011 and current;Sex;Nationality (Spanish/Foreign);Measurement units;Total TOTAL;Both sexes;TOTAL;People;47,400,798 TOTAL;Both sexes;Spanish;People;41,998,096 TOTAL;Both sexes;Foreign;People;5,402,702 TOTAL;Males;TOTAL;People;23,248,611 TOTAL;Males;Spanish;People;20,534,537 TOTAL;Males;Foreign;People;2,714,074 TOTAL;Females;TOTAL;People;24,152,187 TOTAL;Females;Spanish;People;21,463,559 TOTAL;Females;Foreign;People;2,688,628 Same dwelling;Both sexes;TOTAL;People;14,609,809 Same dwelling;Both sexes;Spanish;People;13,967,842 Same dwelling;Both sexes;Foreign;People;641,967 Same dwelling;Males;TOTAL;People;7,247,134 Same dwelling;Males;Spanish;People;6,922,173 Same dwelling;Males;Foreign;People;324,961 Same dwelling;Females;TOTAL;People;7,362,675 Same dwelling;Females;Spanish;People;7,045,669 Same dwelling;Females;Foreign;People;317,006 Different dwelling in the same municipality;Both sexes;TOTAL;People;19,325,868 Different dwelling in the same municipality;Both sexes;Spanish;People;18,330,252 Different dwelling in the same municipality;Both sexes;Foreign;People;995,616 Different dwelling in the same municipality;Males;TOTAL;People;9,194,339 Different dwelling in the same municipality;Males;Spanish;People;8,687,063 Different dwelling in the same municipality;Males;Foreign;People;507,276 Different dwelling in the same municipality;Females;TOTAL;People;10,131,529 Different dwelling in the same municipality;Females;Spanish;People;9,643,189 Different dwelling in the same municipality;Females;Foreign;People;488,340 Different municipality of the same province;Both sexes;TOTAL;People;3,981,497 Different municipality of the same province;Both sexes;Spanish;People;3,534,980 Different municipality of the same province;Both sexes;Foreign;People;446,517 Different municipality of the same province;Males;TOTAL;People;2,020,080 Different municipality of the same province;Males;Spanish;People;1,785,778 Different municipality of the same province;Males;Foreign;People;234,302 Different municipality of the same province;Females;TOTAL;People;1,961,417 Different municipality of the same province;Females;Spanish;People;1,749,202 Different municipality of the same province;Females;Foreign;People;212,215 Different province of the same community;Both sexes;TOTAL;People;582,479 Different province of the same community;Both sexes;Spanish;People;515,600 Different province of the same community;Both sexes;Foreign;People;66,879 Different province of the same community;Males;TOTAL;People;292,634 Different province of the same community;Males;Spanish;People;255,354 Different province of the same community;Males;Foreign;People;37,280 Different province of the same community;Females;TOTAL;People;289,845 Different province of the same community;Females;Spanish;People;260,246 Different province of the same community;Females;Foreign;People;29,599 Other community;Both sexes;TOTAL;People;1,877,878 Other community;Both sexes;Spanish;People;1,597,431 Other community;Both sexes;Foreign;People;280,447 Other community;Males;TOTAL;People;970,438 Other community;Males;Spanish;People;810,656 Other community;Males;Foreign;People;159,782 Other community;Females;TOTAL;People;907,440 Other community;Females;Spanish;People;786,775 Other community;Females;Foreign;People;120,665 Resided abroad;Both sexes;TOTAL;People;2,833,838 Resided abroad;Both sexes;Spanish;People;400,989 Resided abroad;Both sexes;Foreign;People;2,432,849 Resided abroad;Males;TOTAL;People;1,368,424 Resided abroad;Males;Spanish;People;196,364 Resided abroad;Males;Foreign;People;1,172,060 Resided abroad;Females;TOTAL;People;1,465,414 Resided abroad;Females;Spanish;People;204,625 Resided abroad;Females;Foreign;People;1,260,789 Previous residence is not know 10 years ago, but has always resided in Spain;Both sexes;TOTAL;People;772 Previous residence is not know 10 years ago, but has always resided in Spain;Both sexes;Spanish;People;715 Previous residence is not know 10 years ago, but has always resided in Spain;Both sexes;Foreign;People;57 Previous residence is not know 10 years ago, but has always resided in Spain;Males;TOTAL;People;442 Previous residence is not know 10 years ago, but has always resided in Spain;Males;Spanish;People;411 Previous residence is not know 10 years ago, but has always resided in Spain;Males;Foreign;People;31 Previous residence is not know 10 years ago, but has always resided in Spain;Females;TOTAL;People;330 Previous residence is not know 10 years ago, but has always resided in Spain;Females;Spanish;People;304 Previous residence is not know 10 years ago, but has always resided in Spain;Females;Foreign;People;26 Previous residence is not know 10 years ago, but has not always resided in Spain;Both sexes;TOTAL;People;237 Previous residence is not know 10 years ago, but has not always resided in Spain;Both sexes;Spanish;People;12 Previous residence is not know 10 years ago, but has not always resided in Spain;Both sexes;Foreign;People;225 Previous residence is not know 10 years ago, but has not always resided in Spain;Males;TOTAL;People;126 Previous residence is not know 10 years ago, but has not always resided in Spain;Males;Spanish;People;4 Previous residence is not know 10 years ago, but has not always resided in Spain;Males;Foreign;People;122 Previous residence is not know 10 years ago, but has not always resided in Spain;Females;TOTAL;People;111 Previous residence is not know 10 years ago, but has not always resided in Spain;Females;Spanish;People;8 Previous residence is not know 10 years ago, but has not always resided in Spain;Females;Foreign;People;103 Was not born;Both sexes;TOTAL;People;4,188,420 Was not born;Both sexes;Spanish;People;3,650,275 Was not born;Both sexes;Foreign;People;538,145 Was not born;Males;TOTAL;People;2,154,994 Was not born;Males;Spanish;People;1,876,734 Was not born;Males;Foreign;People;278,260 Was not born;Females;TOTAL;People;2,033,426 Was not born;Females;Spanish;People;1,773,541 Was not born;Females;Foreign;People;259,885