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

Country comparison

Morocco vs Egypt

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

GDP$194.33B vs $429.65BMorocco vs Egypt
GDP per Capita$5,107 vs $3,904Morocco vs Egypt
Population38.43M vs 118.37MMorocco vs Egypt

Indicator by indicator

199 indicators

Each country shows its latest available year, which can differ by indicator. Rows where the two sides are 5+ years apart are marked in the Period column.

Indicator Morocco EgyptPeriod
GDPEconomy$194.33B$429.65B2026
GDP per CapitaEconomy$5,107$3,9042026
Inflation RateEconomy1.2%14.3%2026-05
Central Bank Policy RateEconomy2.3%2026-03-19
Official Exchange RateEconomy9.35 LCU/USD49.83 LCU/USD2026-07
Budget BalanceEconomy-3.5%-12.1%2026
Unemployment RateEconomy9%6.8%2025
Public DebtEconomy65.8%87%2026
Trade BalanceEconomy$-16.71B$-42.71B2025
GDP GrowthEconomy4.9%4.2%2026
GNI per CapitaEconomy$4,360$3,2602025
GNI per Capita (PPP)Economy$10,960$19,3302025
GDP (PPP)Economy$433.71B$2.39T2025
Agriculture (% of GDP)Economy10.5%16.6%2025
Industry (% of GDP)Economy25.2%32.1%2025
Manufacturing (% of GDP)Economy14.9%14.5%2025
Services (% of GDP)Economy52.3%47.3%2025
Investment (% of GDP)Economy31.9%12.9%2025
Remittances ReceivedEconomy$13.66B$41.52B2025
Remittances (% of GDP)Economy7.5%11.4%2025
External Debt (% of GNI)Economy44.7%42%2024
Foreign ReservesEconomy$48.45B$48.88B2025
Credit to Private Sector (% of GDP)Economy77.8%25.8%2024/2025
Tax Revenue (% of GDP)Economy20.7%12.5%2023/2015 ⚠
Labor Force ParticipationEconomy43.9%44.6%2025
Female Labor Force ParticipationEconomy19.7%18.5%2025
Income Inequality (Gini)Economy39.528.52013/2021 ⚠
Extreme Poverty RateEconomy3.7%1.4%2013/2021 ⚠
Account OwnershipEconomy44.4%43.1%2024
Youth NEET RateEconomy35.3%23.8%2014/2024 ⚠
Military Spending (% of GDP)Economy3.5%0.7%2024
Trade Openness (% of GDP)Economy93.1%51.3%2025
Inflation (GDP Deflator)Economy2.1%25%2025
Tourism ReceiptsEconomy$4.51B$4.87B2020
Tourist ArrivalsEconomy2.8M13.03M2020/2019
Current Account BalanceEconomy-3.1%-4.2%2026
Foreign Direct InvestmentEconomy$1.64B$46.58B2024
FDI (% of GDP)Economy1%15.2%2024
Government Revenue (% of GDP)Economy29.1%2024
Government Spending (% of GDP)Economy33%2024
Youth Unemployment RateEconomy32.7%15.3%2022/2024
Productive Capacity IndexEconomy47.142.22024
Natural Resource RentsEconomy0.4%5.1%2021
Oil Rents (% of GDP)Economy0%3%2021
Mineral Rents (% of GDP)Economy0.3%0%2021
Natural Gas Rents (% of GDP)Economy0%2%2021
Foreign Aid (% of GNI)Economy0.5%0.1%2023
Foreign Aid per CapitaEconomy$20$42023
Lending Interest RateEconomy24.3%2024
Real Interest RateEconomy-7%2024
Gross Savings (% of GDP)Economy29.4%8.1%2025
Adjusted Net Income per CapitaEconomy$3,373$3,1852021
Employment in AgricultureEconomy27.9%17.5%2025
Employment in IndustryEconomy23.8%29.4%2025
Employment in ServicesEconomy48.3%53.1%2025
Vulnerable EmploymentEconomy35.5%23.9%2025
Household Consumption (% of GDP)Economy59.3%93.4%2025
Income Share of Poorest 20%Economy6.7%9.7%2013/2021 ⚠
Bank Branches per 100,000Economy20.26.62024
ATMs per 100,000Economy28.537.12024
GDP per Capita GrowthEconomy3.6%2.8%2025
Debt Service (% of GNI)Economy5.6%8.9%2024
Poverty Rate ($3.65/day)Economy11.6%7.1%2013/2021 ⚠
Poverty Rate ($6.85/day)Economy49%58.5%2013/2021 ⚠
Exports of Goods & ServicesTrade$76.54B$72.39B2025
Imports of Goods & ServicesTrade$93.25B$115.11B2025
Export Diversification IndexTrade0.6570.5992024
Export Concentration IndexTrade0.1910.1352024
Liner Shipping ConnectivityTrade69.366.72021
Fuel Exports (% of Exports)Trade0.8%12.5%2024
Manufactures Exports (% of Exports)Trade82.9%51.9%2024
Food Exports (% of Exports)Trade12.5%21.9%2024
High-Tech Exports (% of Manufactured)Trade5.4%3.8%2023/2024
Exports (% of GDP)Trade42%19.8%2025
Imports (% of GDP)Trade51.1%31.5%2025
Human Development IndexDevelopment0.710.7542023
Gender Inequality IndexDevelopment0.4380.3982023
Inequality-adjusted HDIDevelopment0.5170.5822023
PopulationDemographics38.43M118.37M2025
Population GrowthDemographics0.9%1.6%2025
Life ExpectancyDemographics75.5 years71.8 years2024
Median AgeDemographics30.1 years24.7 years2026
Fertility RateDemographics2.212.742024
Rural PopulationDemographics36.9%57.1%2025
Population Under 15Demographics25.2%31.6%2025
Urban PopulationDemographics63.1%42.9%2025
Population DensityDemographics86.9/km²120.7/km²2026
Birth RateDemographics15.820.52026
Death RateDemographics5.915.62026
Net Migration RateDemographics-1.57-0.442026
Life Expectancy (Female)Demographics77.8 years74 years2024
Life Expectancy (Male)Demographics73.3 years69.7 years2024
Urban Population GrowthDemographics1.4%1.8%2025
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/2020
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
Maternal MortalityHealth69.8172023
Under-Five MortalityHealth16.617.52023
Neonatal MortalityHealth10.29.252023
Tuberculosis IncidenceHealth98102024
Measles ImmunizationHealth98%97%2025
DTP3 ImmunizationHealth96%98%2025
Basic Drinking WaterHealth12.2%18.4%2024
Basic SanitationHealth79.4%39.8%2024
Diabetes PrevalenceHealth11.9%22.4%2024
Hospital Beds per 1,000Health0.731.062023/2021
Contraceptive PrevalenceHealth70.8%58.5%2018/2014
Skilled Birth AttendanceHealth86.6%97.1%2018/2021
Nurses & Midwives per 1,000Health0.871.792023/2018 ⚠
Adolescent Fertility RateHealth24.841.12024
Health Spending per CapitaHealth$232$1412023
NCD Share of DeathsHealth74%64.2%2021
Smoking PrevalenceHealth12.5%25%2024
Antenatal Care CoverageHealth88.5%90.3%2018/2014
Child StuntingChild Welfare13.7%12.9%2024
Child WastingChild Welfare2.4%3.3%2019/2021
Birth RegistrationChild Welfare96.9%99.1%2018/2021
Child MarriageChild Welfare13.7%15.8%2018/2021
Overweight ChildrenChild Welfare12.7%10.1%2019/2021
Education Spending (% of GDP)Education6%3.8%2023/2008 ⚠
Tertiary EnrollmentEducation48.2%38%2024/2025
Adult Literacy RateEducation64.3%79.5%2014/2022 ⚠
Youth Literacy RateEducation89.1%95.2%2014/2022 ⚠
Primary Completion RateEducation69.4%96.1%2010/2022 ⚠
Lower Secondary CompletionEducation37.6%88.1%2010/2022 ⚠
Primary Net EnrollmentEducation99.1%96.5%2024
Lower Secondary EnrollmentEducation97.7%93.4%2024
Upper Secondary EnrollmentEducation81.1%70%2024
Upper Secondary CompletionEducation46.9%75.7%2017/2022 ⚠
Qualified Primary TeachersEducation100%87.1%2024
Secondary EnrollmentEducation90%84.8%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
Maize ProductionAgriculture73.23K t7.21M t2024
Rice ProductionAgriculture6.01K t6.43M t2024
Wheat ProductionAgriculture2.44M t9.4M t2024
Maize YieldAgriculture722 kg/ha7,585 kg/ha2024
Rice YieldAgriculture6,500 kg/ha9,132 kg/ha2024
Wheat YieldAgriculture1,388 kg/ha6,778 kg/ha2024
Cattle StockAgriculture2.4M head2.6M head2024
Homicide RateGovernance1.71.32023/2017 ⚠
Corruption Perceptions IndexGovernance37302024
Electoral Democracy IndexGovernance0.2590.1872025
Liberal Democracy IndexGovernance0.2510.1152025
Political Corruption IndexGovernance0.6710.7292025
Control of CorruptionGovernance-0.52-0.832024
Government EffectivenessGovernance0.18-0.12024
Rule of LawGovernance-0.37-0.752024
Political StabilityGovernance-0.44-0.982024
Regulatory QualityGovernance-0.03-0.52024
Voice and AccountabilityGovernance-0.73-1.62024
Refugees HostedHumanitarian7.3K220.03K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian15.03K878.27K2025
Stateless PeopleHumanitarian052025
Internet UsersTechnology91.2%74.6%2024
Mobile SubscriptionsTechnology153.197.12024
4G CoverageTechnology99.8%98%2024
Fixed Broadband SubscriptionsTechnology7.311.72024
Mobile Data PriceTechnology1.5%1.6%2025
3G CoverageTechnology99.4%99.8%2024
Fixed Broadband PriceTechnology3%2.5%2025
Mobile Bundle PriceTechnology0.8%0.7%2025
R&D Spending (% of GDP)Technology0.7%1%2010/2024 ⚠
Electricity AccessInfrastructure100%100%2024
Air Transport PassengersInfrastructure9.35M16.67M2023
Slum PopulationInfrastructure10.9%3.8%2022
Renewable Energy CapacityEnergy4.9K MW9.3K MW2025
Solar CapacityEnergy1.1K MW3.3K MW2025
Wind CapacityEnergy2.5K MW3K MW2025
Hydropower CapacityEnergy1.3K MW2.8K MW2025
Renewable Energy ShareEnergy10.9%6.1%2021
Clean Cooking AccessEnergy98.1%99.9%2023
Electricity Consumption per CapitaEnergy997 kWh1,493 kWh2023
Power Transmission LossesEnergy18.2%19.9%2023
Off-grid Renewable CapacityEnergy28 MW35.3 MW2025
Rural Electricity AccessEnergy100%100%2024
Solar Share of ElectricityEnergy5.8%3.1%2025
Wind Share of ElectricityEnergy16%3.8%2025
Hydropower Share of ElectricityEnergy2%6.1%2025
Fossil Share of ElectricityEnergy76%87%2025
Electricity DemandEnergy48 TWh244 TWh2025
Electricity Carbon IntensityEnergy596 gCO₂/kWh563 gCO₂/kWh2025
Primary Energy per CapitaEnergy7,257 kWh9,661 kWh2024
CO2 Emissions per CapitaClimate1.84 t2.5 t2024
Renewable Electricity OutputClimate19.3%12.2%2021
Forest AreaClimate12.9%0%2023
Protected AreasClimate1.4%11.6%2025
Freshwater WithdrawalsClimate36.5%7,750%2022
PM2.5 Air PollutionClimate18.7 µg/m³43.1 µg/m³2023

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: $194.33B for Morocco versus $429.65B for Egypt (GDP, current US$).

How do Morocco and Egypt compare across indicators?

This page compares Morocco and Egypt on 199 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