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

Country comparison

Tunisia vs Morocco

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

GDP$60.75B vs $194.33BTunisia vs Morocco
GDP per Capita$4,893 vs $5,107Tunisia vs Morocco
Population12.35M vs 38.43MTunisia vs Morocco

Indicator by indicator

197 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 Tunisia MoroccoPeriod
GDPEconomy$60.75B$194.33B2026
GDP per CapitaEconomy$4,893$5,1072026
Inflation RateEconomy5.2%1.2%2026-06
Central Bank Policy RateEconomy7%2.3%2026-07-27
Official Exchange RateEconomy2.95 LCU/USD9.35 LCU/USD2026-07
Budget BalanceEconomy-7.4%-3.5%2026
Unemployment RateEconomy15.1%9%2025
Public DebtEconomy84.9%65.8%2026
Trade BalanceEconomy$-4.68B$-16.71B2025
GDP GrowthEconomy2.1%4.9%2026
GNI per CapitaEconomy$4,300$4,3602025
GNI per Capita (PPP)Economy$14,870$10,9602025
GDP (PPP)Economy$188.11B$433.71B2025
Agriculture (% of GDP)Economy10.3%10.5%2025
Industry (% of GDP)Economy22%25.2%2025
Manufacturing (% of GDP)Economy14.8%14.9%2024/2025
Services (% of GDP)Economy62.7%52.3%2025
Investment (% of GDP)Economy15.2%31.9%2025
Remittances ReceivedEconomy$3.26B$13.66B2024/2025
Remittances (% of GDP)Economy6.3%7.5%2024/2025
External Debt (% of GNI)Economy77.7%44.7%2024
Foreign ReservesEconomy$9.34B$48.45B2024/2025
Credit to Private Sector (% of GDP)Economy57.7%77.8%2025/2024
Tax Revenue (% of GDP)Economy20.1%20.7%2012/2023 ⚠
Labor Force ParticipationEconomy45.2%43.9%2025
Female Labor Force ParticipationEconomy26.5%19.7%2025
Income Inequality (Gini)Economy33.739.52021/2013 ⚠
Extreme Poverty RateEconomy0.7%3.7%2021/2013 ⚠
Account OwnershipEconomy37.8%44.4%2024
Youth NEET RateEconomy22.6%35.3%2023/2014 ⚠
Military Spending (% of GDP)Economy2.5%3.5%2024
Trade Openness (% of GDP)Economy101.4%93.1%2025
Inflation (GDP Deflator)Economy5.2%2.1%2025
Tourism ReceiptsEconomy$1.01B$4.51B2020
Tourist ArrivalsEconomy2.01M2.8M2020
Current Account BalanceEconomy-4.2%-3.1%2026
Foreign Direct InvestmentEconomy$936.46M$1.64B2024
FDI (% of GDP)Economy1.8%1%2024
Government Revenue (% of GDP)Economy27.9%29.1%2024
Government Spending (% of GDP)Economy33.8%33%2024
Youth Unemployment RateEconomy38.5%32.7%2023/2022
Productive Capacity IndexEconomy47.247.12024
Natural Resource RentsEconomy2.2%0.4%2021
Oil Rents (% of GDP)Economy1.5%0%2021
Mineral Rents (% of GDP)Economy0%0.3%2021
Natural Gas Rents (% of GDP)Economy0.5%0%2021
Foreign Aid (% of GNI)Economy2.6%0.5%2023
Foreign Aid per CapitaEconomy$100$202023
Gross Savings (% of GDP)Economy5.5%29.4%2024/2025
Adjusted Net Income per CapitaEconomy$3,285$3,3732021
Employment in AgricultureEconomy12.5%27.9%2025
Employment in IndustryEconomy33.3%23.8%2025
Employment in ServicesEconomy54.3%48.3%2025
Vulnerable EmploymentEconomy17.9%35.5%2025
Household Consumption (% of GDP)Economy79.6%59.3%2025
Income Share of Poorest 20%Economy7.7%6.7%2021/2013 ⚠
Bank Branches per 100,000Economy22.420.22024
ATMs per 100,000Economy35.428.52024
GDP per Capita GrowthEconomy1.9%3.6%2025
Debt Service (% of GNI)Economy10.9%5.6%2024
Poverty Rate ($3.65/day)Economy2.4%11.6%2021/2013 ⚠
Poverty Rate ($6.85/day)Economy20.7%49%2021/2013 ⚠
Exports of Goods & ServicesTrade$26.83B$76.54B2025
Imports of Goods & ServicesTrade$31.51B$93.25B2025
Export Diversification IndexTrade0.510.6572024
Export Concentration IndexTrade0.1420.1912024
Liner Shipping ConnectivityTrade5.669.32021
Fuel Exports (% of Exports)Trade6.2%0.8%2024
Manufactures Exports (% of Exports)Trade77.3%82.9%2024
Food Exports (% of Exports)Trade14.7%12.5%2024
High-Tech Exports (% of Manufactured)Trade7.7%5.4%2023
Exports (% of GDP)Trade46.7%42%2025
Imports (% of GDP)Trade54.8%51.1%2025
Human Development IndexDevelopment0.7460.712023
Gender Inequality IndexDevelopment0.2380.4382023
Inequality-adjusted HDIDevelopment0.5950.5172023
PopulationDemographics12.35M38.43M2025
Population GrowthDemographics0.6%0.9%2025
Life ExpectancyDemographics76.7 years75.5 years2024
Median AgeDemographics33.4 years30.1 years2026
Fertility RateDemographics1.822.212024
Rural PopulationDemographics29.3%36.9%2025
Population Under 15Demographics23.6%25.2%2025
Urban PopulationDemographics70.7%63.1%2025
Population DensityDemographics79.9/km²86.9/km²2026
Birth RateDemographics12.615.82026
Death RateDemographics6.315.912026
Net Migration RateDemographics-1.19-1.572026
Life Expectancy (Female)Demographics79.3 years77.8 years2024
Life Expectancy (Male)Demographics74.1 years73.3 years2024
Urban Population GrowthDemographics1.1%1.4%2025
Infant MortalityHealth9.714.72024
HIV PrevalenceHealth0.1%0.1%2024
Health Spending (% of GDP)Health8%6.1%2023
Physicians per 1,000Health1.320.742021
UHC Service Coverage IndexHealth76652023
Road Traffic DeathsHealth16.318.62021
Premature NCD MortalityHealth13%22%2021
Out-of-Pocket Health SpendingHealth37.9%37.3%2023
Safely Managed SanitationHealth79.8%8.4%2024
Maternal MortalityHealth35.769.82023
Under-Five MortalityHealth12.916.62023
Neonatal MortalityHealth8.3610.22023
Tuberculosis IncidenceHealth39982024
Measles ImmunizationHealth96%98%2025
DTP3 ImmunizationHealth97%96%2025
Basic Drinking WaterHealth31.8%12.2%2024
Basic SanitationHealth18.8%79.4%2024
Diabetes PrevalenceHealth16%11.9%2024
Hospital Beds per 1,000Health1.820.732023
Contraceptive PrevalenceHealth54%70.8%2023/2018 ⚠
Skilled Birth AttendanceHealth99.5%86.6%2018
Nurses & Midwives per 1,000Health2.160.872021/2023
Adolescent Fertility RateHealth4.2124.82024
Health Spending per CapitaHealth$318$2322023
NCD Share of DeathsHealth56.9%74%2021
Smoking PrevalenceHealth24.4%12.5%2024
Antenatal Care CoverageHealth95.3%88.5%2018
Child StuntingChild Welfare8.9%13.7%2024
Child WastingChild Welfare2.1%2.4%2018/2019
Birth RegistrationChild Welfare99.8%96.9%2023/2018 ⚠
Child MarriageChild Welfare2.4%13.7%2023/2018 ⚠
Overweight ChildrenChild Welfare17.2%12.7%2018/2019
Education Spending (% of GDP)Education6.7%6%2023
Tertiary EnrollmentEducation38.1%48.2%2023/2024
Adult Literacy RateEducation86.3%64.3%2023/2014 ⚠
Youth Literacy RateEducation98.2%89.1%2023/2014 ⚠
Primary Completion RateEducation92.7%69.4%2023/2010 ⚠
Lower Secondary CompletionEducation75.6%37.6%2023/2010 ⚠
Primary Net EnrollmentEducation98.9%99.1%2023/2024
Lower Secondary EnrollmentEducation97.7%2024
Upper Secondary EnrollmentEducation81.1%2024
Upper Secondary CompletionEducation35.6%46.9%2023/2017 ⚠
Qualified Primary TeachersEducation100%100%2023/2024
Secondary EnrollmentEducation90.3%90%2016/2024 ⚠
UndernourishmentFood Security3%7%2023
Agricultural Land (% of Land)Agriculture62.4%66.7%2023
Food Production IndexAgriculture109.6106.12022
Sorghum ProductionAgriculture1.21K t2.02K t2024
Millet ProductionAgriculture5.18K t2024
Maize ProductionAgriculture73.23K t2024
Rice ProductionAgriculture6.01K t2024
Wheat ProductionAgriculture1.15M t2.44M t2024
Maize YieldAgriculture722 kg/ha2024
Rice YieldAgriculture6,500 kg/ha2024
Wheat YieldAgriculture2,146 kg/ha1,388 kg/ha2024
Cattle StockAgriculture495.9K head2.4M head2024
Homicide RateGovernance4.71.72020/2023
Corruption Perceptions IndexGovernance39372024
Electoral Democracy IndexGovernance0.3950.2592025
Liberal Democracy IndexGovernance0.2650.2512025
Political Corruption IndexGovernance0.410.6712025
Control of CorruptionGovernance-0.22-0.522024
Government EffectivenessGovernance-0.240.182024
Rule of LawGovernance-0.36-0.372024
Political StabilityGovernance-0.92-0.442024
Regulatory QualityGovernance-0.39-0.032024
Voice and AccountabilityGovernance-0.68-0.732024
Refugees HostedHumanitarian2.39K7.3K2025
Internally Displaced PeopleHumanitarian002025
Asylum Seekers HostedHumanitarian5.52K15.03K2025
Stateless PeopleHumanitarian002025
Internet UsersTechnology76.5%91.2%2024
Mobile SubscriptionsTechnology117.6153.12024
4G CoverageTechnology96%99.8%2024
Fixed Broadband SubscriptionsTechnology157.32024
Mobile Data PriceTechnology1.4%1.5%2025
3G CoverageTechnology99%99.4%2024
Fixed Broadband PriceTechnology3.7%3%2025
Mobile Bundle PriceTechnology0.6%0.8%2025
R&D Spending (% of GDP)Technology0.7%0.7%2019/2010 ⚠
Electricity AccessInfrastructure100%100%2024
Air Transport PassengersInfrastructure4.11M9.35M2023
Slum PopulationInfrastructure7.6%10.9%2022
Renewable Energy CapacityEnergy1.2K MW4.9K MW2025
Solar CapacityEnergy894.9 MW1.1K MW2025
Wind CapacityEnergy245 MW2.5K MW2025
Hydropower CapacityEnergy66 MW1.3K MW2025
Renewable Energy ShareEnergy11.6%10.9%2021
Clean Cooking AccessEnergy99.9%98.1%2023
Electricity Consumption per CapitaEnergy1,629 kWh997 kWh2023
Power Transmission LossesEnergy18.3%18.2%2023
Off-grid Renewable CapacityEnergy8.9 MW28 MW2025
Rural Electricity AccessEnergy100%100%2024
Solar Share of ElectricityEnergy2.5%5.8%2025
Wind Share of ElectricityEnergy1.5%16%2025
Hydropower Share of ElectricityEnergy0%2%2025
Fossil Share of ElectricityEnergy96%76%2025
Electricity DemandEnergy25 TWh48 TWh2025
Electricity Carbon IntensityEnergy560 gCO₂/kWh596 gCO₂/kWh2025
Primary Energy per CapitaEnergy9,892 kWh7,257 kWh2023/2024
CO2 Emissions per CapitaClimate2.62 t1.84 t2024
Renewable Electricity OutputClimate2.8%19.3%2021
Forest AreaClimate4.6%12.9%2023
Protected AreasClimate5.2%1.4%2025
Freshwater WithdrawalsClimate92.1%36.5%2022
PM2.5 Air PollutionClimate18.9 µ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=TN,MA" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Frequently asked questions

Does Tunisia or Morocco have the larger economy?

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

How do Tunisia and Morocco compare across indicators?

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

More comparisons