When people talk about foreign investment in Mexico, almost everyone thinks of the United States. It makes sense: they share a border, a trade agreement and supply chains. But if you look at the official figures, the second country on the list is not Canada, China or Japan. It is Spain.
In this article I go through the ranking of the countries that invest most in Mexico, take a closer look at Spain and the sectors where it puts its money, and explain the fine print worth reading before celebrating the records.
In short
- Mexico received 34,968 million dollars in foreign investment in the first half of 2026, a record.
- Spain is the second-largest investor, with 14.2%, behind only the United States.
- More than half of Spanish investment goes to banking and insurance, followed by tourism and telecoms.
Who invests in Mexico: the country ranking
In 2025 Mexico received 40,871 million dollars in foreign direct investment (FDI), 10.8% more than the year before and the highest figure on record, according to the Ministry of Economy. For context, global investment flows grew by 6% that year. The first half of 2026 followed the same trend: 34,968 million dollars, 2.1% more than a year earlier and almost double the figure for the first half of 2021.
Key figures
34,968 M
dollars of FDI in the first half of 2026
14.2%
of that investment came from Spain
88.5%
was reinvested earnings
These are the five main countries of origin between January and June 2026:
| Rank | Country | Million dollars | Share of total |
|---|---|---|---|
| 1 | United States | 16,871 | 48.2% |
| 2 | Spain | 4,954 | 14.2% |
| 3 | Canada | 1,741 | 5.0% |
| 4 | Australia | 1,698 | 4.9% |
| 5 | Germany | 1,647 | 4.7% |
Source: Mexico’s Ministry of Economy, FDI report for January to June 2026.
The United States contributes almost half, which makes sense given the border, the USMCA and shared supply chains. The surprise is second place: Spain invests almost as much as Canada, Australia and Germany combined.
Nor is it a one-semester thing. Across 2025 as a whole, the order was the United States (38.8%), Spain (10.8%), Canada (8.1%), the Netherlands (5.8%) and Japan (5.6%). Looking at the last decade (2015–2024), according to the Mexican Institute for Competitiveness (IMCO), Spain is also the second-largest investor, with 32,900 million dollars, ahead of Germany (24,400 million), Belgium, the Netherlands and France.
Spain, Mexico’s second-largest investor
Between January and June 2026, Spain invested 4,954 million dollars in Mexico. Across 2025 it was 4,431 million, a figure that followed a negative 2024: in the first nine months of that year the Spanish balance was −903 million, because companies repatriated more profit than they invested. In the same period of 2025 it swung to +5,765 million. It is a good reminder that one year’s flows can move a lot because of accounting decisions by a few large companies.
That is why it is worth looking at the stock as well, meaning everything invested over the years. Accumulated Spanish investment in Mexico exceeds 68,800 million euros, more than 10% of all Spanish direct investment worldwide. In 2025 Mexico was the second destination for Spanish investment abroad, behind only the United States.
Behind those figures are around 6,000 Spanish-owned companies employing close to half a million people. And more projects are on the way: the Ministry of Economy counts more than 20,000 million dollars committed by Spanish companies that have not yet materialised, including 2,000 million from Santander, 1,000 million from Cox in Nuevo León and close to 400 million from Naturgy.
The sectors where Spain invests
This is the ranking of sectors for Spanish investment in Mexico over the last decade, based on IMCO data:
| Rank | Sector | Million dollars (2015–2024) | Approximate share |
|---|---|---|---|
| 1 | Financial services and insurance | 19,000 | 58% |
| 2 | Tourism (hotels and restaurants) | 3,500 | 11% |
| 3 | Telecoms and media | 3,000 | 9% |
| — | Other sectors | 7,400 | 22% |
| Total Spain | 32,900 | 100% |
Source: IMCO, «European investment in Mexico» (May 2026). Percentages are my own calculation over Spain’s total for the period.
1. Financial services and insurance. By far the number one sector: more than half of everything Spain invests in Mexico. This is where BBVA México and Santander México, two of the country’s largest banks, sit alongside insurers such as Mapfre. Much of their profit stays in Mexico as reinvestment, which explains why Spain weighs so heavily in the statistics.
2. Tourism. Spanish hotel chains are major players on the Mexican Caribbean and in the big cities: Meliá, Barceló, Riu and NH have hotels in Cancún, Playa del Carmen, Cozumel, Puerto Vallarta, Huatulco, Mexico City and Guadalajara. According to IMCO, Spain accounts for most of the foreign investment in accommodation in the country.
3. Telecoms and media. The big name is Telefónica, through its Movistar brand, one of the first foreign operators to bet on the Mexican mobile market.
Other sectors. This includes energy (Naturgy, Repsol and Cox, with its project in Nuevo León), industry (ITP Aero in the Querétaro aerospace cluster) and chemicals and ingredients (Lucta in Mexico City and Iberchem in the State of Mexico), among others.
The fine print: lots of records, little new investment
Here is the nuance that rarely makes the headlines. FDI has three parts: new investment, reinvested earnings and loans between companies of the same group. In the first half of 2026, 88.5% was reinvested earnings and only 7.8% (2,726 million dollars) was new investment.
In other words, the record is driven mostly by companies that were already in Mexico and chose to stay and grow, not so much by newcomers. It is a good sign of confidence, but it is not quite the nearshoring wave that is often taken for granted. In fact, the second quarter of 2026 on its own fell 3.5% compared with the same quarter of 2025.
Mexico’s investment record is explained less by the companies arriving than by the ones deciding to stay.
For Spain this fits its profile well: mature, long-standing investment, concentrated in large companies that reinvest their profits in the country.
Why Spain is betting on Mexico
The numbers do not come out of nowhere. Several reasons reinforce each other:
- Language and culture. Sharing a language does not mean everything works the same way, but it greatly reduces friction when entering and running a business.
- Market size. More than 130 million consumers and a middle class that keeps growing.
- Gateway to North America. Producing in Mexico gives preferential access to the United States and Canada through the USMCA.
- A new agreement with the European Union. The modernised EU–Mexico Global Agreement, signed on 22 May 2026, will make 99% of traded products tariff-free.
Companies themselves confirm it. According to the third Barometer of the Spanish Chamber of Commerce in Mexico (June 2026), almost three out of four Spanish companies expect higher sales this year and more than half plan to increase investment and headcount. Three out of four say nearshoring does not drive their decision: they are in Mexico for the Mexican market.
The relationship also runs both ways. Mexico is the largest Latin American investor in Spain, with around 700 companies and a stock close to 35,000 million euros. In June 2026, on his visit to Mexico City, Spain’s First Deputy Prime Minister and Minister of Economy, Carlos Cuerpo, agreed with Mexico’s Economy Secretary, Marcelo Ebrard, to double bilateral trade by 2030.
My tip
When you read a headline about investment records, always check what the figure is made of. A new factory is not the same as profits a company decides not to send home. Both are good news, but they tell different stories.
Conclusion
Spain is not just another investor in Mexico: it is the second-largest, with decades of presence and thousands of companies that keep betting on the country. The 2026 figures confirm that position, though they also show that growth comes mainly from those who were already there. The challenge now is for the announced commitments and the new agreement with the European Union to turn into genuinely new investment.
Sources: Mexico’s Ministry of Economy, FDI in the first half of 2026 and FDI in 2025; IMCO, European investment in Mexico (May 2026); Spanish Chamber of Commerce in Mexico, third Barometer (June 2026); Spain’s Ministry of Economy and EFE news agency.



