Skip to content

Djibouti vs Morocco statistics compared

Updated on by Georank team

Djibouti has a population of 1.17M (ranked 158/197), compared with 38.1M in Morocco (ranked 39/197). Djibouti's land area is 8,950 sq mi versus 172,317 sq mi for Morocco (ranked 147th vs. 55th).

By GDP, Djibouti ranks 165/197 ($4.15B) and Morocco ranks 58/197 ($161B). By GDP per capita, Djibouti ranks 133/197 ($3,553), while Morocco ranks 127/197 ($4,218).

Main facts and rankings

Djibouti Morocco
Population
1203929
38871720
Population rank 158/197 41/197
GDP
$4.15B
2024
$161B
2024
GDP rank 165/197 58/197
GDP per capita
$3,553
2024
$4,218
2024
GDP per capita rank 133/197 127/197
GDP per capita, PPP
$7,810
2024
$10,415
2024
Government debt
$1.36B
2024
$109B
2024
Debt-to-GDP ratio
32.9%
2024
67.7%
2024
Government debt per person
$1,167
2024
$2,857
2024
Government debt per person rank 137/185 104/185
Average annual personal income after taxes
$2,690
2026
$5,678
2026
Land area 8,950 sq mi 172,317 sq mi
Population density
134 ppl/mi²
2026
225.1 ppl/mi²
2026
Fertility rate
2.61
2023
2.23
2023
Median age
25.7 years
2024
30.5 years
2024
Life expectancy
66.6 years
2026
75.9 years
2026

Djibouti and Morocco: Comparison Charts

Djibouti and Morocco economies compared

GDP
Djibouti

Morocco
1x
Year GDP
Djibouti Morocco
2024 $4,152,145,940 $160,610,994,055
2023 $3,898,447,007 $146,036,093,667
2022 $3,562,814,909 $131,245,312,804
2021 $3,392,796,953 $142,022,058,447
2020 $3,144,136,197 $121,353,645,057
2019 $3,088,851,450 $128,920,266,409
2018 $2,913,464,658 $127,341,147,582
2017 $2,762,581,334 $118,540,573,368
2016 $2,604,955,229 $111,572,947,005
2015 $2,424,391,785 $110,413,823,842
2014 $2,220,637,966 $119,130,841,412
2013 $2,044,440,443 $115,739,287,305
2012 $1,353,632,942 $106,937,392,311
2011 $1,239,144,502 $110,080,631,332
2010 $1,128,611,700 $100,865,329,473
2009 $1,049,110,685 $101,154,952,241
2008 $999,105,339 $101,822,906,949
2007 $847,918,929 $86,947,913,287
2006 $768,873,684 $75,883,823,301
2005 $708,633,195 $68,852,658,069
2004 $666,072,102 $66,114,145,451
2003 $622,044,666 $58,029,363,354
2002 $591,122,040 $47,077,192,188
2001 $572,417,441 $43,831,480,208
2000 $551,230,862 $43,017,455,402
1999 $536,080,148 $46,266,428,648
1998 $514,267,869 $46,497,608,725
1997 $502,675,542 $39,147,844,526
1996 $494,004,648 $43,161,571,528
1995 $497,723,961 $39,030,285,468
1994 $491,689,221 $35,604,137,423
1993 $466,048,469 $31,655,473,664
1992 $478,058,305 $33,711,069,431
1991 $462,421,999 $32,285,573,574
1990 $452,328,087 $30,179,954,775
1989 $409,220,087 $26,314,313,191
1988 $395,794,539 $25,705,296,184
1987 $373,371,738 $21,765,195,948
1986 - $19,462,085,540
1985 $340,989,528 $14,991,283,216
1984 - $14,824,667,954
1983 - $16,251,408,128
1982 - $17,692,276,734
1981 - $17,788,185,479
1980 - $21,728,516,153
1979 - $15,911,994,817
1978 - $13,236,946,234
1977 - $11,049,783,872
1976 - $9,584,297,284
1975 - $8,984,853,005
1974 - $7,675,466,449
1973 - $6,242,145,880
1972 - $5,074,117,545
1971 - $4,356,669,034
1970 - $3,956,336,244
1969 - $3,651,622,669
1968 - $3,271,422,333
1967 - $3,046,345,314
1966 - $2,876,401,297
1965 - $2,948,331,090
1964 - $2,798,345,299
1963 - $2,657,252,578
1962 - $2,379,611,125
1961 - $2,025,693,540
1960 - $2,037,154,742

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

GeoRank.org/facts/djibouti/morocco | CC BY

Djibouti and Morocco economies compared

GDP per capita
Djibouti

Morocco
1x
Year GDP per capita
Djibouti Morocco
2024 $3,553 $4,218
2023 $3,381 $3,872
2022 $3,133 $3,516
2021 $3,026 $3,843
2020 $2,845 $3,317
2019 $2,837 $3,560
2018 $2,718 $3,553
2017 $2,619 $3,344
2016 $2,510 $3,186
2015 $2,376 $3,190
2014 $2,215 $3,483
2013 $2,076 $3,425
2012 $1,400 $3,206
2011 $1,306 $3,345
2010 $1,213 $3,107
2009 $1,151 $3,158
2008 $1,119 $3,222
2007 $970 $2,788
2006 $898 $2,466
2005 $844 $2,268
2004 $806 $2,207
2003 $765 $1,962
2002 $743 $1,612
2001 $742 $1,521
2000 $738 $1,513
1999 $740 $1,651
1998 $735 $1,683
1997 $748 $1,439
1996 $762 $1,610
1995 $786 $1,478
1994 $785 $1,369
1993 $759 $1,236
1992 $764 $1,337
1991 $733 $1,302
1990 $780 $1,238
1989 $782 $1,099
1988 $817 $1,094
1987 $822 $944
1986 - $861
1985 $847 $678
1984 - $687
1983 - $772
1982 - $862
1981 - $890
1980 - $1,117
1979 - $839
1978 - $716
1977 - $613
1976 - $545
1975 - $524
1974 - $459
1973 - $382
1972 - $319
1971 - $280.6
1970 - $261.5
1969 - $247.8
1968 - $228
1967 - $218.1
1966 - $211.5
1965 - $222.7
1964 - $216.9
1963 - $211.3
1962 - $194.2
1961 - $169.8
1960 - $175.2

Data sources: World Bank | Economy & Growth (1960–2024, retrieved 2026-04-06).

GeoRank.org/facts/djibouti/morocco | CC BY

Djibouti vs. Morocco life expectancy calculator

Life expectancy
Djibouti

Morocco
1x
Year Life expectancy, years
Djibouti Morocco
2026 66.6 75.9
2025 66.4 75.7
2024 66.2 75.5
2023 66 75.3
2022 65.5 75.2
2021 63.8 73.4
2020 64.2 73.1
2019 64.4 74.2
2018 64.1 73.9
2017 63.7 73.6
2016 63.3 73.2
2015 62.8 72.9
2014 62.4 72.5
2013 62.1 72.1
2012 61.7 71.7
2011 61.3 71.3
2010 60.7 70.8
2009 60.4 70.5
2008 59.8 70.1
2007 59.4 69.6
2006 59 69.2
2005 58.5 68.7
2004 58.1 68.3
2003 58 68
2002 57.8 67.6
2001 57.5 67.2
2000 56.7 66.8
1999 56.6 66.4
1998 56.4 66
1997 56.2 65.6
1996 56.3 65.2
1995 56.2 64.7
1994 55.6 64.3
1993 55.7 63.9
1992 54.4 63.4
1991 55.2 62.9
1990 55.5 62.4
1989 55.4 61.8
1988 55.1 61.2
1987 54.8 60.6
1986 54.5 60
1985 54.1 59.2
1984 53.7 58.4
1983 53.3 57.7
1982 52.9 56.9
1981 52.4 56
1980 52 55.2
1979 51.6 54.4
1978 51.2 53.6
1977 50.8 52.8
1976 50.3 52
1975 49.9 51.4
1974 49.5 50.8
1973 49.1 50.2
1972 48.5 49.7
1971 47.3 49.2
1970 47.5 48.7
1969 47.1 48.2
1968 46.6 47.7
1967 46.1 47.1
1966 45.6 46.5
1965 45.2 45.9
1964 44.8 45.3
1963 44.4 44.8
1962 44.1 44.2
1961 43.8 43.7
1960 43.4 41.7
1959 43.1 42.7
1958 42.8 42.2
1957 42.6 41.7
1956 42.3 41.2
1955 42 40.8
1954 41.8 40.4
1953 41.5 40
1952 41.2 39.6
1951 41 39.1
1950 40.7 38.8

Data sources: United Nations | World Population Prospects (1950–2026, retrieved 2026-03-10).

GeoRank.org/facts/djibouti/morocco | CC BY

Djibouti and Morocco population clocks and comparison

Population
Djibouti

Morocco
1x
Year Population
Djibouti Morocco
2024 1,168,722 38,081,173
2023 1,152,944 37,712,505
2022 1,137,096 37,329,064
2021 1,121,248 36,954,442
2020 1,105,188 36,584,208
2019 1,088,709 36,210,898
2018 1,071,882 35,839,760
2017 1,054,841 35,446,392
2016 1,037,653 35,023,457
2015 1,020,313 34,607,588
2014 1,002,717 34,204,780
2013 984,824 33,787,571
2012 966,747 33,355,241
2011 948,558 32,912,588
2010 930,251 32,467,016
2009 911,527 32,030,778
2008 892,734 31,606,767
2007 874,528 31,186,468
2006 855,764 30,771,178
2005 839,167 30,358,144
2004 826,124 29,953,018
2003 813,519 29,571,415
2002 795,574 29,198,142
2001 771,313 28,814,643
2000 747,318 28,423,435
1999 724,218 28,027,179
1998 699,352 27,621,648
1997 671,817 27,213,337
1996 648,348 26,808,107
1995 633,074 26,399,429
1994 626,710 26,000,822
1993 614,245 25,614,586
1992 626,010 25,212,468
1991 631,092 24,799,014
1990 579,538 24,375,551
1989 523,355 23,939,414
1988 484,523 23,500,524
1987 454,399 23,054,392
1986 426,341 22,600,803
1985 402,687 22,113,953
1984 384,053 21,593,778
1983 369,553 21,060,696
1982 356,880 20,520,318
1981 343,047 19,985,401
1980 325,815 19,459,943
1979 304,513 18,955,589
1978 280,031 18,477,385
1977 254,613 18,014,756
1976 230,737 17,574,182
1975 209,908 17,150,786
1974 192,613 16,733,842
1973 178,449 16,326,269
1972 166,256 15,924,692
1971 155,136 15,527,225
1970 145,175 15,129,449
1969 136,078 14,734,255
1968 128,250 14,347,899
1967 121,649 13,968,175
1966 115,269 13,597,065
1965 109,092 13,239,171
1964 103,198 12,898,886
1963 97,872 12,577,502
1962 93,283 12,253,092
1961 89,390 11,931,085
1960 86,024 11,624,933

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

GeoRank.org/facts/djibouti/morocco | CC BY

Fertility rates in Djibouti and Morocco

Fertility rate
Djibouti

Morocco
1x
Year Fertility rate
Djibouti Morocco
2023 2.61 2.23
2022 2.65 2.26
2021 2.7 2.29
2020 2.75 2.32
2019 2.8 2.34
2018 2.86 2.35
2017 2.92 2.38
2016 2.97 2.4
2015 3.04 2.41
2014 3.12 2.42
2013 3.19 2.48
2012 3.26 2.54
2011 3.34 2.6
2010 3.43 2.63
2009 3.52 2.62
2008 3.62 2.61
2007 3.76 2.62
2006 3.9 2.61
2005 4.04 2.61
2004 4.16 2.61
2003 4.3 2.61
2002 4.41 2.62
2001 4.52 2.69
2000 4.6 2.77
1999 4.69 2.88
1998 4.8 3.04
1997 4.97 3.15
1996 5.15 3.23
1995 5.33 3.3
1994 5.51 3.41
1993 5.64 3.55
1992 5.75 3.76
1991 5.86 3.95
1990 5.93 4.06
1989 5.97 4.22
1988 6.03 4.39
1987 6.09 4.58
1986 6.14 4.77
1985 6.19 4.99
1984 6.25 5.2
1983 6.3 5.41
1982 6.34 5.6
1981 6.4 5.71
1980 6.46 5.78
1979 6.52 5.85
1978 6.59 5.91
1977 6.64 6.04
1976 6.69 6.18
1975 6.74 6.3
1974 6.78 6.4
1973 6.82 6.48
1972 6.85 6.55
1971 6.88 6.62
1970 6.88 6.68
1969 6.88 6.73
1968 6.88 6.79
1967 6.87 6.85
1966 6.88 6.89
1965 6.86 6.93
1964 6.87 6.97
1963 6.86 7.01
1962 6.85 7.05
1961 6.85 6.97
1960 6.85 6.89

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

GeoRank.org/facts/djibouti/morocco | CC BY

Djibouti and Morocco demographics compared

Median age
Djibouti

Morocco
1x
Year Median age, years
Djibouti Morocco
2024 25.7 30.5
2023 25.4 30.2
2022 25.1 29.9
2021 24.8 29.5
2020 24.5 29.2
2019 24.2 28.9
2018 23.9 28.5
2017 23.6 28.2
2016 23.4 27.8
2015 23.1 27.5
2014 22.8 27.1
2013 22.5 26.7
2012 22.3 26.4
2011 22 26.1
2010 21.8 25.7
2009 21.6 25.4
2008 21.3 25
2007 21.1 24.7
2006 20.9 24.3
2005 20.7 24
2004 20.6 23.7
2003 20.6 23.4
2002 20.4 23.1
2001 20.2 22.8
2000 19.9 22.5
1999 19.6 22.2
1998 19.3 21.9
1997 18.9 21.6
1996 18.6 21.3
1995 18.4 21
1994 18.3 20.6
1993 18.2 20.3
1992 18.1 20
1991 18 19.7
1990 17.9 19.4
1989 17.8 19.2
1988 17.7 18.9
1987 17.6 18.7
1986 17.5 18.5
1985 17.4 18.3
1984 17.4 18.1
1983 17.3 18
1982 17.3 17.8
1981 17.2 17.7
1980 17.2 17.6
1979 17.2 17.4
1978 17.2 17.3
1977 17.2 17.2
1976 17.3 17.1
1975 17.3 16.9
1974 17.4 16.9
1973 17.5 16.8
1972 17.6 16.7
1971 17.7 16.7
1970 17.8 16.6
1969 17.8 16.6
1968 17.9 16.6
1967 17.9 16.7
1966 17.9 16.8
1965 17.9 16.9
1964 17.9 17
1963 17.9 17.2
1962 17.8 17.4
1961 17.7 17.6
1960 17.7 17.9

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

GeoRank.org/facts/djibouti/morocco | CC BY

Interactive Maps

Use the buttons below to switch between world maps comparing statistics for Djibouti and Morocco.

1x
1x
1x
1x
1x
1x
1x

National statistics comparison

Finance

Djibouti Morocco
GNI, Atlas method
$4.25B
2024
$149B
2024
Government expenditure, % of GDP
20.6%
2024
33%
2024
Education expenditure, % of GDP
3.75%
2018
6.02%
2023
Military expenditure, % of GDP
2.63%
2008
3.52%
2024
Armed forces personnel
13,000
2020
246,000
2020
Deficit/surplus, % of GDP
-2.6%
2024
-3.92%
2024
Unemployment rate
40%
2017
11.8%
2022
Services, % of GDP
76.1%
2024
52.7%
2024
Industry, % of GDP
15.9%
2024
25.6%
2024
Economic freedom index
56.3
2026
61.8
2026
Income share by richest 10%
32.3%
2017
31.9%
2013
Income share by poorest 10%
1.9%
2017
2.7%
2013
Number of billionaires n/a
3
2025
Percentage of billionaires n/a
0.00001%
2025
Listed domestic companies n/a
76
2024
Market capitalization of domestic companies n/a
$74.5B
2024
Total reserves including gold
$349M
2024
$37.1B
2024
Personal remittances received
$56M
2024
$12.5B
2024
International tourist arrivals
63,000
2013
2,802,000
2020
International tourism as share of exports
1.25%
2018
12%
2020
Banked people share
12.3%
2011
44.4%
2024

Energy

Djibouti Morocco
Energy use, kg of oil equivalent per capita
163.5 kg
2007
601 kg
2023
GDP PPP per kg equivalent of energy use n/a
$16.7
2023
Carbon dioxide (CO2) emissions
0.89 megatons
2024
70 megatons
2024
CO2 emissions per capita
0.77 tons
2024
1.84 tons
2024
Fossil fuel energy use share
0%
2007
90.1%
2022
Renewable energy use share
26.9%
2022
10.9%
2021
Alternative and nuclear energy use share n/a
4.92%
2023
Net energy imports use share n/a
93.6%
2023
Electric power consumption per capita n/a
997 kWh
2023
Renewable electricity output share
35.4%
2021
19.3%
2021
Hydroelectric share
0%
2021
1.18%
2023
Nuclear share
0%
2021
0%
2021
Electricity access
65.2%
2023
100%
2023

Society

Djibouti Morocco
% of world population
0.01%
2024
0.47%
2024
Annual migration change
-581
2025
-56,254
2025
Urban population
72.9%
2024
62.8%
2024
Male:Female ratio
49.6:50.4
2024
50.4:49.6
2024
Average male height
5.6 ft
2025
5.79 ft
2025
Average female height
5.24 ft
2025
5.29 ft
2025
Quality of life index
23.7
2026
51.1
2026
Corruption Perceptions Index
31
2025
39
2025
Higher education index
4
2026
54
2026
Homicides per 100K people
6.48
2015
1.69
2024
Road traffic mortality per 100K people
23.5
2019
17
2019
Visa free countries
59
2025
83
2025
Adult literacy rate
67.9%
2003
77.3%
2022
English speaking
1%
2025
18.4%
2023
People using the Internet
65%
2023
91%
2023

Health

Djibouti Morocco
Government health expenditure per capita
$77.6
2023
$232.2
2023
Out-of-pocket health expenditure per capita
$22.4
2023
$86.5
2023
Life expectancy
66.6 years
2026
75.9 years
2026
Foreign aid share of health expenditure
23.6%
2023
0.62%
2023
Physicians per 1,000 people
0.21
2022
0.74
2021
Maternal mortality per 100K births
162
2023
70
2023
Mortality rate before reaching 5 years of age
50.4
2023
16.6
2023
Obesity rate
11.7%
2022
22.5%
2022
Diabetes prevalence
6.5%
2024
11.9%
2024
Air quality index
44
2026
75
2026
Tobacco use prevalence n/a
13%
2022
Pure alcohol consumption per capita
0.38 liters
2020
0.5 liters
2020

Territory

Djibouti Morocco
% of world land
0.02%
2026
0.3%
2026
Land area per capita
7,658 sq mi
2024
4,525 sq mi
2024
Agricultural land area
6,579 sq mi
2026
115,013 sq mi
2026
Forest area
23.3 sq mi
2026
22,293 sq mi
2026
Roads length
1,798 mi
2013
35,626 mi
2022

In-depth comparisons

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 (1950–2026, retrieved 2026-03-10)
  3. U.S. Census Bureau (1960–2025, retrieved 2026-02-08)
  4. Central Intelligence Agency (CIA) (2000–2019, retrieved 2026-02-20)
  5. International Monetary Fund (IMF) | Fiscal Monitor (2024, retrieved 2026-02-20)
  6. LivingCost (2026, retrieved 2025-10-14)
  7. World Obesity Federation (2022, retrieved 2026-02-08)
  8. Passport Index (2025, retrieved 2026-02-08)
  9. Transparency International (2025, retrieved 2026-02-10)
  10. The Heritage Foundation | Economic Freedom Index (2026, retrieved 2026-03-09)
  11. EduRank (2026, retrieved 2025-10-13)

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.