54 countries · side-by-side on every indicatorLiveGet API key

Country comparison

Morocco vs Egypt

Morocco and Egypt side by side across 71 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.

GDP$160.61B vs $389.06BMorocco vs Egypt
GDP per Capita$4,153 vs $3,338Morocco vs Egypt
Population38.08M vs 116.54MMorocco vs Egypt

Indicator by indicator

71 indicators
Indicator Morocco EgyptPeriod
GDPEconomy$160.61B$389.06B2024
GDP per CapitaEconomy$4,153$3,3382024
Inflation RateEconomy1.7%14.9%2026-04
Central Bank Policy RateEconomy2.3%2026-03-19
Official Exchange RateEconomy9.19 LCU/USD53.02 LCU/USD2026-05
Budget BalanceEconomy-3.5%-12.1%2026
Unemployment RateEconomy9%6.8%2025
Public DebtEconomy65.8%87%2026
Trade BalanceEconomy$-13.15B$-26.64B2024
GDP GrowthEconomy3.8%2.4%2024
GNI per CapitaEconomy$3,840$3,5102024
GNI per Capita (PPP)Economy$10,260$18,2302024
GDP (PPP)Economy$402.77B$2.23T2024
Agriculture (% of GDP)Economy10.6%13.7%2024
Industry (% of GDP)Economy25.6%32.6%2024
Manufacturing (% of GDP)Economy15.3%13.9%2024
Services (% of GDP)Economy52.7%48.9%2024
Investment (% of GDP)Economy30.1%13%2024
Remittances ReceivedEconomy$12.51B$29.56B2024
Remittances (% of GDP)Economy7.8%7.6%2024
External Debt (% of GNI)Economy44.7%42%2024
Foreign ReservesEconomy$37.13B$44.92B2024
Credit to Private Sector (% of GDP)Economy77.8%27.6%2024
Tax Revenue (% of GDP)Economy20.7%12.5%2023
Labor Force ParticipationEconomy43.9%44.6%2025
Female Labor Force ParticipationEconomy19.7%18.5%2025
Income Inequality (Gini)Economy39.528.52013
Extreme Poverty RateEconomy3.7%1.4%2013
Account OwnershipEconomy44.4%43.1%2024
Youth NEET RateEconomy35.3%23.8%2014
Military Spending (% of GDP)Economy3.5%0.7%2024
Trade Openness (% of GDP)Economy92.2%39.6%2024
Inflation (GDP Deflator)Economy4%33.7%2024
Tourism ReceiptsEconomy$4.51B$4.87B2020
Tourist ArrivalsEconomy2.8M13.03M2020
Human Development IndexDevelopment0.710.7542023
Gender Inequality IndexDevelopment0.4380.3982023
Inequality-adjusted HDIDevelopment0.5170.5822023
PopulationDemographics38.08M116.54M2024
Population GrowthDemographics1%1.7%2024
Life ExpectancyDemographics75.5 years71.8 years2024
Median AgeDemographics30.1 years24.7 years2026
Fertility RateDemographics2.212.742024
Rural PopulationDemographics37.2%57.2%2024
Population Under 15Demographics25.6%32%2024
Infant MortalityHealth14.720.82024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health6.1%4.9%2023
Physicians per 1,000Health0.740.672021
UHC Service Coverage IndexHealth65712023
Road Traffic DeathsHealth18.69.42021
Premature NCD MortalityHealth22%26%2021
Out-of-Pocket Health SpendingHealth37.3%57.2%2023
Safely Managed SanitationHealth8.4%57.3%2024
Education Spending (% of GDP)Education6%3.8%2023
Tertiary EnrollmentEducation48.2%38%2024
UndernourishmentFood Security7%9.4%2023
Agricultural Land (% of Land)Agriculture66.7%4.1%2023
Food Production IndexAgriculture106.1109.12022
Sorghum ProductionAgriculture2.02K t780K t2024
Millet ProductionAgriculture5.18K t2024
Homicide RateGovernance1.71.32023
Corruption Perceptions IndexGovernance37302024
Electoral Democracy IndexGovernance0.2590.1872025
Liberal Democracy IndexGovernance0.2510.1152025
Political Corruption IndexGovernance0.6710.7292025
Women in ParliamentGovernance24.3%27.7%2025
Internet UsersTechnology91.2%74.6%2024
Mobile SubscriptionsTechnology153.197.12024
Electricity AccessInfrastructure100%100%2023
CO2 Emissions per CapitaClimate1.84 t2.5 t2024

Get this comparison via API

GET /v1/data

One call returns both countries' latest value for any indicator — JSON, with source metadata.

curl "https://api.africa-api.com/v1/data?metric_key=gdp_current_usd&latest=true&country_codes=MA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Morocco or Egypt have the larger economy?

Egypt has the larger economy: $160.61B for Morocco versus $389.06B for Egypt (GDP, current US$).

How do Morocco and Egypt compare across indicators?

This page compares Morocco and Egypt on 71 indicators — economy, demographics, health, governance and more — each with its latest value, source, and a link to the full 54-country ranking.

How do I get this comparison via the API?

Call GET /v1/data?metric_key=<key>&latest=true&country_codes=MA,EG with a free Africa API key to get both countries' latest values as JSON.

More comparisons