Africa · 2025

Morocco

Open country slideshow →

A window on the economy

Real GDP growth

2016–2025 · Annual change (%)

-7.1780.4888.155201620212025Year2016 · GDP growth 0.5212017 · GDP growth 5.0582018 · GDP growth 3.0662019 · GDP growth 2.8912020 · GDP growth -7.1782021 · GDP growth 8.1552022 · GDP growth 1.8132023 · GDP growth 3.6562024 · GDP growth 3.7932025 · GDP growth 4.595Open analysis →

Growth alongside Spain

2016–2025 · MAR growth (%) × ESP growth (%)

-10.94-2.1286.683-7.1780.4888.155MAR growth (%)2016 · MAR growth (%) 0.521 · Spain 2.9152017 · MAR growth (%) 5.058 · Spain 2.8962018 · MAR growth (%) 3.066 · Spain 2.3952019 · MAR growth (%) 2.891 · Spain 1.9612020 · MAR growth (%) -7.178 · Spain -10.942021 · MAR growth (%) 8.155 · Spain 6.6832022 · MAR growth (%) 1.813 · Spain 6.372023 · MAR growth (%) 3.656 · Spain 2.4612024 · MAR growth (%) 3.793 · Spain 3.4552025 · MAR growth (%) 4.595 · Spain 2.825Open analysis →

Income and life expectancy

2016–2024 · GDP/person (2015 US$ thousands) × Life expectancy (years)

73.13374.31375.4933.0913.3043.516GDP/person (2015 US$ thousands)2016 · GDP/person (2015 US$ thousands) 3.124 · Life expectancy 73.2282017 · GDP/person (2015 US$ thousands) 3.243 · Life expectancy 73.6082018 · GDP/person (2015 US$ thousands) 3.305 · Life expectancy 73.9462019 · GDP/person (2015 US$ thousands) 3.365 · Life expectancy 74.2452020 · GDP/person (2015 US$ thousands) 3.091 · Life expectancy 73.1332021 · GDP/person (2015 US$ thousands) 3.309 · Life expectancy 73.3852022 · GDP/person (2015 US$ thousands) 3.335 · Life expectancy 75.1612023 · GDP/person (2015 US$ thousands) 3.421 · Life expectancy 75.3132024 · GDP/person (2015 US$ thousands) 3.516 · Life expectancy 75.493Open analysis →

Credit to the private sector

2016–2025 · % of GDP

77.76484.34790.931201620212025Year2016 · Private credit 80.232017 · Private credit 80.1942018 · Private credit 78.9572019 · Private credit 81.4752020 · Private credit 90.9312021 · Private credit 86.0592022 · Private credit 87.5362023 · Private credit 80.5052024 · Private credit 77.7642025 · Private credit 79.249Open analysis →

Economy in 2025

GDP
$182.37 billion
Population
38,430,770
GDP per capita
$4,672
Real GDP growth
4.60%

GDP and GDP per capita are in current U.S. dollars. Growth is the annual change in real GDP.

Merchandise trade with Spain

2025 · Reported by Morocco · Current U.S. dollars

Largest combined imports and exports among directory partners with both flows available.

Exports to Spain · $19,605.84 millionExports · $19,605.84 millionMoroccoSpainImports from Spain · $16,512.53 millionImports · $16,512.53 millionMoroccoSpain
Trade with Spain as a share of Morocco’s world trade in each direction · checked 2026-11-21
FlowPartnerValueShare
ExportsSpain$19,605.84 million22.08%
ImportsSpain$16,512.53 million14.74%

Each country reports its own totals. Its partner can report a different value for the same direction of trade.

Did the two economies grow together?

Annual real GDP growth, 2016–2025. Pearson correlation 0.875 across 10 shared years. The comparison describes co-movement and cannot identify a trade effect.

YearMoroccoSpain
20160.52%2.92%
20175.06%2.90%
20183.07%2.40%
20192.89%1.96%
2020-7.18%-10.94%
20218.15%6.68%
20221.81%6.37%
20233.66%2.46%
20243.79%3.46%
20254.60%2.82%

GDP growth alongside the major economies

BenchmarkPearson rShared years
United States0.93510
China0.74010
Euro area0.88210

Paired annual real GDP growth rates, 2016–2025.

Which economies grew together?

Five highest observed correlations with Morocco across 10 annual observations
EconomyPearson r
Honduras0.938
United States0.935
Jordan0.932
France0.929
South Africa0.925

Ranked across 186 economies with complete growth histories. Common shocks and the short sample can affect the ranking.

Download the full correlation matrix (CSV)

Shared patterns in GDP growth

Each economy’s annual growth series has been centered and scaled to unit variance over the same 10 years. Each column shows how closely each economy tracks that component.

Correlation with component scores. Column headings give the share of standardized variance explained.
EconomyPC1 (55.4%)PC2 (11.9%)
China0.6680.678
Morocco0.9190.107
United States0.9200.147

Economies with the same sign move in the same direction along that component. PCA uses the full common-year sample of 186 economies. The euro-area aggregate is shown separately in the benchmark table.

Sources

Snapshot retrieved 2026-11-21. World Bank, World Development Indicators (CC BY 4.0).

UN Comtrade, annual merchandise totals for all commodities · Export observations · Import observations