Morocco

Morocco

Global Trade Profile • Rank #60 Exporter

$49.15B

Total Exports (2023)

$71.15B

Total Imports (2023)

$22.00B

Trade Deficit

#60

Export Ranking

Trade Flow Visualization

Interactive map showing Morocco's top trading partners. Green lines represent exports, red lines represent imports.

#60

Export Rank

$49.15B

Total Exports

$71.15B

Total Imports

-$22.00B

Trade Balance

24

Trade Partners

🌍 Top Export Destinations

Top Export Products

#1Insulated electric conductors: ignition wiring set...
8.9%$4.39B
#2Vehicles: with only spark-ignition internal combus...
6.9%$3.41B
#3Fertilizers, mineral or chemical: diammonium hydro...
4.2%$2.07B
#4Vehicles: with only spark-ignition internal combus...
4.1%$2.02B
#5Fertilizers, mineral or chemical: ammonium dihydro...
4.0%$1.95B
#6Vegetables: tomatoes, fresh or chilled
3.1%$1.53B
#7Phosphoric acid and polyphosphoric acids
2.9%$1.41B
#8Fertilizers, mineral or chemical: containing the t...
2.7%$1.32B
#9Aircraft and spacecraft: parts of aeroplanes or he...
2.3%$1.14B
#10Electrical apparatus: transistors, (other than pho...
1.5%$738.15M

📥 Top Import Sources

Top Import Products

#1Petroleum oils and oils from bituminous minerals, ...
10.2%$7.29B
#2Coal: (other than anthracite and bituminous), whet...
2.1%$1.52B
#3Cereals: wheat and meslin, other than durum wheat,...
2.0%$1.40B
#4Petroleum gases and other gaseous hydrocarbons: li...
1.9%$1.32B
#5Vehicles: with only compression-ignition internal ...
1.4%$993.98M
#6Engines: reciprocating piston engines, of a kind u...
1.3%$949.87M
#7Ammonia: anhydrous
1.2%$841.22M
#8Copper: wire, of refined copper, of which the maxi...
1.2%$835.17M
#9Sugars: cane sugar, raw, in solid form, other than...
1.1%$810.34M
#10Aircraft and spacecraft: parts of aeroplanes or he...
1.0%$727.47M

📈 Historical Trade Trends (1995-2023)

29 Years

Data Coverage

29

Data Points

📈

Trend Direction

Morocco Trade Analysis 2023

📊 Overview

#60
Global Export Rank
120.31B
Total Trade Volume
0.60%
Share of Global Trade

Morocco stands as the world's #60 largest exporter and #49 largest importer, demonstrating emerging market dynamics.

The trade profile reveals a deficit of 22.00 billion, reflecting import dependencies for growth.

⚠️
Trade deficit of 30.9% of imports requires careful management of external financing.
49.15B
Total Exports
71.15B
Total Imports
0.69
Export/Import Ratio

The country maintains active trading relationships with 20 major partners, creating a highly diversified trade network.

Monthly trade flows average $10.03B, generating continuous economic activity across logistics, finance, and trade services.

🚢 Export Markets

Spain
France
Germany
United Kingdom
Italy
Others

Export Market Concentration

20.0%
$9.81B
16.5%
$8.12B
5.8%$2.85B
5.0%$2.48B
4.5%$2.20B
3.3%$1.63B
3.2%$1.58B
13 others
20.7%$10.16B

Export concentration shows Spain as the dominant market at 20.0%. The top three markets control 42.3% of exports.

51.8%
Top 5 Markets
66.2%
Top 10 Markets
20
Total Partners

Regional patterns reveal European market focus. Secondary markets (USA, Türkiye, Brazil) provide $7.08B in additional trade.

📦 Import Sources

Import Source Concentration

17.2%
$12.21B
10.5%$7.44B
10.1%$7.20B
7.6%$5.41B
5.2%$3.67B
4.8%$3.40B
4.5%$3.22B
13 others
23.0%$16.38B

Morocco relies heavily on Spain for imports (17.2%),maintaining balanced sourcing.

Energy suppliers including Saudi Arabia (2.41B), United Arab Emirates (1.36B) collectively provide 3.76 billion or 5.3% of imports, highlighting the economy's dependence on imported energy resources.

Manufacturing inputs come primarily from China, reflecting deep integration into Asian production networks. China's dominant position at 7.44 billion encompasses electronics components, textiles, machinery parts, and consumer goods, creating both efficiency benefits and concentration risks.

The USA provides 5.41 billion (7.6%) in imports, concentrated in agricultural products, aircraft, pharmaceuticals, and advanced technology.The top 10 import sources account for 67.4% of total imports, with the remaining 33% distributed among 10 other suppliers.

Regional sourcing patterns reveal diversified global sourcing. European suppliers including France (7.20B), Germany (3.67B), Italy (3.22B) focus on luxury goods, machinery, and specialized chemicals.

Supply chain resilience strategies increasingly emphasize "China Plus One" approaches, with Indiaemerging as alternative manufacturing bases. The geographic proximity of major suppliers balances efficiency with risk diversification.

📦 Product Composition

🚀 Export Products

Top Export Products

ignition wiring sets and other wiring sets of a ki...
8.9%$4.39B
with only spark-ignition internal combustion recip...
6.9%$3.41B
diammonium hydrogenorthophosphate (diammonium phos...
4.2%$2.07B
with only spark-ignition internal combustion recip...
4.1%$2.02B
ammonium dihydrogenorthophosphate (monoammonium ph...
4.0%$1.95B
3 others
8.7%$4.26B

Morocco's export economy centers on advanced machinery and electronics, with the leading export being ignition wiring sets and other wiring sets of a kind used in vehicles, aircraft or shipsat $4.39 billion, accounting for 8.9% of total exports.

Vehicle-related products including passenger cars, hybrid vehicles, electric vehicles, and automotive parts total approximately 7.24 billion or 14.7% of exports, encompassing 5 distinct product categories. Electronics, semiconductors, and machinery contribute 5.58 billion or 11.3% of exports.

The automotive sector's dominance is evident in the export portfolio, with ignition wiring sets and other wiring sets of a ki... (4.39B), with only spark-ignition internal combustion recip... (3.41B), with only spark-ignition internal combustion recip... (2.02B), compression-ignition internal combustion piston en... (656.67M), with only compression-ignition internal combustion... (592.32M). This automotive specialization reflects decades of manufacturing excellence, continuous innovation in fuel efficiency and hybrid technology, and established global brand recognition.

The transition to electric and hybrid vehicles is captured in export data, with 3 categories specifically related to alternative propulsion systems, totaling $5.58B.

Beyond automotive, Morocco maintains strong positions in specialized equipment, electronic components (5.58B), and Fertilizers, mineral or chemical, Vegetables.

The top 20 export products collectively account for 52.0% of total exports, revealing moderate concentration with room for further diversification.

🛒 Import Products

Top Import Products

preparations n.e.c. containing by weight 70% or mo...
10.2%$7.29B
(other than anthracite and bituminous), whether or...
2.1%$1.52B
wheat and meslin, other than durum wheat, other th...
2.0%$1.40B
liquefied, butanes...
1.9%$1.32B
with only compression-ignition internal combustion...
1.4%$993.98M
3 others
3.7%$2.63B

Energy dominates Morocco's import profile, with fossil fuels accounting for 11.30 billion or 15.9% of total imports. Crude oil leads at 7.29 billion (10.2%), followed by natural gas and coal. This energy import dependency shapes economic policy, inflation dynamics, and strategic relationships with supplier nations.

🔑

Key Finding: Energy Dependency

Energy imports of $11.30B account for 15.9% of all imports, making Morocco vulnerable to global energy price fluctuations and supply disruptions.

Beyond energy, critical imports include wheat and meslin, other than durum wheat... (1.40B, 2.0%), with only compression-ignition internal ... (993.98M, 1.4%), reciprocating piston engines, of a kind ... (949.87M, 1.3%), anhydrous (841.22M, 1.2%), wire, of refined copper, of which the ma... (835.17M, 1.2%).Electronic components and devices total 1.47 billion (2.1% of imports), supporting domestic manufacturing and assembly operations.

The import product mix reveals structural characteristics of Morocco's economy: heavy reliance on imported energy despite industrial advancement, integration into global electronics supply chains, food security dependencies, and sophisticated consumption patterns.

The ratio of raw materials to finished goods in imports (12 : 8among top 20 products) indicates significant value-addition activities domestically. Import substitution potential exists in agriculture and technology sectors through targeted industrial policies and investment.

Product diversification metrics reveal focused product specializationwith implications for economic resilience and growth potential. The technology ladder progression from 11 primary products to 9 high-tech goods indicates the economy's structural transformation and industrial upgrading trajectory.

Value addition opportunities exist in transitioning from raw material exports to processed goods, from components to finished products, and from standard to customized offerings. The product space connectivity, measuring relatedness between current exports and potential new products, suggests strong potential for diversification into adjacent sophisticated products.

⚖️ Trade Balance Dynamics

-22.00 billion
Trade Deficit 18.29% of total trade
PartnerExportsImportsBalance
Spain$9.81B$12.21B$-2.40B
France$8.12B$7.20B+$911.95M
China$744.12M$7.44B$-6.70B
USA$1.63B$5.41B$-3.78B
Germany$2.85B$3.67B$-815.94M

Export-to-import ratio of 0.691 means exports cover 69.1% of import costs.

🔗 Key Relationships

Major Trading Partners

PartnerExportsImportsBalance
Spain$9.81B$12.21B$-2.40B
France$8.12B$7.20B+$911.95M
China$744.12M$7.44B$-6.70B
USA$1.63B$5.41B$-3.78B
Germany$2.85B$3.67B$-815.94M
Italy$2.20B$3.22B$-1.02B
Türkiye$1.58B$3.40B$-1.82B
United Kingdom$2.48B$1.15B+$1.33B
Total$29.41B$43.71B$-14.30B

The Morocco-Spain relationship leads at 22.03 billion in bilateral trade.View detailed analysis →

Additional major partnerships include China (8.19B total trade), USA (7.05B total trade), Germany (6.52B total trade). Regional integration through transatlantic partnerships facilitates technology transfer, market access, and production efficiency. The diversity of trading relationships—78.74B across top 10 partners—provides resilience against bilateral tensions and regional disruptions.

🏆 Competitive Position

Global rankings position Morocco as the #60 exporter worldwide,in the developing trader category. The country's share of global exports at approximately 0.492%offers opportunities for market share expansion.

Export sophistication, measured by the dominance of technology-intensive products, indicates advanced industrial capabilities. The revealed comparative advantage (RCA) index shows strongest competitiveness in sectors where Morocco's global market share exceeds its overall trade share by factors of 2 or more.

Competitive advantages emerge in sectors where export concentration exceeds import share, particularly inignition wiring sets and , with only spark-ignition , diammonium hydrogenorthop. The revealed comparative advantage is strongest in product categories representing20.1% of exports. Market positioning against regional competitors shows niche specialization opportunities.

Trade complementarity with major partners suggests regional production network participation. The export quality ladder, comparing unit values to world averages, indicates competitive pricing strategies.

Competitive dynamics are shaped by factor endowments including cost advantages and resource availability, infrastructure quality, and business environment. The export survival rate, measuring the persistence of export relationships over time, suggests need for relationship strengthening.

Innovation capacity, reflected in the technology content of exports and R&D intensity, determines long-term competitiveness trajectories. The competitive threat from emerging exporters in similar product categories requires continuous upgrading and differentiation strategies to maintain market position. Regional integration through trade agreements provides preferential access to0 markets, creating competitive advantages over non-member competitors.

🎯 Strategic Outlook

ℹ️

Strategic Priority

With a trade deficit of 22.00B, focus should be on export promotion in high-value sectors and strategic import substitution.

The trade profile presents both opportunities and challenges for economic development strategy. Key strengths include strong import capacity enabling technology transfer and consumption growth,diversified market access reducing concentration risk, and competitive positions in high-value manufacturing.

Vulnerabilities include product concentration in cyclical sectors. The intersection of these factors creates a complex strategic landscape requiring careful navigation to maximize opportunities while mitigating risks.

Strategic priorities should focus on export promotion and import substitution to enhance trade competitiveness. Opportunities exist in expanding trade with Netherlands, China, Ethiopia, developing new product capabilities in adjacent product categories, and strengthening regional integration through new partnership frameworks.

The digital transformation of trade, including e-commerce, digital services, and blockchain-based trade finance, offers new avenues for market access and efficiency gains. Green trade opportunities in renewable energy, sustainable products, and carbon markets represent growing segments aligned with global sustainability goals.

The evolving global trade environment, characterized by technological disruption, geopolitical realignment, and sustainability imperatives, will fundamentally reshape Morocco's trade prospects. Success requires balanced policies addressing both improving export capacity while ensuring sustainable import financing.

Investment in infrastructure, education, and innovation ecosystems will determine the ability to climb value chains and capture larger shares of global value addition. The resilience agenda, emphasizing supply chain robustness, strategic autonomy in critical sectors, and economic security considerations, must be balanced with efficiency and openness principles.

As global trade patterns continue evolving, Morocco's position as the world's #60 exporter provides a platform for continued growth, requiring adaptive strategies, institutional strengthening, and sustained commitment to competitiveness enhancement in an increasingly complex and interconnected global economy.

Data Notes

Data from CEPII BACI database, harmonized using UN Comtrade methodology. All values in current USD at 2023 exchange rates. Trade statistics cover merchandise goods only, excluding services. Mirror statistics reconciliation applied for data consistency. 2024 data available January 2026. HS6 product classification follows 2017 revision.

Data source: CEPII BACI | Last updated: January 2025 | Next update: January 2026