
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
Spain
France
Germany
United Kingdom
Italy
USA
Türkiye
Brazil
India
PolandTop Export Products
📥 Top Import Sources
Spain
China
France
USA
Germany
Türkiye
Italy
Saudi Arabia
Portugal
IndiaTop Import Products
📈 Historical Trade Trends (1995-2023)
29 Years
Data Coverage
29
Data Points
📈
Trend Direction
Morocco Trade Analysis 2023
📊 Overview
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.
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
Export Market Concentration
Export concentration shows Spain as the dominant market at 20.0%. The top three markets control 42.3% of exports.
Regional patterns reveal European market focus. Secondary markets (USA, Türkiye, Brazil) provide $7.08B in additional trade.
📦 Import Sources
Import Source Concentration
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
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
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
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
| Partner | Exports | Imports | Balance |
|---|---|---|---|
| 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
| Partner | Exports | Imports | Balance |
|---|---|---|---|
| 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
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