Relationship between previous and current place of residence 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 Has always lived in Spain and in the same dwelling since 2001 Both sexes TOTAL People 5,029,876 Has always lived in Spain and in the same dwelling since 2001 Both sexes Spanish People 4,802,172 Has always lived in Spain and in the same dwelling since 2001 Both sexes Foreign People 227,704 Has always lived in Spain and in the same dwelling since 2001 Males TOTAL People 2,589,711 Has always lived in Spain and in the same dwelling since 2001 Males Spanish People 2,472,471 Has always lived in Spain and in the same dwelling since 2001 Males Foreign People 117,240 Has always lived in Spain and in the same dwelling since 2001 Females TOTAL People 2,440,165 Has always lived in Spain and in the same dwelling since 2001 Females Spanish People 2,329,701 Has always lived in Spain and in the same dwelling since 2001 Females Foreign People 110,464 Different dwelling in the same municipality Both sexes TOTAL People 12,562,585 Different dwelling in the same municipality Both sexes Spanish People 12,412,196 Different dwelling in the same municipality Both sexes Foreign People 150,389 Different dwelling in the same municipality Males TOTAL People 6,238,655 Different dwelling in the same municipality Males Spanish People 6,160,960 Different dwelling in the same municipality Males Foreign People 77,695 Different dwelling in the same municipality Females TOTAL People 6,323,930 Different dwelling in the same municipality Females Spanish People 6,251,236 Different dwelling in the same municipality Females Foreign People 72,694 Different municipality of the same province Both sexes TOTAL People 13,491,921 Different municipality of the same province Both sexes Spanish People 12,219,224 Different municipality of the same province Both sexes Foreign People 1,272,697 Different municipality of the same province Males TOTAL People 6,542,895 Different municipality of the same province Males Spanish People 5,904,315 Different municipality of the same province Males Foreign People 638,580 Different municipality of the same province Females TOTAL People 6,949,026 Different municipality of the same province Females Spanish People 6,314,909 Different municipality of the same province Females Foreign People 634,117 Different province of the same community Both sexes TOTAL People 1,831,451 Different province of the same community Both sexes Spanish People 1,665,221 Different province of the same community Both sexes Foreign People 166,230 Different province of the same community Males TOTAL People 875,018 Different province of the same community Males Spanish People 785,400 Different province of the same community Males Foreign People 89,618 Different province of the same community Females TOTAL People 956,433 Different province of the same community Females Spanish People 879,821 Different province of the same community Females Foreign People 76,612 Other community Both sexes TOTAL People 6,591,125 Other community Both sexes Spanish People 5,928,966 Other community Both sexes Foreign People 662,159 Other community Males TOTAL People 3,149,764 Other community Males Spanish People 2,789,096 Other community Males Foreign People 360,668 Other community Females TOTAL People 3,441,361 Other community Females Spanish People 3,139,870 Other community Females Foreign People 301,491 Resided abroad Both sexes TOTAL People 4,395,563 Resided abroad Both sexes Spanish People 1,488,669 Resided abroad Both sexes Foreign People 2,906,894 Resided abroad Males TOTAL People 2,109,962 Resided abroad Males Spanish People 687,708 Resided abroad Males Foreign People 1,422,254 Resided abroad Females TOTAL People 2,285,601 Resided abroad Females Spanish People 800,961 Resided abroad Females Foreign People 1,484,640 Previous residence is not known but has always resided in Spain Both sexes TOTAL People 3,464,721 Previous residence is not known but has always resided in Spain Both sexes Spanish People 3,460,721 Previous residence is not known but has always resided in Spain Both sexes Foreign People 4,000 Previous residence is not known but has always resided in Spain Males TOTAL People 1,726,533 Previous residence is not known but has always resided in Spain Males Spanish People 1,724,541 Previous residence is not known but has always resided in Spain Males Foreign People 1,992 Previous residence is not known but has always resided in Spain Females TOTAL People 1,738,188 Previous residence is not known but has always resided in Spain Females Spanish People 1,736,180 Previous residence is not known but has always resided in Spain Females Foreign People 2,008 Previous residence is not known and has not always resided in Spain Both sexes TOTAL People 33,556 Previous residence is not known and has not always resided in Spain Both sexes Spanish People 20,927 Previous residence is not known and has not always resided in Spain Both sexes Foreign People 12,629 Previous residence is not known and has not always resided in Spain Males TOTAL People 16,073 Previous residence is not known and has not always resided in Spain Males Spanish People 10,046 Previous residence is not known and has not always resided in Spain Males Foreign People 6,027 Previous residence is not known and has not always resided in Spain Females TOTAL People 17,483 Previous residence is not known and has not always resided in Spain Females Spanish People 10,881 Previous residence is not known and has not always resided in Spain Females Foreign People 6,602