Skip to content

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

Updated on by Georank

The latest officially reported population of Hungary was 9,514,251 in 2025 vs 38,430,770 people in Morocco in 2025. In 2026, based on the adjusted UN estimation, the current Hungary's population is 9,454,659 people compared to 38,938,817 in Morocco.

Population statistics:

  • Morocco's population is 4.12 times bigger than Hungary's.
  • Hungary is ranked the 97th 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.3% per year vs +1.06% in Morocco.
  • Since 2006, the population of Hungary has decreased from 10.1M people to 9.45M (6.12% decline), while Morocco has grown from 30.8M to 38.9M (26.5% growth).

Hungary vs Morocco: population by year and forecast

Hungary
Factual

Projection
Morocco
Factual

Projection
1x
Year Population
Hungary Morocco
2100 7,354,125 38,169,376
2099 7,369,935 38,399,800
2098 7,385,110 38,627,357
2097 7,399,578 38,851,192
2096 7,414,169 39,072,685
2095 7,428,875 39,290,298
2094 7,443,681 39,503,336
2093 7,458,651 39,714,423
2092 7,473,041 39,921,868
2091 7,487,818 40,126,152
2090 7,502,719 40,325,215
2089 7,518,368 40,519,616
2088 7,533,773 40,706,061
2087 7,549,845 40,889,974
2086 7,566,819 41,072,468
2085 7,584,011 41,252,209
2084 7,600,723 41,425,986
2083 7,618,082 41,591,998
2082 7,636,419 41,755,476
2081 7,655,375 41,914,644
2080 7,675,218 42,069,073
2079 7,695,945 42,220,167
2078 7,717,087 42,364,299
2077 7,739,401 42,502,554
2076 7,763,134 42,634,865
2075 7,788,149 42,762,096
2074 7,814,821 42,885,545
2073 7,842,708 43,003,930
2072 7,872,075 43,115,594
2071 7,902,830 43,219,147
2070 7,934,859 43,319,278
2069 7,967,725 43,409,990
2068 8,001,662 43,494,031
2067 8,036,057 43,572,598
2066 8,071,042 43,641,156
2065 8,107,187 43,710,126
2064 8,144,020 43,767,514
2063 8,179,967 43,815,039
2062 8,215,823 43,857,629
2061 8,251,186 43,889,133
2060 8,286,212 43,913,417
2059 8,320,988 43,928,921
2058 8,354,080 43,931,406
2057 8,386,894 43,926,107
2056 8,419,815 43,914,039
2055 8,451,799 43,889,084
2054 8,483,442 43,852,920
2053 8,514,311 43,805,549
2052 8,545,085 43,745,706
2051 8,575,999 43,674,633
2050 8,606,870 43,591,589
2049 8,638,405 43,504,461
2048 8,670,073 43,404,127
2047 8,702,640 43,295,069
2046 8,735,821 43,179,153
2045 8,769,752 43,052,251
2044 8,803,827 42,912,359
2043 8,838,318 42,766,985
2042 8,873,924 42,610,691
2041 8,910,032 42,442,983
2040 8,946,870 42,267,502
2039 8,984,555 42,085,886
2038 9,022,078 41,889,492
2037 9,060,601 41,687,645
2036 9,098,588 41,476,060
2035 9,136,984 41,253,454
2034 9,175,038 41,024,367
2033 9,212,552 40,782,838
2032 9,249,719 40,532,216
2031 9,286,177 40,268,078
2030 9,322,011 39,993,270
2029 9,357,056 39,707,804
2028 9,390,506 39,409,825
2027 9,422,739 39,097,054
2026 9,454,659 38,771,691
2025 9,514,251 38,430,770
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 (2026–2100, retrieved 2026-07-08); World Bank | Health (1960–2025, retrieved 2026-07-08).

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 305,096 people (a 3.13% decline), while Morocco's population increased by 3,915,360 people (a 11.2% growth).

Hungary was ranked 81st most populous country in 2006 and is 97th 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,606,870 people with a rank change from 97th to 111th. The population of Morocco will increase by 11.9% to 43,591,589 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.35M 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.5% 0.92%
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 (2026–2100, retrieved 2026-07-08); World Bank | Health (1961–2025, retrieved 2026-07-08).

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

In 2025, the population of Hungary declined by 0.5%, while Morocco's population grew by 0.92%.

Live population counters

Hungary Morocco
Current population
9454659
38938817
Population rank 97/197 41/197
Percent of world population 0.11% 0.47%
One net population change
11 minutes
1.51 minutes
One birth every
6.7 minutes
50.5 seconds
One death every
4.1 minutes
2.41 minutes
Daily growth/decline -131 +958
Annual growth/decline -47,814 +349,597
Annual growth/decline rate -0.5% +0.92%
Population growth rate rank 184/197 105/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 -49,723 16,223 406,555 -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-07-08).

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

Over the last 10 years, 64.2% of the population change in Hungary is from natural causes (a loss of 430,112 people) and 35.8% is from migration (a gain of 239,479 people). In Morocco 88.6% is from natural causes (a gain of 4,420,483 people) and 11.4% is from migration (a loss of 568,820 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–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/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-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. Wikidata (2026, retrieved 2026-07-08)
  5. Central Intelligence Agency (CIA) (2000–2019, 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.