Skip to content

Population in Hungary compared to Morocco: Trends, Charts, Rankings

Updated on by Georank team

The latest officially reported population of Hungary was 9,562,065 in 2024 vs 38,081,173 people in Morocco in 2024. In 2026, based on the adjusted UN estimation, the current Hungary's population is 9,475,525 people compared to 38,871,720 in Morocco.

Population statistics:

  • Morocco's population is 4.1 times bigger than Hungary's.
  • Hungary is ranked the 98th most populous country in the world, while Morocco is the 41st.
  • The countries together account for 0.58% of the world: 0.11% for Hungary vs 0.47% for Morocco.
  • For the last 10 years, Hungary has had an average growth rate of -0.29% per year vs +1.09% in Morocco.
  • Since 2006, the population of Hungary has decreased from 10.1M people to 9.48M (5.92% decline), while Morocco has grown from 30.8M to 38.9M (26.3% growth).

Hungary vs Morocco: population by year and forecast

Hungary
Factual

Projection
Morocco
Factual

Projection
1x
Year Population
Hungary Morocco
2100 7,370,355 38,181,184
2099 7,386,200 38,411,679
2098 7,401,408 38,639,306
2097 7,415,908 38,863,211
2096 7,430,531 39,084,772
2095 7,445,269 39,302,453
2094 7,460,108 39,515,556
2093 7,475,111 39,726,709
2092 7,489,534 39,934,218
2091 7,504,343 40,138,565
2090 7,519,276 40,337,690
2089 7,534,960 40,532,151
2088 7,550,399 40,718,654
2087 7,566,507 40,902,624
2086 7,583,518 41,085,174
2085 7,600,748 41,264,970
2084 7,617,497 41,438,801
2083 7,634,894 41,604,865
2082 7,653,272 41,768,393
2081 7,672,270 41,927,610
2080 7,692,156 42,082,087
2079 7,712,929 42,233,228
2078 7,734,118 42,377,404
2077 7,756,481 42,515,702
2076 7,780,266 42,648,054
2075 7,805,336 42,775,325
2074 7,832,068 42,898,811
2073 7,860,016 43,017,234
2072 7,889,448 43,128,932
2071 7,920,271 43,232,517
2070 7,952,370 43,332,679
2069 7,985,309 43,423,419
2068 8,019,321 43,507,485
2067 8,053,791 43,586,077
2066 8,088,854 43,654,657
2065 8,125,079 43,723,648
2064 8,161,993 43,781,054
2063 8,198,019 43,828,593
2062 8,233,954 43,871,197
2061 8,269,395 43,902,710
2060 8,304,498 43,927,001
2059 8,339,351 43,942,510
2058 8,372,516 43,944,996
2057 8,405,403 43,939,695
2056 8,438,397 43,927,624
2055 8,470,451 43,902,661
2054 8,502,165 43,866,486
2053 8,533,102 43,819,100
2052 8,563,943 43,759,239
2051 8,594,925 43,688,144
2050 8,625,864 43,605,074
2049 8,657,469 43,517,919
2048 8,689,207 43,417,554
2047 8,721,846 43,308,462
2046 8,755,100 43,192,511
2045 8,789,106 43,065,569
2044 8,823,256 42,925,634
2043 8,857,823 42,780,215
2042 8,893,508 42,623,872
2041 8,929,696 42,456,113
2040 8,966,615 42,280,578
2039 9,004,383 42,098,906
2038 9,041,989 41,902,451
2037 9,080,597 41,700,541
2036 9,118,668 41,488,891
2035 9,157,148 41,266,216
2034 9,195,286 41,037,058
2033 9,232,883 40,795,454
2032 9,270,132 40,544,755
2031 9,306,671 40,280,535
2030 9,342,584 40,005,642
2029 9,377,706 39,720,087
2028 9,411,230 39,422,016
2027 9,443,534 39,109,148
2026 9,475,525 38,783,685
2025 9,535,248 38,442,658
2024 9,562,065 38,081,173
2023 9,592,186 37,712,505
2022 9,605,074 37,329,064
2021 9,630,932 36,954,442
2020 9,670,419 36,584,208
2019 9,694,824 36,210,898
2018 9,706,964 35,839,760
2017 9,726,756 35,446,392
2016 9,759,755 35,023,457
2015 9,797,755 34,607,588
2014 9,833,038 34,204,780
2013 9,872,734 33,787,571
2012 9,920,362 33,355,241
2011 9,971,727 32,912,588
2010 10,000,023 32,467,016
2009 10,022,650 32,030,778
2008 10,038,188 31,606,767
2007 10,055,780 31,186,468
2006 10,071,370 30,771,178
2005 10,087,065 30,358,144
2004 10,107,146 29,953,018
2003 10,129,552 29,571,415
2002 10,158,608 29,198,142
2001 10,187,576 28,814,643
2000 10,210,971 28,423,435
1999 10,237,530 28,027,179
1998 10,266,570 27,621,648
1997 10,290,486 27,213,337
1996 10,311,238 26,808,107
1995 10,328,965 26,399,429
1994 10,343,355 26,000,822
1993 10,357,523 25,614,586
1992 10,369,341 25,212,468
1991 10,373,400 24,799,014
1990 10,373,988 24,375,551
1989 10,481,719 23,939,414
1988 10,596,487 23,500,524
1987 10,612,741 23,054,392
1986 10,630,564 22,600,803
1985 10,648,713 22,113,953
1984 10,668,095 21,593,778
1983 10,689,463 21,060,696
1982 10,705,535 20,520,318
1981 10,711,848 19,985,401
1980 10,711,122 19,459,943
1979 10,704,152 18,955,589
1978 10,684,822 18,477,385
1977 10,648,031 18,014,756
1976 10,598,677 17,574,182
1975 10,540,525 17,150,786
1974 10,478,720 16,733,842
1973 10,432,055 16,326,269
1972 10,398,489 15,924,692
1971 10,367,537 15,527,225
1970 10,337,910 15,129,449
1969 10,298,723 14,734,255
1968 10,255,815 14,347,899
1967 10,216,604 13,968,175
1966 10,178,653 13,597,065
1965 10,147,935 13,239,171
1964 10,119,835 12,898,886
1963 10,087,947 12,577,502
1962 10,060,825 12,253,092
1961 10,027,958 11,931,085
1960 9,983,512 11,624,933

Data sources: United Nations | World Population Prospects (2025–2100, retrieved 2026-03-10); World Bank | Health (1960–2024, retrieved 2026-04-06).

GeoRank.org/population/hungary/morocco | CC BY

From 2006 to 2016, the population of Hungary decreased by 311,615 people (a 3.09% decline), while Morocco gained 4,252,279 people (a 13.8% growth).

For the next 10 years, from 2016 to 2026, Hungary lost 284,230 people (a 2.91% decline), while Morocco's population increased by 3,848,263 people (a 11% growth).

Hungary was ranked 81st most populous country in 2006 and is 98th in 2026. Morocco was ranked 37th in 2006 and ranked 41st now.

The UN's World Population Prospects forecasts that in 24 years (in 2050) Hungary's population will shrink by 8.97% to 8,625,864 people with a rank change from 98th to 111th. The population of Morocco will increase by 12.2% to 43,605,074 people and rank change from 41st to 50th.

Morocco is projected to reach its peak in 2058 at 43.9M people, while Hungary's population already peaked in 1981 at 10.7M people and is projected to decrease to 7.37M people by 2100.

Population growth rate by year

Hungary
Factual

Projection
Morocco
Factual

Projection
1x
Year Growth rate
Hungary Morocco
2100 -0.21% -0.6%
2099 -0.21% -0.59%
2098 -0.2% -0.58%
2097 -0.2% -0.57%
2096 -0.2% -0.55%
2095 -0.2% -0.54%
2094 -0.2% -0.53%
2093 -0.19% -0.52%
2092 -0.2% -0.51%
2091 -0.2% -0.49%
2090 -0.21% -0.48%
2089 -0.2% -0.46%
2088 -0.21% -0.45%
2087 -0.22% -0.44%
2086 -0.23% -0.44%
2085 -0.22% -0.42%
2084 -0.23% -0.4%
2083 -0.24% -0.39%
2082 -0.25% -0.38%
2081 -0.26% -0.37%
2080 -0.27% -0.36%
2079 -0.27% -0.34%
2078 -0.29% -0.33%
2077 -0.31% -0.31%
2076 -0.32% -0.3%
2075 -0.34% -0.29%
2074 -0.36% -0.28%
2073 -0.37% -0.26%
2072 -0.39% -0.24%
2071 -0.4% -0.23%
2070 -0.41% -0.21%
2069 -0.42% -0.19%
2068 -0.43% -0.18%
2067 -0.43% -0.16%
2066 -0.45% -0.16%
2065 -0.45% -0.13%
2064 -0.44% -0.11%
2063 -0.44% -0.1%
2062 -0.43% -0.07%
2061 -0.42% -0.06%
2060 -0.42% -0.04%
2059 -0.4% -0.006%
2058 -0.39% 0.01%
2057 -0.39% 0.03%
2056 -0.38% 0.06%
2055 -0.37% 0.08%
2054 -0.36% 0.11%
2053 -0.36% 0.14%
2052 -0.36% 0.16%
2051 -0.36% 0.19%
2050 -0.37% 0.2%
2049 -0.37% 0.23%
2048 -0.37% 0.25%
2047 -0.38% 0.27%
2046 -0.39% 0.29%
2045 -0.39% 0.33%
2044 -0.39% 0.34%
2043 -0.4% 0.37%
2042 -0.41% 0.4%
2041 -0.41% 0.42%
2040 -0.42% 0.43%
2039 -0.42% 0.47%
2038 -0.43% 0.48%
2037 -0.42% 0.51%
2036 -0.42% 0.54%
2035 -0.41% 0.56%
2034 -0.41% 0.59%
2033 -0.4% 0.62%
2032 -0.39% 0.66%
2031 -0.38% 0.69%
2030 -0.37% 0.72%
2029 -0.36% 0.76%
2028 -0.34% 0.8%
2027 -0.34% 0.84%
2026 -0.63% 0.89%
2025 -0.28% 0.95%
2024 -0.31% 0.98%
2023 -0.13% 1.03%
2022 -0.27% 1.01%
2021 -0.41% 1.01%
2020 -0.25% 1.03%
2019 -0.13% 1.04%
2018 -0.2% 1.11%
2017 -0.34% 1.21%
2016 -0.39% 1.2%
2015 -0.36% 1.18%
2014 -0.4% 1.23%
2013 -0.48% 1.3%
2012 -0.52% 1.34%
2011 -0.28% 1.37%
2010 -0.23% 1.36%
2009 -0.15% 1.34%
2008 -0.17% 1.35%
2007 -0.15% 1.35%
2006 -0.16% 1.36%
2005 -0.2% 1.35%
2004 -0.22% 1.29%
2003 -0.29% 1.28%
2002 -0.28% 1.33%
2001 -0.23% 1.38%
2000 -0.26% 1.41%
1999 -0.28% 1.47%
1998 -0.23% 1.5%
1997 -0.2% 1.51%
1996 -0.17% 1.55%
1995 -0.14% 1.53%
1994 -0.14% 1.51%
1993 -0.11% 1.59%
1992 -0.04% 1.67%
1991 -0.006% 1.74%
1990 -1.03% 1.82%
1989 -1.08% 1.87%
1988 -0.15% 1.94%
1987 -0.17% 2.01%
1986 -0.17% 2.2%
1985 -0.18% 2.41%
1984 -0.2% 2.53%
1983 -0.15% 2.63%
1982 -0.06% 2.68%
1981 0.007% 2.7%
1980 0.07% 2.66%
1979 0.18% 2.59%
1978 0.35% 2.57%
1977 0.47% 2.51%
1976 0.55% 2.47%
1975 0.59% 2.49%
1974 0.45% 2.5%
1973 0.32% 2.52%
1972 0.3% 2.56%
1971 0.29% 2.63%
1970 0.38% 2.68%
1969 0.42% 2.69%
1968 0.38% 2.72%
1967 0.37% 2.73%
1966 0.3% 2.7%
1965 0.28% 2.64%
1964 0.32% 2.56%
1963 0.27% 2.65%
1962 0.33% 2.7%
1961 0.45% 2.63%

Data sources: United Nations | World Population Prospects (2025–2100, retrieved 2026-03-10); World Bank | Health (1961–2024, retrieved 2026-04-06).

GeoRank.org/population/hungary/morocco | CC BY

In 2024, the population of Hungary declined by 0.31%, while Morocco's population grew by 0.98%.

Live population counters

Hungary Morocco
Current population
9475525
38871720
Population rank 98/197 41/197
Percent of world population 0.11% 0.47%
One net population change
17.4 minutes
1.43 minutes
One birth every
6.02 minutes
50.1 seconds
One death every
4.09 minutes
2.47 minutes
Daily growth/decline -83 +1,010
Annual growth/decline -30,121 +368,668
Annual growth/decline rate -0.31% +0.98%
Population growth rate rank 179/197 104/197
One migration net change every
32.3 minutes
9.37 minutes
Annual migration change -16,331 -56,254
Net migration rank 149/196 176/196
Foreign-born residents 689,565 111,069
Foreign-born residents rank 71/195 129/195
Foreign-born share of population 7.1% 0.3%
Foreign-born share rank 79/195 182/195

Natural population change vs migration

Hungary
Natural

Migration
Morocco
Natural

Migration
1x
Year Population change
Hungary Morocco
Natural Migration Natural Migration
2025 - -16,331 - -56,254
2024 - 16,223 - -46,802
2023 -41,247 49,213 417,213 -39,650
2022 -47,065 41,871 427,903 -38,594
2021 -61,638 20,372 407,829 -47,902
2020 -47,385 9,147 415,999 -35,474
2019 -36,840 34,339 457,307 -91,217
2018 -37,858 34,190 464,375 -88,159
2017 -37,934 20,200 471,011 -60,472
2016 -31,231 68 474,637 -39,302
2015 -39,191 13,856 477,654 -81,248
2014 -32,449 11,581 481,295 -72,065
2013 -36,529 5,635 492,284 -67,096
2012 -38,689 15,286 504,698 -65,251
2011 -40,884 1,859 513,305 -67,447
2010 -40,000 10,592 515,804 -70,510
2009 -34,077 17,281 509,386 -82,203
2008 -31,118 16,166 499,766 -78,912
2007 -35,195 13,697 493,526 -73,759
2006 -32,228 19,890 483,200 -72,364
2005 -38,331 16,925 474,285 -59,024
2004 -37,396 16,637 461,756 -66,749
2003 -41,531 13,879 452,650 -84,460
2002 -36,571 2,822 446,147 -67,802
2001 -35,657 10,386 452,621 -63,967
2000 -37,780 13,414 461,341 -67,569
1999 -49,140 12,819 473,071 -74,343
1998 -43,120 13,568 492,604 -80,286
1997 -38,075 14,186 500,807 -96,502
1996 -38,152 14,605 501,499 -95,331
1995 -34,086 14,927 496,573 -85,386
1994 -31,030 15,159 501,426 -115,404
1993 -33,144 15,540 507,707 -121,254
1992 -26,960 16,238 525,680 -107,911
1991 -17,635 16,873 539,850 -130,717
1990 -19,710 16,991 535,506 -97,711
1989 -20,963 -16,991 538,996 -104,509
1988 -15,895 -16,052 545,800 -102,484
1987 -15,919 -16,175 553,005 -104,029
1986 -18,072 -16,339 558,105 -99,905
1985 -18,103 -15,890 560,810 -45,336
1984 -21,336 -16,216 564,159 -39,319
1983 -21,379 -16,047 566,301 -24,988
1982 -10,705 -16,531 564,904 -25,471
1981 -2,142 -16,869 552,936 -22,553
1980 3,213 -17,795 534,448 -13,899
1979 23,549 3,629 515,554 -27,374
1978 27,780 290 498,834 -30,600
1977 45,787 -54 489,173 -32,161
1976 52,993 -472 482,130 -58,019
1975 63,243 -335 474,631 -51,968
1974 60,777 132 464,147 -52,927
1973 33,382 -1,512 455,699 -51,772
1972 34,315 -8 446,449 -47,226
1971 26,956 -15 435,104 -39,385
1970 32,048 -96 426,015 -26,168
1969 38,105 -333 414,931 -24,389
1968 39,997 -324 407,437 -25,267
1967 39,845 -414 400,594 -23,309
1966 36,643 -726 391,881 -26,945
1965 24,355 -537 383,989 -33,139
1964 31,371 -739 375,835 -46,106
1963 32,282 -822 369,250 -56,214
1962 21,128 -1,738 363,843 -28,071
1961 44,123 -1,177 348,650 -40,413
1960 44,926 -1,108 323,499 -19,434

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

GeoRank.org/population/hungary/morocco | CC BY

Over the last 10 years, 63.7% of the population change in Hungary is from natural causes (a loss of 412,838 people) and 36.3% is from migration (a gain of 234,837 people). In Morocco 88.3% is from natural causes (a gain of 4,495,223 people) and 11.7% is from migration (a loss of 594,083 people).

As of 2024, 689,565 residents or 7.1% of the population were not native-born in Hungary, compared to 111,069 people or 0.3% in Morocco.

Biggest cities by population

Hungary
City Population
Budapest 1.69M
Debrecen 202K
Szeged 157K
Miskolc 141K
Pecs 139K
Gyor 129K
Nyiregyhaza 115K
Kecskemet 109K
Szekesfehervar 95.2K
Szombathely 76.9K
Morocco
City Population
Casablanca 3.22M
Tangier 1.28M
Fez 1.17M
Marrakesh 1M
Sale 945K
Meknes 601K
Rabat 573K
Agadir 538K
Kenitra 508K
Oujda 506K

Compare countries by 7 more topics

Population map with other countries

1x

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

GeoRank.org/population/hungary/morocco | 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-04-06)
  2. United Nations | World Population Prospects (1960–2100, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Wikidata (2026, retrieved 2026-02-08)
  5. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)

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.