Continuous Register Statistics National total Population (Spaniards/foreigners) by age (3 age groups), sex and year Units: Persons ,Both sexes,,,,,,,,,,,,,,,,,,,,,,,,,Males,,,,,,,,,,,,,,,,,,,,,,,,,Females,,,,,,,,,,,,,,,,,,,,,,,,, ,2022,2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,2022,2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998,2022,2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2000,1999,1998, TOTAL AGES, TOTAL,47,475,420,47,385,107,47,450,795,47,026,208,46,722,980,46,572,132,46,557,008,46,624,382,46,771,341,47,129,783,47,265,321,47,190,493,47,021,031,46,745,807,46,157,822,45,200,737,44,708,964,44,108,530,43,197,684,42,717,064,41,837,894,41,116,842,40,499,791,40,202,160,39,852,651,23,265,381,23,222,953,23,255,590,23,042,428,22,896,602,22,832,861,22,843,610,22,890,383,22,985,676,23,196,386,23,298,356,23,283,187,23,226,185,23,116,988,22,847,737,22,339,962,22,100,466,21,780,869,21,285,247,21,034,326,20,564,089,20,165,514,19,821,384,19,670,642,19,488,465,24,210,039,24,162,154,24,195,205,23,983,780,23,826,378,23,739,271,23,713,398,23,733,999,23,785,665,23,933,397,23,966,965,23,907,306,23,794,846,23,628,819,23,310,085,22,860,775,22,608,498,22,327,661,21,912,437,21,682,738,21,273,805,20,951,328,20,678,407,20,531,518,20,364,186, Spaniards,41,932,488,41,944,959,42,016,642,41,989,330,41,988,289,41,999,325,41,938,427,41,894,738,41,747,854,41,583,545,41,529,063,41,439,006,41,273,297,41,097,136,40,889,060,40,681,183,40,564,798,40,377,920,40,163,358,40,052,896,39,859,948,39,746,185,39,575,911,39,453,204,39,215,566,20,487,167,20,497,801,20,535,713,20,522,283,20,522,724,20,527,756,20,502,104,20,480,756,20,415,429,20,341,666,20,322,848,20,284,480,20,208,250,20,124,352,20,045,064,19,944,277,19,884,997,19,788,835,19,679,524,19,619,576,19,515,911,19,448,676,19,349,918,19,291,305,19,166,204,21,445,321,21,447,158,21,480,929,21,467,047,21,465,565,21,471,569,21,436,323,21,413,982,21,332,425,21,241,879,21,206,215,21,154,526,21,065,047,20,972,784,20,843,996,20,736,906,20,679,801,20,589,085,20,483,834,20,433,320,20,344,038,20,297,508,20,225,993,20,161,898,20,049,362, Foreigners,5,542,932,5,440,148,5,434,153,5,036,878,4,734,691,4,572,807,4,618,581,4,729,644,5,023,487,5,546,238,5,736,258,5,751,487,5,747,734,5,648,671,5,268,762,4,519,554,4,144,166,3,730,610,3,034,326,2,664,168,1,977,946,1,370,657,923,879,748,954,637,085,2,778,214,2,725,152,2,719,877,2,520,145,2,373,878,2,305,105,2,341,506,2,409,627,2,570,247,2,854,720,2,975,508,2,998,707,3,017,935,2,992,636,2,802,673,2,395,685,2,215,469,1,992,034,1,605,723,1,414,750,1,048,178,716,837,471,465,379,336,322,261,2,764,718,2,714,996,2,714,276,2,516,733,2,360,813,2,267,702,2,277,075,2,320,017,2,453,240,2,691,518,2,760,750,2,752,780,2,729,799,2,656,035,2,466,089,2,123,869,1,928,697,1,738,576,1,428,603,1,249,418,929,767,653,820,452,413,369,619,314,824, % Foreigners,11.68,11.48,11.45,10.71,10.13,9.82,9.92,10.14,10.74,11.77,12.14,12.19,12.22,12.08,11.41,10.00,9.27,8.46,7.02,6.24,4.73,3.33,2.28,1.86,1.60,11.94,11.73,11.70,10.94,10.37,10.10,10.25,10.53,11.18,12.31,12.77,12.88,12.99,12.95,12.27,10.72,10.02,9.15,7.54,6.73,5.10,3.55,2.38,1.93,1.65,11.42,11.24,11.22,10.49,9.91,9.55,9.60,9.78,10.31,11.25,11.52,11.51,11.47,11.24,10.58,9.29,8.53,7.79,6.52,5.76,4.37,3.12,2.19,1.80,1.55, 0-15 years old, TOTAL,7,070,515,7,183,373,7,320,973,7,364,092,7,392,864,7,416,081,7,443,197,7,460,369,7,473,995,7,510,869,7,494,016,7,446,863,7,371,820,7,265,948,7,113,961,6,927,730,6,825,177,6,719,131,6,571,054,6,497,543,6,367,678,6,322,155,6,350,014,6,447,963,6,572,229,3,636,416,3,692,744,3,764,324,3,785,209,3,799,569,3,810,673,3,824,917,3,833,129,3,840,539,3,859,597,3,853,123,3,829,186,3,790,726,3,736,712,3,659,051,3,563,259,3,510,027,3,454,638,3,377,628,3,338,662,3,270,260,3,245,636,3,258,031,3,310,118,3,369,521,3,434,099,3,490,629,3,556,649,3,578,883,3,593,295,3,605,408,3,618,280,3,627,240,3,633,456,3,651,272,3,640,893,3,617,677,3,581,094,3,529,236,3,454,910,3,364,471,3,315,150,3,264,493,3,193,426,3,158,881,3,097,418,3,076,519,3,091,983,3,137,845,3,202,708, Spaniards,6,249,432,6,366,354,6,493,951,6,589,009,6,658,981,6,704,174,6,718,565,6,712,906,6,675,394,6,647,611,6,605,880,6,553,474,6,482,812,6,404,453,6,320,034,6,247,911,6,208,542,6,154,390,6,100,073,6,108,527,6,090,546,6,137,325,6,216,623,6,342,176,6,484,568,3,213,736,3,272,369,3,338,410,3,386,006,3,421,649,3,443,522,3,451,453,3,447,984,3,429,123,3,414,570,3,395,053,3,368,604,3,332,369,3,292,839,3,249,310,3,212,431,3,191,815,3,163,788,3,135,173,3,138,304,3,127,198,3,150,117,3,188,705,3,254,970,3,324,207,3,035,696,3,093,985,3,155,541,3,203,003,3,237,332,3,260,652,3,267,112,3,264,922,3,246,271,3,233,041,3,210,827,3,184,870,3,150,443,3,111,614,3,070,724,3,035,480,3,016,727,2,990,602,2,964,900,2,970,223,2,963,348,2,987,208,3,027,918,3,087,207,3,160,361, Foreigners,821,083,817,019,827,022,775,083,733,883,711,907,724,632,747,463,798,601,863,258,888,136,893,389,889,008,861,495,793,927,679,819,616,635,564,741,470,981,389,016,277,132,184,829,133,391,105,786,87,661,422,680,420,375,425,914,399,203,377,920,367,151,373,464,385,145,411,416,445,027,458,070,460,582,458,357,443,873,409,741,350,828,318,212,290,850,242,455,200,358,143,062,95,519,69,326,55,148,45,314,398,403,396,644,401,108,375,880,355,963,344,756,351,168,362,318,387,185,418,231,430,066,432,807,430,651,417,622,384,186,328,991,298,423,273,891,228,526,188,658,134,070,89,310,64,065,50,638,42,347, % Foreigners,11.61,11.37,11.30,10.53,9.93,9.60,9.74,10.02,10.69,11.49,11.85,12.00,12.06,11.86,11.16,9.81,9.03,8.40,7.17,5.99,4.35,2.92,2.10,1.64,1.33,11.62,11.38,11.31,10.55,9.95,9.63,9.76,10.05,10.71,11.53,11.89,12.03,12.09,11.88,11.20,9.85,9.07,8.42,7.18,6.00,4.37,2.94,2.13,1.67,1.34,11.60,11.36,11.28,10.50,9.91,9.56,9.71,9.99,10.66,11.45,11.81,11.96,12.03,11.83,11.12,9.78,9.00,8.39,7.16,5.97,4.33,2.90,2.07,1.61,1.32, 16-64 years old, TOTAL,30,925,895,30,890,906,30,911,441,30,604,923,30,421,965,30,391,847,30,456,106,30,590,028,30,854,919,31,283,053,31,549,109,31,650,073,31,718,047,31,696,955,31,410,936,30,741,181,30,399,395,30,057,132,29,325,621,28,942,901,28,300,778,27,757,134,27,287,030,27,014,634,26,778,978,15,517,289,15,497,164,15,503,734,15,345,463,15,257,322,15,253,721,15,300,996,15,380,982,15,531,682,15,771,464,15,934,673,16,004,387,16,062,028,16,076,661,15,950,385,15,586,735,15,425,910,15,235,244,14,828,108,14,625,391,14,272,415,13,958,182,13,680,598,13,531,070,13,396,822,15,408,606,15,393,742,15,407,707,15,259,460,15,164,643,15,138,126,15,155,110,15,209,046,15,323,237,15,511,589,15,614,436,15,645,686,15,656,019,15,620,294,15,460,551,15,154,446,14,973,485,14,821,888,14,497,513,14,317,510,14,028,363,13,798,951,13,606,433,13,483,564,13,382,156, Spaniards,26,619,563,26,651,738,26,676,038,26,687,026,26,741,353,26,831,128,26,861,703,26,912,612,26,934,994,26,961,724,27,055,532,27,120,486,27,168,066,27,192,709,27,191,880,27,124,289,27,075,030,27,070,598,26,910,287,26,823,339,26,730,759,26,682,774,26,596,825,26,460,048,26,305,893,13,355,903,13,371,711,13,383,065,13,386,114,13,413,150,13,459,112,13,477,731,13,505,153,13,522,455,13,541,666,13,594,462,13,631,112,13,657,792,13,670,743,13,687,091,13,655,112,13,630,971,13,623,538,13,538,578,13,488,376,13,432,469,13,392,354,13,328,053,13,250,672,13,157,733,13,263,660,13,280,027,13,292,973,13,300,912,13,328,203,13,372,016,13,383,972,13,407,459,13,412,539,13,420,058,13,461,070,13,489,374,13,510,274,13,521,966,13,504,789,13,469,177,13,444,059,13,447,060,13,371,709,13,334,963,13,298,290,13,290,419,13,268,772,13,209,376,13,148,160, Foreigners,4,306,332,4,239,168,4,235,403,3,917,897,3,680,612,3,560,719,3,594,403,3,677,416,3,919,925,4,321,329,4,493,577,4,529,587,4,549,981,4,504,246,4,219,056,3,616,892,3,324,365,2,986,534,2,415,334,2,119,562,1,570,019,1,074,360,690,205,554,586,473,085,2,161,386,2,125,453,2,120,669,1,959,349,1,844,172,1,794,609,1,823,265,1,875,829,2,009,227,2,229,798,2,340,211,2,373,275,2,404,236,2,405,918,2,263,294,1,931,623,1,794,939,1,611,706,1,289,530,1,137,015,839,945,565,828,352,544,280,398,239,089,2,144,946,2,113,715,2,114,734,1,958,548,1,836,440,1,766,110,1,771,138,1,801,587,1,910,698,2,091,531,2,153,366,2,156,312,2,145,745,2,098,328,1,955,762,1,685,269,1,529,426,1,374,828,1,125,804,982,547,730,073,508,532,337,661,274,188,233,996, % Foreigners,13.92,13.72,13.70,12.80,12.10,11.72,11.80,12.02,12.70,13.81,14.24,14.31,14.35,14.21,13.43,11.77,10.94,9.94,8.24,7.32,5.55,3.87,2.53,2.05,1.77,13.93,13.72,13.68,12.77,12.09,11.77,11.92,12.20,12.94,14.14,14.69,14.83,14.97,14.97,14.19,12.39,11.64,10.58,8.70,7.77,5.89,4.05,2.58,2.07,1.78,13.92,13.73,13.73,12.83,12.11,11.67,11.69,11.85,12.47,13.48,13.79,13.78,13.71,13.43,12.65,11.12,10.21,9.28,7.77,6.86,5.20,3.69,2.48,2.03,1.75, 65 years old and over, TOTAL,9,479,010,9,310,828,9,218,381,9,057,193,8,908,151,8,764,204,8,657,705,8,573,985,8,442,427,8,335,861,8,222,196,8,093,557,7,931,164,7,782,904,7,632,925,7,531,826,7,484,392,7,332,267,7,301,009,7,276,620,7,169,437,7,037,553,6,862,746,6,739,561,6,501,444,4,111,676,4,033,045,3,987,532,3,911,756,3,839,711,3,768,467,3,717,697,3,676,272,3,613,455,3,565,325,3,510,560,3,449,614,3,373,431,3,303,615,3,238,301,3,189,968,3,164,529,3,090,987,3,079,511,3,070,273,3,021,414,2,961,695,2,882,755,2,829,453,2,722,122,5,367,334,5,277,783,5,230,849,5,145,437,5,068,440,4,995,737,4,940,008,4,897,713,4,828,972,4,770,536,4,711,636,4,643,943,4,557,733,4,479,289,4,394,624,4,341,858,4,319,863,4,241,280,4,221,498,4,206,347,4,148,024,4,075,858,3,979,991,3,910,109,3,779,322, Spaniards,9,063,493,8,926,867,8,846,653,8,713,295,8,587,955,8,464,023,8,358,159,8,269,220,8,137,466,7,974,210,7,867,651,7,765,046,7,622,419,7,499,974,7,377,146,7,308,983,7,281,226,7,152,932,7,152,998,7,121,030,7,038,643,6,926,086,6,762,464,6,650,979,6,425,104,3,917,528,3,853,721,3,814,238,3,750,163,3,687,925,3,625,122,3,572,920,3,527,619,3,463,851,3,385,430,3,333,333,3,284,764,3,218,089,3,160,770,3,108,663,3,076,734,3,062,211,3,001,509,3,005,773,2,992,896,2,956,243,2,906,205,2,833,160,2,785,663,2,684,264,5,145,965,5,073,146,5,032,415,4,963,132,4,900,030,4,838,901,4,785,239,4,741,601,4,673,615,4,588,780,4,534,318,4,480,282,4,404,330,4,339,204,4,268,483,4,232,249,4,219,015,4,151,423,4,147,225,4,128,134,4,082,400,4,019,881,3,929,304,3,865,316,3,740,841, Foreigners,415,517,383,961,371,728,343,898,320,196,300,181,299,546,304,765,304,961,361,651,354,545,328,511,308,745,282,930,255,779,222,843,203,166,179,335,148,011,155,590,130,795,111,468,100,282,88,583,76,339,194,148,179,324,173,294,161,593,151,786,143,345,144,777,148,653,149,604,179,895,177,227,164,850,155,342,142,845,129,638,113,234,102,318,89,478,73,738,77,377,65,171,55,490,49,595,43,789,37,858,221,369,204,637,198,434,182,305,168,410,156,836,154,769,156,112,155,357,181,756,177,318,163,661,153,403,140,085,126,141,109,609,100,848,89,857,74,273,78,213,65,624,55,977,50,687,44,793,38,481, % Foreigners,4.38,4.12,4.03,3.80,3.59,3.43,3.46,3.55,3.61,4.34,4.31,4.06,3.89,3.64,3.35,2.96,2.71,2.45,2.03,2.14,1.82,1.58,1.46,1.31,1.17,4.72,4.45,4.35,4.13,3.95,3.80,3.89,4.04,4.14,5.05,5.05,4.78,4.60,4.32,4.00,3.55,3.23,2.89,2.39,2.52,2.16,1.87,1.72,1.55,1.39,4.12,3.88,3.79,3.54,3.32,3.14,3.13,3.19,3.22,3.81,3.76,3.52,3.37,3.13,2.87,2.52,2.33,2.12,1.76,1.86,1.58,1.37,1.27,1.15,1.02, Notes: Source: National Statistics Institute