Topics
Country or area · Southern Europe · Europe · UN WPP 2024
Spain population
Spain population now
47,839,078
A projection read at this second, not a count: the UN's totals for 1 January 2026 and 2027, joined by a straight line. 95% range for 31 December 2026: 47.0–48.7 million.
Mid-2023, UN estimate: 47,911,580
- Year
- 2026
- projection · medium
- Population, mid-2026
- 47.8508 million
- 95% range, 31 Dec: 47.0–48.7 million
- Median age
- 47.3
- Aged 65+
- 22.2%
male female projection · one cell = 10,000 people
How to read this: one row for each age, newborns at the bottom; men on the left, women on the right.
ESP · 1950–2100 · in brief
Spain in numbers
In mid-2023 there were 47,911,580 people in Spain: the 32nd-largest population of the 236 countries and areas the UN reports, and 0.59% of the world's people. That is 1.7 times its 1950 population of 28.1 million.
Its population peaked in 2023 at 47.9 million. The UN's medium projection has 33.1 million in 2100. The projection is uncertain: on 1 January 2100 the UN's 95% range runs from 8.6 million to 94.6 million.
Since 2015, more people have died here each year than have been born, and the UN's projection has that holding every year to 2100. The population still grew until 2023, because more people arrived than left.
The median age was 27.5 in 1950 and 45.9 in 2023; the projection has 53.2 in 2100. 20.7% of people were 65 or older in 2023, against 36.3% projected for 2100. The working-age population (15–64) peaked in 2009 at 32.0 million; in 2023 it was 31.7 million.
Among countries it ranks 32nd in 2023, 48th in 2050 and 62nd in 2100. In the medium projection it overtakes South Korea in 2051. It is overtaken by Algeria in 2026, Iraq in 2026 and Afghanistan in 2029.
- Population, mid-2023
- 47,911,580
- Rank by population, 2023
- 32 of 236
- Share of the world, 2023
- 0.59%
- Change in a year, mid-2022 to mid-2023
- +0.17% · +83,198 people
- People per km² of land, 2023
- 96
- Land area, 2023
- 499,697 km²
- Births, 2023
- 336,821
- Deaths, 2023
- 447,463
- Net migration, 2023
- +119,099
- Children per woman, 2023
- 1.21
- Median age, 2023
- 45.9 years
- Life expectancy at birth, 2023
- 83.7 years
- In a city, 2025
- 51 of every 100
- Population, mid-1950
- 28,077,048
- Projected, mid-2050
- 44,928,558
- Projected, mid-2100
- 33,127,478
ESP · 1950–2100 · total population
Population, 1950–2100
estimate projection, up to the bottom of the 95% range 95% range medium projection. Each column is the population on 1 January of one year; the paper rules cut it into equal cells.
Show the numbers: Spain, 1950–2100
| Year | Kind | Population, 1 Jan | 95% range | Births | Deaths | Children per woman | Life expectancy |
|---|---|---|---|---|---|---|---|
| 1950 | estimate | 28,015,563 | 562,979 | 310,446 | 2.47 | 61.8 | |
| 1951 | estimate | 28,138,534 | 566,982 | 328,879 | 2.46 | 61.5 | |
| 1952 | estimate | 28,291,187 | 591,257 | 276,716 | 2.54 | 64.8 | |
| 1953 | estimate | 28,520,896 | 587,913 | 278,075 | 2.50 | 65.7 | |
| 1954 | estimate | 28,744,498 | 578,266 | 263,550 | 2.44 | 66.9 | |
| 1955 | estimate | 28,971,159 | 598,329 | 274,259 | 2.51 | 66.7 | |
| 1956 | estimate | 29,208,394 | 609,863 | 289,170 | 2.54 | 66.8 | |
| 1957 | estimate | 29,438,945 | 646,545 | 293,637 | 2.69 | 66.6 | |
| 1958 | estimate | 29,700,983 | 655,807 | 259,425 | 2.73 | 68.8 | |
| 1959 | estimate | 29,998,335 | 658,960 | 268,288 | 2.75 | 68.7 | |
| 1960 | estimate | 30,283,079 | 666,956 | 268,368 | 2.81 | 69.2 | |
| 1961 | estimate | 30,526,798 | 653,461 | 261,405 | 2.78 | 69.6 | |
| 1962 | estimate | 30,872,335 | 655,664 | 274,912 | 2.80 | 69.6 | |
| 1963 | estimate | 31,207,876 | 668,319 | 279,970 | 2.88 | 69.8 | |
| 1964 | estimate | 31,551,778 | 691,964 | 270,894 | 3.00 | 70.5 | |
| 1965 | estimate | 31,931,393 | 672,077 | 271,051 | 2.93 | 70.9 | |
| 1966 | estimate | 32,289,943 | 666,122 | 272,765 | 2.91 | 71.2 | |
| 1967 | estimate | 32,641,825 | 677,471 | 277,279 | 2.97 | 71.3 | |
| 1968 | estimate | 32,999,676 | 666,491 | 279,513 | 2.92 | 71.7 | |
| 1969 | estimate | 33,340,565 | 662,976 | 300,273 | 2.90 | 71.1 | |
| 1970 | estimate | 33,653,306 | 661,752 | 282,344 | 2.88 | 72.2 | |
| 1971 | estimate | 33,972,140 | 667,944 | 304,671 | 2.90 | 71.7 | |
| 1972 | estimate | 34,342,762 | 668,185 | 281,922 | 2.87 | 73.0 | |
| 1973 | estimate | 34,736,972 | 668,545 | 298,069 | 2.84 | 72.7 | |
| 1974 | estimate | 35,116,075 | 682,664 | 297,136 | 2.87 | 73.1 | |
| 1975 | estimate | 35,607,448 | 672,100 | 295,228 | 2.77 | 73.5 | |
| 1976 | estimate | 35,984,090 | 677,991 | 296,412 | 2.76 | 73.8 | |
| 1977 | estimate | 36,368,470 | 658,255 | 291,325 | 2.65 | 74.3 | |
| 1978 | estimate | 36,734,070 | 637,702 | 293,409 | 2.54 | 74.5 | |
| 1979 | estimate | 37,075,865 | 603,239 | 288,291 | 2.37 | 75.0 | |
| 1980 | estimate | 37,384,880 | 571,317 | 286,119 | 2.21 | 75.5 | |
| 1981 | estimate | 37,690,249 | 533,112 | 290,746 | 2.04 | 75.7 | |
| 1982 | estimate | 37,935,176 | 515,001 | 283,763 | 1.94 | 76.3 | |
| 1983 | estimate | 38,159,027 | 486,962 | 299,771 | 1.80 | 76.1 | |
| 1984 | estimate | 38,347,461 | 474,249 | 296,964 | 1.72 | 76.5 | |
| 1985 | estimate | 38,527,504 | 458,808 | 310,577 | 1.64 | 76.4 | |
| 1986 | estimate | 38,675,138 | 442,437 | 307,762 | 1.55 | 76.7 | |
| 1987 | estimate | 38,796,273 | 431,001 | 306,856 | 1.49 | 77.0 | |
| 1988 | estimate | 38,907,746 | 423,051 | 316,346 | 1.44 | 77.0 | |
| 1989 | estimate | 38,996,782 | 413,540 | 322,095 | 1.40 | 77.0 | |
| 1990 | estimate | 39,062,333 | 406,392 | 330,424 | 1.36 | 77.0 | |
| 1991 | estimate | 39,107,625 | 400,241 | 334,812 | 1.32 | 77.1 | |
| 1992 | estimate | 39,295,893 | 399,930 | 328,561 | 1.31 | 77.6 | |
| 1993 | estimate | 39,544,798 | 389,526 | 336,789 | 1.25 | 77.7 | |
| 1994 | estimate | 39,758,444 | 374,631 | 334,490 | 1.19 | 78.1 | |
| 1995 | estimate | 39,958,997 | 367,216 | 342,168 | 1.15 | 78.2 | |
| 1996 | estimate | 40,146,478 | 366,456 | 347,367 | 1.14 | 78.3 | |
| 1997 | estimate | 40,328,266 | 371,212 | 345,443 | 1.15 | 78.8 | |
| 1998 | estimate | 40,519,386 | 369,291 | 356,103 | 1.13 | 78.9 | |
| 1999 | estimate | 40,715,495 | 382,692 | 366,533 | 1.17 | 78.9 | |
| 2000 | estimate | 40,910,218 | 399,049 | 356,197 | 1.21 | 79.4 | |
| 2001 | estimate | 41,129,331 | 406,377 | 355,155 | 1.23 | 79.7 | |
| 2002 | estimate | 41,361,868 | 413,223 | 363,428 | 1.25 | 79.8 | |
| 2003 | estimate | 42,149,540 | 434,713 | 379,131 | 1.29 | 79.8 | |
| 2004 | estimate | 42,863,546 | 447,528 | 366,647 | 1.31 | 80.3 | |
| 2005 | estimate | 43,605,586 | 458,937 | 382,149 | 1.33 | 80.3 | |
| 2006 | estimate | 44,312,184 | 473,449 | 366,641 | 1.36 | 81.0 | |
| 2007 | estimate | 45,078,711 | 483,893 | 380,620 | 1.38 | 81.0 | |
| 2008 | estimate | 45,954,303 | 509,388 | 382,016 | 1.44 | 81.3 | |
| 2009 | estimate | 46,515,805 | 490,774 | 381,576 | 1.38 | 81.6 | |
| 2010 | estimate | 46,754,555 | 481,432 | 379,015 | 1.37 | 82.0 | |
| 2011 | estimate | 46,926,388 | 466,867 | 384,310 | 1.34 | 82.2 | |
| 2012 | estimate | 47,069,697 | 451,253 | 400,516 | 1.32 | 82.2 | |
| 2013 | estimate | 46,966,948 | 426,037 | 388,411 | 1.28 | 82.7 | |
| 2014 | estimate | 46,753,830 | 424,669 | 394,084 | 1.31 | 82.8 | |
| 2015 | estimate | 46,686,545 | 417,031 | 420,774 | 1.33 | 82.6 | |
| 2016 | estimate | 46,680,827 | 406,867 | 409,455 | 1.33 | 83.0 | |
| 2017 | estimate | 46,784,715 | 389,984 | 423,359 | 1.30 | 83.0 | |
| 2018 | estimate | 46,952,476 | 370,110 | 426,886 | 1.26 | 83.1 | |
| 2019 | estimate | 47,233,166 | 357,540 | 418,410 | 1.23 | 83.5 | |
| 2020 | estimate | 47,637,072 | 343,355 | 495,378 | 1.19 | 82.2 | |
| 2021 | estimate | 47,721,906 | 340,310 | 457,182 | 1.19 | 83.0 | |
| 2022 | estimate | 47,749,421 | 339,675 | 481,524 | 1.21 | 82.4 | |
| 2023 | estimate | 47,907,344 | 336,821 | 447,463 | 1.21 | 83.7 | |
| 2024 | estimate | 47,915,815 | 333,155 | 455,404 | 1.22 | 83.8 | |
| 2025 | projection | 47,905,238 | 47.7–48.1 million | 330,044 | 457,236 | 1.23 | 84.0 |
| 2026 | projection | 47,874,678 | 47.4–48.4 million | 327,412 | 460,482 | 1.24 | 84.1 |
| 2027 | projection | 47,826,907 | 47.0–48.7 million | 324,607 | 462,551 | 1.24 | 84.2 |
| 2028 | projection | 47,777,635 | 46.6–49.0 million | 322,894 | 465,321 | 1.25 | 84.4 |
| 2029 | projection | 47,719,497 | 46.2–49.3 million | 321,735 | 468,200 | 1.26 | 84.5 |
| 2030 | projection | 47,652,032 | 45.7–49.6 million | 320,841 | 471,338 | 1.26 | 84.6 |
| 2031 | projection | 47,569,007 | 45.2–50.0 million | 320,892 | 474,904 | 1.27 | 84.8 |
| 2032 | projection | 47,477,971 | 44.8–50.3 million | 321,870 | 478,879 | 1.27 | 84.9 |
| 2033 | projection | 47,389,074 | 44.3–50.7 million | 323,286 | 482,968 | 1.28 | 85.0 |
| 2034 | projection | 47,299,037 | 43.9–51.1 million | 325,802 | 488,732 | 1.28 | 85.2 |
| 2035 | projection | 47,205,242 | 43.4–51.5 million | 328,485 | 494,340 | 1.29 | 85.3 |
| 2036 | projection | 47,103,150 | 42.9–51.9 million | 331,985 | 500,462 | 1.29 | 85.4 |
| 2037 | projection | 46,995,789 | 42.4–52.4 million | 335,173 | 506,388 | 1.30 | 85.5 |
| 2038 | projection | 46,885,829 | 41.8–52.9 million | 338,345 | 512,893 | 1.30 | 85.7 |
| 2039 | projection | 46,774,542 | 41.1–53.3 million | 341,019 | 519,215 | 1.31 | 85.8 |
| 2040 | projection | 46,654,767 | 40.6–53.7 million | 343,441 | 525,644 | 1.31 | 85.9 |
| 2041 | projection | 46,528,581 | 40.0–54.2 million | 345,147 | 532,502 | 1.32 | 86.0 |
| 2042 | projection | 46,397,629 | 39.4–54.7 million | 345,710 | 538,668 | 1.33 | 86.2 |
| 2043 | projection | 46,257,590 | 38.8–55.1 million | 344,856 | 545,686 | 1.33 | 86.3 |
| 2044 | projection | 46,118,256 | 38.3–55.7 million | 343,844 | 552,859 | 1.34 | 86.4 |
| 2045 | projection | 45,963,764 | 37.8–56.1 million | 340,996 | 559,919 | 1.34 | 86.5 |
| 2046 | projection | 45,796,164 | 37.0–56.4 million | 337,691 | 567,311 | 1.35 | 86.7 |
| 2047 | projection | 45,621,797 | 36.5–56.7 million | 333,655 | 574,831 | 1.35 | 86.8 |
| 2048 | projection | 45,437,478 | 35.9–57.0 million | 328,068 | 582,422 | 1.35 | 86.9 |
| 2049 | projection | 45,246,725 | 35.1–57.3 million | 322,942 | 589,757 | 1.36 | 87.0 |
| 2050 | projection | 45,034,599 | 34.3–57.7 million | 317,740 | 598,105 | 1.36 | 87.1 |
| 2051 | projection | 44,822,516 | 33.8–58.3 million | 312,380 | 604,786 | 1.36 | 87.3 |
| 2052 | projection | 44,602,043 | 33.1–58.8 million | 307,589 | 612,315 | 1.37 | 87.4 |
| 2053 | projection | 44,359,451 | 32.4–59.4 million | 302,919 | 619,169 | 1.37 | 87.5 |
| 2054 | projection | 44,100,244 | 31.7–59.8 million | 298,067 | 625,105 | 1.38 | 87.7 |
| 2055 | projection | 43,838,126 | 31.1–60.3 million | 294,189 | 631,603 | 1.38 | 87.8 |
| 2056 | projection | 43,567,339 | 30.5–60.8 million | 290,371 | 636,507 | 1.38 | 87.9 |
| 2057 | projection | 43,270,106 | 29.8–61.0 million | 287,149 | 641,407 | 1.39 | 88.0 |
| 2058 | projection | 42,973,127 | 29.0–61.4 million | 284,499 | 646,039 | 1.39 | 88.1 |
| 2059 | projection | 42,675,748 | 28.4–62.0 million | 282,733 | 649,898 | 1.39 | 88.2 |
| 2060 | projection | 42,366,485 | 27.9–62.8 million | 281,441 | 652,912 | 1.39 | 88.4 |
| 2061 | projection | 42,055,191 | 27.3–63.2 million | 281,065 | 655,176 | 1.40 | 88.5 |
| 2062 | projection | 41,730,314 | 26.4–63.6 million | 280,645 | 655,596 | 1.41 | 88.6 |
| 2063 | projection | 41,402,131 | 25.8–64.2 million | 280,073 | 656,596 | 1.41 | 88.7 |
| 2064 | projection | 41,078,452 | 24.9–64.8 million | 280,036 | 655,623 | 1.41 | 88.8 |
| 2065 | projection | 40,749,768 | 24.2–65.2 million | 279,977 | 653,941 | 1.41 | 88.9 |
| 2066 | projection | 40,430,984 | 23.3–65.4 million | 280,562 | 651,453 | 1.42 | 89.1 |
| 2067 | projection | 40,112,717 | 22.7–66.3 million | 281,652 | 648,536 | 1.42 | 89.2 |
| 2068 | projection | 39,800,541 | 22.2–66.7 million | 282,680 | 644,101 | 1.43 | 89.3 |
| 2069 | projection | 39,487,680 | 21.6–67.1 million | 283,352 | 638,265 | 1.43 | 89.4 |
| 2070 | projection | 39,186,370 | 21.1–67.7 million | 283,806 | 632,250 | 1.43 | 89.5 |
| 2071 | projection | 38,885,168 | 20.4–68.9 million | 284,659 | 624,268 | 1.43 | 89.6 |
| 2072 | projection | 38,596,882 | 19.8–68.8 million | 285,225 | 614,769 | 1.44 | 89.8 |
| 2073 | projection | 38,310,265 | 19.2–69.6 million | 285,410 | 605,353 | 1.44 | 89.9 |
| 2074 | projection | 38,037,051 | 18.5–70.2 million | 285,637 | 594,943 | 1.44 | 90.0 |
| 2075 | projection | 37,770,566 | 18.0–70.3 million | 285,131 | 583,748 | 1.44 | 90.1 |
| 2076 | projection | 37,518,677 | 17.4–71.2 million | 284,953 | 571,598 | 1.45 | 90.2 |
| 2077 | projection | 37,277,097 | 16.8–72.0 million | 284,021 | 559,133 | 1.45 | 90.3 |
| 2078 | projection | 37,049,697 | 16.2–73.0 million | 283,158 | 547,213 | 1.45 | 90.4 |
| 2079 | projection | 36,834,313 | 15.7–73.9 million | 281,950 | 535,075 | 1.46 | 90.5 |
| 2080 | projection | 36,624,362 | 15.3–74.4 million | 280,207 | 523,816 | 1.46 | 90.7 |
| 2081 | projection | 36,424,708 | 15.0–75.5 million | 277,537 | 513,060 | 1.46 | 90.8 |
| 2082 | projection | 36,231,145 | 14.5–76.4 million | 275,177 | 502,178 | 1.46 | 90.9 |
| 2083 | projection | 36,047,752 | 14.1–77.5 million | 272,304 | 492,609 | 1.46 | 91.0 |
| 2084 | projection | 35,866,229 | 13.6–78.5 million | 269,518 | 483,437 | 1.46 | 91.1 |
| 2085 | projection | 35,691,222 | 13.4–79.0 million | 266,651 | 475,703 | 1.46 | 91.2 |
| 2086 | projection | 35,519,077 | 13.1–80.1 million | 264,061 | 468,317 | 1.46 | 91.3 |
| 2087 | projection | 35,354,775 | 12.8–81.1 million | 261,819 | 461,860 | 1.47 | 91.5 |
| 2088 | projection | 35,192,409 | 12.4–82.0 million | 259,357 | 456,446 | 1.47 | 91.6 |
| 2089 | projection | 35,025,912 | 12.0–82.7 million | 256,930 | 451,907 | 1.47 | 91.7 |
| 2090 | projection | 34,857,095 | 11.7–83.7 million | 254,701 | 448,553 | 1.47 | 91.8 |
| 2091 | projection | 34,691,379 | 11.3–84.5 million | 252,676 | 445,591 | 1.47 | 91.9 |
| 2092 | projection | 34,532,240 | 11.1–85.7 million | 250,754 | 442,897 | 1.47 | 92.0 |
| 2093 | projection | 34,374,694 | 10.8–86.7 million | 249,365 | 442,292 | 1.47 | 92.1 |
| 2094 | projection | 34,215,784 | 10.5–88.3 million | 248,155 | 441,465 | 1.48 | 92.2 |
| 2095 | projection | 34,056,262 | 10.2–89.6 million | 247,470 | 442,592 | 1.48 | 92.3 |
| 2096 | projection | 33,892,051 | 10.0–91.8 million | 246,616 | 443,378 | 1.48 | 92.4 |
| 2097 | projection | 33,730,314 | 9.7–92.7 million | 245,882 | 445,813 | 1.48 | 92.5 |
| 2098 | projection | 33,561,669 | 9.5–93.2 million | 245,331 | 447,482 | 1.48 | 92.6 |
| 2099 | projection | 33,389,794 | 9.1–94.4 million | 244,824 | 448,769 | 1.48 | 92.8 |
| 2100 | projection | 33,216,190 | 8.6–94.6 million | 244,706 | 450,706 | 1.48 | 92.9 |
Show the numbers: Spain, mid-2026, by single year of age
| Age | Male | Female |
|---|---|---|
| 0 | 170,212 | 160,164 |
| 1 | 172,571 | 162,862 |
| 2 | 174,828 | 165,258 |
| 3 | 176,938 | 167,305 |
| 4 | 178,684 | 169,050 |
| 5 | 179,320 | 170,630 |
| 6 | 186,108 | 177,241 |
| 7 | 195,332 | 185,505 |
| 8 | 205,199 | 194,365 |
| 9 | 218,169 | 206,227 |
| 10 | 226,550 | 214,522 |
| 11 | 231,444 | 218,393 |
| 12 | 232,034 | 218,779 |
| 13 | 237,368 | 224,052 |
| 14 | 247,310 | 232,940 |
| 15 | 253,281 | 238,892 |
| 16 | 259,387 | 244,257 |
| 17 | 269,442 | 253,584 |
| 18 | 273,054 | 258,168 |
| 19 | 271,212 | 257,506 |
| 20 | 271,508 | 259,348 |
| 21 | 271,041 | 259,039 |
| 22 | 269,621 | 257,158 |
| 23 | 264,236 | 250,711 |
| 24 | 260,274 | 245,684 |
| 25 | 260,369 | 245,528 |
| 26 | 257,157 | 243,710 |
| 27 | 250,488 | 238,614 |
| 28 | 249,136 | 238,640 |
| 29 | 249,656 | 241,938 |
| 30 | 250,344 | 243,166 |
| 31 | 254,271 | 247,156 |
| 32 | 261,446 | 254,800 |
| 33 | 270,018 | 264,087 |
| 34 | 273,692 | 268,034 |
| 35 | 275,881 | 270,595 |
| 36 | 280,244 | 276,592 |
| 37 | 285,218 | 282,898 |
| 38 | 289,314 | 287,614 |
| 39 | 293,501 | 292,959 |
| 40 | 301,095 | 301,270 |
| 41 | 309,826 | 309,354 |
| 42 | 319,276 | 317,540 |
| 43 | 333,573 | 330,016 |
| 44 | 348,264 | 342,190 |
| 45 | 369,154 | 362,672 |
| 46 | 384,274 | 378,363 |
| 47 | 393,144 | 384,825 |
| 48 | 405,196 | 394,152 |
| 49 | 410,456 | 399,090 |
| 50 | 411,366 | 400,011 |
| 51 | 408,790 | 397,007 |
| 52 | 401,459 | 390,258 |
| 53 | 393,206 | 385,266 |
| 54 | 387,010 | 382,718 |
| 55 | 380,214 | 377,602 |
| 56 | 374,384 | 374,477 |
| 57 | 368,308 | 372,157 |
| 58 | 365,066 | 372,344 |
| 59 | 365,315 | 373,090 |
| 60 | 359,119 | 369,178 |
| 61 | 354,304 | 369,055 |
| 62 | 346,019 | 362,622 |
| 63 | 329,094 | 347,010 |
| 64 | 315,411 | 336,401 |
| 65 | 304,199 | 331,313 |
| 66 | 294,937 | 325,302 |
| 67 | 286,596 | 314,910 |
| 68 | 276,664 | 305,339 |
| 69 | 259,416 | 289,802 |
| 70 | 242,776 | 274,068 |
| 71 | 229,046 | 262,807 |
| 72 | 220,243 | 254,271 |
| 73 | 216,770 | 250,812 |
| 74 | 205,190 | 241,335 |
| 75 | 191,969 | 230,344 |
| 76 | 187,426 | 229,966 |
| 77 | 188,824 | 236,643 |
| 78 | 178,950 | 228,016 |
| 79 | 160,736 | 209,152 |
| 80 | 153,298 | 204,416 |
| 81 | 145,648 | 198,165 |
| 82 | 133,730 | 186,432 |
| 83 | 116,345 | 166,402 |
| 84 | 96,735 | 142,134 |
| 85 | 94,914 | 145,324 |
| 86 | 78,558 | 126,552 |
| 87 | 60,437 | 101,150 |
| 88 | 60,264 | 104,974 |
| 89 | 56,958 | 106,325 |
| 90 | 49,892 | 97,831 |
| 91 | 40,958 | 83,811 |
| 92 | 33,562 | 72,606 |
| 93 | 26,788 | 61,008 |
| 94 | 19,919 | 47,945 |
| 95 | 14,298 | 37,270 |
| 96 | 9,936 | 27,991 |
| 97 | 6,658 | 20,130 |
| 98 | 4,300 | 13,939 |
| 99 | 2,668 | 9,221 |
| 100+ | 3,542 | 14,117 |
ESP · 1950–2100 · every age, every year
Spain, every age in every year
Each column is a year and each row an age; the denser the ink in a cell, the more people. Everyone born in the same year climbs one 45° diagonal, so famines, baby booms and migration show up as streaks. Select a cell to follow its generation.
ESP · ages 15–64
Who does the work in Spain
Spain had the most working-age people it is ever expected to have in 2009: 31,974,800 people aged 15–64, against 31,663,600 in 2023.
aged 15–64 children under 15 aged 65 and over
How to read this: take 100 people of working age — the orange row — and the two rows under it are the children (teal) and the people of 65 and over (violet) who lived alongside them in 2023.
Fewer than 50 dependants live alongside every 100 people aged 15–64 in 24 years: 1991–2014.
fewer than 50 dependants per 100 the same, projected 50 or more
How to read this: one stripe a year from 1950 to 2100. A stripe takes colour in a year when fewer than 50 dependants live alongside every 100 people of working age, and stays grey otherwise; hatching means the year is projected.
ESP · arrivals minus departures
Who arrives in Spain, and who leaves
In 2020–2025 Spain gains 168,339 people a year: everyone who arrives, minus everyone who leaves. The age at which that happens most is 20–24, at 29,719 a year more arriving than leaving.
more arrive than leave more leave than arrive
How to read this: age runs left to right, babies to 100. A blue square above the line means arrivals outnumber departures at that age, an orange square below it means the opposite. The figures are the UN's projection for 2020–2025; nobody recorded migration by age before 2020.
Across the counted years, 1950 to 2023, its biggest single-year gain was 772,317 (2007); its biggest loss, 250,741 (2013).
In 2024, 8,870,527 people living in Spain had been born in another country, 19 of every 100 people there, against 2 in 1990.
ESP · births by the mother's age · 1950–2100
Who has the babies in Spain
Of every 100 babies born in Spain in 2023, 2 had a mother under 20, 59 a mother aged 20 to 34 and 39 a mother aged 35 or older. In 1950 it was 2 under 20 and 22 aged 35 or older.
2 · 76 · 22
2 · 59 · 39
2 · 59 · 39
The mother's age: under 20 20 to 34 35 or older projected
How to read this: one block a year, 100 squares in each, a square for every hundredth baby. The colour is the mother's age group, and the three numbers underneath are those groups in order, youngest first.
- Babies born, 2023
- 336,821
- Average age when women have a baby
- 32.5 years
- 30.7 in 1950
- Babies a year per 1,000 girls aged 15–19
- 5
- 8 in 1950
Babies by the mother's age, 1950–2100
| Mother's age | 1950 | 1975 | 2000 | 2023 | 2050 projected | 2100 projected |
|---|---|---|---|---|---|---|
| 10–14 | 47 | 312 | 134 | 67 | 50 | 44 |
| 15–19 | 10,540 | 32,236 | 11,725 | 5,890 | 4,672 | 4,284 |
| 20–24 | 110,292 | 174,899 | 40,333 | 24,917 | 23,092 | 21,077 |
| 25–29 | 190,118 | 233,522 | 110,443 | 58,447 | 55,895 | 49,113 |
| 30–34 | 130,531 | 136,665 | 155,969 | 114,859 | 109,654 | 85,118 |
| 35–39 | 86,258 | 65,241 | 69,987 | 98,396 | 94,536 | 65,420 |
| 40–44 | 31,879 | 26,685 | 10,087 | 30,380 | 27,052 | 17,584 |
| 45–49 | 3,229 | 2,406 | 370 | 3,829 | 2,765 | 2,045 |
| 50–54 | 85 | 134 | 1 | 36 | 24 | 21 |
| All babies | 562,979 | 672,100 | 399,049 | 336,821 | 317,740 | 244,706 |
The UN's births for each year, split by the mother's age in the UN's own proportions.
ESP · healthy years · 2021
Years in good health in Spain
A baby born in Spain in 2021 could expect 82.7 years of life, 71.1 of them in full health (95% range 70.2–71.9). That leaves 11.6 years in less than full health, more than the world's 9.5: a longer life usually brings a longer stretch of illness near its end.
71.8 in full health, 13.5 not: 85.3 years
70.3 in full health, 9.7 not: 80.0 years
a year in full health a year in less than full health
How to read this: each square is a year of life, each row ten years; filled squares are years in full health, rounded to whole years.
Women: 71.8 healthy years of 85.3. Men: 70.3 of 80.0. In 2019, before the pandemic, the healthy years were 71.7.
ESP · forced from home · end of 2025
Displacement in Spain
At the end of 2025, Spain was hosting 759,794 people who had crossed a border into it, about 16 of every 1,000 people living there.
- hosted from abroad759,794
- Spain nationals abroad899
stayed inside their own country crossed a border
How to read this: one square stands for 20,000 people, so the rows can be compared with one another. The last row is people from Spain living in another country, wherever they are. An outlined square means fewer people than one square stands for.
In 2025, 144,387 people asked for asylum in Spain for the first time; 333 people from Spain asked for asylum in another country. Of every 100 people from Spain whose claims were decided that year, 0 were given protection. Who asks for asylum, and who is given it
ESP · of every 100 people
How people live in Spain
Of every 100 people in Spain in 2025, 51 lived in a city, 28 in a town or suburb and 21 in the countryside.
cities towns and suburbs rural areas
Nearly everyone has electricity at home (2024). 4.2 of every 100 do not use the internet (2024).
How to read this: everyone here, shrunk to 100 squares, with the colour saying whether that hundredth person lives in a city, a town or the countryside. Every country is measured by the same rule.
ESP · adults 25 and over · 2020
How far people in Spain went in school
Of every 100 adults in Spain in 2020, 2 never went to school and 51 finished upper secondary or went further.
2 never went to school 7 some primary 13 finished primary 27 finished lower secondary 20 finished upper secondary 31 studied after school
Its people aged 15 to 64 are projected to be most numerous in 2025; the ones who finished upper secondary are most numerous later, in 2070.
How to read this: every adult here as one of 100 squares. The stronger the colour, the further that person went in school (the Wittgenstein Centre, 2020).
ESP · cities · 2025
Cities in Spain
Spain had 84 cities in 2025, home to 24.7 million people. The largest, Madrid, holds 12 of every 100 people in Spain.
- Madrid5,583,601
- Barcelona3,982,704
- Valencia1,390,045
- Bilbao741,795
- Seville699,504
- Zaragoza585,533
- Málaga521,854
- Palma de Mallorca473,499
- Alicante397,948
- Las Palmas de Gran Canaria381,670
All 14 cities in Spain that reach 300,000 people
- Madrid 5,583,601
- Barcelona 3,982,704
- Valencia 1,390,045
- Bilbao 741,795
- Seville 699,504
- Zaragoza 585,533
- Málaga 521,854
- Palma de Mallorca 473,499
- Alicante 397,948
- Las Palmas de Gran Canaria 381,670
- Granada 367,226
- Santa Cruz de Tenerife 357,753
- Murcia 330,966
- Valladolid 323,201
How to read this: the 10 biggest cities here in 2025, drawn on a single scale so the bars can be compared. Each is a built-up area on the UN's rule rather than a city government's patch.
Apparatus
Sources and method
Every figure on this page comes from the UN's World Population Prospects 2024: the annual country tables (estimates to 2023, projections with 95% intervals from 2024), and the population by single year of age and sex for the pyramid.
The censuses, surveys and registers behind the UN's estimates for Spain are listed, source by source, on the UN's own data sources page.
Sources: UN WPP 2024 · World Bank · UNHCR · country code lists · UN WUP 2025 · Wittgenstein Centre · WHO GHO · flag-icons · Natural Earth. Every source, its licence and how to cite it →
Checked before it was drawn
Verified 2026-09-30 · 73 canaries The pyramid for every year was checked against the published total. What that stamp counts, and what every page here has to pass before it can be built: how this site checks its figures.