Social security in Mexico is a payroll obligation for every company that employs people in the country, not an optional benefit. Employers register workers with the Mexican Social Security Institute (IMSS), pay mandatory contributions on each salary and fund the employee benefits workers rely on. For US readers, IMSS combines roles that the US splits across several programs: retirement, disability and survivor pensions like the Social Security Administration, workplace injury coverage like workers’ compensation, and healthcare like Medicare, except that IMSS covers active workers and their families and runs its own clinics and hospitals. This guide covers how IMSS works, how it differs from ISSSTE, what employers pay, which benefits are mandatory and how it all affects payroll.
Understanding IMSS: The Backbone of Mexico’s Social Security
IMSS Mexico, the Instituto Mexicano del Seguro Social, is the federal institution that runs social security for private-sector employees. It provides healthcare, pensions, disability and life insurance, childcare and other benefits, funded by employer contributions, employee contributions withheld from payroll and a federal government share.
For employees in Mexico, social security works through their employer: once registered with IMSS, they and their registered family members can use IMSS clinics and hospitals, and their contributions build toward a retirement pension.
The Social Security Law makes coverage mandatory for anyone who does paid, personal and subordinate work, which in practice means every employee on a private company’s payroll. Government workers are covered by ISSSTE instead.
Does Mexico have social security numbers like the U.S.? Yes. IMSS assigns each person a Número de Seguridad Social (NSS), a unique, permanent and non-transferable number that follows the worker from job to job. Workers can get or look up their NSS online through IMSS. Unlike a U.S. Social Security number, the NSS is not a tax ID: Mexico uses the RFC for taxes and the CURP as its national population ID.
For employers, getting set up with IMSS takes three steps:
- Register the company with IMSS to get an employer registration number (registro patronal).
- Enroll each employee under their NSS when they start work.
- Report salary changes and terminations, and pay contributions on the IMSS schedule.
ISSSTE vs. IMSS: Deciphering the Differences
The difference between IMSS and ISSSTE is who they cover: IMSS covers private-sector employees, while ISSSTE covers federal government workers and other public employees whose employers join it by agreement.
Both institutions provide healthcare, pensions and other benefits, but under separate laws, funds and clinic networks. For a private company hiring in Mexico, IMSS is the system that applies. For a deeper look at how it works, see our guide to Mexico’s IMSS social security system.
| |
IMSS
|
ISSSTE
|
|
Who it covers
|
Private-sector employees and their registered family members
|
Federal and other public-sector workers and their registered family members
|
|
Governing law
|
Social Security Law (Ley del Seguro Social)
|
ISSSTE Law (Ley del ISSSTE)
|
|
Healthcare
|
IMSS clinics and hospitals
|
ISSSTE clinics and hospitals
|
|
Pensions
|
Set by the Social Security Law; individual AFORE accounts for workers who joined under the 1997 law
|
Set by the ISSSTE Law
|
|
Funded by
|
Employers, employees and the federal government
|
Public employers, workers and the federal government
|
Payroll, Benefits & Contributions: The Employer’s Role
Employers in Mexico must register their employees with IMSS, calculate the employer and employee social security contributions, withhold the employee share from each paycheck and pay the full amount to IMSS.
The employer payroll contributions Mexico requires are known as cuotas obrero-patronales, or employer and employee contributions. The Social Security Law makes the employer responsible for calculating and paying both shares.
There is no single social security rate in Mexico. Contributions are calculated per insurance branch, each with its own rate, and most apply to the employee’s integrated salary (salario base de cotización), which includes regular pay plus certain benefits. The work-risk premium also depends on the company’s risk classification. Together, these contributions fund the five IMSS insurance branches described in the next section.
Alongside IMSS, employers pay a housing fund contribution to INFONAVIT, which is reported through the same payroll process.
Social security contributions raise the cost of each employee above gross salary: the employer share is an added cost on top of pay, while the employee share comes out of the worker’s paycheck.
For budgeting, treat social security as part of payroll, calculated every pay period alongside income tax withholding, rather than as a separate expense. Rates and caps change through reforms and the yearly update of Mexico’s reference values, so check current figures before you budget. Our guide to payroll in Mexico explains the full payroll cycle.
Employee Benefits Under Mexico’s Social Security
IMSS provides employees with five types of coverage, one for each branch of the mandatory regime in the Social Security Law:
- Sickness and maternity: Medical care at IMSS clinics and hospitals for the worker and registered family members, plus paid leave for illness and maternity.
- Work risks: Medical care, paid leave and pensions for injuries or illnesses caused by work, including accidents on the way to or from work.
- Disability and life: A pension if an illness or accident outside work leaves the worker unable to work, and a pension for the family if the worker dies.
- Retirement, unemployment in old age and old age: Contributions that build toward a pension, saved in each worker’s individual retirement account (AFORE).
- Childcare and social benefits: Daycare for workers’ children and access to IMSS social, cultural and sports programs.
Retirement does not start automatically at a fixed age. The retirement benefits Mexico’s system pays depend on when the worker started contributing, which decides whether the 1973 or the 1997 Social Security Law applies, plus the weeks of contributions and the balance in the worker’s AFORE account.
Mexico has no general unemployment insurance. A worker who loses their job can make a limited withdrawal from their AFORE account instead.
Statutory vs. Private Employee Benefits: An Overview
Statutory benefits are those Mexican law requires every employer to provide, while private benefits are extras an employer chooses to offer.
The statutory employee benefits Mexico requires include IMSS coverage and the INFONAVIT housing fund, plus the benefits in the Federal Labor Law: a year-end bonus (aguinaldo), paid vacation with a vacation premium, paid public holidays and profit sharing (PTU).
Many companies add private benefits on top, such as major medical insurance, a savings fund, meal vouchers, a supplemental retirement plan or a home-office allowance. They help attract and keep talent, but they don’t replace IMSS coverage.
Income Tax Implications for Social Security in Mexico
Income tax and social security are separate obligations that run through the same payroll. Income tax (ISR) is a federal tax the employer withholds from salary and pays to the tax authority (SAT); it doesn’t fund IMSS. Social security contributions go to IMSS under their own rules.
The two meet in a few places. The employee share of IMSS contributions comes out of the same paycheck as income tax, and some payroll items are treated differently for tax and for social security, so the salary base for each can differ. Our guide to Mexico’s payroll tax system covers withholding in more detail.
Exact payroll and tax treatment depends on each employee’s situation and current Mexican law, so confirm it with a Mexican accountant or payroll provider.
The Future of Social Security in Mexico
Mexico’s social security rules change regularly, through reforms to the Social Security Law and yearly updates to the values used to calculate contributions. A 2020 pension reform, for example, is raising employer retirement contributions step by step through 2030. Before you hire, and again each year, check current contribution rates and compliance requirements with IMSS or a local payroll provider.
Social security in Mexico gives employees healthcare, income protection and a path to retirement, and it gives employers clear duties: register every worker with IMSS, calculate and pay contributions on time and budget for them as part of payroll. Add the Federal Labor Law benefits and any private benefits you offer, and you have the full cost of an employee in Mexico.
About CodersLink
CodersLink helps US companies build engineering teams with nearshore tech talent, with eleven years in Mexico and engineers selected against the Top 1% Standard, benchmarked to Silicon Valley.
Hiring in Mexico means accounting for payroll, social security and employee benefits, and each of our models sets that up differently. With IT staff augmentation, CodersLink holds the engineer’s contract in Mexico and you direct the day-to-day work. With MESHubs, we build and operate a dedicated nearshore hub with no Mexican entity on your side, then transfer the team to your payroll. With Nearshore RPO, you hire engineers directly onto your own payroll, so the obligations in this guide are yours from day one.