Back to blogForeign Investment

Nearshoring in Mexico: Legal Opportunities and Challenges for Foreign Companies in 2026

April 2, 20268 min read

Over the past three years, Mexico has established itself as the leading nearshoring destination in Latin America. The combination of geographic proximity to the United States, a competitive workforce, and a trade environment backed by the USMCA has attracted unprecedented investment. However, the success of any nearshoring operation largely depends on properly navigating the Mexican legal framework.

The context: Mexico as an investment hub

According to data from the Secretaria de Economia, foreign direct investment (FDI) in Mexico reached historic levels in 2024 and 2025, with sectors such as advanced manufacturing, technology, and shared services leading the capital flow. The Instituto Nacional de Estadistica y Geografia (INEGI) reports that the manufacturing industry represented approximately 17% of the national GDP, consolidating Mexico as the twelfth largest manufacturing economy in the world. States such as Nuevo Leon, Jalisco, Queretaro, and Guanajuato have become high-demand industrial corridors, while Mexico City and Monterrey lead in corporate services and operations centers.

Legal requirements for foreign investment

The Ley de Inversion Extranjera (LIE) establishes the general framework for foreign capital participation in economic activities in Mexico. While most sectors allow up to 100% foreign investment, there are activities exclusively reserved to the Mexican State (such as oil, public electricity service, and postal services) and activities reserved to Mexican nationals or companies with a foreign exclusion clause (passenger land transportation, gas stations, among others).

To incorporate a Mexican company with foreign participation, the investor must obtain a permit from the Secretaria de Relaciones Exteriores (SRE) and register with the Registro Nacional de Inversiones Extranjeras (RNIE) before the Comision Nacional de Inversiones Extranjeras (CNIE). This registration is mandatory when foreign investment participates in the share capital of a Mexican company, when commercial activities are carried out in Mexico, or when the investment threshold established by law is exceeded.

The most commonly used corporate vehicles are the Sociedad Anonima de Capital Variable (S.A. de C.V.) and the Sociedad de Responsabilidad Limitada de Capital Variable (S. de R.L. de C.V.). The choice depends on factors such as the number of partners, the desired governance structure, and tax implications.

Labor framework: REPSE and NOM-035

One of the most critical areas for foreign companies is labor compliance. The 2021 outsourcing reform radically transformed the landscape: now only the outsourcing of specialized services or specialized works that are not part of the corporate purpose or the predominant economic activity of the contracting company is permitted.

Companies offering specialized services must hold the Registro de Prestadoras de Servicios Especializados u Obras Especializadas (REPSE) before the Secretaria del Trabajo y Prevision Social (STPS). Non-compliance can result in fines of up to 50,000 UMAs (approximately $5.4 million pesos in 2026) and joint liability for the contracting party.

Additionally, NOM-035-STPS-2018 requires all employers to identify, analyze, and prevent psychosocial risk factors in the workplace. For workplaces with more than 50 employees, periodic assessments of the organizational environment and the implementation of documented corrective measures are required.

Tax incentives and considerations

Mexico offers various incentives to attract foreign investment. At the federal level, the maquiladora regime (IMMEX) allows the temporary import of raw materials and machinery without paying tariffs or VAT, provided that finished products are exported. This program has been fundamental to the growth of the export manufacturing sector.

Several states offer additional incentives that may include payroll tax reductions, property tax discounts, workforce training support, and streamlined construction permits. Nuevo Leon, Jalisco, and Queretaro have been particularly aggressive in their investment attraction packages.

However, it is essential to consider tax obligations: the corporate income tax (ISR) rate is 30%, and transactions between related parties are subject to strict transfer pricing rules in accordance with OECD guidelines.

Real estate and property

The acquisition of real estate by foreigners is subject to constitutional restrictions in the so-called restricted zone (100 km from borders and 50 km from coastlines). In these areas, foreigners can acquire property rights through bank trusts (fideicomisos) with authorized credit institutions. Outside the restricted zone, Mexican companies with foreign participation can acquire real estate directly, provided they include the Calvo clause in their bylaws.

For industrial projects, industrial parks offer significant advantages: ready-to-operate infrastructure, simplified permits and licenses, and in many cases, access to pre-approved state incentives. The Asociacion Mexicana de Parques Industriales Privados (AMPIP) reports an occupancy rate exceeding 95% in the country's main industrial corridors.

Immigration requirements for executives and key personnel

Foreign executives and employees working in Mexico need a temporary resident visa with permission to carry out paid activities. The typical process involves the Mexican company obtaining a registration certificate as an employer before the Instituto Nacional de Migracion (INM) and subsequently processing the employment offer that will serve as the basis for the foreigner to apply for their visa at the corresponding Mexican consulate.

For short-term business stays (meetings, inspections, training), a visitor visa without permission to carry out paid activities is generally sufficient. The USMCA also facilitates temporary mobility of professionals between Mexico, the United States, and Canada in certain occupational categories.

Recommendations for a successful market entry

  • Conduct a preliminary sector analysis to determine whether there are restrictions on foreign investment in the planned activity.
  • Choose the appropriate corporate vehicle considering the group structure, tax implications in both jurisdictions, and double taxation treaties.
  • Plan labor compliance from the outset, including the hiring structure, REPSE registration if specialized services will be used, and NOM-035 implementation.
  • Evaluate available incentives at both the federal and state level and negotiate them before committing the investment.
  • Engage specialized legal counsel in corporate, tax, labor, and immigration law to avoid costly contingencies.

Sources and references

  1. Ley de Inversion Extranjera. Diario Oficial de la Federacion. Latest published reform.
  2. Secretaria de Economia. Statistical Report on Foreign Direct Investment Trends in Mexico, 2024-2025.
  3. INEGI. Gross Domestic Product by Economic Activity. Sistema de Cuentas Nacionales de Mexico.
  4. NOM-035-STPS-2018. Psychosocial risk factors in the workplace — Identification, analysis, and prevention. DOF.
  5. Secretaria del Trabajo y Prevision Social. Registro de Prestadoras de Servicios Especializados u Obras Especializadas (REPSE). Operational guidelines.
  6. Constitucion Politica de los Estados Unidos Mexicanos. Article 27, section I (restricted zone).
  7. AMPIP (Asociacion Mexicana de Parques Industriales Privados). Industrial activity report, 2025.
  8. Ley de Migracion and its Regulations. Instituto Nacional de Migracion.
  9. United States-Mexico-Canada Agreement (USMCA). Chapter 16: Temporary Entry for Business Persons.

Planning to establish operations in Mexico?

Our team has extensive experience advising international companies on their entry into the Mexican market. Contact us for an initial consultation.

Schedule a consultation