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

Country comparison

Morocco vs Kenya

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

GDP$194.33B vs $147.27BMorocco vs Kenya
GDP per Capita$5,107 vs $2,714Morocco vs Kenya
Population38.43M vs 57.53MMorocco vs Kenya

Indicator by indicator

202 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 KenyaPeriod
GDPEconomy$194.33B$147.27B2026
GDP per CapitaEconomy$5,107$2,7142026
Inflation RateEconomy1.2%6.4%2026-05
Central Bank Policy RateEconomy2.3%8.8%2026-03-19
Official Exchange RateEconomy9.35 LCU/USD129.27 LCU/USD2026-07
Budget BalanceEconomy-3.5%-6.4%2026
Unemployment RateEconomy9%5.4%2025
Public DebtEconomy65.8%71.6%2026
Trade BalanceEconomy$-16.71B$-8.15B2025
GDP GrowthEconomy4.9%4.5%2026
GNI per CapitaEconomy$4,360$2,2002025
GNI per Capita (PPP)Economy$10,960$6,9102025
GDP (PPP)Economy$433.71B$403.64B2025
Agriculture (% of GDP)Economy10.5%23.2%2025
Industry (% of GDP)Economy25.2%16.3%2025
Manufacturing (% of GDP)Economy14.9%7.1%2025
Services (% of GDP)Economy52.3%55.1%2025
Investment (% of GDP)Economy31.9%17%2025
Remittances ReceivedEconomy$13.66B$5B2025/2024
Remittances (% of GDP)Economy7.5%4.2%2025/2024
External Debt (% of GNI)Economy44.7%35%2024
Foreign ReservesEconomy$48.45B$12.39B2025
Credit to Private Sector (% of GDP)Economy77.8%31.8%2024/2023
Tax Revenue (% of GDP)Economy20.7%14.1%2023
Labor Force ParticipationEconomy43.9%67.4%2025
Female Labor Force ParticipationEconomy19.7%63%2025
Income Inequality (Gini)Economy39.538.52013/2022 ⚠
Extreme Poverty RateEconomy3.7%45.5%2013/2022 ⚠
Account OwnershipEconomy44.4%90.1%2024
Youth NEET RateEconomy35.3%27.8%2014/2022 ⚠
Military Spending (% of GDP)Economy3.5%1%2024
Trade Openness (% of GDP)Economy93.1%37.5%2025
Inflation (GDP Deflator)Economy2.1%3.5%2025
Tourism ReceiptsEconomy$4.51B$1.76B2020/2019
Tourist ArrivalsEconomy2.8M2.05M2020/2019
Current Account BalanceEconomy-3.1%-4.1%2026
Foreign Direct InvestmentEconomy$1.64B$1.5B2024
FDI (% of GDP)Economy1%1.2%2024
Government Revenue (% of GDP)Economy29.1%17.5%2024
Government Spending (% of GDP)Economy33%23.3%2024
Youth Unemployment RateEconomy32.7%16.7%2022
Productive Capacity IndexEconomy47.136.92024
Natural Resource RentsEconomy0.4%1.2%2021
Oil Rents (% of GDP)Economy0%0%2021
Mineral Rents (% of GDP)Economy0.3%0%2021
Natural Gas Rents (% of GDP)Economy0%0%2021
Foreign Aid (% of GNI)Economy0.5%2.5%2023
Foreign Aid per CapitaEconomy$20$472023
Lending Interest RateEconomy16.6%2024
Real Interest RateEconomy13%2024
Gross Savings (% of GDP)Economy29.4%15.6%2025/2024
Adjusted Net Income per CapitaEconomy$3,373$1,7902021
Employment in AgricultureEconomy27.9%45.8%2025
Employment in IndustryEconomy23.8%12.5%2025
Employment in ServicesEconomy48.3%41.7%2025
Vulnerable EmploymentEconomy35.5%63.8%2025
Household Consumption (% of GDP)Economy59.3%76.9%2025
Income Share of Poorest 20%Economy6.7%7.1%2013/2022 ⚠
Bank Branches per 100,000Economy20.24.52024
ATMs per 100,000Economy28.56.42024
GDP per Capita GrowthEconomy3.6%2.6%2025
Debt Service (% of GNI)Economy5.6%4.8%2024
Poverty Rate ($3.65/day)Economy11.6%65.5%2013/2022 ⚠
Poverty Rate ($6.85/day)Economy49%90.1%2013/2022 ⚠
Exports of Goods & ServicesTrade$76.54B$21.43B2025
Imports of Goods & ServicesTrade$93.25B$29.58B2025
Export Diversification IndexTrade0.6570.662024
Export Concentration IndexTrade0.1910.2032024
Liner Shipping ConnectivityTrade69.316.52021
Fuel Exports (% of Exports)Trade0.8%1.6%2024
Manufactures Exports (% of Exports)Trade82.9%30.7%2024
Food Exports (% of Exports)Trade12.5%49.2%2024
High-Tech Exports (% of Manufactured)Trade5.4%3.2%2023/2024
Exports (% of GDP)Trade42%15.8%2025
Imports (% of GDP)Trade51.1%21.8%2025
Human Development IndexDevelopment0.710.6282023
Gender Inequality IndexDevelopment0.4380.5262023
Inequality-adjusted HDIDevelopment0.5170.4562023
PopulationDemographics38.43M57.53M2025
Population GrowthDemographics0.9%1.9%2025
Life ExpectancyDemographics75.5 years63.8 years2024
Median AgeDemographics30.1 years20.3 years2026
Fertility RateDemographics2.213.172024
Rural PopulationDemographics36.9%67.8%2025
Population Under 15Demographics25.2%36.3%2025
Urban PopulationDemographics63.1%32.2%2025
Population DensityDemographics86.9/km²101/km²2026
Birth RateDemographics15.826.62026
Death RateDemographics5.917.132026
Net Migration RateDemographics-1.57-0.592026
Life Expectancy (Female)Demographics77.8 years66.1 years2024
Life Expectancy (Male)Demographics73.3 years61.6 years2024
Urban Population GrowthDemographics1.4%2.9%2025
Infant MortalityHealth14.734.22024
HIV PrevalenceHealth0.1%3%2024
Health Spending (% of GDP)Health6.1%4.4%2023
Physicians per 1,000Health0.740.292021/2023
UHC Service Coverage IndexHealth65572023
Road Traffic DeathsHealth18.628.22021
Premature NCD MortalityHealth22%18%2021
Out-of-Pocket Health SpendingHealth37.3%24.2%2023
Safely Managed SanitationHealth8.4%35.8%2024
Maternal MortalityHealth69.8378.82023
Under-Five MortalityHealth16.639.92023
Neonatal MortalityHealth10.221.52023
Tuberculosis IncidenceHealth982072024
Measles ImmunizationHealth98%80%2025
DTP3 ImmunizationHealth96%88%2025
Basic Drinking WaterHealth12.2%2024
Basic SanitationHealth79.4%5.1%2024
Diabetes PrevalenceHealth11.9%3.1%2024
Hospital Beds per 1,000Health0.731.332023/2019
Contraceptive PrevalenceHealth70.8%62.5%2018/2022
Skilled Birth AttendanceHealth86.6%70.2%2018/2016
Nurses & Midwives per 1,000Health0.872.272023
Adolescent Fertility RateHealth24.854.52024
Health Spending per CapitaHealth$232$852023
NCD Share of DeathsHealth74%37.8%2021
Smoking PrevalenceHealth12.5%9.6%2024
Antenatal Care CoverageHealth88.5%92.8%2018/2020
Child StuntingChild Welfare13.7%17.9%2024
Child WastingChild Welfare2.4%4.5%2019/2022
Birth RegistrationChild Welfare96.9%76%2018/2022
Child MarriageChild Welfare13.7%12.5%2018/2022
Overweight ChildrenChild Welfare12.7%3.4%2019/2022
Education Spending (% of GDP)Education6%4%2023/2024
Tertiary EnrollmentEducation48.2%10.4%2024
Adult Literacy RateEducation64.3%82.2%2014/2000 ⚠
Youth Literacy RateEducation89.1%93.2%2014
Primary Completion RateEducation69.4%90.8%2010/2024 ⚠
Lower Secondary CompletionEducation37.6%86.6%2010/2024 ⚠
Primary Net EnrollmentEducation99.1%94.3%2024/2023
Lower Secondary EnrollmentEducation97.7%95.6%2024/2006 ⚠
Upper Secondary EnrollmentEducation81.1%62.4%2024/2023
Upper Secondary CompletionEducation46.9%65%2017/2024 ⚠
Qualified Primary TeachersEducation100%100%2024/2023
Secondary EnrollmentEducation90%84.3%2024/2023
UndernourishmentFood Security7%36.8%2023
Acute Food InsecurityFood Security2.75M2026-06
Agricultural Land (% of Land)Agriculture66.7%49.5%2023
Food Production IndexAgriculture106.1112.42022
Cassava ProductionAgriculture1.21M t2024
Coffee ProductionAgriculture49.5K t2024
Sorghum ProductionAgriculture2.02K t243K t2024
Millet ProductionAgriculture5.18K t65.76K t2024
Maize ProductionAgriculture73.23K t4.02M t2024
Rice ProductionAgriculture6.01K t282.15K t2024
Wheat ProductionAgriculture2.44M t312.2K t2024
Maize YieldAgriculture722 kg/ha1,666 kg/ha2024
Rice YieldAgriculture6,500 kg/ha6,553 kg/ha2024
Wheat YieldAgriculture1,388 kg/ha3,044 kg/ha2024
Cattle StockAgriculture2.4M head22.4M head2024
Homicide RateGovernance1.74.92023/2022
Corruption Perceptions IndexGovernance37322024
Electoral Democracy IndexGovernance0.2590.5632025
Liberal Democracy IndexGovernance0.2510.4462025
Political Corruption IndexGovernance0.6710.5642025
Control of CorruptionGovernance-0.52-0.82024
Government EffectivenessGovernance0.18-0.32024
Rule of LawGovernance-0.37-0.462024
Political StabilityGovernance-0.44-1.362024
Regulatory QualityGovernance-0.03-0.332024
Voice and AccountabilityGovernance-0.73-0.352024
Refugees HostedHumanitarian7.3K617.13K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian15.03K218.65K2025
Stateless PeopleHumanitarian09.8K2025
Internet UsersTechnology91.2%35%2024
Mobile SubscriptionsTechnology153.1126.52024
4G CoverageTechnology99.8%97.3%2024
Fixed Broadband SubscriptionsTechnology7.332024
Mobile Data PriceTechnology1.5%4.1%2025
3G CoverageTechnology99.4%98%2024
Fixed Broadband PriceTechnology3%12.3%2025
Mobile Bundle PriceTechnology0.8%1.3%2025
R&D Spending (% of GDP)Technology0.7%0.8%2010/2024 ⚠
Electricity AccessInfrastructure100%77%2024
Air Transport PassengersInfrastructure9.35M5.14M2023
Slum PopulationInfrastructure10.9%40.5%2022
Renewable Energy CapacityEnergy4.9K MW3K MW2025
Solar CapacityEnergy1.1K MW551.1 MW2025
Wind CapacityEnergy2.5K MW436.1 MW2025
Hydropower CapacityEnergy1.3K MW892.7 MW2025
Renewable Energy ShareEnergy10.9%67.7%2021
Clean Cooking AccessEnergy98.1%31.6%2023
Electricity Consumption per CapitaEnergy997 kWh195 kWh2023/2024
Power Transmission LossesEnergy18.2%25.8%2023/2024
Off-grid Renewable CapacityEnergy28 MW87.3 MW2025
Rural Electricity AccessEnergy100%67.1%2024
Solar Share of ElectricityEnergy5.8%4.6%2025
Wind Share of ElectricityEnergy16%16.4%2025
Hydropower Share of ElectricityEnergy2%20.9%2025
Fossil Share of ElectricityEnergy76%10%2025
Electricity DemandEnergy48 TWh16 TWh2025
Electricity Carbon IntensityEnergy596 gCO₂/kWh95 gCO₂/kWh2025
Primary Energy per CapitaEnergy7,257 kWh1,608 kWh2024/2023
CO2 Emissions per CapitaClimate1.84 t0.38 t2024
Renewable Electricity OutputClimate19.3%78.1%2021
Forest AreaClimate12.9%6.2%2023
Protected AreasClimate1.4%11.8%2025
Freshwater WithdrawalsClimate36.5%19.5%2022
PM2.5 Air PollutionClimate18.7 µg/m³20.3 µ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,KE" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Morocco or Kenya have the larger economy?

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

How do Morocco and Kenya compare across indicators?

This page compares Morocco and Kenya on 202 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,KE with a free Africa API key to get both countries' latest values as JSON.

More comparisons