Key facts

Ranked 10th globally for merchandise imports in 2025, Mexico recorded imports of US$683 billion and exports of US$664.8 billion in the World Bank/WTO series. In 2024, UN Comtrade data show that the United States was Mexico's top partner in both directions, taking 81.2% of exports and supplying 41.3% of imports.

Mexico trade at a glance

Scroll sideways to see all columns.

The two columns cover different years and sources, so their totals are not directly comparable. To compare sources, use the same year: see the methodology
MeasureWTO via World Bank (2025)UN Comtrade (2024)
ExportsUS$664.8 billionUS$619.7 billion
ImportsUS$683 billionUS$636.8 billion
Total tradeUS$1.35 trillionUS$1.26 trillion
Trade balance−US$18.2 billion−US$17.1 billion
Import valuation basis—FOB

Mexico exports and imports, 2015–2025

  • Exports
  • Imports

nominal US$

Mexico merchandise exports and imports, 2015–2025 (nominal US$)Mexico exported US$664.8 billion and imported US$683 billion of goods in 2025, according to WTO data published by the World Bank.0US$200 billionUS$400 billionUS$600 billionUS$800 billion20152016201720182019202020212022202320242025ImportsExportsMexico merchandise exports and imports, 2015–2025 (nominal US$)Mexico exported US$664.8 billion and imported US$683 billion of goods in 2025, according to WTO data published by the World Bank.0US$200 billionUS$400 billionUS$600 billionUS$800 billion201520172019202120232025

In 2015, Mexico exported US$380.6 billion in goods and imported US$405.3 billion. Measured in nominal terms, exports had grown 74.7% by 2025, and imports had grown 68.5%. Export growth also outpaced import growth in the latest year: from 2024 to 2025, exports rose 7.6%, while imports rose 4.2%.

Mexico: merchandise exports and imports, 2015–2025 (nominal US$, WTO via World Bank)
YearExports (US$)Imports (US$)
2015US$380.6 billionUS$405.3 billion
2016US$373.9 billionUS$397.5 billion
2017US$409.4 billionUS$432.2 billion
2018US$450.7 billionUS$476.8 billion
2019US$460.6 billionUS$467.1 billion
2020US$417.2 billionUS$393.3 billion
2021US$494.9 billionUS$522.5 billion
2022US$577.7 billionUS$627.5 billion
2023US$593 billionUS$628.5 billion
2024US$617.7 billionUS$655.3 billion
2025US$664.8 billionUS$683 billion

Mexico's top trading partners (2024)

The United States supplied 41.3% of Mexico's merchandise imports in 2024, ahead of China at 20.3%. The gap was wider on the export side, where the United States took 81.2% of Mexico's shipments. Canada was the next destination by value, with 3% of exports.

Export destinations

Mexico top export destinations, 2024 (share of total)Largest: United States with 81.2%.United States81.2%Canada3%China1.5%Germany1.2%Brazil0.8%Japan0.7%South Korea0.7%United Kingdom0.5%Guatemala0.5%Colombia0.5%
Mexico: top export destinations, 2024 (US$, UN Comtrade) UN Comtrade query
RankPartnerExports 2024 (US$)Share of Mexico's 2024 exports (%)
1United StatesUS$503,418,271,23681.2%
2CanadaUS$18,614,316,4863%
3ChinaUS$9,075,970,0161.5%
4GermanyUS$7,133,909,1401.2%
5BrazilUS$4,737,609,9490.8%
6JapanUS$4,257,169,3750.7%
7South KoreaUS$4,065,202,0810.7%
8United KingdomUS$3,132,097,4980.5%
9GuatemalaUS$2,880,631,8630.5%
10ColombiaUS$2,813,043,4910.5%

Non-country partner rows within the overall top ten: North America and Central America, nes (US$12.7 billion, 2.1%); Areas, nes (US$6 billion, 1%); Other Europe, nes (US$5.2 billion, 0.8%); Other Asia, nes (US$4.9 billion, 0.8%).

Import origins

Mexico top import origins, 2024 (share of total)Largest: United States with 41.3%.United States41.3%China20.3%South Korea3.6%Germany3.4%Japan3%Vietnam2.3%Malaysia2.1%Canada2%Brazil1.8%Thailand1.7%
Mexico: top import origins, 2024 (US$, UN Comtrade) UN Comtrade query
RankPartnerImports 2024 (US$)Share of Mexico's 2024 imports (%)
1United StatesUS$262,729,906,09641.3%
2ChinaUS$129,454,752,13220.3%
3South KoreaUS$22,981,976,7603.6%
4GermanyUS$21,356,564,4753.4%
5JapanUS$19,248,484,0743%
6VietnamUS$14,916,598,6182.3%
7MalaysiaUS$13,402,836,4262.1%
8CanadaUS$12,979,109,9502%
9BrazilUS$11,686,628,0801.8%
10ThailandUS$10,769,228,4041.7%

Non-country partner rows within the overall top ten: Other Asia, nes (US$17.7 billion, 2.8%).

Mexico trade with China and the United States (2024)

Mexico: trade with China and the United States, 2024 (US$, UN Comtrade)
PartnerExports to (US$)Share of exportsRank as destinationImports from (US$)Share of importsRank as origin
ChinaUS$9,075,970,0161.5%3US$129,454,752,13220.3%2
United StatesUS$503,418,271,23681.2%1US$262,729,906,09641.3%1

Mexico shipped US$503.4 billion in goods to the United States in 2024, accounting for 81.2% of its exports. Shipments to China totalled US$9.1 billion, or 1.5%. On the import side, Mexico bought US$262.7 billion from the United States and US$129.5 billion from China, representing 41.3% and 20.3% of imports, respectively.

What Mexico exports and imports by HS chapter (2024)

In 2024, Vehicles and parts topped Mexico's export chapters with 25.9% of export value, ahead of Electrical machinery and equipment and Machinery and mechanical appliances. The same chapters made up the import top three, but in a different order: Electrical machinery and equipment accounted for 20.6% of imports, ahead of Machinery and mechanical appliances and Vehicles and parts.

Exports by HS chapter

Mexico top export chapters (HS), 2024 (share of total)Largest: HS 87 Vehicles and parts with 25.9%.HS 87 Vehicles and parts25.9%HS 85 Electrical machinery and equipment17.4%HS 84 Machinery and mechanical appliances17.1%HS 90 Optical and medical instruments4.8%HS 27 Mineral fuels and oils4.5%HS 94 Furniture and lighting2.1%HS 22 Beverages and spirits2%HS 39 Plastics2%HS 07 Vegetables1.7%HS 26 Ores, slag and ash1.6%
Mexico: top export chapters (HS), 2024 (US$, UN Comtrade) UN Comtrade query
RankHS chapterExports 2024 (US$)Share of 2024 exports (%)
1HS 87 — Vehicles; other than railway or tramway rolling stock, and parts and accessories thereofUS$160,602,816,33925.9%
2HS 85 — Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articlesUS$107,742,079,35817.4%
3HS 84 — Machinery and mechanical appliances, boilers, nuclear reactors; parts thereofUS$105,929,497,01517.1%
4HS 90 — Optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus; parts and accessoriesUS$29,901,577,8224.8%
5HS 27 — Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxesUS$28,054,900,0794.5%
6HS 94 — Furniture; bedding, mattresses, mattress supports, cushions and similar stuffed furnishings; lamps and lighting fittings, n.e.c.; illuminated signs, illuminated name-plates and the like; prefabricated buildingsUS$12,770,609,8372.1%
7HS 22 — Beverages, spirits and vinegarUS$12,587,754,5252%
8HS 39 — Plastics and articles thereofUS$12,411,003,5522%
9HS 07 — Vegetables and certain roots and tubers; edibleUS$10,730,250,1871.7%
10HS 26 — Ores, slag and ashUS$10,143,188,7101.6%

Imports by HS chapter

Mexico top import chapters (HS), 2024 (share of total)Largest: HS 85 Electrical machinery and equipment with 20.6%.HS 85 Electrical machinery and equipment20.6%HS 84 Machinery and mechanical appliances17.2%HS 87 Vehicles and parts10.3%HS 27 Mineral fuels and oils6.4%HS 39 Plastics5%HS 99 Commodities not specified5%HS 72 Iron and steel3.2%HS 90 Optical and medical instruments2.9%HS 73 Iron or steel articles1.7%HS 29 Organic chemicals1.7%
Mexico: top import chapters (HS), 2024 (US$, UN Comtrade) UN Comtrade query
RankHS chapterImports 2024 (US$)Share of 2024 imports (%)
1HS 85 — Electrical machinery and equipment and parts thereof; sound recorders and reproducers; television image and sound recorders and reproducers, parts and accessories of such articlesUS$131,176,317,04920.6%
2HS 84 — Machinery and mechanical appliances, boilers, nuclear reactors; parts thereofUS$109,688,739,81717.2%
3HS 87 — Vehicles; other than railway or tramway rolling stock, and parts and accessories thereofUS$65,509,838,78110.3%
4HS 27 — Mineral fuels, mineral oils and products of their distillation; bituminous substances; mineral waxesUS$41,002,444,3766.4%
5HS 39 — Plastics and articles thereofUS$32,104,286,3555%
6HS 99 — Commodities not specified according to kind (UN Comtrade residual code, not an HS chapter)US$31,885,679,5425%
7HS 72 — Iron and steelUS$20,243,544,7433.2%
8HS 90 — Optical, photographic, cinematographic, measuring, checking, medical or surgical instruments and apparatus; parts and accessoriesUS$18,525,087,2322.9%
9HS 73 — Iron or steel articlesUS$10,948,794,2571.7%
10HS 29 — Organic chemicalsUS$10,632,749,5401.7%

The residual code for commodities not specified according to kind is not an HS chapter: UN Comtrade uses it for trade that the reporter does not allocate to a chapter, for example confidential trade.

What the data shows

Exports are more concentrated among top partners

Mexico's top three destinations took 85.7% of its merchandise exports in 2024, while its top three suppliers accounted for 65.2% of imports. The share going to the United States alone, 81.2%, exceeded the combined share of the top three import origins. The partner data thus show a more concentrated pattern for sales abroad than for purchases from abroad.

Exports and imports both reach series peaks

Mexico's merchandise exports reached US$664.8 billion in 2025, and merchandise imports reached US$683 billion. Both were at their highest annual values in the World Bank/WTO series shown, which begins in 2015. Although exports grew faster than imports from 2024, imports remained higher in value, leaving a deficit of US$18.2 billion in the latest year.

Where to find shipment-level data for Mexico

The figures on this page are aggregate trade statistics: national totals by partner and by HS chapter. They do not identify companies, individual shipments or tariff-line detail. Shipment-level records, such as customs declarations and bills of lading, are released by some customs authorities and compiled by commercial data providers; access and coverage vary by country. Our guide explains where to look.

How to find customs import data

Mexico trade data: FAQ

Does Mexico have a merchandise trade surplus or deficit?
Mexico recorded a merchandise trade deficit of US$18.2 billion in 2025. In the World Bank/WTO series, the value of goods imported, US$683 billion, exceeded the value of goods exported, US$664.8 billion.
What are Mexico's main merchandise exports?
Mexico's main export chapter in 2024 was Vehicles and parts, with US$160.6 billion in shipments. It accounted for 25.9% of merchandise exports, compared with 17.4% for Electrical machinery and equipment and 17.1% for Machinery and mechanical appliances.
What does Mexico import the most?
Electrical machinery and equipment topped Mexico's import chapters in 2024, with purchases worth US$131.2 billion. In the UN Comtrade data, the chapter made up 20.6% of merchandise imports, compared with 17.2% for Machinery and mechanical appliances.
Who are Mexico's main trading partners?
In 2024, the United States topped both of Mexico's partner rankings, as the main export destination and the main import origin. Among the other partners, Canada was next by export value, while China was next by import value.

Sources and methodology

World Bank, World Development Indicators — Merchandise exports (current US$) (source: WTO)
Data period: 2015–2025 · Retrieved: November 19, 2026 · Dataset last updated: November 11, 2026 · View source query
World Bank, World Development Indicators — Merchandise imports (current US$) (source: WTO)
Data period: 2015–2025 · Retrieved: November 19, 2026 · Dataset last updated: November 11, 2026 · View source query
UN Comtrade — exports by partner, total goods (2024)
Data period: 2024 · Retrieved: November 19, 2026 · View source query
UN Comtrade — imports by partner, total goods (2024)
Data period: 2024 · Retrieved: November 19, 2026 · View source query
UN Comtrade — exports and imports by HS chapter (2024)
Data period: 2024 · Retrieved: November 19, 2026 · View source query

Figures are merchandise (goods) trade in nominal US dollars. Totals and the trend come from WTO data published by the World Bank; partner and HS chapter breakdowns come from the country's own reports to UN Comtrade. Services trade is not included.

Read the full methodology

Sources: UN Comtrade (United Nations policy on data use). World Bank, World Development Indicators (source: WTO), licensed CC BY 4.0. Compiled by yTrade.