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

Country comparison

Nigeria vs Morocco

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

GDP$252.26B vs $160.61BNigeria vs Morocco
GDP per Capita$1,084 vs $4,153Nigeria vs Morocco
Population232.68M vs 38.08MNigeria vs Morocco

Indicator by indicator

74 indicators
Indicator Nigeria MoroccoPeriod
GDPEconomy$252.26B$160.61B2024
GDP per CapitaEconomy$1,084$4,1532024
Inflation RateEconomy15.9%1.7%2026-05
Central Bank Policy RateEconomy26.5%2.3%2026-02-01
Official Exchange RateEconomy1,369.26 LCU/USD9.19 LCU/USD2026-05
Budget BalanceEconomy-4.4%-3.5%2026
Unemployment RateEconomy3.1%9%2025
Public DebtEconomy32.3%65.8%2026
Trade BalanceEconomy$-322.41M$-13.15B1960
GDP GrowthEconomy4.1%3.8%2024
GNI per CapitaEconomy$1,700$3,8402024
GNI per Capita (PPP)Economy$8,850$10,2602024
GDP (PPP)Economy$2.11T$402.77B2024
Agriculture (% of GDP)Economy25.9%10.6%2024
Industry (% of GDP)Economy18.2%25.6%2024
Manufacturing (% of GDP)Economy8.7%15.3%2024
Services (% of GDP)Economy53.7%52.7%2024
Investment (% of GDP)Economy30.1%2024
Remittances ReceivedEconomy$21.29B$12.51B2024
Remittances (% of GDP)Economy8.4%7.8%2024
External Debt (% of GNI)Economy60%44.7%2024
Foreign ReservesEconomy$40.41B$37.13B2024
Credit to Private Sector (% of GDP)Economy9.6%77.8%2022
Tax Revenue (% of GDP)Economy20.7%2023
Labor Force ParticipationEconomy82.5%43.9%2025
Female Labor Force ParticipationEconomy80.7%19.7%2025
Income Inequality (Gini)Economy33.939.52022
Extreme Poverty RateEconomy41.8%3.7%2022
Account OwnershipEconomy63.3%44.4%2024
Youth NEET RateEconomy11.9%35.3%2024
Military Spending (% of GDP)Economy0.6%3.5%2024
Trade Openness (% of GDP)Economy26.2%92.2%1960
Inflation (GDP Deflator)Economy14.1%4%2024
Tourism ReceiptsEconomy$321M$4.51B2020
Tourist ArrivalsEconomy5.27M2.8M2016
Human Development IndexDevelopment0.560.712023
Gender Inequality IndexDevelopment0.6770.4382023
Inequality-adjusted HDIDevelopment0.3790.5172023
PopulationDemographics232.68M38.08M2024
Population GrowthDemographics2.1%1%2024
Life ExpectancyDemographics54.6 years75.5 years2024
Median AgeDemographics18.3 years30.1 years2026
Fertility RateDemographics4.382.212024
Rural PopulationDemographics37%37.2%2024
Population Under 15Demographics41%25.6%2024
Infant MortalityHealth69.814.72024
HIV PrevalenceHealth1.2%0.1%2024
Health Spending (% of GDP)Health4.2%6.1%2023
Physicians per 1,000Health0.380.742023
UHC Service Coverage IndexHealth47652023
Road Traffic DeathsHealth17.218.62021
Premature NCD MortalityHealth17.7%22%2021
Out-of-Pocket Health SpendingHealth70.9%37.3%2023
Safely Managed SanitationHealth32.2%8.4%2024
Education Spending (% of GDP)Education0.3%6%2023
Tertiary EnrollmentEducation9.7%48.2%2011
UndernourishmentFood Security19.9%7%2023
Agricultural Land (% of Land)Agriculture76.2%66.7%2023
Food Production IndexAgriculture119.9106.12022
Cassava ProductionAgriculture62.62M t2024
Coffee ProductionAgriculture1.81K t2024
Cocoa ProductionAgriculture350K t2024
Sorghum ProductionAgriculture6.5M t2.02K t2024
Millet ProductionAgriculture1.55M t5.18K t2024
Homicide RateGovernance15.71.72023
Corruption Perceptions IndexGovernance26372024
Electoral Democracy IndexGovernance0.5050.2592025
Liberal Democracy IndexGovernance0.3110.2512025
Political Corruption IndexGovernance0.8340.6712025
Women in ParliamentGovernance4.2%24.3%2025
Internet UsersTechnology41.2%91.2%2024
Mobile SubscriptionsTechnology70.8153.12024
Electricity AccessInfrastructure61.2%100%2023
CO2 Emissions per CapitaClimate0.57 t1.84 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=NG,MA" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Nigeria or Morocco have the larger economy?

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

How do Nigeria and Morocco compare across indicators?

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

More comparisons