Nearshoring to Mexico: The Complete Legal Guide (2026)
Relocating manufacturing to Mexico requires navigating entity setup, the IMMEX duty-deferral program, Plan México tax incentives, USMCA rules of origin, and labor compliance. This guide walks through each layer.
By Raul O´Farril
Why companies are moving operations to Mexico
Proximity to the United States, a deep manufacturing base, competitive labor costs, and—critically—preferential access under the USMCA trade agreement make Mexico the leading nearshoring destination. Companies from the United States, China, Japan, South Korea, and Europe are establishing or expanding Mexican operations to shorten supply chains, reduce exposure to trans-Pacific shipping, and avoid tariff barriers.
Step one: the legal entity
Almost every nearshoring project begins by incorporating a Mexican company, typically a Sociedad de Responsabilidad Limitada de Capital Variable (S. de R.L. de C.V.) or Sociedad Anónima de Capital Variable (S.A. de C.V.). A foreigner can own 100% in unrestricted sectors—and manufacturing generally falls into that category. This entity signs leases, hires staff, imports equipment, and holds the operating permits.
The incorporation process itself is straightforward and takes weeks. The harder work lies in structuring the entity correctly for tax planning (especially to capture Plan México incentives) and ensuring the parent company has the right documentation for foreign investment registration if needed. See our guide on opening a company in Mexico from abroad for the full mechanics.
Step two: the IMMEX program (maquila)
The IMMEX program (Industria Manufacturera, Maquiladora y de Servicios de Exportación) is the backbone of export manufacturing in Mexico. It lets a company temporarily import raw materials, components, and machinery without paying import duties and VAT up front, provided those inputs are transformed and the finished goods are exported.
For a manufacturer bringing inputs into Mexico to assemble and ship north, IMMEX is usually essential to the project economics. Without it, you pay tariffs and VAT on entry, then claim a refund later—a cash-flow and administrative burden. With IMMEX, the inputs move through duty-free and VAT-deferred as long as you export the finished product.
Registration is not automatic. You must file an IMMEX application with the Administración General de Aduanas (Customs Authority), demonstrate your manufacturing process, and commit to strict inventory control and monthly reporting. The program is audited regularly, so the compliance side is serious: you cannot treat IMMEX as a tax dodge. It is a customs-administration tool that requires discipline.
Step three: the Plan México tax incentives
On January 21, 2025, Mexico published a decree of tax incentives under the national strategy known as Plan México, aimed squarely at nearshoring investment. The headline benefits:
Accelerated depreciation of fixed assets. New manufacturing equipment, machinery, and buildings acquire depreciable lives that are compressed far below ordinary rates. The accelerated rates range from roughly 35% up to 91% depending on the asset class and sector, and they apply to assets acquired through September 30, 2030. This front-loads deductions into the first few years of operation, reducing taxable income sharply.
Additional deduction for employee investment. A company may deduct an additional 25% on top of ordinary deductions for increases in spending on employee training and innovation, available through fiscal year 2030.
These incentives are not automatic. A taxpayer must:
- Submit a detailed investment project (typically 30–100 pages).
- Obtain a compliance certificate from an Evaluation Committee established by Mexico's economy ministry.
- Meet eligibility criteria, which generally require a minimum investment threshold and job creation.
The program also operates under an overall national cap, so approval is competitive. Structuring the application correctly—defining the project scope, modeling the tax benefit conservatively, and timing the asset acquisitions—is where specialized tax counsel earns value. A misstep in the filing can delay approval by months or result in denial.
Step four: USMCA and rules of origin (what changed in 2026)
USmca (known in Mexico and Canada as T-MEC, Tratado entre México, Estados Unidos y Canadá) is what lets qualifying goods made in Mexico enter the United States duty-free. Rules-of-origin compliance is therefore the single most valuable thing a nearshoring operation can get right.
Two 2026 developments matter for planning:
July 1, 2026 treaty review. On that date, the three governments held the treaty's first mandatory joint review. The United States declined to renew the agreement "in its current form," which triggers an annual review process through 2036. This sounds dramatic but is less so in practice: the agreement remains fully in force, current tariff preferences apply, and rules of origin are unchanged. The option to extend remains open.
Ongoing negotiating rounds. The United States and Mexico are engaged in bilateral talks, with rules of origin for key industrial goods (notably automotive), steel and aluminum, and "economic security" on the agenda. These talks may result in changes after 2026, but the timeline is uncertain.
The practical takeaway: The framework is stable today but under active negotiation. Companies that document and prove origin rigorously are protected regardless of where the talks land—and usage of USMCA preferences among Mexican exporters has climbed sharply as tariff pressures build. Build origin compliance into your operations from day one; don't treat it as optional or secondary. A product that qualifies for zero-tariff entry to the U.S. under USMCA is worth 5–15% more than one that faces the most-favored-nation tariff rate.
Step five: labor law—the outsourcing reform
Mexico's 2021 labor reform prohibits the outsourcing of a company's core business activities. You cannot staff your main production line through a third-party labor supplier. This was a major change aimed at eliminating a loophole that companies used to avoid direct employment obligations.
The exception is specialized services that are not part of your core business. Legitimate subcontracting in areas like security, catering, maintenance, or logistics is permitted, provided the service provider is registered in the specialized-services registry (REPSE).
For a nearshoring operation, the practical implication is clear: you must hire your production workforce directly. This means you are responsible for social security registration (IMSS), housing fund contributions (INFONAVIT), and mandatory profit-sharing (PTU). You cannot shift those obligations to a staffing agency.
Direct hiring also has an upside: you control labor quality, training, and retention. A temporary workforce hired through intermediaries is often less stable.
Step six: real estate, environmental permits, and IP
Industrial real estate. Mexico restricts foreign ownership of land within 50 kilometers of coasts and 100 kilometers of borders. If your site falls into the restricted zone, you must hold title through a fideicomiso (bank trust) or a Mexican corporation. Title searches and deed recordings are standard in most industrial parks; confirm these are done correctly before you commit.
Environmental permits. Manufacturing typically triggers environmental impact authorization from SEMARNAT (the environment ministry) and, for certain industries, sector-specific permits from other regulators. Examples include energy, waste disposal, water, and chemical handling. These should be scoped during site selection; a location that cannot obtain required permits is a dead end.
Intellectual property. Home-country trademark and patent registrations do not automatically protect you in Mexico. File separately with the Instituto Mexicano de la Propiedad Industrial (IMPI). Do this early; it is inexpensive insurance.
Putting it together: a typical sequence
A well-run nearshoring project usually follows this order:
- Sector and tariff analysis. Confirm the sector is open to foreign investment and model the USMCA tariff position. What tariff will imports face if you do not qualify? What does USMCA-compliant production save?
- Entity incorporation. Form the Mexican company and, if applicable, register as a foreign investor.
- IMMEX and incentive planning. Apply for IMMEX and, if the investment is large enough, file the Plan México incentive application. (These can run in parallel.)
- Site and environmental due diligence. Secure the site; run environmental impact screening and land-title checks. Confirm permits are obtainable.
- Labor and tax registration. Register for labor, social security (IMSS), housing fund (INFONAVIT), and tax obligations (RFC, SAT).
- Rules-of-origin documentation and compliance infrastructure. Build the systems to track origin of inputs, document transformations, and maintain records for customs audits.
Each step has a specialist owner—corporate counsel, tax, customs/foreign-trade, labor, environmental. This is exactly why a coordinated legal network matters more than any single lawyer.
Frequently asked questions
Can a Chinese or Asian manufacturer use Plan México incentives and IMMEX in Mexico?
Yes. Both programs are open to foreign-owned Mexican companies regardless of the parent company's nationality, subject to the same eligibility criteria and USMCA rules of origin. Origin planning is especially important when inputs are sourced outside North America; U.S. customs will scrutinize the regional-value content of your finished goods.
Is USMCA still in effect after July 2026?
Absolutely. The agreement remains in force. The July 2026 review moved it into an annual review cycle rather than a renegotiation, but tariff preferences, rules of origin, and investment protections continue to apply without interruption.
How long does it take to stand up a nearshoring operation from scratch to production?
The entity can be formed in 2–4 weeks. IMMEX registration typically adds 4–8 weeks. Plan México incentive approval, land-lease negotiation, site permitting, and labor setup generally extend the full timeline to 4–9 months, depending on sector and location complexity. Automotive and high-tech have more permitting layers; some sectors are faster.
Do I need different lawyers for each part?
In practice, yes. Corporate formation, foreign-trade and customs, tax structuring, labor compliance, and environmental permits are distinct specialties, each with its own technical language and filing requirements. A coordinated network ensures nothing falls through the cracks and allows specialists to spot conflicts or synergies early.
What happens if USMCA rules of origin change after I set up production?
Changes to rules of origin typically come with transition periods. Existing production methods are usually grandfathered for a time. The key is to document your current process carefully; this creates evidence of "reasonable reliance" on the law as it was when you made the investment. Do not rely on oral advice or informal understandings with customs brokers; get written opinions from qualified Mexican customs counsel.
Can I own the land, or do I have to lease it?
If your site is outside the restricted zone (50 km from coasts, 100 km from borders), you can own it directly. Inside the restricted zone, you must use a fideicomiso or hold it through a Mexican corporation. Fideicomiso costs are low (typically a few thousand pesos to set up, a few hundred pesos annually to maintain) and are standard in border manufacturing regions.
Frequently asked questions
Can a Chinese or Asian manufacturer use Plan México incentives and IMMEX in Mexico?
Yes. Both programs are open to foreign-owned Mexican companies regardless of the parent company's nationality, subject to the same eligibility criteria and USMCA rules of origin. Origin planning is especially important when inputs are sourced outside North America; U.S. customs will scrutinize the regional-value content of your finished goods.
Is USMCA still in effect after July 2026?
Absolutely. The agreement remains in force. The July 2026 review moved it into an annual review cycle rather than a renegotiation, but tariff preferences, rules of origin, and investment protections continue to apply without interruption.
How long does it take to stand up a nearshoring operation from scratch to production?
The entity can be formed in 2–4 weeks. IMMEX registration typically adds 4–8 weeks. Plan México incentive approval, land-lease negotiation, site permitting, and labor setup generally extend the full timeline to 4–9 months, depending on sector and location complexity.
Do I need different lawyers for each part of setting up a nearshoring operation?
In practice, yes. Corporate formation, foreign-trade and customs, tax structuring, labor compliance, and environmental permits are distinct specialties. A coordinated network ensures nothing falls through the cracks and allows specialists to spot conflicts or synergies early.
What happens if USMCA rules of origin change after I set up production?
Changes to rules of origin typically come with transition periods, and existing production methods are usually grandfathered for a time. The key is to document your current process carefully; this creates evidence of reasonable reliance on the law as it was when you made the investment. Get written opinions from qualified Mexican customs counsel, not just oral advice.
Have a specific question?
Ask our AI legal assistant for cited, plain-English answers on Mexican law.
Start a conversation