Skip to content

Population in Somalia compared to Spain: Trends, Charts, Rankings

Updated on by Georank

The latest officially reported population of Somalia was 19,654,739 in 2025 vs 49,355,143 people in Spain in 2025. In 2026, based on the adjusted UN estimation, the current Somalia's population is 20,653,532 people compared to 49,323,658 in Spain.

Population statistics:

  • Spain's population is 2.39 times bigger than Somalia's.
  • Somalia is ranked the 66th most populous country in the world, while Spain is the 32nd.
  • The countries together account for 0.84% of the world: 0.25% for Somalia vs 0.59% for Spain.
  • For the last 10 years, Somalia has had an average growth rate of +3.59% per year vs +0.55% in Spain.
  • Since 2006, the population of Somalia has increased from 11M people to 20.7M (88.2% growth), while Spain has grown from 44.4M to 49.3M (11.1% growth).

Somalia vs Spain: population by year and forecast

Somalia
Factual

Projection
Spain
Factual

Projection
1x
Year Population
Somalia Spain
2100 68,341,587 34,221,514
2099 67,997,987 34,400,373
2098 67,660,056 34,577,450
2097 67,320,374 34,751,199
2096 66,931,214 34,917,831
2095 66,544,181 35,087,012
2094 66,138,594 35,251,362
2093 65,719,626 35,415,082
2092 65,283,569 35,577,396
2091 64,812,444 35,741,351
2090 64,322,633 35,912,083
2089 63,882,977 36,086,009
2088 63,424,502 36,257,546
2087 62,947,792 36,424,826
2086 62,408,129 36,594,101
2085 61,835,054 36,771,456
2084 61,280,718 36,951,760
2083 60,723,949 37,138,777
2082 60,150,487 37,327,720
2081 59,639,547 37,527,142
2080 59,064,099 37,732,838
2079 58,441,001 37,949,144
2078 57,816,490 38,171,047
2077 57,176,183 38,405,329
2076 56,567,204 38,654,221
2075 55,970,712 38,913,733
2074 55,295,699 39,188,284
2073 54,617,874 39,469,767
2072 53,944,923 39,765,059
2071 53,250,824 40,062,070
2070 52,540,460 40,372,388
2069 51,845,897 40,682,818
2068 51,165,760 41,005,148
2067 50,461,574 41,326,772
2066 49,748,163 41,654,672
2065 48,994,126 41,983,104
2064 48,235,809 42,321,736
2063 47,492,758 42,655,212
2062 46,756,776 42,993,328
2061 46,008,848 43,328,037
2060 45,192,338 43,648,753
2059 44,370,279 43,967,376
2058 43,631,825 44,273,756
2057 42,870,700 44,579,723
2056 42,095,303 44,885,952
2055 41,292,441 45,164,935
2054 40,487,904 45,434,986
2053 39,720,236 45,702,038
2052 38,967,888 45,951,973
2051 38,205,058 46,179,119
2050 37,448,393 46,397,620
2049 36,717,019 46,616,167
2048 35,962,583 46,812,693
2047 35,196,924 47,002,591
2046 34,440,935 47,182,235
2045 33,696,593 47,354,908
2044 32,957,131 47,514,076
2043 32,227,622 47,657,627
2042 31,517,627 47,801,904
2041 30,775,671 47,936,819
2040 30,013,616 48,066,825
2039 29,294,623 48,190,225
2038 28,565,580 48,304,880
2037 27,821,304 48,418,168
2036 27,097,563 48,528,778
2035 26,368,985 48,633,960
2034 25,671,628 48,730,594
2033 25,002,924 48,823,356
2032 24,323,435 48,914,944
2031 23,642,617 49,008,735
2030 22,951,436 49,094,273
2029 22,285,719 49,163,780
2028 21,638,095 49,223,677
2027 20,978,784 49,274,441
2026 20,310,008 49,323,658
2025 19,654,739 49,355,143
2024 19,009,151 48,848,840
2023 18,358,615 48,352,528
2022 17,801,897 47,786,102
2021 17,271,431 47,443,821
2020 16,651,191 47,359,424
2019 16,030,971 47,118,501
2018 15,452,487 46,782,011
2017 14,916,629 46,571,232
2016 14,348,740 46,458,139
2015 13,806,963 46,422,303
2014 13,339,491 46,460,733
2013 12,869,594 46,604,197
2012 12,461,160 46,773,055
2011 12,348,830 46,742,697
2010 12,261,756 46,576,897
2009 11,961,201 46,362,946
2008 11,663,084 45,954,106
2007 11,322,582 45,226,803
2006 10,975,502 44,397,319
2005 10,644,228 43,653,155
2004 10,280,998 42,921,895
2003 9,909,157 42,187,645
2002 9,550,063 41,431,558
2001 9,198,493 40,850,412
2000 8,838,713 40,567,864
1999 8,492,059 40,386,875
1998 8,155,417 40,223,509
1997 7,824,525 40,057,389
1996 7,554,474 39,889,852
1995 7,285,007 39,724,050
1994 7,026,797 39,549,108
1993 6,681,399 39,361,262
1992 6,495,107 39,157,685
1991 6,813,760 38,966,376
1990 7,082,811 38,867,322
1989 7,114,817 38,827,764
1988 7,235,360 38,766,939
1987 7,228,302 38,684,815
1986 6,974,788 38,584,624
1985 6,693,289 38,469,512
1984 6,428,389 38,330,364
1983 6,198,430 38,171,525
1982 6,003,840 37,986,012
1981 5,982,849 37,758,631
1980 5,936,154 37,491,165
1979 5,449,117 37,191,330
1978 4,814,892 36,864,898
1977 4,484,050 36,511,638
1976 4,365,812 36,137,812
1975 4,257,535 35,757,900
1974 4,151,842 35,373,335
1973 4,045,592 34,988,947
1972 3,939,436 34,604,469
1971 3,837,691 34,224,490
1970 3,738,448 33,814,531
1969 3,641,015 33,441,054
1968 3,546,590 33,113,134
1967 3,454,537 32,682,947
1966 3,365,106 32,283,194
1965 3,277,874 31,954,292
1964 3,192,796 31,609,195
1963 3,110,361 31,296,651
1962 3,030,091 31,023,366
1961 2,952,054 30,739,250
1960 2,876,331 30,455,000

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

GeoRank.org/population/somalia/spain | CC BY

From 2006 to 2016, the population of Somalia increased by 3,373,238 people (a 30.7% growth), while Spain gained 2,060,820 people (a 4.64% growth).

For the next 10 years, from 2016 to 2026, Somalia gained 6,304,792 people (a 43.9% growth), while Spain's population increased by 2,865,519 people (a 6.17% growth).

Somalia was ranked 75th most populous country in 2006 and is 66th in 2026. Spain was ranked 28th in 2006 and ranked 32nd now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) Somalia's population will grow by 81.3% to 37,448,393 people with a rank change from 66th to 57th. The population of Spain will decrease by 5.93% to 46,397,620 people and rank change from 32nd to 46th.

Somalia is projected to reach its peak in 2100 at 68.3M people, while Spain's population already peaked in 2025 at 49.4M people and is projected to decrease to 34.2M people by 2100.

Population growth rate by year

Somalia
Factual

Projection
Spain
Factual

Projection
1x
Year Growth rate
Somalia Spain
2100 0.51% -0.52%
2099 0.5% -0.51%
2098 0.5% -0.5%
2097 0.58% -0.48%
2096 0.58% -0.48%
2095 0.61% -0.47%
2094 0.64% -0.46%
2093 0.67% -0.46%
2092 0.73% -0.46%
2091 0.76% -0.48%
2090 0.69% -0.48%
2089 0.72% -0.47%
2088 0.76% -0.46%
2087 0.86% -0.46%
2086 0.93% -0.48%
2085 0.9% -0.49%
2084 0.92% -0.5%
2083 0.95% -0.51%
2082 0.86% -0.53%
2081 0.97% -0.55%
2080 1.07% -0.57%
2079 1.08% -0.58%
2078 1.12% -0.61%
2077 1.08% -0.64%
2076 1.07% -0.67%
2075 1.22% -0.7%
2074 1.24% -0.71%
2073 1.25% -0.74%
2072 1.3% -0.74%
2071 1.35% -0.77%
2070 1.34% -0.76%
2069 1.33% -0.79%
2068 1.4% -0.78%
2067 1.43% -0.79%
2066 1.54% -0.78%
2065 1.57% -0.8%
2064 1.56% -0.78%
2063 1.57% -0.79%
2062 1.63% -0.77%
2061 1.81% -0.73%
2060 1.85% -0.72%
2059 1.69% -0.69%
2058 1.78% -0.69%
2057 1.84% -0.68%
2056 1.94% -0.62%
2055 1.99% -0.59%
2054 1.93% -0.58%
2053 1.93% -0.54%
2052 2% -0.49%
2051 2.02% -0.47%
2050 1.99% -0.47%
2049 2.1% -0.42%
2048 2.18% -0.4%
2047 2.2% -0.38%
2046 2.21% -0.36%
2045 2.24% -0.33%
2044 2.26% -0.3%
2043 2.25% -0.3%
2042 2.41% -0.28%
2041 2.54% -0.27%
2040 2.45% -0.26%
2039 2.55% -0.24%
2038 2.68% -0.23%
2037 2.67% -0.23%
2036 2.76% -0.22%
2035 2.72% -0.2%
2034 2.67% -0.19%
2033 2.79% -0.19%
2032 2.88% -0.19%
2031 3.01% -0.17%
2030 2.99% -0.14%
2029 2.99% -0.12%
2028 3.14% -0.1%
2027 3.29% -0.1%
2026 3.33% -0.06%
2025 3.4% 1.04%
2024 3.54% 1.03%
2023 3.13% 1.19%
2022 3.07% 0.72%
2021 3.72% 0.18%
2020 3.87% 0.51%
2019 3.74% 0.72%
2018 3.59% 0.45%
2017 3.96% 0.24%
2016 3.92% 0.08%
2015 3.5% -0.08%
2014 3.65% -0.31%
2013 3.28% -0.36%
2012 0.91% 0.06%
2011 0.71% 0.36%
2010 2.51% 0.46%
2009 2.56% 0.89%
2008 3.01% 1.61%
2007 3.16% 1.87%
2006 3.11% 1.7%
2005 3.53% 1.7%
2004 3.75% 1.74%
2003 3.76% 1.82%
2002 3.82% 1.42%
2001 4.07% 0.7%
2000 4.08% 0.45%
1999 4.13% 0.41%
1998 4.23% 0.41%
1997 3.57% 0.42%
1996 3.7% 0.42%
1995 3.67% 0.44%
1994 5.17% 0.48%
1993 2.87% 0.52%
1992 -4.68% 0.49%
1991 -3.8% 0.25%
1990 -0.45% 0.1%
1989 -1.67% 0.16%
1988 0.1% 0.21%
1987 3.63% 0.26%
1986 4.21% 0.3%
1985 4.12% 0.36%
1984 3.71% 0.42%
1983 3.24% 0.49%
1982 0.35% 0.6%
1981 0.79% 0.71%
1980 8.94% 0.81%
1979 13.2% 0.89%
1978 7.38% 0.97%
1977 2.71% 1.03%
1976 2.54% 1.06%
1975 2.55% 1.09%
1974 2.63% 1.1%
1973 2.69% 1.11%
1972 2.65% 1.11%
1971 2.65% 1.21%
1970 2.68% 1.12%
1969 2.66% 0.99%
1968 2.66% 1.32%
1967 2.66% 1.24%
1966 2.66% 1.03%
1965 2.66% 1.09%
1964 2.65% 1%
1963 2.65% 0.88%
1962 2.64% 0.92%
1961 2.63% 0.93%

Data sources: United Nations | World Population Prospects (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

GeoRank.org/population/somalia/spain | CC BY

In 2025, the population of Somalia grew by 3.4%, while Spain's population grew by 1.04%.

Live population counters

Somalia Spain
Current population
20653532
49323658
Population rank 66/197 32/197
Percent of world population 0.25% 0.59%
One net population change
49 seconds
1.04 minutes
One birth every
39.2 seconds
1.66 minutes
One death every
2.84 minutes
1.21 minutes
Daily growth/decline +1,769 +1,387
Annual growth/decline +645,588 +506,303
Annual growth/decline rate +3.4% +1.04%
Population growth rate rank 8/197 98/197
One migration net change every
43.6 minutes
5.45 minutes
Annual migration change +12,077 +96,630
Net migration rank 40/196 17/196
Foreign-born residents 77,972 8,870,527
Foreign-born residents rank 140/195 6/195
Foreign-born share of population 0.4% 18.5%
Foreign-born share rank 180/195 32/195

Natural population change vs migration

Somalia
Natural

Migration
Spain
Natural

Migration
1x
Year Population change
Somalia Spain
Natural Migration Natural Migration
2025 - 12,077 - 96,630
2024 619,793 26,859 -117,237 111,674
2023 608,203 46,217 -116,046 119,099
2022 551,450 -92,434 -133,801 299,779
2021 566,399 35,506 -113,865 144,385
2020 561,311 77,259 -151,551 236,854
2019 548,756 53,124 -56,542 464,783
2018 514,244 40,844 -56,139 337,467
2017 478,556 38,067 -32,600 201,135
2016 495,132 124,017 0 106,474
2015 481,573 -17,178 -4,642 -1,979
2014 464,481 6,065 32,522 -97,870
2013 448,518 20,723 37,284 -250,741
2012 399,468 -51,833 51,450 -153,486
2011 203,213 -326,192 84,137 60,761
2010 385,571 -88,448 102,469 69,406
2009 405,784 -101,795 106,635 129,557
2008 394,258 -102,035 133,267 434,135
2007 380,303 8,476 108,545 772,317
2006 372,597 -67,200 110,994 659,720
2005 363,117 -5,955 78,576 629,803
2004 351,959 17,353 85,844 661,158
2003 341,192 33,174 54,844 658,428
2002 331,215 12,603 53,861 737,880
2001 319,059 40,274 44,936 181,307
2000 306,651 53,580 36,512 176,269
1999 295,523 37,548 8,077 178,559
1998 284,779 55,426 4,022 182,926
1997 271,894 49,692 20,028 165,345
1996 264,807 -46,291 11,967 162,704
1995 254,509 65,888 15,889 162,434
1994 246,950 -50,921 31,639 160,407
1993 232,960 261,815 47,234 160,907
1992 57,495 -179,675 62,652 177,544
1991 53,052 -568,166 58,450 122,841
1990 225,162 -248,155 66,075 -30,684
1989 225,255 -266,281 81,538 -25,892
1988 215,599 -415,660 100,794 -17,663
1987 231,580 -17,391 116,054 -12,681
1986 218,416 74,424 131,188 -13,540
1985 207,960 62,183 146,184 -589
1984 199,017 60,630 172,487 2,754
1983 190,775 9,505 183,223 1,241
1982 182,793 6,115 231,714 -7,384
1981 185,211 -332,129 237,879 2,563
1980 174,790 65,519 281,184 20,166
1979 151,016 582,746 312,407 -5,929
1978 132,689 402,005 339,157 -2,504
1977 124,818 2,170 361,465 -1,332
1976 113,319 -3,831 375,834 2,804
1975 108,998 -1,934 371,882 -218
1974 104,813 -495 396,182 105,838
1973 108,038 143 374,381 8,624
1972 104,493 -351 391,030 7,935
1971 101,196 -1,850 369,625 7,363
1970 98,025 1,104 378,723 -60,580
1969 95,045 690 367,851 -49,956
1968 92,208 906 387,423 -46,088
1967 89,497 1,498 402,001 -42,344
1966 86,930 941 397,084 -41,467
1965 84,448 2,142 405,819 -42,476
1964 82,042 1,518 429,885 -41,461
1963 79,859 1,449 394,338 -44,446
1962 77,737 1,496 384,690 -45,211
1961 75,513 1,336 396,537 -46,517
1960 73,850 750 398,960 -154,869

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08).

GeoRank.org/population/somalia/spain | CC BY

Over the last 10 years, 94.2% of the population change in Somalia is from natural causes (a gain of 5,425,417 people) and 5.77% is from migration (a gain of 332,281 people). In Spain 27.9% is from natural causes (a loss of 782,423 people) and 72.1% is from migration (a gain of 2,019,671 people).

As of 2024, 77,972 residents or 0.4% of the population were not native-born in Somalia, compared to 8,870,527 people or 18.5% in Spain.

Biggest cities by population

Somalia
City Population
Mogadishu 2.12M
Hargeisa 1.23M
Baidoa 1.2M
Borama 68.1K
Spain
City Population
Madrid 3.51M
Barcelona 1.73M
Tenerife 955K
Valencia 841K
Zaragoza 693K
Seville 689K
Malaga 599K
Palma de Mallorca 435K
Las Palmas 382K
Alicante 366K

Compare countries by 7 more topics

Population map with other countries

1x

Data sources: World Bank | Health (1960–2025, retrieved 2026-07-08); United Nations | World Population Prospects (1960–2026, retrieved 2026-07-08); U.S. Census Bureau (1960–2025, retrieved 2026-07-08); Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08).

GeoRank.org/population/somalia/spain | CC BY

Help us show the world through your eyes

Share a photo of your city and help others discover what it looks like to live there. Your contribution makes our data come alive.

Data sources:

  1. World Bank | Health (1960–2025, retrieved 2026-07-08)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-07-08)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-07-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-07-08)
  5. Wikidata (2026, retrieved 2026-07-08)

Creative Commons Attribution (CC BY) — you’re free to copy, share, remix, adapt, and use even commercially as long as you give appropriate credit and clearly indicate if you made changes. Other sources may be subject to different license terms.