Mexico Employment Law and Payroll: Benefits, Labor Cost, and Employer Obligations

Last Updated: Aug 14, 202610 min readMina Stojkovic
Mexico Employment Law and Payroll: Benefits, Labor Cost, and Employer Obligations

Mexico employment law does not turn a software engineer's salary into one universal payroll-cost percentage. The employer must account for statutory benefits, social security, housing contributions, state payroll tax, profit sharing, telework duties, paid-time capacity, payroll administration, and scenario-specific termination exposure.

This guide builds those layers from a dated Mexico City example. It helps foreign employers compare a Mexican entity, an employer of record, and other routes for hiring developers in Mexico. The final payroll calculation still has to be performed employee by employee.

Key Findings

  • Employer cost depends on salary, benefits, IMSS, INFONAVIT, state tax, and employee facts

  • The Mexico City model reaches MXN 794,379.55, or 32.40% above twelve monthly salaries

  • The maximum workweek falls from 48 hours in 2026 to 40 hours in 2030 without salary or benefit cuts

  • PTU is 10% of applicable profit, not payroll

The legal and payroll sources were checked on August 14, 2026. Actual payroll should be calculated in the current IMSS SUA system and reviewed by qualified Mexican payroll, tax, and labor advisers.

Mexico employment law: the employer comes first

An employment relationship exists when a person performs subordinate personal work for another in exchange for pay, and the working facts carry more weight than an invoice, contractor label, platform description, or foreign-law clause.

Before building a cost model, identify:

  • the Mexican legal employer and its employer registrations;

  • the employee's work location and applicable state payroll tax;

  • the contractual salary, pay frequency, variable compensation, and benefits;

  • the employee's service-based vacation entitlement;

  • the work schedule, weekly rest, overtime, and on-call arrangements;

  • whether the statutory telework threshold is met;

  • the employer's IMSS risk classification and current premium; and

  • the termination, transfer, or conversion scenario being planned.

A buyer using its own Mexican entity carries these duties directly. An employer of record in Mexico performs local employer and payroll functions under contract, but the underlying employment costs and buyer-side operating risks do not disappear.

The software development in Mexico hub provides broader provider and country context.

Put the employment terms in writing

The written employment agreement should identify the employer and employee, the employment term, the services and work location, and the schedule. It also needs to record salary and payment arrangements, training, benefits, and other working conditions. For a software role, add confidentiality, applicable telework terms, repository and system access, and the intended intellectual-property chain to the control file.

An indefinite relationship is the default when the parties do not establish another valid term. A fixed term or defined project is valid only when its basis is permitted by the Federal Labor Law; an agreement's end date cannot supply that basis. Test the statutory basis before treating contract expiry as the termination or cost assumption.

Statutory employee benefits in Mexico

The Federal Labor Law establishes minimum rights. Employment agreements and collective terms can improve them, and service length changes some entitlements.

ItemCurrent minimum or ruleBudget treatment
AguinaldoAt least 15 salary days, payable before December 20Separate annual cash payment and part of the integrated salary calculation
Vacation12 paid working days after the first year, increasing with service under Article 76Salary already covers the paid days; capacity and the premium still matter
Vacation premiumAt least 25% of salary for the vacation periodSeparate cash addition
Weekly restAt least one paid rest day after six working daysInclude in scheduling and paid capacity
Public holidaysStatutory mandatory rest daysPlan coverage and any work performed on those days
PTU10% of the applicable profit base, subject to exemptions and employee-level rulesModel from entity facts, never as a flat payroll percentage
Social securityEmployer and employee contributions calculated through IMSS rulesUse the employee's integrated salary base and the current payroll period
INFONAVITEmployer contribution of 5% of the applicable integrated salary baseSeparate employer contribution

Mexico's aguinaldo minimum equals 15 salary days. For a monthly-paid employee, that is less than a full thirteenth salary, so the familiar “13th-month payment” shorthand overstates the statutory floor.

Paid vacation remains inside contractual salary, while the vacation premium is the separate cash addition and the days still reduce delivery capacity unless another person covers the employee's work.

The minimum vacation entitlement and the model's fixed-benefit integration factor increase with service:

Completed service used for the entitlementMinimum vacation daysIntegration factor with 15-day aguinaldo and 25% vacation premium
1 year121.049315
2 years141.050685
3 years161.052055
4 years181.053425
5 years201.054795
6–10 years221.056164

The factor assumes statutory-minimum benefits and a fixed salary. Better contractual benefits, longer service, or variable compensation require a new employee-level calculation.

For 2026, the official daily minimum is MXN 315.04 generally and MXN 440.87 in the northern-border free zone. These figures help test legal floors and some statutory calculations. They do not describe software engineer salaries in Mexico.

The maximum workweek is now on a transition path

Mexico's May 1, 2026 workweek reform keeps the maximum ordinary workweek at 48 hours in 2026 and reduces it by two hours per year until it reaches 40 hours in 2030.

YearMaximum ordinary workweek
202648 hours
202746 hours
202844 hours
202942 hours
203040 hours

The reform does not permit employers to reduce salary or benefits because the maximum week falls. A business that needs to preserve the same coverage may face a capacity cost even if annual salary is unchanged.

mexico-employment-law-payroll-costs-workweek-transition.jpg

Do not translate the statutory maximum into a default schedule for nearshore software teams in Mexico. The employment agreement, daily limits, rest, overtime, night work, on-call coverage, and actual delivery pattern all need review.

What Mexican payroll includes

A comparable payroll model has at least five layers:

  1. contractual salary and variable pay;

  2. statutory minimum cash benefits;

  3. IMSS and INFONAVIT employer contributions;

  4. state payroll tax; and

  5. contingent or arrangement-specific costs.

The fifth layer includes PTU, voluntary benefits, telework, overtime, paid-time coverage, administration, termination, immigration, equipment, and any EOR or intermediary fee.

IMSS requires a component calculation

Employer social-security cost combines:

  • a fixed sickness-and-maternity item tied to the UMA;

  • an amount on the salary base above three UMA;

  • several percentages of the salary base for cash benefits, pensioner medical benefits, disability and life, childcare, social benefits, and retirement;

  • a salary-band-dependent cesantía en edad avanzada y vejez (CEAV) rate;

  • an employer-specific work-risk premium; and

  • a 25-UMA ceiling for applicable contribution calculations.

Salary, pay mix, benefits, UMA, risk experience, contribution days, and year all affect the result. The 2026 CEAV rate used in the worked example is transitional; projections need the rate for the year being modeled.

For a salary base above 4.01 UMA, the employer CEAV rate follows this official transition:

YearEmployer CEAV rate for this salary band
20267.513%
20278.603%
20289.694%
202910.784%
2030 onward11.875%

These percentages cover only the CEAV component of IMSS. Other salary bands use their applicable rates.

Work risk also prevents one-rate budgeting. The Social Security Law sets a 0.5% to 15% range, while the employer's registered activity and claims experience determine the applicable premium. The 0.54355% used below is only the Class I mean or initial scenario input.

INFONAVIT and state payroll tax remain separate

INFONAVIT adds an employer contribution equal to 5% of the applicable integrated salary base.

State payroll tax depends on the employing state, its current rate, taxable base, exclusions, and incentives. The worked example uses Mexico City's 4% rate. It must not be copied into a Jalisco, Nuevo León, Querétaro, Baja California, or other state model.

Worked Mexico City employment-cost example

The following narrow scenario uses:

  • MXN 600,000 annual contractual salary, paid as MXN 50,000 per month;

  • statutory-minimum 15-day aguinaldo;

  • 12 days of vacation and a 25% vacation premium;

  • the UMA of MXN 117.31 effective February 1, 2026;

  • a fixed salary for contribution purposes;

  • a 7.513% 2026 cesantía and old-age rate because the modeled salary base exceeds 4.01 UMA;

  • a 0.54355% Class I mean/initial work-risk input solely for illustration;

  • Mexico City's 4% payroll tax; and

  • no exemptions, credits, subsidies, incentives, or special treatment.

The example presents an annualized current run rate. A 2026 calendar calculation would instead apply the values and employee facts for each payroll period rather than carry one set of assumptions across the year.

Step 1: calculate the daily and integrated salary base

Article 29 of the Social Security Law uses a divisor of 30 for monthly pay.

Monthly salary = MXN 600,000 / 12
               = MXN 50,000

Daily salary   = MXN 50,000 / 30
               = MXN 1,666.666667

With statutory-minimum benefits, the integration factor is:

(365 + 15 aguinaldo days + 12 vacation days × 25%) / 365
= 1.049315068

The modeled daily salary base is MXN 1,748.858447. It sits below the 25-UMA ceiling of MXN 2,932.75 per day under the February 2026 UMA used here.

Recalculate the factor whenever contractual benefits or service-based vacation change.

Step 2: add minimum cash benefits

The first additions are the two statutory-minimum cash benefits used in this scenario.

Cash itemAnnual amount
Twelve monthly base salariesMXN 600,000.00
Minimum aguinaldoMXN 25,000.00
Minimum vacation premiumMXN 5,000.00
Cash remuneration subtotalMXN 630,000.00

The next step adds the employer-side charges used in this scenario.

Step 3: add modeled social security, housing, and payroll tax

The remaining narrow cost layers combine employer social security, housing, and the applicable Mexico City payroll tax.

LayerAnnual amountAbove twelve monthly salaries
Minimum aguinaldo and vacation premiumMXN 30,000.005.00%
Modeled employer social securityMXN 107,262.8817.88%
Modeled INFONAVIT contributionMXN 31,916.675.32%
Modeled Mexico City payroll taxMXN 25,200.004.20%
Narrow modeled employer cash costMXN 794,379.5532.40%

Using these Mexico City assumptions, the annualized cash build reaches about MXN 794,380, or 32.4% above twelve monthly salaries.

mexico-employment-law-payroll-costs-mexico-city-cost-build.jpg

The 32.4% result belongs only to this Mexico City scenario. PTU, telework, voluntary benefits, administration, termination, work-risk classification, state tax, salary level, and other facts can change it.

Why one payroll-burden percentage fails

The same model assumptions produce different salary uplifts because fixed UMA-based items matter more at lower salaries and the contribution ceiling matters at higher salaries.

Annual contractual salaryMonthly salaryDaily salary base usedContribution ceiling reached?Narrow annual cash costUplift over twelve monthly salaries
MXN 300,000MXN 25,000MXN 874.43NoMXN 400,850.7333.62%
MXN 600,000MXN 50,000MXN 1,748.86NoMXN 794,379.5532.40%
MXN 1,200,000MXN 100,000MXN 2,932.75YesMXN 1,538,840.7228.24%

All three rows are illustrative scenarios built from the same benefit, risk, tax, and annualization assumptions. An actual quote requires the employee's payroll facts.

The buyer should model each actual salary and employing state. Averages are especially weak when comparing senior engineers, whose salary base may approach or exceed a contribution ceiling.

The Mexico software outsourcing statistics reference keeps employer-cost measures separate from compensation, workforce, establishment, and services-trade data.

PTU belongs in a contingent cost lane

Employee profit sharing follows the employer's applicable profit rather than payroll. The current PTU percentage is 10% of the relevant profit base. Article 127 caps an individual's payment at three months of salary or the average PTU received during the preceding three years, whichever is more favorable to the employee.

New-business and other exemptions, the profit base, allocation, eligible workforce, and employee cap require entity-specific analysis. Budget PTU in one of three ways:

  • zero only when an exemption or absence of distributable profit is supported;

  • a scenario based on forecast taxable profit and the eligible workforce; or

  • “not modeled—obtain entity-specific tax and labor advice.”

Do not bury a guessed PTU percentage inside loaded payroll cost.

Remote work can add employer duties and cost

Mexico's statutory telework rules apply when work from the employee's home or chosen location exceeds 40% of the time; occasional or sporadic home working falls outside that definition.

For a qualifying arrangement, the employer's control file needs to address written terms, equipment, maintenance, telecommunications, and proportional electricity. Information security, occupational safety and health, training, supervision, privacy, and the right to disconnect also belong in the file. NOM-037-STPS-2023 adds safety and health requirements for telework.

Budget telework from the actual policy and role. Equipment replacement, connectivity, coworking, travel, ergonomic controls, and home-office support do not reduce to a national allowance.

The broader remote vs hybrid work decision remains operational; the Mexican employment duties follow the actual arrangement.

Termination cost depends on the scenario

No single Mexican severance percentage works across resignation, mutual separation, justified dismissal, unjustified dismissal, or the valid end of a fixed term.

ScenarioMain questionsPlanning treatment
Voluntary resignationEarned salary, proportional benefits, and whether Article 162 conditions affect seniority premiumCalculate accrued amounts and test tenure
Mutual separationWritten settlement, ratification, and negotiated considerationModel earned amounts plus the agreement
Justified dismissalArticle 47 cause, evidence, written notice, delivery, and timingPreserve a complete notice and evidence file
Unjustified dismissalReinstatement or indemnity, back pay, interest, and claim outcomeUse a legal scenario range
Fixed term or defined work endsWhether the limited term was legally valid and the work actually endedTest the basis before assuming expiry ends exposure

Article 50's 20-days-per-year measure applies under its own conditions; the three-month indemnity and Article 162's 12-days-per-year seniority premium have different triggers and calculation bases.

Obtain an employee-specific calculation before approving a reserve, settlement, or dismissal. Offboarding must separately address final payroll, access removal, devices, repositories, data, confidentiality, and transition.

Payroll controls and evidence to require

A compliant calculation is only one part of payroll. The employer needs a traceable monthly process.

ControlEvidence
Employee master dataSigned agreement, salary and benefit terms, location, work schedule, tax and social-security data
Gross-to-net calculationPayroll register, variables, absences, overtime, benefits, employee contributions, and withholding
Payroll receiptTimely payroll CFDI and delivery record
Social securityEmployer registration, employee registration, salary-base updates, SUA calculation, and payment evidence
HousingINFONAVIT calculation, payment, and any employee-credit withholding evidence
State payroll taxState-specific return, taxable-base reconciliation, and payment receipt
BenefitsAguinaldo, vacation, premium, PTU, leave, and policy records
AccountingPayroll-to-ledger reconciliation and documented adjustments
ExitFinal calculation, signed documentation, access and asset recovery, and retained evidence

Payroll files contain employee personal data, so access, retention, transfers, and provider handling need to follow Mexico data privacy law throughout the monthly process and the later retention period.

At the August 14, 2026 check, SAT's payroll complement version 1.2 uses revision E from January 1, 2026; the payroll control file should record the specification used and retain issuance, cancellation, correction, and employee-delivery evidence. A generated PDF alone is not the complete CFDI record.

If an EOR or payroll provider performs the process, require employee-level reconciliation. A single monthly invoice cannot show whether salary, benefits, employer charges, withholding, fee, FX, and adjustments were handled correctly.

Compare direct employment with other hiring routes

Direct employment gives the buyer the clearest control over roles, management, and continuity, while requiring a Mexican entity capable of handling employment, payroll, tax, accounting, privacy, and corporate compliance.

An EOR can provide the local employer while the buyer directs day-to-day work, whereas staff augmentation supplies vendor-employed capacity and can raise a separate REPSE in Mexico question. With a managed software provider, more of the delivery method and outcome sits with the vendor. Responsibility shifts. The commercial comparison therefore has to follow responsibility as well as price.

Use separate columns for:

  1. employee compensation;

  2. statutory employer cost;

  3. voluntary benefits and operating costs;

  4. entity or EOR administration;

  5. staffing or provider fees; and

  6. delivery-management and outcome risk.

This distinction also prevents a direct comparison between payroll and software outsourcing cost.

The same budgeting errors recur.

Core minimums include aguinaldo, paid vacation, a vacation premium, weekly rest, mandatory holidays, social-security coverage, INFONAVIT contributions, and PTU where applicable. The employee's service, agreement, work pattern, and employer facts determine the complete package.

Mexico's statutory minimum is 15 salary days. An employer may offer more, but describing the minimum as a full thirteenth monthly salary is inaccurate.

There is no universal percentage. In the 2026 Mexico City scenario above, the narrow annualized cash build is 32.4% above twelve monthly salaries. Each input can alter that figure: salary, minimum benefits, UMA, work-risk input, IMSS band, INFONAVIT, state tax, and exclusions.

No. The 10% applies to the employer's applicable profit base, with exemptions, allocation rules, and an employee-level cap. PTU should be modeled from entity facts, not added as 10% of payroll.

The transition began with a 48-hour maximum in 2026. It falls to 46 hours in 2027, 44 in 2028, 42 in 2029, and 40 in 2030. Employers cannot use the transition to cut salary or benefits.

Yes, when the statutory telework threshold and conditions are met. The employer may need written terms, equipment and maintenance, telecommunications and proportional electricity support, safety controls, information-security measures, and a right-to-disconnect policy.

No. The employing state, salary base, benefits, risk premium, payroll period, work arrangement, and employee history can change the calculation. Reconcile the underlying employment cost separately from the EOR fee.

Takeaway

Start with the legal employer. Build the rest from the employee's actual facts: salary, minimum benefits, IMSS, INFONAVIT, state tax, and contingent costs.

The worked Mexico City model shows why shortcuts fail: even under one fixed set of assumptions, the uplift changes across salary levels. A defensible budget keeps PTU, telework, administration, EOR fees, and termination outside the narrow payroll percentage until their own facts are known.

Before comparing an entity with an EOR, reconcile the employee-level calculation to payroll evidence and list PTU, telework, administration, fees, and termination as separate assumptions.

Global Software Companies

Global Software Companies maintains sole editorial control over this content. Rankings and analysis are based on our proprietary methodology and are not influenced by company listings, partnerships, or advertising relationships. See our Editorial Policy for more information.

About this article

Mina Stojkovic

Mina Stojkovic

Software development researcher, writer, tech-society explorer, and master of simplifying complex concepts into user-friendly language.

How we reviewed this content

This page is reviewed using a consistent editorial process that evaluates company data, service offerings, client feedback, and publicly available information. Content is updated regularly to reflect changes in company profiles, reviews, and market relevance.

Update history

August , 2026 — Published

Read Next