Overview In 2022, Morocco was the number 59 economy in the world in terms of GDP (current US$), the number 63 in total exports, the number 52 in total imports, the number 127 economy in terms of GDP per capita (current US$) and the number 80 most complex economy according to the Economic Complexity Index (ECI) .

Exports The top exports of Morocco are Mixed Mineral or Chemical Fertilizers ($7.06B), Cars ($6.1B), Insulated Wire ($4.21B), Phosphoric Acid ($2.29B), and Calcium Phosphates ($1.81B), exporting mostly to Spain ($8.55B), France ($7.92B), India ($2.99B), Italy ($2.2B), and Brazil ($1.96B).

In 2022, Morocco was the world's biggest exporter of Phosphoric Acid ($2.29B), Calcium Phosphates ($1.81B), Phosphatic Fertilizers ($832M), and Legumes ($259M)

Imports The top imports of Morocco are Refined Petroleum ($8.59B), Wheat ($2.32B), Petroleum Gas ($2.12B), Coal Briquettes ($2.07B), and Cars ($1.98B), importing mostly from Spain ($12.1B), France ($6.7B), China ($6.67B), United States ($4.34B), and Saudi Arabia ($4.18B).

In 2022, Morocco was the world's biggest importer of Artificial Filament Yarn Woven Fabric ($91.7M)

Location Morocco borders Algeria, Spain, and Mauritania by land and Portugal by sea.

Latest Trends

Latest Trade


The following section uses the most recent trade data from partners of Morocco.

Disclaimer: data is presented based on availability and only countries that use the harmonized system are being shown.

* Trade values are converted to USD using each month's exchange rate. For December 2023 data, the exchange rate from December 30, 2023 is used.

Subscribe today to OEC pro and access the latest data

Sign Up

Latest Data


The data obtained is mirror data. The trade of countries that do not report current data can be reconstructed based on data reported by partner countries with current data available.

*All data is converted to USD using January 2020 exchange rates when data is reported in local currency.

Subscribe today to OEC pro and access the latest data

Sign Up

Subscribe today to OEC pro and access the latest data

Sign Up

Historical Data

Yearly Trade

Top Destination (2022)Spain$8.55B

In 2022, Morocco exported a total of $46.7B, making it the number 63 exporter in the world. During the last five reported years the exports of Morocco have changed by $15.3B from $31.4B in 2017 to $46.7B in 2022.

The most recent exports are led by Mixed Mineral or Chemical Fertilizers ($7.06B), Cars ($6.1B), Insulated Wire ($4.21B), Phosphoric Acid ($2.29B), and Calcium Phosphates ($1.81B). The most common destination for the exports of Morocco are Spain ($8.55B), France ($7.92B), India ($2.99B), Italy ($2.2B), and Brazil ($1.96B).

Explore Visualizations

Exports (2022)
[Click to Select a Product]

Destinations (2022)
[Click to Select a Country]

Market Growth

Fastest Growing Export Markets (2021 - 2022)
India$802M (+ 36.7%)
United Kingdom$607M (+ 47%)
United States$366M (+ 28.1%)
Fastest Growing Import Markets (2021 - 2022)
Saudi Arabia$2.23B (+ 115%)
United States$1.28B (+ 41.9%)
France$1.27B (+ 23.3%)

Total Export Growth by Market (2021 - 2022)

Service Trade

Service Trade

Morocco Exports Services (2020)$11B
Morocco Imports Services (2020)$6.34B

In 2020, Morocco exported $11B worth of services. The top services exported by Morocco in 2020 were Personal travel ($3.67B), Miscellaneous business, professional, and technical services ($3.02B), Sea transport ($1.19B), Telecommunications services ($965M), and Air transport ($731M).

The top services imported by Morocco in 2020 were Sea transport ($1.98B), Personal travel ($1.02B), Government services, n.i.e. ($957M), Miscellaneous business, professional, and technical services ($928M), and Air transport ($508M).

Service Exports (2020)

Service Imports (2020)

Economic Complexity


Economic Complexity (Trade)-0.29Rank 80 of 133
Economic Complexity (Technology)-0.24Rank 57 of 96
Economic Complexity (Research)-0.93Rank 116 of 135

Most Specialized Products by RCA Index

Morocco has a high level of specialization in Calcium Phosphates (152), Phosphoric Acid (140), Phosphatic Fertilizers (108), Legumes (82.9), and Mixed Mineral or Chemical Fertilizers (79.6). Specialization is measured using RCA, an index that takes the ratio between Morocco observed and expected exports in each product.

Export Opportunities by Relatedness

The top export opportunities for Morocco according to the relatedness index, were Non-Knit Men's Undergarments (0.24), Knit Men's Coats (0.24), Pepper (0.24), Insect Resins (0.23), and Molasses (0.22). Relatedness measures the distance between a country's current exports and each product. The barchart show only products that Morocco is not specialized in.

Product Space

The product space is a network connecting products that are likely to be co-exported. The product space can be used to predict future exports, since countries are more likely to start exporting products that are related to current exports. Relatedness measures the distance between a product, and all of the products a country currently specializes in.

Relatedness Space

This network shows the products most related to the production structure of Morocco. These are products that tend to be co-exported with the products that Morocco exports. Higher relatedness values ​​indicate greater knowledge, which predicts a greater probability of exporting that product in the future.

Relatedness Space (2022)

Diversification Frontier


The Complexity-Relatedness diagram compares the risk vs strategic value of a country's potential export oppotunities. Relatedness is predictive of the probability that a country increases its exports in a product. Complexity, is associated with higher levels of income, economic growth, less income inequality, and lower greenhouse emissions.

Economic Complexity Ranking


During the last 20 years Morocco's⁩ ⁨economy has become relatively more complex, moving from the ⁩⁨85th to the 80th⁩ position in the ECI rank.

These economic complexity rankings use 6 digit exports classified according to the HS96 classification. We consider only countries with population of at least 1 million and exports of at least $1 billion, and products with world trade over $500 million. To explore different rankings and vary these parameters visit the custom rankings section.

Explore Rankings

ECI (Trade) Ranking by Country

Have questions, comments, or concerns?
Send us an e-mail: [email protected]
Follow @OECtoday on
Created, Designed, and Developed by:
In collaboration with