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

Country comparison

Egypt vs Morocco

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

GDP$429.65B vs $194.33BEgypt vs Morocco
GDP per Capita$3,904 vs $5,107Egypt vs Morocco
Population118.37M vs 38.43MEgypt vs Morocco

Indicator by indicator

169 indicators
Indicator Egypt MoroccoPeriod
GDPEconomy$429.65B$194.33B2026
GDP per CapitaEconomy$3,904$5,1072026
Inflation RateEconomy14.9%-0.5%2026-07
Central Bank Policy RateEconomy2.3%2026-03-19
Official Exchange RateEconomy50.32 LCU/USD9.28 LCU/USD2026-08
Budget BalanceEconomy-12.1%-3.5%2026
Unemployment RateEconomy6.8%9%2025
Public DebtEconomy87%65.8%2026
Trade BalanceEconomy$-42.71B$-16.71B2025
GDP GrowthEconomy4.2%4.9%2026
GNI per CapitaEconomy$3,260$4,3602025
GNI per Capita (PPP)Economy$19,330$10,9602025
GDP (PPP)Economy$2.39T$433.71B2025
Agriculture (% of GDP)Economy16.6%10.5%2025
Industry (% of GDP)Economy32.1%25.2%2025
Manufacturing (% of GDP)Economy14.5%14.9%2025
Services (% of GDP)Economy47.3%52.3%2025
Investment (% of GDP)Economy12.9%31.9%2025
Remittances ReceivedEconomy$41.52B$13.66B2025
Remittances (% of GDP)Economy11.4%7.5%2025
External Debt (% of GNI)Economy42%44.7%2024
Foreign ReservesEconomy$48.88B$48.45B2025
Credit to Private Sector (% of GDP)Economy25.8%77.8%2025/2024
Tax Revenue (% of GDP)Economy20.7%2023
Labor Force ParticipationEconomy44.6%43.9%2025
Female Labor Force ParticipationEconomy18.5%19.7%2025
Account OwnershipEconomy43.1%44.4%2024
Youth NEET RateEconomy23.8%2024
Military Spending (% of GDP)Economy0.7%3.5%2024
Trade Openness (% of GDP)Economy51.3%93.1%2025
Inflation (GDP Deflator)Economy25%2.1%2025
Current Account BalanceEconomy-4.2%-3.1%2026
Foreign Direct InvestmentEconomy$15.45B$3.34B2025
FDI (% of GDP)Economy4.2%1.8%2025
Government Revenue (% of GDP)Economy29.1%2024
Government Spending (% of GDP)Economy33%2024
Youth Unemployment RateEconomy15.3%2024
Productive Capacity IndexEconomy42.247.12024
Foreign Aid (% of GNI)Economy0.1%0.5%2023
Foreign Aid per CapitaEconomy$4$202023
Lending Interest RateEconomy24.3%2024
Real Interest RateEconomy-7%2024
Gross Savings (% of GDP)Economy8.1%29.4%2025
Employment in AgricultureEconomy17.5%27.9%2025
Employment in IndustryEconomy29.4%23.8%2025
Employment in ServicesEconomy53.1%48.3%2025
Vulnerable EmploymentEconomy23.9%35.5%2025
Household Consumption (% of GDP)Economy93.4%59.3%2025
Bank Branches per 100,000Economy6.620.22024
ATMs per 100,000Economy37.128.52024
GDP per Capita GrowthEconomy2.8%3.6%2025
Debt Service (% of GNI)Economy8.9%5.6%2024
Exports of Goods & ServicesTrade$72.39B$76.54B2025
Imports of Goods & ServicesTrade$115.11B$93.25B2025
Export Diversification IndexTrade0.6030.6662025
Export Concentration IndexTrade0.1240.212025
Fuel Exports (% of Exports)Trade12.5%0.8%2024
Manufactures Exports (% of Exports)Trade51.9%82.9%2024
Food Exports (% of Exports)Trade21.9%12.5%2024
High-Tech Exports (% of Manufactured)Trade3.8%5.4%2024/2023
Exports (% of GDP)Trade19.8%42%2025
Imports (% of GDP)Trade31.5%51.1%2025
Human Development IndexDevelopment0.7540.712023
Gender Inequality IndexDevelopment0.3980.4382023
Inequality-adjusted HDIDevelopment0.5820.5172023
PopulationDemographics118.37M38.43M2025
Population GrowthDemographics1.6%0.9%2025
Life ExpectancyDemographics71.8 years75.5 years2024
Median AgeDemographics24.7 years30.1 years2026
Fertility RateDemographics2.742.212024
Rural PopulationDemographics57.1%36.9%2025
Population Under 15Demographics31.6%25.2%2025
Urban PopulationDemographics42.9%63.1%2025
Population DensityDemographics120.7/km²86.9/km²2026
Birth RateDemographics20.515.82026
Death RateDemographics5.65.912026
Net Migration RateDemographics-0.44-1.572026
Life Expectancy (Female)Demographics74 years77.8 years2024
Life Expectancy (Male)Demographics69.7 years73.3 years2024
Urban Population GrowthDemographics1.8%1.4%2025
Infant MortalityHealth20.814.72024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health4.9%6.1%2023
UHC Service Coverage IndexHealth71652023
Out-of-Pocket Health SpendingHealth57.2%37.3%2023
Safely Managed SanitationHealth57.3%8.4%2024
Maternal MortalityHealth1769.82023
Under-Five MortalityHealth22.415.72024
Neonatal MortalityHealth13.99.642024
Tuberculosis IncidenceHealth10982024
Measles ImmunizationHealth97%98%2025
DTP3 ImmunizationHealth98%96%2025
Basic Drinking WaterHealth18.4%12.2%2024
Basic SanitationHealth39.8%79.4%2024
Diabetes PrevalenceHealth22.4%11.9%2024
Hospital Beds per 1,000Health0.732023
Nurses & Midwives per 1,000Health0.872023
Adolescent Fertility RateHealth41.124.82024
Health Spending per CapitaHealth$141$2322023
Smoking PrevalenceHealth25%12.5%2024
Child StuntingChild Welfare12.9%13.7%2024
Education Spending (% of GDP)Education6%2023
Tertiary EnrollmentEducation38%48.2%2025/2024
Primary Net EnrollmentEducation96.5%99.1%2024
Lower Secondary EnrollmentEducation93.4%97.7%2024
Upper Secondary EnrollmentEducation70%81.1%2024
Qualified Primary TeachersEducation87.1%100%2024
Secondary EnrollmentEducation84.8%90%2024
UndernourishmentFood Security9.4%7%2023
Agricultural Land (% of Land)Agriculture4.1%66.7%2023
Sorghum ProductionAgriculture780K t2.02K t2024
Millet ProductionAgriculture5.18K t2024
Maize ProductionAgriculture7.21M t73.23K t2024
Rice ProductionAgriculture6.43M t6.01K t2024
Wheat ProductionAgriculture9.4M t2.44M t2024
Maize YieldAgriculture7,585 kg/ha722 kg/ha2024
Rice YieldAgriculture9,132 kg/ha6,500 kg/ha2024
Wheat YieldAgriculture6,778 kg/ha1,388 kg/ha2024
Cattle StockAgriculture2.6M head2.4M head2024
Homicide RateGovernance1.72023
Corruption Perceptions IndexGovernance30372024
Electoral Democracy IndexGovernance0.1870.2592025
Liberal Democracy IndexGovernance0.1150.2512025
Political Corruption IndexGovernance0.7290.6712025
Control of CorruptionGovernance-0.83-0.522024
Government EffectivenessGovernance-0.10.182024
Rule of LawGovernance-0.75-0.372024
Political StabilityGovernance-0.98-0.442024
Regulatory QualityGovernance-0.5-0.032024
Voice and AccountabilityGovernance-1.6-0.732024
Organized Violence DeathsGovernance3 deaths7 deaths2025
State-Based Conflict DyadsGovernance112025
Non-State Conflict DyadsGovernance002025
One-Sided Violence DyadsGovernance002025
Refugees HostedHumanitarian220.03K7.3K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian878.27K15.03K2025
Stateless PeopleHumanitarian502025
Internet UsersTechnology74.6%91.2%2024
Mobile SubscriptionsTechnology97.1153.12024
4G CoverageTechnology98%99.8%2025
Fixed Broadband SubscriptionsTechnology11.77.32024
Mobile Data PriceTechnology1.6%1.5%2025
3G CoverageTechnology99.8%99.8%2025
Fixed Broadband PriceTechnology2.5%3%2025
Mobile Bundle PriceTechnology0.7%0.8%2025
R&D Spending (% of GDP)Technology1%2024
Electricity AccessInfrastructure100%100%2024
Air Transport PassengersInfrastructure16.67M9.35M2023
Renewable Energy CapacityEnergy9.3K MW4.9K MW2025
Solar CapacityEnergy3.3K MW1.1K MW2025
Wind CapacityEnergy3K MW2.5K MW2025
Hydropower CapacityEnergy2.8K MW1.3K MW2025
Clean Cooking AccessEnergy99.9%98.1%2023
Electricity Consumption per CapitaEnergy1,493 kWh997 kWh2023
Power Transmission LossesEnergy19.9%18.2%2023
Off-grid Renewable CapacityEnergy35.3 MW28 MW2025
Rural Electricity AccessEnergy100%100%2024
Solar Share of ElectricityEnergy3.1%5.8%2025
Wind Share of ElectricityEnergy3.8%16%2025
Hydropower Share of ElectricityEnergy6.1%2%2025
Fossil Share of ElectricityEnergy87%76%2025
Electricity DemandEnergy244 TWh48 TWh2025
Electricity Carbon IntensityEnergy563 gCO₂/kWh596 gCO₂/kWh2025
Primary Energy per CapitaEnergy9,661 kWh7,257 kWh2024
CO2 Emissions per CapitaClimate2.5 t1.84 t2024
Forest AreaClimate0%12.9%2023
Protected AreasClimate11.6%1.4%2025
PM2.5 Air PollutionClimate43.1 µg/m³18.7 µ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=EG,MA" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Egypt or Morocco have the larger economy?

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

How do Egypt and Morocco compare across indicators?

This page compares Egypt and Morocco on 169 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=EG,MA with a free Africa API key to get both countries' latest values as JSON.

More comparisons