Monday to Friday · 9:00 a.m. to 6:00 p.m. [email protected] Roma Norte, Mexico City
Oficina corporativa gestionando outsourcing y subcontratación en México
Home / Blog / Subcontracting and Outsourcing in Mexico: New Law ...
Civil Law · · 25 min read

Subcontracting and Outsourcing in Mexico: New Law and Employer Obligations 2026

LV
Lic. Luciana Valle Abogados en CDMX

The labor subcontracting reform, published in the Official Gazette of the Federation (Diario Oficial de la Federación) on April 23, 2021, transformed the Mexican business landscape. The reform banned the outsourcing of personnel in general and created a strictly regulated regime for specialized services. As a result, thousands of companies had to restructure their hiring schemes to comply with the new rules. According to the Secretariat of Labor and Social Welfare (Secretaría del Trabajo y Previsión Social, STPS), close to 3 million workers moved from subcontracting schemes to the direct payroll of their real employers by mid-2022. Five years after the reform took effect, doubts remain about the scope of the ban, the requirements of the Registry of Specialized Service or Specialized Work Providers (Registro de Prestadoras de Servicios Especializados u Obras Especializadas, REPSE), the tax obligations of contracting companies and the penalties for noncompliance. This guide analyzes the legal framework in force in 2026 so that companies and workers understand their rights and obligations under the new subcontracting regime.

Background: Subcontracting in Mexico Before the Reform

Outsourcing in Mexico grew exponentially during the first two decades of the 21st century. What began as a legitimate way to hire auxiliary services became a widespread mechanism for tax evasion and job precarity. Before the reform, the Federal Labor Law (Ley Federal del Trabajo, LFT) regulated subcontracting in Articles 15-A to 15-D. It set minimum requirements that proved insufficient in practice to prevent abuse.

The most common scheme worked like this: companies created intermediary entities, known informally as “outsourcings” or “insourcings,” to register their workers on parallel payrolls with base salaries below the real amount. Workers received the difference through items that did not count toward the base contribution salary, such as productivity bonuses, grocery vouchers or fee payments. The scheme hurt workers badly. They contributed to IMSS (the Mexican Social Security Institute) on a salary below their real pay, which reduced their future pensions. They received severance calculated on the registered base salary instead of their total income. And when they suffered a disability or illness, their social security benefits came out significantly lower.

From the tax perspective, the scheme let the beneficiary companies deduct subcontracting payments as operating expenses, while the outsourcing companies minimized their obligations to the SAT (tax authority), IMSS and INFONAVIT (the national housing fund). In 2020, the STPS estimated that evasion tied to abusive outsourcing reached about MXN $21,000 million per year. This context of mass precarity and lost tax revenue drove the comprehensive 2021 reform, which drew unusual consensus across every party in Congress.

General Ban on Personnel Outsourcing

Article 12 of the Federal Labor Law, as reformed in April 2021, categorically prohibits personnel subcontracting. The law defines it as an arrangement in which an individual or a company provides or makes available its own workers for the benefit of another. This ban is the centerpiece of the reform, and you must understand its scope precisely to avoid wrong interpretations.

The ban targets the transfer of personnel specifically: company A cannot place its workers under the orders and effective subordination of company B. The deciding factor is who exercises real direction and supervision of the work. If workers on one company’s payroll perform their daily services under the instructions, schedules and supervision of a different company, the arrangement counts as prohibited personnel subcontracting, regardless of what the contract calls it.

You must also distinguish this ban from the legitimate arrangements that remain. The reform does not prohibit every form of contracting between companies. It prohibits only the simulation in which one company hands over workers to another without a real specialized service. Article 13 of the LFT sets out the permitted exceptions, which we analyze in the next section.

The consequences of prohibited personnel subcontracting are severe. Article 1004-C of the LFT sets fines of 2,000 to 50,000 times the Unit of Measure and Update (Unidad de Medida y Actualización, UMA) for anyone who subcontracts personnel in violation of the law. At 2026 values (UMA of MXN $117.31 per day), that means penalties from approximately MXN $234,620 to MXN $5,865,500. In addition, the law treats the subcontracted worker as a direct employee of the beneficiary company, with all legal consequences, including recognition of seniority, benefits and social security rights.

Permitted Specialized Services and Specialized Work

Article 13 of the Federal Labor Law permits the subcontracting of specialized services or the execution of specialized work, as long as the parties meet strict requirements. This exception is the only legal way for one company to hire another to carry out activities inside its facilities or production processes. To implement it correctly, you need to understand precisely what qualifies as a specialized service.

A specialized service is one that does not form part of the corporate purpose or the predominant economic activity of the contracting company. The deciding criterion is that the contracted activity is different and distinguishable from the beneficiary’s main activity. For example, a manufacturing company can contract specialized cleaning, security, industrial maintenance, IT consulting or transportation logistics services, as long as these activities are not its main line of business.

ScenarioPermittedProhibited
Manufacturer hires a cleaning serviceYes, it is not its predominant activityN/A
Restaurant hires cooks through outsourcingN/AYes, cooking is its predominant activity
Accounting firm hires securityYes, it is a different specialized serviceN/A
Construction company subcontracts bricklayers through outsourcingN/AYes, construction is its corporate purpose
Hospital hires an IT systems serviceYes, it is not its main medical activityN/A
Department store hires salespeople through a third partyN/AYes, sales are its predominant activity

To determine the predominant economic activity, authorities look at the corporate purpose registered in the company’s articles of incorporation and at the economic activity code registered with the SAT. If the two disagree, labor and tax authorities can investigate to determine the company’s real activity. Case law developed since 2021 holds that the analysis must be substantive, not merely formal: changing the corporate purpose in the articles of incorporation does not evade the ban.

The formal requirements for subcontracting specialized services are as follows. First, the provider company must hold a current REPSE registration. Second, the parties must put the service contract in writing and include the purpose of the services, the approximate number of workers who will take part and the specific conditions of the service. Third, the provider company must direct, supervise and train its own workers. Fourth, the contracted services must not form part of the corporate purpose or the predominant economic activity of the beneficiary.

REPSE Registration: Requirements, Process and Validity

The Registry of Specialized Service or Specialized Work Providers (REPSE) is the control mechanism the reform created to supervise companies that provide specialized services. Without this registration, no company can legally offer specialized subcontracting services. The STPS runs the REPSE and operates it through a digital platform.

The requirements to obtain REPSE registration are as follows. The applicant company must be current on its tax obligations with the SAT and on its social security obligations with IMSS and INFONAVIT. It must show that it has enough of its own resources to meet its labor obligations to its workers, including assets, machinery, equipment, infrastructure and working capital. It must specify the specialized economic activity it intends to offer, and that activity must match its corporate purpose, experience and technical capabilities.

The applicant files the request online through the STPS REPSE portal. The steps are:

  1. Obtain a current e.firma (electronic signature) from the SAT.
  2. Generate the positive opinion on tax compliance (Article 32-D of the Federal Tax Code, CFF).
  3. Obtain the positive compliance opinion from IMSS.
  4. Obtain the tax status certificate (constancia de situación fiscal) with the registered economic activity.
  5. Log in to the REPSE portal and complete the application form.
  6. Attach the articles of incorporation, the legal representative’s ID, proof of address and documents that show the specialization.
  7. Wait for the STPS decision, which the agency must issue within the following 20 business days.

REPSE registration is valid for three years, after which the company must renew it by meeting all the requirements again. However, the STPS can cancel the registration at any time if it detects noncompliance with labor, tax or social security obligations. Once the registration is canceled, the company can no longer provide specialized services and must regularize the employment situation of its workers.

AspectDetail
Responsible authoritySecretariat of Labor and Social Welfare (STPS)
PlatformREPSE digital portal (repse.stps.gob.mx)
Registration validity3 years, renewable
Decision deadline20 business days
Filing costFree
Tax requirementPositive opinion under Art. 32-D CFF
IMSS requirementPositive compliance opinion
INFONAVIT requirementNo outstanding debts
Consequence of cancellationBan on providing specialized services

The REPSE registry is public and searchable. Any company that contracts specialized services can check on the STPS portal whether its provider holds a current registration. This check is not just good practice. It is a legal obligation, and skipping it can create joint liability for the contracting company.

Obligations of the Company That Contracts Specialized Services

The 2021 reform does not regulate only the companies that provide specialized services. It also imposes strict obligations on the companies that hire them. The contracting company, or beneficiary of the services, carries oversight and compliance duties, and failing to meet them can bring significant labor, tax and administrative consequences.

The first basic obligation is to verify that the provider holds a current REPSE registration when the parties sign the contract and throughout the life of the contractual relationship. The beneficiary must document this check and update it periodically. If the STPS cancels the provider’s registration during the contract term, the beneficiary must suspend the contractual relationship immediately.

The parties must sign the specialized services contract in writing, and it must include at least the purpose of the specialized services or work, the approximate number of workers who will take part in the service and the amount of the services. The contract must state clearly that the provider keeps direction and supervision of its workers. The contract cannot include clauses that imply direct subordination of the provider’s workers to the beneficiary.

On the tax side, Article 27, section V, of the Income Tax Law (Ley del Impuesto sobre la Renta, LISR) provides that the beneficiary can deduct payments for specialized services only if it verifies that the provider meets its labor and social security obligations for the workers who take part in the service. Every four months, the beneficiary must obtain from the provider copies of the payroll tax receipts (CFDI de nómina), the VAT returns and the returns for income tax withheld from its workers, as well as proof of payment of employer-employee contributions to IMSS.

Article 15-A of the Social Security Law and Article 29 Bis of the INFONAVIT Law require the provider to file four-month reports detailing the specialized services contracts in force, the identification data of the provider companies, the number of workers involved and the amount of the contracted services. For its part, the contracting company can deduct payments to the provider only if it meets the requirements of Article 27, section V, of the LISR.

The contracting company must also make sure that the provider’s workers enjoy decent and safe working conditions at its facilities. Direct labor liability rests with the provider as the formal employer, but the beneficiary carries joint liability that applies if the provider fails to meet its obligations, as the next section explains.

Joint Liability of the Contracting Company

One of the most important features of the reform is the joint liability regime that falls on the company that contracts or benefits from specialized services. Article 14 of the Federal Labor Law, together with Article 15-A of the Social Security Law and Article 29 Bis of the INFONAVIT Law, makes the beneficiary of the services jointly liable for labor and social security obligations when the provider fails to meet them.

Joint liability (responsabilidad solidaria) means that if the specialized services provider does not pay wages, benefits, IMSS contributions or INFONAVIT contributions, the affected workers can demand compliance directly from the beneficiary company. This liability is not subsidiary, which would require the worker to exhaust the claim against the provider first. It is joint: the worker can sue either company or both at the same time.

Joint liability activates in the following scenarios. When the provider has no current REPSE registration, the beneficiary assumes all labor obligations as if it were the direct employer. When the provider has a registration but fails to meet its labor or social security obligations, the beneficiary answers jointly for the amounts owed. When the contracted services do not qualify as specialized because they match the beneficiary’s predominant activity, the law recharacterizes the relationship and treats the beneficiary as the direct employer.

For workers, joint liability works as an extra guarantee of payment. If the provider becomes insolvent or disappears, the worker can bring the claim against the beneficiary company, which normally has greater financial capacity. In practice, this rule has pushed beneficiary companies to be much stricter when they select and supervise their specialized service providers.

ScenarioType of liabilityConsequence for the beneficiary
Provider without REPSE registrationDirect employerAssumes all labor and social security obligations
Provider with REPSE that fails to meet its obligationsJoint liabilityAnswers for labor and social security debts
Services do not qualify as specializedDirect employerThe employment relationship is recharacterized
Provider disappears or becomes insolventJoint liabilityWorkers can collect directly from the beneficiary
Beneficiary does not verify the provider’s obligationsLoss of tax deductibilityPayments are not deductible for income tax and VAT is not creditable

Penalties for Violating the Subcontracting Law

The penalty regime of the subcontracting reform is particularly severe. It covers administrative fines, tax consequences and criminal liability. The enforcement authorities include the STPS, the SAT, IMSS and INFONAVIT, each within its own area of competence.

In labor matters, Article 1004-C of the LFT sets fines of 2,000 to 50,000 UMA for anyone who subcontracts personnel in violation of the law. Article 1004-B provides fines of 250 to 2,500 UMA, although its text still refers to the obligations of Article 15-B, which the 2021 reform repealed. In 2026, at the updated UMA value, these penalties are significant and can reach several million pesos.

The tax consequences are just as serious. The SAT can treat payments for subcontracting services as non-deductible when the parties do not meet the legal requirements. That creates income tax differences that the company must pay with adjustments, surcharges and possible fines. The VAT charged on these transactions is also not creditable for the contracting company. Article 108 of the Federal Tax Code treats tax fraud as qualified (defraudación fiscal calificada) when parties use simulated specialized services schemes or personnel subcontracting to evade tax obligations, punishable by three months to nine years in prison depending on the amount defrauded.

In social security matters, IMSS can determine constitutive capital (capitales constitutivos) for unpaid employer-employee contribution differences, plus adjustments, surcharges and fines. INFONAVIT can demand payment of omitted contributions with the corresponding charges. Both agencies have the power to conduct audits and on-site inspections to verify compliance.

ViolationLabor penaltyTax penaltyCriminal penalty
Prohibited personnel subcontracting2,000 to 50,000 UMANon-deductibility, VAT not creditableOffense equated to tax fraud
Provider without REPSE registration2,000 to 50,000 UMANon-deductibility for the contracting companyN/A
Provider fails to meet its obligations250 to 2,500 UMAIncome tax and VAT differencesN/A
Failure to file four-month reportsJoint liabilityFine for informational noncomplianceN/A
Simulation of specialized servicesRecharacterization as employerTax fraud3 months to 9 years in prison

SAT, IMSS and INFONAVIT Enforcement

Enforcing the subcontracting rules is a priority for tax and labor authorities. Since the reform took effect, the SAT, IMSS and INFONAVIT have run coordinated audit programs aimed at detecting illegal subcontracting schemes and simulated specialized services.

The SAT runs reviews by cross-checking the payroll CFDIs that provider companies issue, the four-month reports that beneficiaries file and the income tax and VAT returns of both parties. Discrepancies in the number of declared workers, in payroll amounts or in the nature of the invoiced services trigger audit procedures. Since 2022, the SAT has significantly increased its automated data-matching capacity, which lets it identify evasion patterns faster.

IMSS checks that the workers who provide services at a company’s facilities are properly registered, either by the provider or by the beneficiary. Verification visits happen without warning, and inspectors have the power to interview workers, request documents and draw up detailed records (actas circunstanciadas). If inspectors find workers at a workplace who have no IMSS registration or who are registered with a salary below their real pay, IMSS determines constitutive capital and fines.

INFONAVIT, for its part, runs audits aimed at detecting differences between workers’ real salaries and the registered base contribution salaries. When it finds differences, INFONAVIT determines tax credits for the omitted contributions, plus adjustments and surcharges. It also works with the SAT and IMSS in joint enforcement programs that allow comprehensive audits of companies suspected of noncompliance.

Companies selected for audit receive formal requests for information and documents. You must answer these requests within the legal deadlines and with specialist advice, because failing to respond or submitting incorrect information can significantly worsen the penalties. If you receive a request from the SAT, IMSS or INFONAVIT related to subcontracting, seek specialized legal advice immediately.

Specialized Services Contracts: Essential Clauses

Drafting the specialized services contract correctly is a cornerstone of compliance and protects both the provider and the beneficiary. A deficient contract creates legal risk, and authorities can use it as evidence of simulation. Every specialized services contract must contain the clauses below.

Purpose of the contract. The contract must describe precisely the specialized activity the provider will perform, using terminology consistent with the REPSE classification and with the economic activity registered with the SAT. The description must be specific enough to clearly separate the contracted services from the beneficiary’s predominant activity. Generic descriptions such as “provision of administrative services” are not enough: the contract must detail exactly which services the provider will perform and how.

Number of workers and profiles. The contract must specify the approximate number of workers who will take part in the service, as well as the professional profiles required. This information must match the IMSS records and the four-month reports filed with the SAT.

Direction and supervision. The contract must state expressly that the provider keeps direction, supervision, training and disciplinary control over its workers. Any clause that transfers these powers to the beneficiary can be read as prohibited transfer of personnel. We recommend naming a coordinator or supervisor from the provider as the only channel of communication with the beneficiary for operational instructions.

Term and grounds for termination. The contract must have a fixed term and provide grounds for early termination, including cancellation of the provider’s REPSE registration, noncompliance with labor or social security obligations, and a determination by authorities that the services do not qualify as specialized.

Reporting obligations. The parties must agree that the provider will periodically give the beneficiary copies of payroll CFDIs, IMSS and INFONAVIT compliance certificates and any other documents the beneficiary needs to meet its verification and reporting duties.

Joint liability. We recommend including indemnity clauses in which the provider agrees to hold the beneficiary harmless from any labor, tax or social security claim that arises from the provider’s failure to meet its obligations. These clauses do not remove joint liability toward the workers, but they let the beneficiary recover from the provider any amounts it had to pay.

If you need advice to review or draft specialized services contracts, consult our labor law specialists to ensure full compliance with current rules.

Impact of the Reform on SMEs and Compliance Best Practices

Small and medium-sized businesses (SMEs) faced particular challenges in adapting to the new subcontracting regime. Large corporations have legal and tax departments, but SMEs often lack the resources to implement regulatory changes with the speed and precision the law requires. Still, the law does not distinguish by company size, and penalties can hit a small business proportionally harder.

The first challenge SMEs faced was the transfer of personnel. Many small companies used outsourcing schemes precisely because they lacked the administrative infrastructure to manage complex payrolls, meet tax obligations and administer social security benefits. The obligation to bring workers onto their direct payroll raised labor costs significantly. Workers did not earn more, but companies now had to absorb in full the employer contributions to IMSS, the INFONAVIT contributions, the payroll tax (Impuesto sobre Nóminas) and the other charges that the outsourcing company used to absorb.

Best compliance practices for companies that contract specialized services include the following. First, keep an updated file on each specialized service provider with a copy of the current REPSE registration, the SAT positive opinion, the IMSS compliance certificate and the signed services contract. Second, set up a four-month verification calendar to request and review the documents that prove the provider’s compliance with labor and tax obligations. Third, document rigorously that direction and supervision of the workers belong exclusively to the provider. Fourth, prevent the provider’s workers from using uniforms, email addresses, business cards or any other element of the beneficiary’s corporate identity. Fifth, make sure the contracted functions are clearly distinct from the company’s predominant activity.

For SMEs that offer specialized services, our recommendations include keeping the REPSE registration current and renewing it on time, meeting all labor, tax and social security obligations promptly, keeping the supporting documents for each active contract, and staying up to date on the criteria authorities keep issuing on how to classify specialized services.

Transition From Earlier Schemes and Regularization

Companies that still operate under subcontracting schemes that do not meet current rules face a growing risk of audits and penalties. The formal transition period set by the reform ended on September 1, 2021, but in practice some sectors and companies did not finish adapting their schemes. Late regularization remains possible and costs significantly less than facing penalties for noncompliance.

The regularization process for companies that keep prohibited personnel outsourcing schemes involves several steps. First, run a comprehensive diagnosis of the hiring structure to identify every relationship that qualifies as prohibited personnel subcontracting. Second, design a migration plan that moves the workers to the beneficiary company’s direct payroll and respects their working conditions, seniority and acquired rights. Third, formalize individual employment contracts with each transferred worker. Fourth, register the workers with IMSS and INFONAVIT at the real salary they earn. Fifth, terminate the service contracts with the intermediary companies that the business no longer needs.

The transfer of workers must respect the principle of continuity of the employment relationship in Article 41 of the LFT. Workers keep their seniority, the employer cannot change working conditions to the worker’s detriment and acquired benefits must stay in place. A worker can challenge any reduction in working conditions tied to the transfer before the labor court. If an employer dismissed you during the transition away from an outsourcing scheme, use our Labor Severance Calculator to estimate the compensation you are owed.

Companies that want to keep hiring third-party services legitimately must also verify that the contracted services qualify as specialized, that the provider holds a current REPSE registration and that the contracts meet every formal requirement described in this guide.

The subcontracting regime in Mexico rests on a broad body of rules that runs from the Constitution to specific regulatory provisions. Knowing the legal sources lets companies and workers support their positions and defend their rights before the competent authorities.

Article 123 of the Political Constitution of the United Mexican States (Constitución Política de los Estados Unidos Mexicanos), section A, establishes the basic principles of labor law, including the right to decent work, the minimum wage, the maximum workday and social security. These constitutional principles are the foundation on which the subcontracting reform sought to correct the job precarity that abusive outsourcing created.

The Federal Labor Law, in Articles 12 to 15, contains the main framework for regulating subcontracting. Article 12 sets the ban on personnel subcontracting. Article 13 permits subcontracting of specialized services under the requirements already described. Article 14 regulates the joint liability regime. Article 15 requires providers of specialized services to register with the STPS (REPSE).

The Social Security Law, in Articles 12, 15 and 15-A, sets the obligations of provider and beneficiary companies in social security matters. The INFONAVIT Law complements these rules on housing. The Federal Tax Code, in Article 15-D, denies tax effects to payments for personnel subcontracting. The Income Tax Law and the VAT Law contain the specific rules on deductibility and creditability that apply to payments for specialized services.

For a full picture of the obligations that come with the employment relationship, we recommend our guide on employment contracts in Mexico. It covers contract types, mandatory clauses and the rules on probation and training that apply to workers moved from outsourcing schemes to the employer’s direct payroll.

Frequently Asked Questions

Can I keep hiring a cleaning or security company under the new scheme?

Yes, as long as the cleaning or security company holds a current REPSE registration and cleaning or security is not part of your company’s predominant economic activity. These are classic examples of specialized services that Article 13 of the LFT permits. You must sign a written contract that meets every legal requirement and verify every four months that the provider meets its labor and social security obligations.

What happens if I hire specialized services from a company without REPSE registration?

The law treats the contract as void for purposes of specialized services subcontracting. The workers of the unregistered company become direct employees of your company, with all legal consequences, including recognition of seniority and benefits. Your company also loses the ability to deduct the payments for income tax and to credit the corresponding VAT. Fines can reach 50,000 UMA.

How do I know whether a service I hire qualifies as specialized?

The basic criterion is that the contracted service does not form part of your predominant economic activity or your corporate purpose. Compare your company’s activity registered with the SAT against the service you want to hire. If they differ, and the service requires knowledge, skills or equipment different from those of your main business, it likely qualifies as specialized. When in doubt, request an initial consultation with a specialist in labor law to evaluate your particular situation.

Does the beneficiary’s joint liability have any limit?

Joint liability covers every labor and social security obligation that the provider fails to meet for the workers who take part in the service. This includes wages, Christmas bonus (aguinaldo), vacation, vacation premium, PTU (profit sharing), IMSS contributions, INFONAVIT contributions, dismissal compensation and any other benefit that comes from the employment relationship. It has no predetermined monetary cap: it extends to the full amount of the debts. That is why you must verify your provider’s compliance on an ongoing basis.

Can I deduct payments for specialized services for tax purposes?

Yes, as long as you meet every legal requirement. The provider must hold a current REPSE registration, the contract must meet the formal requirements, you must obtain and keep the corresponding CFDIs, and you must verify every four months that the provider meets its labor and tax obligations. Your provider must also file the four-month reports with IMSS and INFONAVIT under Article 15-A of the Social Security Law and Article 29 Bis of the INFONAVIT Law. Failing any one of these requirements can make the payments non-deductible.

What should I do if the SAT notifies me of a subcontracting audit?

When you receive an audit notice, act quickly and get specialized advice. First, verify that the notice is legitimate and meets the formal requirements of Article 38 of the CFF. Second, identify the periods and items the review covers. Third, gather all supporting documents, including contracts, REPSE registrations, the provider’s payroll CFDIs, four-month reports and compliance certificates. Fourth, contact a labor law attorney to advise you throughout the audit procedure and, when appropriate, file the right defenses.

You May Also Be Interested In

Free initial consultation

Does your case need legal attention?

Talk directly with a specialist lawyer. We evaluate your situation, explain your options, and give you a transparent quote in a single call.