54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · North Africa

Morocco Tax Revenue (% of GDP)

20.7%as of 2023-6.0% vs 2022

Central government tax revenue as a share of GDP. Source: World Bank — World Development Indicators. Updated June 19, 2026.

Trend

20022023 · World Bank

History

most recent 12 periods
PeriodTax Revenue (% of GDP)
202320.7%
202222.1%
202119.7%
202020%
201919.9%
201820.3%
201720.1%
201619.9%
201519.4%
201420.4%
201320.6%
201222%

Get this via API

GET /v1/data

The series above is served by the /v1/data endpoint. With a free key you get JSON for every country and indicator on this site.

curl "https://api.africa-api.com/v1/data?country_code=MA&metric_key=tax_revenue_pct_gdp" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Tax Revenue (% of GDP) across Africa

Rank all 54 ->
CountryTax Revenue (% of GDP)Period
Kenya14.1%2023
South Africa25.4%2023
Egypt12.5%2015
Ghana12.4%2023
Ethiopia3.4%2024

Frequently asked questions

What is Morocco's tax revenue as a share of GDP?

Morocco's tax revenue as a share of GDP is 20.7% as of 2023, according to World Bank — World Development Indicators.

What is the source for this figure?

The figure comes from World Bank — World Development Indicators and is republished by the Africa API with the retrieval date shown on this page.

How do I get Morocco Tax Revenue (% of GDP) data via API?

Call GET /v1/data?country_code=MA&metric_key=tax_revenue_pct_gdp with a free Africa API key to receive the full time series as JSON.

More Morocco economy data