In 2023, the United States was by far Mexico's main export trade partner when taking all products into account. In that year, Mexico exported a total of approximately *** billion U.S. dollars' worth of goods worldwide, over ** percent of which were shipped to the United States.
In 2023, Mexico imported a total of 598.5 billion U.S. dollars in goods worldwide. Over 42 percent of that came from the United States, with an import value of nearly 256 billion dollars. In that same year, Mexico's second most important trading partner was China, with imports valued at about 114 billion U.S. dollars.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Mexico's total Exports in 2024 were valued at US$618.98 Billion, according to the United Nations COMTRADE database on international trade. Mexico's main export partners were: the United States, Canada and China. The top three export commodities were: Vehicles other than railway, tramway; Electrical, electronic equipment and Machinery, nuclear reactors, boilers. Total Imports were valued at US$625.87 Billion. In 2024, Mexico had a trade deficit of US$6.89 Billion.
In 2024, Mexico was the top trading partner of the United States based on import value. In that year, U.S. imports from Mexico totaled to 505.85 billion U.S. dollars. China and Canada rounded out the top three as these countries continue to enjoy a close trading relationship under the United States-Mexico-Canada trade agreement. Germany and Japan were also high on the list, both providing the U.S. with over 140 billion dollars worth of imports in 2024.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Top Import Trading Partners of Mexico with import value and Year on Year growth comparison
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Exports in Mexico decreased to 54295.70 USD Million in April from 55527.33 USD Million in March of 2025. This dataset provides the latest reported value for - Mexico Exports - plus previous releases, historical high and low, short-term forecast and long-term prediction, economic calendar, survey consensus and news.
The United States, by far, is Mexico's most important trading partner. The U.S. is the recipient of over three quarters of all Mexican exports, while the second-largest recipient, Canada, receives only five percent of Mexican exports.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Mexico's total Imports in 2024 were valued at US$625.87 Billion, according to the United Nations COMTRADE database on international trade. Mexico's main import partners were: the United States, China and South Korea. The top three import commodities were: Electrical, electronic equipment; Machinery, nuclear reactors, boilers and Vehicles other than railway, tramway. Total Exports were valued at US$618.98 Billion. In 2024, Mexico had a trade deficit of US$6.89 Billion.
Open Government Licence - Canada 2.0https://open.canada.ca/en/open-government-licence-canada
License information was derived automatically
This table contains 3904 series, with data for years 2000 - 2016 (not all combinations necessarily have data for all years). This table contains data described by the following dimensions (Not all combinations are available): Geography (1 item: Canada); Trade (2 items: Import; Export); Top sixty trading partners (61 items: Total of all countries; United States; China; Mexico; ...); Classification by Broad Economic Categories (BEC4) (32 items: Food and beverages; Food and beverages, primary; Food and beverages, primary, mainly for industry; Food and beverages, primary, mainly for household consumption; ...).
The United States is the source of more than half of all imports into Mexico. However, China has become an increasingly important trading partner in recent decades, and is now the source of over one-fifth of Mexico's imports.
Based on foreign trade balance, the United States was by far Mexico's main trading partner in 2023. That year, Mexico's exports of goods to the U.S. exceeded its imports by about *** billion U.S. dollars. Canada came in second, registering a trade value of around **** billion dollars.
CC0 1.0 Universal Public Domain Dedicationhttps://creativecommons.org/publicdomain/zero/1.0/
License information was derived automatically
This project features a Python script designed to visualize Mexico's trade relationships from 1993 to 2025. Using official trade data sourced from the DataMexico VizBuilder, the script generates:Bar Charts: Highlighting the top 30 export or import trade partners of Mexico for any given year.Choropleth Maps: Showing the trade values (exports or imports) for all countries, customizable by a specific year.The dataset included provides comprehensive trade figures for over three decades, broken down by country and trade flow type (exports or imports).Additionally, the project includes a requirements.txt file for easy dependency installation and sample visualizations to demonstrate the script's functionality.This tool aims to provide researchers, policymakers, and educators with a clear, customizable way to explore and analyze Mexico's trade dynamics over time.
In 2023, Canada was the top trading partner with the United States based on export value. The U.S. exported goods worth about 354.36 billion U.S. dollars to Canada in that year. Mexico, China, the Netherlands, and Germany rounded out the top five export partners in that year.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Brazil Exports: HS2: Vol: Mexico: Live Trees & Other Plants; Others data was reported at 105.000 kg in Aug 2022. This records an increase from the previous number of 33.000 kg for May 2022. Brazil Exports: HS2: Vol: Mexico: Live Trees & Other Plants; Others data is updated monthly, averaging 603.500 kg from Jan 1997 (Median) to Aug 2022, with 110 observations. The data reached an all-time high of 66,046.000 kg in Jun 2005 and a record low of 2.000 kg in Aug 2020. Brazil Exports: HS2: Vol: Mexico: Live Trees & Other Plants; Others data remains active status in CEIC and is reported by Special Secretariat for Foreign Trade and International Affairs. The data is categorized under Brazil Premium Database’s Foreign Trade – Table BR.HS: 2 Digits: Main Trading Partners: Exports: Volume.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
The United States' total Imports in 2024 were valued at US$3.36 Trillion, according to the United Nations COMTRADE database on international trade. The United States' main import partners were: Mexico, China and Canada. The top three import commodities were: Machinery, nuclear reactors, boilers; Electrical, electronic equipment and Vehicles other than railway, tramway. Total Exports were valued at US$2.06 Trillion. In 2024, The United States had a trade deficit of US$1.29 Trillion.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Brazil Automobile Main Trading Partners: Exports: Mexico: Others data was reported at 39.300 USD mn in 2018. This records a decrease from the previous number of 80.100 USD mn for 2017. Brazil Automobile Main Trading Partners: Exports: Mexico: Others data is updated yearly, averaging 80.600 USD mn from Dec 1999 (Median) to 2018, with 20 observations. The data reached an all-time high of 144.000 USD mn in 2005 and a record low of 7.700 USD mn in 2012. Brazil Automobile Main Trading Partners: Exports: Mexico: Others data remains active status in CEIC and is reported by National Association of Automobile Manufacturers. The data is categorized under Brazil Premium Database’s Automobile Sector – Table BR.RAE004: Automobile Main Trading Partners: Exports: Mexico. Export data in value include assembled and knocked-down vehicles, agricultural and highway construction machinery, engines and components manufactured by ANFAVEA member companies.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Imports in Mexico increased to 54383.80 USD Million in April from 52084.88 USD Million in March of 2025. This dataset provides the latest reported value for - Mexico Imports - plus previous releases, historical high and low, short-term forecast and long-term prediction, economic calendar, survey consensus and news.
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Mexico's total Exports in 2024 were valued at US$618.98 Billion, according to the United Nations COMTRADE database on international trade. Mexico's main export partners were: the United States, Canada and China. The top three export commodities were: Vehicles other than railway, tramway; Electrical, electronic equipment and Machinery, nuclear reactors, boilers. Total Imports were valued at US$625.87 Billion. In 2024, Mexico had a trade deficit of US$6.89 Billion.
Open Government Licence - Canada 2.0https://open.canada.ca/en/open-government-licence-canada
License information was derived automatically
This table contains 3904 series, with data for years 2000 - 2016 (not all combinations necessarily have data for all years). This table contains data described by the following dimensions (Not all combinations are available): Geography (1 item: Canada); Trade (2 items: Import; Export); Top sixty trading partners (61 items: Total of all countries; United States; China; Mexico; ...); Classification by Broad Economic Categories (BEC4) (32 items: Food and beverages; Food and beverages, primary; Food and beverages, primary, mainly for industry; Food and beverages, primary, mainly for household consumption; ...).
Attribution 4.0 (CC BY 4.0)https://creativecommons.org/licenses/by/4.0/
License information was derived automatically
Brazil Imports: HS2: fob: Mexico: Silk data was reported at 0.002 USD mn in Sep 2017. This records an increase from the previous number of 0.000 USD mn for Jul 2015. Brazil Imports: HS2: fob: Mexico: Silk data is updated monthly, averaging 0.002 USD mn from May 1999 (Median) to Sep 2017, with 14 observations. The data reached an all-time high of 0.006 USD mn in May 1999 and a record low of 0.000 USD mn in Mar 2009. Brazil Imports: HS2: fob: Mexico: Silk data remains active status in CEIC and is reported by Special Secretariat for Foreign Trade and International Affairs. The data is categorized under Brazil Premium Database’s Foreign Trade – Table BR.HS: 2 Digits: Main Trading Partners: Imports: Value.
In 2023, the United States was by far Mexico's main export trade partner when taking all products into account. In that year, Mexico exported a total of approximately *** billion U.S. dollars' worth of goods worldwide, over ** percent of which were shipped to the United States.