Key Takeaways at a Glance:
- Independent contractors in Mexico are legal under civil and commercial law, but they receive no statutory benefits such as aguinaldo, vacation pay, or IMSS enrollment.
- Mexico's 2021 outsourcing reform prohibits personnel subcontracting and requires REPSE registration for any specialized service provider whose work falls outside the client's core business.
- Client companies bear joint liability for a subcontractor's non-compliance with worker obligations under the 2021 reform.
- Mexican contractors must issue CFDI 4.0 electronic invoices and operate under the Servicios Profesionales tax regime; missing invoices can trigger SAT scrutiny.
- IP ownership does not transfer automatically under Mexican law; an explicit written assignment clause is required in every contractor agreement.
Are Independent Contractors Legal in Mexico?
Yes. Foreign companies can legally engage independent contractors in Mexico. The relationship is governed by civil and commercial law, not the Federal Labor Law (FLL), which means a true contractor is not entitled to statutory benefits such as aguinaldo (a mandatory annual bonus), vacation pay, or enrollment in the IMSS social security system.
That distinction matters for cost planning. Contractor engagements avoid mandatory benefits obligations, and pay rates in Mexico are generally lower than in many other markets, making the arrangement cost-effective for companies at the early stages of international hiring.
Mexico also offers a large, technically skilled talent pool. The country ranks eleventh globally by population, and its workforce has a strong reputation in engineering and technology. For founders who have found a strong candidate through their network, the contractor route can be a practical starting point, provided the relationship is structured correctly from day one.
The critical qualifier is classification. Mexican law does not care what the contract says; it looks at how the relationship actually operates. The sections below explain exactly where the line sits and what happens when a company crosses it.
How Mexican Law Distinguishes Contractors from Employees
Under Mexico's Federal Labor Law, the defining criterion for employment is subordination, not the label on the contract. If a worker renders personal services under the direction and control of the hiring company, Mexican law treats that person as an employee, regardless of what the agreement says.
The following indicators are the ones authorities examine most closely. Use this as a self-assessment before the engagement begins.
| Indicator | Contractor (lower risk) | Employee signal (higher risk) |
|---|---|---|
| Schedule control | Worker sets their own hours | Company sets or approves working hours |
| Tools and equipment | Worker uses their own tools | Company provides tools, devices, or systems |
| Exclusivity | Worker serves multiple clients | Worker works only for this company |
| Direction of work | Company specifies deliverables only | Company directs how the work is performed |
| Integration | Worker operates independently | Worker is embedded in company processes or teams |
If direction or schedule control is present, Mexican law legally considers the worker an employee. The consequences are significant: the company becomes liable for retroactive statutory benefits, IMSS contributions, fines, and potential legal disputes covering the full duration of the relationship.
A well-drafted contract does not override economic reality. If the day-to-day relationship shows subordination, reclassification is a real risk regardless of what the agreement states.
The 2021 Outsourcing Reform and REPSE: What Hiring Companies Must Know
Mexico's outsourcing reform, published in the Diario Oficial de la Federacion on 24 May 2021, changed the rules for any company using third-party service providers. Two things happened at once: personnel subcontracting was prohibited outright, and a new registration system was created for legitimate specialized service arrangements.
What the reform prohibits. Companies can no longer transfer their own workers to another entity. Workers who perform a company's core business activities must be recognized as direct employees of that company. There is no workaround for this category.
What is still permitted. Subcontracting specialized services or works that fall outside the client company's corporate purpose or predominant economic activity remains legal, but only when the service provider holds a valid registration in the REPSE (Registro de Prestadoras de Servicios Especializados u Obras Especializadas), the public registry maintained by the STPS.
Use this decision logic before engaging any provider:
- If the services are not part of your company's core business activity, the provider must hold a REPSE registration. Verify it before signing.
- If the services are part of your core business activity, the relationship must be structured as direct employment. A contractor agreement will not protect you.
The statutory basis for REPSE registration sits in Articles 13 and 15 of the Federal Labor Law. Both physical persons and legal entities providing specialized services must register via the STPS platform at repse.stps.gob.mx, which is publicly searchable. Any hiring company can look up a provider's registration number before the contract is signed.
Joint liability. Client companies are jointly liable for any non-compliance by the subcontracted provider toward its workers. If the provider fails to pay wages, benefits, or social security contributions, the client company is on the hook.
The 2021 reform also aligned the Fiscal Code, ISR Law, and IVA Law with the Federal Labor Law, stiffening penalties for non-compliance to prevent tax fraud and simulation. The financial exposure from ignoring REPSE requirements is now higher than it was before the reform.
Tax and Invoicing Obligations When Paying Mexican Contractors
Before the first payment is made, a hiring company needs to understand two things: how Mexican contractors are taxed, and what documents must be collected to keep the arrangement compliant.
The Servicios Profesionales regime. Mexican contractors who provide professional services register with the SAT (Mexico's tax authority) under the Servicios Profesionales (honorarios) category. Under this regime, the contractor files monthly provisional income tax (ISR) payments directly with the SAT. The contractor is responsible for their own tax filings; the hiring company is responsible for collecting the right documentation.
CFDI 4.0 invoicing. For every payment, the contractor must issue a valid CFDI 4.0 electronic invoice (comprobante fiscal digital por internet). To validate the invoice, the hiring company must collect the contractor's RFC (tax identification number), full legal name, and postal code. An invoice missing any of these fields is not valid.
Withholding mechanics. When the payer is a Mexican entity, it typically withholds a portion of ISR and the full IVA from the contractor's invoice. When the payer is a foreign entity with no Mexican presence, withholding obligations differ. There is no single withholding rate that applies to all payments in this situation. ISR rates depend on the income category under Articles 153 to 175 of the Income Tax Law (LISR); for example, payments for independent professional services are generally subject to 25% ISR on the gross amount under Article 167, unless a tax treaty provides a lower rate. The standard IVA rate is 16%, with specific withholding rules applying under Article 1-A of the VAT Law. Tax treaties, including the U.S.-Mexico treaty, may reduce the applicable ISR rate. Confirm the exact rates with a Mexican tax advisor before processing the first payment.
Why this matters. The 2021 reform aligned fiscal penalties with labor law, making documentation failures more costly. Without a valid CFDI 4.0 invoice, a payment made by a Mexican entity may not be tax-deductible and could attract SAT scrutiny.
Collect the following before making any payment:
- Contractor's RFC (tax ID)
- Valid CFDI 4.0 electronic invoice for the payment amount
- REPSE registration certificate (if the engagement requires it)
- Signed contractor agreement
Social Security and Cross-Border Compliance Risks
Three risks sit below the surface of most contractor arrangements in Mexico. Each one is manageable with the right structure, but each one can become expensive if ignored.
IMSS enrollment and reclassification. True independent contractors are not enrolled in the IMSS (Instituto Mexicano del Seguro Social) social security system. That is one of the cost advantages of the contractor model. However, if Mexican authorities find subordination indicators and reclassify the relationship as employment, the company becomes liable for retroactive IMSS contributions, penalties, and surcharges covering the full period of the engagement. Mexico has no single statutory IMSS employer rate. Employer contributions vary by insurance branch and the employee's Salario Base de Cotización (SBC). Key employer rates include 1.05% for pensioner medical expenses, 1.75% for disability and life, and 1% for daycare and social benefits, plus a variable Work Risks premium ranging from 0.5% to 15% of SBC depending on the employer's risk classification. The 2021 reform stiffened fiscal penalties across the board, so the financial exposure from a reclassification is higher than it was before.
Permanent establishment risk. A U.S. company using a Mexican contractor who habitually concludes contracts or acts as a dependent agent on the company's behalf may inadvertently create a permanent establishment (PE) in Mexico. Under Article 7 of the U.S.-Mexico Income Tax Treaty, business profits of a U.S. enterprise are generally taxable only in the United States unless the enterprise has a permanent establishment in Mexico; Mexico may then tax the profits attributable to that PE. This risk is most acute when the contractor has broad authority to bind the company commercially. Seek specialist tax advice before structuring any arrangement where the contractor acts on the company's behalf.
FX and payment mechanics. Mexico has no capital controls, so parties can agree to USD-denominated contracts. Foreign-currency invoicing is generally permitted. For foreign-currency obligations payable in Mexico, the debtor may settle in Mexican pesos using the applicable Banxico exchange rate (FIX) published in the Official Gazette (DOF). Confirm current SAT invoicing rules before structuring cross-currency payments.
Each of these risks points in the same direction: the more the engagement resembles employment, the more a formal employment structure reduces exposure.
Drafting a Compliant Contractor Agreement for Mexico
Contractor agreements in Mexico are governed by civil and commercial law, not the Federal Labor Law. The agreement must be in writing, and its terms must reflect how the relationship actually operates. A contract that says one thing while the day-to-day reality shows another will not protect the company from reclassification.
The following clauses are required or strongly recommended for any contractor agreement in Mexico:
- Scope of services defined by deliverables, not hours or schedule. Describe what the contractor will produce, not when or how they will work. Output-based scope avoids subordination indicators.
- Independent contractor status declaration. State explicitly that the relationship is not one of employment and that no labor law benefits apply.
- No subordination language. Avoid terms such as working hours, supervisor, or instructions. These words signal an employment relationship under the Federal Labor Law.
- Payment terms and invoicing requirements. Specify that payment is conditional on receipt of a valid CFDI 4.0 electronic invoice, including the contractor's RFC, full legal name, and postal code.
- IP assignment clause. Include an explicit written assignment of all intellectual property created under the agreement. IP does not transfer automatically under Mexican law.
- Confidentiality obligations. Cover proprietary information, client data, and trade secrets.
- Governing law and dispute resolution. Specify Mexican law and designate either Mexican courts or an arbitration mechanism for dispute resolution.
- Termination provisions. Define the conditions and notice period under which either party may end the agreement.
Have the agreement reviewed by a Mexican attorney before execution. Civil and commercial law requirements vary by state, and a locally qualified review reduces the risk of a clause being unenforceable.
IP Ownership and Data Protection When Working with Mexican Contractors
Two legal requirements catch foreign companies off guard when working with Mexican contractors: IP ownership and privacy notices. Both require action before the engagement begins.
IP does not transfer automatically. Under Mexican copyright law, Article 83 of the Federal Copyright Law (LFDA) provides that, unless otherwise agreed, the person or entity commissioning a work holds the economic (patrimonial) rights. The contract terms for a commissioned work must be clear and precise. For inventions created by an independent contractor, the LFPPI does not contain an equivalent automatic ownership rule. The inventor holds the right to obtain the patent, and ownership must be addressed through a written IP assignment. An explicit written IP assignment clause is therefore required in the contractor agreement for both copyright works and inventions. The assignment must be express and specific; it cannot be implied by the nature of the work or the payment made for it.
The work-for-hire doctrine does not apply. U.S. companies sometimes assume that paying for work is enough to own it. That assumption does not hold in Mexico. Assignment must be stated clearly in the agreement, covering all deliverables produced under the contract.
Privacy notice requirement. Under the LFPDPPP (Mexico's federal data protection law), any company that collects personal data from a contractor, including name, RFC, bank details, and address, must provide a written privacy notice (aviso de privacidad) at or before the time of data collection. B2B status does not create a general exemption from this obligation. The notice must identify the data controller, the personal data collected, the purposes of processing, options to limit use or disclosure, ARCO rights mechanisms, and the procedure for changes to the notice, consistent with Articles 15 to 17 of the LFPDPPP. Failure to provide the notice is a compliance violation regardless of whether the contractor objects. Both the IP assignment clause and the privacy notice should be drafted or reviewed by a Mexican attorney before the engagement begins.
Both the IP assignment clause and the privacy notice should be drafted or reviewed by a Mexican attorney. These are not boilerplate items; they carry legal consequences if they are missing or poorly worded.
When to Use an EOR Instead of a Contractor in Mexico
A contractor agreement works when the engagement is genuinely project-based, the contractor serves multiple clients, and the company does not control how the work gets done. When those conditions are not met, the contractor structure creates more risk than it removes.
Consider converting to employment when any of the following apply:
- The worker is full-time and works exclusively for your company.
- Your company controls their schedule, tools, or work method.
- The work is core to your company's business activity.
- The engagement has run for more than six months with no other clients involved.
- The cost of a reclassification finding, retroactive benefits, IMSS contributions, and fines, would materially affect the company's runway.
For founders who cannot afford that exposure, a Global Employer of Record is the practical alternative. An EOR employs the worker on the company's behalf in Mexico, handling IMSS enrollment, payroll tax filings, and statutory benefits. The company directs the work; the EOR manages the employment. No Mexican entity is required.
If you are new to the model, the how EOR works explainer covers the mechanics before you commit to anything.
Gloroots offers Global EOR services built for startups and growing teams, with centralized employment governance across markets. The model gives companies local execution in Mexico without building a local entity or managing compliance filings directly.
If the engagement looks like employment, convert it before authorities make that determination for you. The cost of conversion is predictable. The cost of reclassification is not.
How Gloroots makes Hiring so easy
Gloroots runs employment in Mexico without requiring a local entity. When a company engages Gloroots as the Employer of Record, Gloroots becomes the legal employer of the worker in Mexico. It handles IMSS enrollment, monthly payroll filings, statutory benefit administration, and contract execution under Mexican law.
The hiring company retains full control over the work: what the person does, what they deliver, and how the relationship is managed day to day. Gloroots manages the employment layer so the company does not have to.
This matters for founders running lean teams. Setting up a Mexican entity takes time and money that most early-stage companies do not have. An EOR removes that requirement entirely. The worker is employed compliantly from day one, and the company pays a predictable, country-specific fee rather than absorbing the variable cost of entity setup, local legal counsel, and ongoing compliance management.
Gloroots positions its services around centralized employment governance: one platform, consistent processes, and clear visibility into employment obligations across every market where the company has headcount. For a founder managing hiring across multiple countries at once, that visibility reduces the operational load significantly.
Frequently Asked Questions
Are independent contractors legal in Mexico for foreign companies?
Yes. Foreign companies can legally engage Mexican independent contractors under civil and commercial law. The contractor receives no statutory benefits such as aguinaldo, vacation pay, or IMSS enrollment. The key requirement is that the relationship must not exhibit subordination indicators under the Federal Labor Law. If it does, the worker is legally an employee regardless of what the contract says.
What is the biggest misclassification risk when hiring contractors in Mexico?
The biggest risk is exercising control over the contractor's schedule, tools, or work method. Mexican law treats subordination, not the contract label, as the defining criterion for employment. If the company directs how or when the work is performed, authorities can reclassify the relationship as employment, triggering retroactive benefits, IMSS contributions, fines, and legal disputes.
Does the REPSE requirement apply to my contractor or only to staffing agencies?
REPSE applies to any physical or legal person providing specialized services that fall outside the client company's core business activity, including individual contractors who operate as legal entities. If your contractor provides services that are not your company's predominant economic activity, they must hold a valid REPSE registration. Verify their registration number at repse.stps.gob.mx before signing any agreement.
What documents do I need from a Mexican contractor before making the first payment?
Collect the contractor's RFC (tax ID), a signed contractor agreement, and a valid CFDI 4.0 electronic invoice for the payment amount. If the engagement requires REPSE registration, also obtain a copy of the contractor's REPSE certificate. Without a valid CFDI 4.0 invoice, the payment may not be tax-deductible for a Mexican payer and could attract SAT scrutiny.
Can I pay a Mexican contractor in USD, or must I pay in MXN?
Mexico has no capital controls, so parties can agree to USD-denominated contracts. However, the contractor's CFDI 4.0 invoice must reflect the MXN equivalent at the exchange rate on the invoice date. Verify current Banxico FX policy and SAT invoicing rules before structuring any cross-currency payment arrangement.
What happens if my contractor is reclassified as an employee by Mexican authorities?
Reclassification means the worker is treated as an employee from the start of the relationship. The company becomes liable for retroactive statutory benefits including aguinaldo and vacation pay, IMSS contributions, penalties, and surcharges. The 2021 outsourcing reform aligned fiscal penalties with labor law, making the financial consequences of non-compliance more significant than they were before.
Is an EOR better than hiring a contractor in Mexico?
An EOR is the better option when the engagement looks like employment: full-time, exclusive, schedule-controlled, or core-business work. An EOR employs the worker compliantly in Mexico, handles IMSS, payroll taxes, and statutory benefits, and eliminates classification risk without requiring a local entity. For genuinely project-based work where the contractor serves multiple clients, a well-structured contractor agreement may be sufficient.






