Nationality;Sex;Age;Place of residence;Total Total;Both sexes;Total;In the same municipality;3,480,066 Total;Both sexes;Total;In another municipality of the same province;557,133 Total;Both sexes;Total;In another province of the same autonomous community;55,257 Total;Both sexes;Total;In another autonomous community within Spain;109,786 Total;Both sexes;Total;In other country;51,107 Total;Both sexes;Total;Total;4,253,349 Total;Both sexes;Less than 50 years;In the same municipality;1,121,147 Total;Both sexes;Less than 50 years;In another municipality of the same province;200,941 Total;Both sexes;Less than 50 years;In another province of the same autonomous community;20,163 Total;Both sexes;Less than 50 years;In another autonomous community within Spain;42,967 Total;Both sexes;Less than 50 years;In other country;21,577 Total;Both sexes;Less than 50 years;Total;1,406,795 Total;Both sexes;50 to 59 years;In the same municipality;481,109 Total;Both sexes;50 to 59 years;In another municipality of the same province;101,240 Total;Both sexes;50 to 59 years;In another province of the same autonomous community;10,343 Total;Both sexes;50 to 59 years;In another autonomous community within Spain;18,169 Total;Both sexes;50 to 59 years;In other country;9,337 Total;Both sexes;50 to 59 years;Total;620,197 Total;Both sexes;60 to 69 years;In the same municipality;570,934 Total;Both sexes;60 to 69 years;In another municipality of the same province;96,946 Total;Both sexes;60 to 69 years;In another province of the same autonomous community;9,014 Total;Both sexes;60 to 69 years;In another autonomous community within Spain;20,816 Total;Both sexes;60 to 69 years;In other country;9,701 Total;Both sexes;60 to 69 years;Total;707,411 Total;Both sexes;From 70 to 79 years;In the same municipality;635,471 Total;Both sexes;From 70 to 79 years;In another municipality of the same province;77,659 Total;Both sexes;From 70 to 79 years;In another province of the same autonomous community;8,931 Total;Both sexes;From 70 to 79 years;In another autonomous community within Spain;14,829 Total;Both sexes;From 70 to 79 years;In other country;7,434 Total;Both sexes;From 70 to 79 years;Total;744,323 Total;Both sexes;80 years and over;In the same municipality;671,405 Total;Both sexes;80 years and over;In another municipality of the same province;80,349 Total;Both sexes;80 years and over;In another province of the same autonomous community;6,806 Total;Both sexes;80 years and over;In another autonomous community within Spain;13,005 Total;Both sexes;80 years and over;In other country;3,058 Total;Both sexes;80 years and over;Total;774,622 Total;Men;Total;In the same municipality;1,493,700 Total;Men;Total;In another municipality of the same province;280,732 Total;Men;Total;In another province of the same autonomous community;28,968 Total;Men;Total;In another autonomous community within Spain;57,388 Total;Men;Total;In other country;24,900 Total;Men;Total;Total;1,885,687 Total;Men;Less than 50 years;In the same municipality;669,583 Total;Men;Less than 50 years;In another municipality of the same province;118,615 Total;Men;Less than 50 years;In another province of the same autonomous community;11,714 Total;Men;Less than 50 years;In another autonomous community within Spain;23,870 Total;Men;Less than 50 years;In other country;13,680 Total;Men;Less than 50 years;Total;837,462 Total;Men;50 to 59 years;In the same municipality;282,778 Total;Men;50 to 59 years;In another municipality of the same province;62,155 Total;Men;50 to 59 years;In another province of the same autonomous community;6,813 Total;Men;50 to 59 years;In another autonomous community within Spain;11,870 Total;Men;50 to 59 years;In other country;5,059 Total;Men;50 to 59 years;Total;368,674 Total;Men;60 to 69 years;In the same municipality;226,234 Total;Men;60 to 69 years;In another municipality of the same province;48,562 Total;Men;60 to 69 years;In another province of the same autonomous community;5,120 Total;Men;60 to 69 years;In another autonomous community within Spain;11,498 Total;Men;60 to 69 years;In other country;2,385 Total;Men;60 to 69 years;Total;293,798 Total;Men;From 70 to 79 years;In the same municipality;168,920 Total;Men;From 70 to 79 years;In another municipality of the same province;28,498 Total;Men;From 70 to 79 years;In another province of the same autonomous community;3,608 Total;Men;From 70 to 79 years;In another autonomous community within Spain;4,659 Total;Men;From 70 to 79 years;In other country;1,883 Total;Men;From 70 to 79 years;Total;207,568 Total;Men;80 years and over;In the same municipality;146,185 Total;Men;80 years and over;In another municipality of the same province;22,902 Total;Men;80 years and over;In another province of the same autonomous community;1,713 Total;Men;80 years and over;In another autonomous community within Spain;5,492 Total;Men;80 years and over;In other country;1,893 Total;Men;80 years and over;Total;178,185 Total;Woman;Total;In the same municipality;1,986,366 Total;Woman;Total;In another municipality of the same province;276,401 Total;Woman;Total;In another province of the same autonomous community;26,289 Total;Woman;Total;In another autonomous community within Spain;52,398 Total;Woman;Total;In other country;26,207 Total;Woman;Total;Total;2,367,661 Total;Woman;Less than 50 years;In the same municipality;451,565 Total;Woman;Less than 50 years;In another municipality of the same province;82,326 Total;Woman;Less than 50 years;In another province of the same autonomous community;8,448 Total;Woman;Less than 50 years;In another autonomous community within Spain;19,097 Total;Woman;Less than 50 years;In other country;7,898 Total;Woman;Less than 50 years;Total;569,333 Total;Woman;50 to 59 years;In the same municipality;198,330 Total;Woman;50 to 59 years;In another municipality of the same province;39,085 Total;Woman;50 to 59 years;In another province of the same autonomous community;3,530 Total;Woman;50 to 59 years;In another autonomous community within Spain;6,299 Total;Woman;50 to 59 years;In other country;4,278 Total;Woman;50 to 59 years;Total;251,523 Total;Woman;60 to 69 years;In the same municipality;344,700 Total;Woman;60 to 69 years;In another municipality of the same province;48,384 Total;Woman;60 to 69 years;In another province of the same autonomous community;3,894 Total;Woman;60 to 69 years;In another autonomous community within Spain;9,319 Total;Woman;60 to 69 years;In other country;7,316 Total;Woman;60 to 69 years;Total;413,613 Total;Woman;From 70 to 79 years;In the same municipality;466,551 Total;Woman;From 70 to 79 years;In another municipality of the same province;49,160 Total;Woman;From 70 to 79 years;In another province of the same autonomous community;5,324 Total;Woman;From 70 to 79 years;In another autonomous community within Spain;10,170 Total;Woman;From 70 to 79 years;In other country;5,550 Total;Woman;From 70 to 79 years;Total;536,755 Total;Woman;80 years and over;In the same municipality;525,219 Total;Woman;80 years and over;In another municipality of the same province;57,446 Total;Woman;80 years and over;In another province of the same autonomous community;5,093 Total;Woman;80 years and over;In another autonomous community within Spain;7,513 Total;Woman;80 years and over;In other country;1,166 Total;Woman;80 years and over;Total;596,438 Spanish;Both sexes;Total;In the same municipality;3,252,729 Spanish;Both sexes;Total;In another municipality of the same province;524,210 Spanish;Both sexes;Total;In another province of the same autonomous community;51,283 Spanish;Both sexes;Total;In another autonomous community within Spain;99,260 Spanish;Both sexes;Total;In other country;15,459 Spanish;Both sexes;Total;Total;3,942,940 Spanish;Both sexes;Less than 50 years;In the same municipality;1,009,158 Spanish;Both sexes;Less than 50 years;In another municipality of the same province;184,291 Spanish;Both sexes;Less than 50 years;In another province of the same autonomous community;18,757 Spanish;Both sexes;Less than 50 years;In another autonomous community within Spain;38,171 Spanish;Both sexes;Less than 50 years;In other country;7,032 Spanish;Both sexes;Less than 50 years;Total;1,257,409 Spanish;Both sexes;50 to 59 years;In the same municipality;441,781 Spanish;Both sexes;50 to 59 years;In another municipality of the same province;92,502 Spanish;Both sexes;50 to 59 years;In another province of the same autonomous community;9,464 Spanish;Both sexes;50 to 59 years;In another autonomous community within Spain;15,550 Spanish;Both sexes;50 to 59 years;In other country;2,436 Spanish;Both sexes;50 to 59 years;Total;561,733 Spanish;Both sexes;60 to 69 years;In the same municipality;541,040 Spanish;Both sexes;60 to 69 years;In another municipality of the same province;92,790 Spanish;Both sexes;60 to 69 years;In another province of the same autonomous community;8,512 Spanish;Both sexes;60 to 69 years;In another autonomous community within Spain;19,254 Spanish;Both sexes;60 to 69 years;In other country;1,980 Spanish;Both sexes;60 to 69 years;Total;663,576 Spanish;Both sexes;From 70 to 79 years;In the same municipality;607,490 Spanish;Both sexes;From 70 to 79 years;In another municipality of the same province;74,696 Spanish;Both sexes;From 70 to 79 years;In another province of the same autonomous community;7,833 Spanish;Both sexes;From 70 to 79 years;In another autonomous community within Spain;14,436 Spanish;Both sexes;From 70 to 79 years;In other country;2,898 Spanish;Both sexes;From 70 to 79 years;Total;707,353 Spanish;Both sexes;80 years and over;In the same municipality;653,261 Spanish;Both sexes;80 years and over;In another municipality of the same province;79,930 Spanish;Both sexes;80 years and over;In another province of the same autonomous community;6,717 Spanish;Both sexes;80 years and over;In another autonomous community within Spain;11,849 Spanish;Both sexes;80 years and over;In other country;1,113 Spanish;Both sexes;80 years and over;Total;752,869 Spanish;Men;Total;In the same municipality;1,391,309 Spanish;Men;Total;In another municipality of the same province;266,202 Spanish;Men;Total;In another province of the same autonomous community;27,219 Spanish;Men;Total;In another autonomous community within Spain;50,255 Spanish;Men;Total;In other country;7,332 Spanish;Men;Total;Total;1,742,317 Spanish;Men;Less than 50 years;In the same municipality;608,670 Spanish;Men;Less than 50 years;In another municipality of the same province;109,111 Spanish;Men;Less than 50 years;In another province of the same autonomous community;11,053 Spanish;Men;Less than 50 years;In another autonomous community within Spain;21,434 Spanish;Men;Less than 50 years;In other country;3,718 Spanish;Men;Less than 50 years;Total;753,985 Spanish;Men;50 to 59 years;In the same municipality;263,639 Spanish;Men;50 to 59 years;In another municipality of the same province;59,184 Spanish;Men;50 to 59 years;In another province of the same autonomous community;6,535 Spanish;Men;50 to 59 years;In another autonomous community within Spain;9,874 Spanish;Men;50 to 59 years;In other country;1,628 Spanish;Men;50 to 59 years;Total;340,860 Spanish;Men;60 to 69 years;In the same municipality;216,722 Spanish;Men;60 to 69 years;In another municipality of the same province;47,661 Spanish;Men;60 to 69 years;In another province of the same autonomous community;4,707 Spanish;Men;60 to 69 years;In another autonomous community within Spain;10,023 Spanish;Men;60 to 69 years;In other country;445 Spanish;Men;60 to 69 years;Total;279,559 Spanish;Men;From 70 to 79 years;In the same municipality;160,950 Spanish;Men;From 70 to 79 years;In another municipality of the same province;27,343 Spanish;Men;From 70 to 79 years;In another province of the same autonomous community;3,212 Spanish;Men;From 70 to 79 years;In another autonomous community within Spain;4,588 Spanish;Men;From 70 to 79 years;In other country;699 Spanish;Men;From 70 to 79 years;Total;196,793 Spanish;Men;80 years and over;In the same municipality;141,327 Spanish;Men;80 years and over;In another municipality of the same province;22,902 Spanish;Men;80 years and over;In another province of the same autonomous community;1,713 Spanish;Men;80 years and over;In another autonomous community within Spain;4,336 Spanish;Men;80 years and over;In other country;842 Spanish;Men;80 years and over;Total;171,120 Spanish;Woman;Total;In the same municipality;1,861,421 Spanish;Woman;Total;In another municipality of the same province;258,008 Spanish;Woman;Total;In another province of the same autonomous community;24,064 Spanish;Woman;Total;In another autonomous community within Spain;49,004 Spanish;Woman;Total;In other country;8,127 Spanish;Woman;Total;Total;2,200,624 Spanish;Woman;Less than 50 years;In the same municipality;400,488 Spanish;Woman;Less than 50 years;In another municipality of the same province;75,181 Spanish;Woman;Less than 50 years;In another province of the same autonomous community;7,704 Spanish;Woman;Less than 50 years;In another autonomous community within Spain;16,737 Spanish;Woman;Less than 50 years;In other country;3,314 Spanish;Woman;Less than 50 years;Total;503,425 Spanish;Woman;50 to 59 years;In the same municipality;178,141 Spanish;Woman;50 to 59 years;In another municipality of the same province;33,318 Spanish;Woman;50 to 59 years;In another province of the same autonomous community;2,930 Spanish;Woman;50 to 59 years;In another autonomous community within Spain;5,676 Spanish;Woman;50 to 59 years;In other country;807 Spanish;Woman;50 to 59 years;Total;220,873 Spanish;Woman;60 to 69 years;In the same municipality;324,318 Spanish;Woman;60 to 69 years;In another municipality of the same province;45,129 Spanish;Woman;60 to 69 years;In another province of the same autonomous community;3,804 Spanish;Woman;60 to 69 years;In another autonomous community within Spain;9,231 Spanish;Woman;60 to 69 years;In other country;1,535 Spanish;Woman;60 to 69 years;Total;384,017 Spanish;Woman;From 70 to 79 years;In the same municipality;446,540 Spanish;Woman;From 70 to 79 years;In another municipality of the same province;47,353 Spanish;Woman;From 70 to 79 years;In another province of the same autonomous community;4,621 Spanish;Woman;From 70 to 79 years;In another autonomous community within Spain;9,847 Spanish;Woman;From 70 to 79 years;In other country;2,198 Spanish;Woman;From 70 to 79 years;Total;510,560 Spanish;Woman;80 years and over;In the same municipality;511,933 Spanish;Woman;80 years and over;In another municipality of the same province;57,027 Spanish;Woman;80 years and over;In another province of the same autonomous community;5,004 Spanish;Woman;80 years and over;In another autonomous community within Spain;7,513 Spanish;Woman;80 years and over;In other country;271 Spanish;Woman;80 years and over;Total;581,749 foreign;Both sexes;Total;In the same municipality;227,337 foreign;Both sexes;Total;In another municipality of the same province;32,924 foreign;Both sexes;Total;In another province of the same autonomous community;3,974 foreign;Both sexes;Total;In another autonomous community within Spain;10,526 foreign;Both sexes;Total;In other country;35,648 foreign;Both sexes;Total;Total;310,408 foreign;Both sexes;Less than 50 years;In the same municipality;111,990 foreign;Both sexes;Less than 50 years;In another municipality of the same province;16,650 foreign;Both sexes;Less than 50 years;In another province of the same autonomous community;1,406 foreign;Both sexes;Less than 50 years;In another autonomous community within Spain;4,796 foreign;Both sexes;Less than 50 years;In other country;14,545 foreign;Both sexes;Less than 50 years;Total;149,386 foreign;Both sexes;50 to 59 years;In the same municipality;39,328 foreign;Both sexes;50 to 59 years;In another municipality of the same province;8,738 foreign;Both sexes;50 to 59 years;In another province of the same autonomous community;. foreign;Both sexes;50 to 59 years;In another autonomous community within Spain;2,619 foreign;Both sexes;50 to 59 years;In other country;6,901 foreign;Both sexes;50 to 59 years;Total;58,464 foreign;Both sexes;60 to 69 years;In the same municipality;29,894 foreign;Both sexes;60 to 69 years;In another municipality of the same province;4,155 foreign;Both sexes;60 to 69 years;In another province of the same autonomous community;502 foreign;Both sexes;60 to 69 years;In another autonomous community within Spain;1,563 foreign;Both sexes;60 to 69 years;In other country;7,721 foreign;Both sexes;60 to 69 years;Total;43,835 foreign;Both sexes;From 70 to 79 years;In the same municipality;27,981 foreign;Both sexes;From 70 to 79 years;In another municipality of the same province;2,962 foreign;Both sexes;From 70 to 79 years;In another province of the same autonomous community;1,098 foreign;Both sexes;From 70 to 79 years;In another autonomous community within Spain;393 foreign;Both sexes;From 70 to 79 years;In other country;4,536 foreign;Both sexes;From 70 to 79 years;Total;36,970 foreign;Both sexes;80 years and over;In the same municipality;18,144 foreign;Both sexes;80 years and over;In another municipality of the same province;419 foreign;Both sexes;80 years and over;In another province of the same autonomous community;. foreign;Both sexes;80 years and over;In another autonomous community within Spain;. foreign;Both sexes;80 years and over;In other country;1,945 foreign;Both sexes;80 years and over;Total;21,753 foreign;Men;Total;In the same municipality;102,392 foreign;Men;Total;In another municipality of the same province;14,531 foreign;Men;Total;In another province of the same autonomous community;1,749 foreign;Men;Total;In another autonomous community within Spain;7,132 foreign;Men;Total;In other country;17,567 foreign;Men;Total;Total;143,371 foreign;Men;Less than 50 years;In the same municipality;60,913 foreign;Men;Less than 50 years;In another municipality of the same province;9,505 foreign;Men;Less than 50 years;In another province of the same autonomous community;662 foreign;Men;Less than 50 years;In another autonomous community within Spain;2,436 foreign;Men;Less than 50 years;In other country;9,962 foreign;Men;Less than 50 years;Total;83,477 foreign;Men;50 to 59 years;In the same municipality;19,139 foreign;Men;50 to 59 years;In another municipality of the same province;2,970 foreign;Men;50 to 59 years;In another province of the same autonomous community;. foreign;Men;50 to 59 years;In another autonomous community within Spain;1,996 foreign;Men;50 to 59 years;In other country;3,431 foreign;Men;50 to 59 years;Total;27,814 foreign;Men;60 to 69 years;In the same municipality;9,511 foreign;Men;60 to 69 years;In another municipality of the same province;901 foreign;Men;60 to 69 years;In another province of the same autonomous community;. foreign;Men;60 to 69 years;In another autonomous community within Spain;1,475 foreign;Men;60 to 69 years;In other country;1,940 foreign;Men;60 to 69 years;Total;14,240 foreign;Men;From 70 to 79 years;In the same municipality;7,970 foreign;Men;From 70 to 79 years;In another municipality of the same province;1,155 foreign;Men;From 70 to 79 years;In another province of the same autonomous community;. foreign;Men;From 70 to 79 years;In another autonomous community within Spain;. foreign;Men;From 70 to 79 years;In other country;1,184 foreign;Men;From 70 to 79 years;Total;10,775 foreign;Men;80 years and over;In the same municipality;4,858 foreign;Men;80 years and over;In another municipality of the same province;. foreign;Men;80 years and over;In another province of the same autonomous community;. foreign;Men;80 years and over;In another autonomous community within Spain;. foreign;Men;80 years and over;In other country;. foreign;Men;80 years and over;Total;7,065 foreign;Woman;Total;In the same municipality;124,945 foreign;Woman;Total;In another municipality of the same province;18,393 foreign;Woman;Total;In another province of the same autonomous community;2,225 foreign;Woman;Total;In another autonomous community within Spain;3,394 foreign;Woman;Total;In other country;18,081 foreign;Woman;Total;Total;167,038 foreign;Woman;Less than 50 years;In the same municipality;51,077 foreign;Woman;Less than 50 years;In another municipality of the same province;7,145 foreign;Woman;Less than 50 years;In another province of the same autonomous community;. foreign;Woman;Less than 50 years;In another autonomous community within Spain;2,360 foreign;Woman;Less than 50 years;In other country;4,583 foreign;Woman;Less than 50 years;Total;65,909 foreign;Woman;50 to 59 years;In the same municipality;20,189 foreign;Woman;50 to 59 years;In another municipality of the same province;5,767 foreign;Woman;50 to 59 years;In another province of the same autonomous community;. foreign;Woman;50 to 59 years;In another autonomous community within Spain;623 foreign;Woman;50 to 59 years;In other country;3,470 foreign;Woman;50 to 59 years;Total;30,650 foreign;Woman;60 to 69 years;In the same municipality;20,382 foreign;Woman;60 to 69 years;In another municipality of the same province;3,255 foreign;Woman;60 to 69 years;In another province of the same autonomous community;. foreign;Woman;60 to 69 years;In another autonomous community within Spain;. foreign;Woman;60 to 69 years;In other country;5,781 foreign;Woman;60 to 69 years;Total;29,595 foreign;Woman;From 70 to 79 years;In the same municipality;20,011 foreign;Woman;From 70 to 79 years;In another municipality of the same province;1,807 foreign;Woman;From 70 to 79 years;In another province of the same autonomous community;. foreign;Woman;From 70 to 79 years;In another autonomous community within Spain;322 foreign;Woman;From 70 to 79 years;In other country;3,352 foreign;Woman;From 70 to 79 years;Total;26,195 foreign;Woman;80 years and over;In the same municipality;13,286 foreign;Woman;80 years and over;In another municipality of the same province;419 foreign;Woman;80 years and over;In another province of the same autonomous community;. foreign;Woman;80 years and over;In another autonomous community within Spain;. foreign;Woman;80 years and over;In other country;894 foreign;Woman;80 years and over;Total;14,688