Mon–Sat 10:00–19:00 Head office: Vaishali, Ghaziabad · Dwarka, New Delhi advocatebagesh@gmail.com

Employment & Social Law

Code on Social Security 2020 Explained

Adv BK Singh

Written by Legal 365 Soldlei team · Reviewed by Adv BK Singh (MCA, LLB, LLM) · Last reviewed · 16 min read

The Code on Social Security, 2020 brings provident fund, ESI, gratuity, maternity benefit, employee's compensation and construction workers' cess under one law, and for the first time extends social security to gig and platform workers. It has been in force since 21 November 2025. Legal 365 Soldlei explains who is covered, what each benefit is, and how to claim it.

Quick summary

  • Nine earlier laws, including the EPF Act, ESI Act, Payment of Gratuity Act and Maternity Benefit Act, are now chapters of one Code.
  • Gratuity still generally needs five years' continuous service, but fixed-term employees get it pro rata, after one year.
  • Maternity benefit remains 26 weeks for the first two children, with 12 weeks for adoptive and commissioning mothers.
  • An accident while commuting between home and work can count as arising out of employment, if there is a nexus with the job.
  • Aggregators must contribute 1% to 2% of annual turnover, capped at 5% of payments to gig and platform workers, towards their social security.

Nine laws, one code: what was merged?

The Code consolidates nine statutes. If you have dealt with any of these before, your rights have not vanished. They have moved into a chapter of the Code, often with the same core rules and some important changes.

  • Employees' Compensation Act, 1923
  • Employees' State Insurance Act, 1948
  • Employees' Provident Funds and Miscellaneous Provisions Act, 1952
  • Employment Exchanges (Compulsory Notification of Vacancies) Act, 1959
  • Maternity Benefit Act, 1961
  • Payment of Gratuity Act, 1972
  • Cine-Workers Welfare Fund Act, 1981
  • Building and Other Construction Workers' Welfare Cess Act, 1996
  • Unorganised Workers' Social Security Act, 2008

The Code came into force with the other three labour codes on 21 November 2025. Central rules were notified in May 2026, and state rules continue to be notified. Schemes framed under the old laws, such as the EPF, EPS and EDLI schemes, continue in force until replaced, so day-to-day processes on the EPFO and ESIC portals look familiar.

The Code uses the same definition of "wages" as the Code on Wages: basic pay, dearness allowance and retaining allowance, with excluded allowances capped at 50% of total remuneration. Because PF contributions and gratuity are calculated on wages, this definition is one of the reasons payroll structures changed across India after November 2025.

Who is covered by which benefit?

Coverage depends on the benefit and the size of the establishment. Some benefits apply only above an employee threshold set in the First Schedule, while others, such as employee's compensation, apply more widely. Voluntary coverage is also possible in several cases.

BenefitCode chapterWhen it applies
Provident fund, pension, deposit-linked insuranceChapter IIIEstablishments with 20 or more employees; smaller units may opt in
Employees' State InsuranceChapter IVEstablishments with 10 or more employees; voluntary below 10; mandatory with even one employee in hazardous processes
GratuityChapter VFactories, mines, plantations, shops and establishments with 10 or more employees
Maternity benefitChapter VIFactories, mines, plantations, shops and establishments with 10 or more employees
Employee's compensationChapter VIIEmployees in covered employment, subject to the Code's exclusions; not where ESI already covers the injury
Building workers' cessChapter VIIIConstruction work, cess of 1% to 2% of construction cost
Unorganised, gig and platform workersChapter IXRegistered workers aged 16 or above, through notified schemes

One practical point: once an establishment is covered by EPF or ESI, it generally stays covered even if headcount later falls, unless the Code's procedure for exit is followed. Employers who shrink after a bad year often overlook this and stop filing, which leads to assessments and damages later.

The Code's main sections in one table

SectionSubjectKey rule
2(35), 2(60), 2(61)Gig worker, platform work, platform workerWork outside a traditional employer-employee relationship, including through online platforms.
2(88)WagesSame 50% rule as the Code on Wages.
3RegistrationEvery covered establishment registers, electronically or otherwise.
6National Social Security BoardAdvises on schemes for unorganised, gig and platform workers.
15 to 23Provident fundSchemes, contributions, exempted funds for 100+ employees, appeals with 25% deposit.
28 and 29ESIAll employees in covered establishments to be insured; contributions.
53 to 58GratuityEligibility, 15 days' wages per year, nomination, payment within 30 days, insurance.
59 to 72Maternity benefit80 days' eligibility, 26 weeks' benefit, creche, nursing breaks, protection from dismissal.
73 to 77Employee's compensationReporting accidents, liability, commuting accidents, rates of compensation.
100 to 108Building workers' cessCess of 1% to 2% of construction cost; self-assessment.
109, 113, 114Unorganised, gig and platform workersSchemes, registration with Aadhaar, aggregator contributions.
122Inspector-cum-FacilitatorWeb-based and randomised inspections.
125Limitation for inquiriesNo proceedings after five years; inquiries to finish within two years.
133 onwardsOffences and penaltiesNon-payment of contributions, deducting employer's share from wages, and others.

Provident fund and ESI: the two contribution schemes

Provident fund (Chapter III)

The EPF, the Employees' Pension Scheme and the Employees' Deposit-Linked Insurance Scheme continue under the Code. Employers and employees contribute a percentage of wages at rates fixed under the Code and the schemes. Section 16 contains the base rate and allows a different rate to be notified for classes of establishments, so check the current rate for your establishment rather than relying on memory.

Employers with 100 or more employees can seek authorisation to run their own provident fund trust under Section 21, subject to conditions. An employer who wants to appeal an EPFO assessment to the Tribunal must first deposit 25% of the amount assessed, under Section 23(3). That pre-deposit is often the real battleground, so documents should be ready at the assessment stage itself.

Here's where many employers slip up: deducting the employer's share of contribution from the employee's wages. That is specifically prohibited and is an offence under Section 133.

Changing jobs: transfers and withdrawals

Your Universal Account Number (UAN) follows you from employer to employer, and PF balances can be transferred online through the EPFO member portal once your KYC details are linked. Withdrawal rules, including partial withdrawals for housing, illness, education or marriage, are set by the EPF scheme and change from time to time. Before withdrawing, check whether you will lose pension service under the EPS. In disputes, the usual problems are a former employer that has not marked the exit date, mismatched names or dates of birth between Aadhaar and EPFO records, and contributions that were deducted but never deposited. Each has a separate fix, and a passbook printout is the first document to obtain.

Employees' State Insurance (Chapter IV)

ESI provides medical care and cash benefits for sickness, maternity, disablement and death due to employment injury, along with dependants' and funeral benefits. Under Section 28, all employees in establishments covered by ESI must be insured. Coverage is mandatory for establishments with 10 or more employees, voluntary below that, and mandatory even for a single employee where the work involves hazardous processes. The central government has presented the Code as a step towards ESI coverage across the whole country, rather than only in notified areas.

Where ESI covers an employee for an employment injury, the employee's compensation chapter generally does not apply to the same injury. The ESI benefit is the route.

Gratuity under the Code

Gratuity is payable on leaving after at least five years of continuous service, whether by superannuation, retirement, resignation or termination. The five-year condition does not apply on death or disablement, or when a fixed-term contract ends, and working journalists need only three years.

The amount under Section 53(2) is 15 days' wages for every completed year of service, or part of a year exceeding six months, based on the rate of wages last drawn. Seasonal employees get seven days' wages per season. The total is capped at the ceiling notified by the central government.

The usual calculation

In practice, for monthly-paid employees, the long-standing formula is: last drawn wages × 15 × completed years ÷ 26. For illustration, an employee with wages of ₹30,000 and 6 years 7 months of service is credited with 7 years (since the part year exceeds six months). Gratuity = 30,000 × 15 × 7 ÷ 26 = about ₹1,21,154.

Remember that "wages" here follows the 50% rule. If excluded allowances made up more than half of the pay packet, the gratuity base rises.

Fixed-term employees

Fixed-term employees receive gratuity on a pro rata basis when the contract ends. The government's position, reflected in the Industrial Relations Code's definition of fixed-term employment, is that gratuity becomes payable after one year of service. For a fixed-term employee on ₹40,000 who completes 18 months, gratuity would be calculated proportionately for that period.

Continuous service, nomination and payment

  • Continuous service (Section 54): interruptions such as sickness, accident, authorised leave, lawful strike or lay-off do not break service. Where service is not uninterrupted, actual working days in a year can qualify.
  • Nomination (Section 55): required after one year of service; a nomination of a non-family member is invalid if the employee has a family.
  • Payment (Section 56): the employer must determine and pay gratuity within 30 days of it becoming payable. Delay attracts simple interest.
  • Disputes: go to the competent authority, with an appeal within 60 days, extendable by another 60.
  • Forfeiture (Section 53(6)): gratuity can be forfeited, wholly or partly, where service was terminated for causing damage to property, riotous or violent conduct, or an offence involving moral turpitude committed in the course of employment.

Section 57 requires employers to insure their gratuity liability, with an exemption for employers that have an approved gratuity fund (an employer with 500 or more employees may set up such a fund instead of insuring), subject to the rules.

Gratuity delayed, PF not deposited, or maternity benefit refused? Legal 365 Soldlei can review your service record, payslips and correspondence and advise which authority to approach and what to file first.

Maternity benefit: what a working woman is entitled to

A woman who has worked for at least 80 days in the 12 months before her expected delivery is entitled to maternity benefit at her average daily wage for up to 26 weeks, of which not more than eight weeks can be before delivery. For a woman with two or more surviving children, the benefit is 12 weeks.

The key provisions, now in Sections 59 to 72:

  • Adoption and surrogacy: a woman adopting a child under three months, or a commissioning mother, gets 12 weeks from the date the child is handed over.
  • No work after delivery: no employer may knowingly employ a woman during the six weeks immediately after delivery, miscarriage or medical termination.
  • Medical bonus: ₹3,500 or the notified amount, if the employer does not provide free pre-natal and post-natal care.
  • Additional leave: six weeks after miscarriage or medical termination, two weeks after a tubectomy, and up to one additional month for illness arising from pregnancy or delivery.
  • Work from home: may be allowed after the benefit period if the nature of work permits and the employer and employee agree.
  • Nursing breaks: two breaks a day until the child is 15 months old.
  • Creche: establishments with 50 or more employees must provide a creche, alone or as a common facility, with four visits a day allowed.
  • Protection from dismissal: dismissing a woman during her maternity absence is unlawful, except for gross misconduct as prescribed. She can appeal within 60 days.

In practice, disputes usually arise in two situations: an employer that ends a probationer's or contract worker's engagement once she discloses her pregnancy, and an employer that pays only basic pay instead of the average daily wage. Both are worth challenging. Complaints go to the Inspector-cum-Facilitator. For how these rights interact with equal pay rules, see our explainer on equal remuneration and maternity benefit.

Employee's compensation for injury and death

An employer is liable to pay compensation if an employee suffers personal injury from an accident arising out of and in the course of employment, or contracts a listed occupational disease. The Code also treats an accident while commuting between home and workplace as arising out of employment, where a nexus with the employment is established.

That commuting rule in Section 74(4) is significant. Under the old Employees' Compensation Act, commuting accidents were usually outside the employer's liability unless the employer provided the transport. Now, a factory worker hit by a vehicle on his usual route to the morning shift has a claim against the employer, subject to proof of the nexus.

Amounts

OutcomeCompensation (Section 76)
Death50% of monthly wages × relevant age factor, or the notified minimum, whichever is more; plus at least ₹15,000 for funeral expenses
Permanent total disablement60% of monthly wages × relevant age factor, or the notified minimum, whichever is more
Permanent partial disablementProportionate to the loss of earning capacity
Temporary disablementHalf-monthly payment of 25% of monthly wages

Medical expenses are also reimbursed. Employers must report fatal accidents and serious injuries (absence beyond 20 days) within seven days under Section 73. If compensation is delayed, the employer can be made to pay interest and, where there is no justification, a penalty of up to 50% of the amount.

The employer is not liable for injuries causing disablement of three days or less, or, in non-fatal cases, for injuries caused by the employee being under the influence of drink or drugs or by wilful disobedience of safety rules. Choosing a civil suit for damages bars a compensation claim for the same injury. Road accidents can also give rise to a motor accident claim; see our explainer on motor accident claims.

Unorganised, gig, platform and construction workers

The Code is the first central law to recognise gig and platform workers by name. It does not make them employees, but it provides for social security schemes for them, funded partly by aggregators.

Definitions

  • Gig worker: a person who performs work or participates in a work arrangement and earns from it outside a traditional employer-employee relationship.
  • Platform worker: a person engaged in platform work, meaning work outside a traditional employment relationship in which organisations or individuals use an online platform to access other organisations or individuals to solve problems or provide services.
  • Aggregator: a digital intermediary or marketplace connecting buyers or users of a service with sellers or service providers.
  • Unorganised worker: a home-based worker, self-employed worker or wage worker in the unorganised sector.

Registration and schemes

Under Section 113, unorganised, gig and platform workers aged 16 or above can register on the basis of a self-declaration with Aadhaar, and receive a distinct number. The government's e-Shram portal at eshram.gov.in is the main registration route. Registration is the gateway to scheme benefits.

Section 109 requires schemes for unorganised workers on life and disability cover, health and maternity, old age protection and education. Section 114 allows schemes for gig and platform workers on life and disability cover, accident insurance, health and maternity benefits, old age protection and creche facilities. The National Social Security Board under Section 6 advises on these schemes.

Aggregator contribution

Aggregators in the categories listed in the Seventh Schedule must contribute between 1% and 2% of their annual turnover, as notified, towards the scheme, capped at 5% of the amount paid or payable by the aggregator to gig and platform workers. Turnover for this purpose excludes taxes.

Construction workers and the cess

Chapter VIII continues the building and other construction workers' welfare cess. Builders pay a cess of not less than 1% and not more than 2% of the cost of construction, excluding land cost, as notified. The amount goes to state construction workers' welfare boards, which run schemes for registered construction workers. Builders must self-assess and pay within the prescribed time, and late payment attracts interest.

Registration, inspections, limitation and penalties

For employers, this is the part of the Code that Legal 365 Soldlei finds is most often neglected. Every establishment to which the Code applies must register under Section 3, electronically or otherwise. Inspections under Section 122 follow a web-based scheme, often with randomised selection, and the Inspector-cum-Facilitator can examine persons, call for documents and search and seize records.

Section 125 is a useful protection for employers. No proceeding to determine dues can be initiated more than five years after the date on which the dues became payable, and an inquiry should be completed within two years, extendable by one year. Employees and employers can both use this: workers should not delay complaints, and employers facing very old demands should check whether they are time-barred.

Offences under Section 133 and the following provisions include failing to pay contributions, deducting the employer's share from wages, failing to pay the construction cess, failing to pay compensation, and obstructing an inspector. Penalties are graded by the nature of the default and whether it is repeated. Many first offences can be compounded under the Code's compounding provisions.

Illustration: maternity leave, resignation and gratuity

For illustration only. Meena works as a quality supervisor at a garment exporter in Noida with 85 employees, on wages of ₹28,000 a month. She has 4 years 8 months of service when she becomes pregnant, and 5 years 3 months when she resigns after her maternity leave to look after her child.

  • Maternity benefit: she has worked well over 80 days in the preceding year, so she is entitled to 26 weeks at her average daily wage. If the establishment is covered by ESI and she is insured, the maternity benefit comes through ESI.
  • Creche: the establishment has more than 50 employees, so a creche facility should be available if she returns.
  • Gratuity: her maternity leave counts towards continuous service. At resignation she has more than five years, so gratuity is payable: 28,000 × 15 × 5 ÷ 26 = about ₹80,769 (the three months over five years do not count, since they do not exceed six months).
  • PF: she can withdraw or transfer her PF balance under the EPF scheme rules.

If the employer delays gratuity beyond 30 days, she can apply to the competent authority and claim interest. If the employer had dismissed her during maternity leave, that dismissal would be unlawful and could be challenged. In a file like this, Legal 365 Soldlei would first send a short written demand with the calculation attached, since many employers pay once the figures are set out clearly.

Common misconceptions about social security under the Code

These four come up often when Legal 365 Soldlei advises on the Code.

"Gratuity is now payable after one year for everyone"

No. The one-year rule is for fixed-term employees. Permanent employees still generally need five years of continuous service, except on death or disablement.

"Gig workers are now employees of the app"

The Code does not convert gig or platform workers into employees. It creates schemes for them and requires aggregators to contribute.

"A small firm with eight people has no social security obligations"

Below 10 employees, ESI is voluntary, and gratuity and maternity chapters may not apply by headcount. But employee's compensation can still apply, and the firm may have opted into schemes. Check before assuming.

"Commuting accidents are never the employer's problem"

Under Section 74(4), a commuting accident can be treated as arising out of employment, if the nexus with employment is established.

For law students

Map each chapter of the Code to the Act it replaced, and note three genuine innovations: gig and platform workers (Sections 2(35), 2(61), 113 and 114), commuting accidents (Section 74(4)), and fixed-term gratuity. Then study the procedural changes: the five-year limitation and two-year inquiry period in Section 125, the 25% pre-deposit for EPF appeals in Section 23(3), and web-based inspections in Section 122. Older Supreme Court decisions on the Gratuity Act and the Employees' Compensation Act remain useful for interpreting "continuous service" and "arising out of and in the course of employment", but always check them against the Code's wording.

How Legal 365 Soldlei handles social security claims and compliance

Legal 365 Soldlei represents employees and families seeking gratuity, PF, maternity benefit and injury or death compensation, and advises employers on registration, contributions and responding to EPFO and ESIC assessments. For claimants, the firm drafts applications before the competent authority, follows up on delayed PF settlements, and pursues compensation after workplace and commuting accidents. For employers, it reviews salary structures under the 50% wage rule, prepares replies to assessment notices, and handles appeals, including the pre-deposit stage.

Documents for a gratuity, PF or compensation claim

Bring the appointment letter, the resignation or termination letter and its acceptance, the relieving letter, the last twelve months' payslips, your UAN and PF passbook, and Form 16s for the relevant years. For maternity disputes, add the medical certificate of pregnancy and the leave application. For an injury or death claim, bring the hospital records, the police report or FIR if a road accident was involved, the post-mortem report where relevant, and proof of the family relationship for dependants. With these, Legal 365 Soldlei can usually identify the right authority and the amount to claim at the first meeting.

Related reading: gratuity, PF and dues recovery, gratuity rules under the Code, the Code on Wages explainer and labour code compliance for employers.

Talk to Legal 365 Soldlei about your benefits

Social security claims have deadlines, and the five-year limit for inquiries cuts both ways. If gratuity or PF is stuck, maternity benefit has been refused, or a family member has been hurt at or on the way to work, get advice quickly.

Call or WhatsApp Legal 365 Soldlei on +91 96259 61599, or visit legal365soldlei.com. We meet clients at our Vaishali, Ghaziabad head office, in Dwarka by appointment, and by video.

Questions people ask about Code on Social Security 2020 Explained

How is gratuity calculated under the Code on Social Security?

Gratuity is 15 days' wages for each completed year of service, or part of a year over six months, based on the last wages drawn. For monthly-paid employees, the usual formula is last drawn wages multiplied by 15 and by the number of years, divided by 26. Wages follow the Code's definition, so if excluded allowances exceed half your pay, the excess is added back. The total is capped at the ceiling notified by the central government.

Is a fixed-term employee entitled to gratuity after one year?

Yes. Fixed-term employees are paid gratuity on a pro rata basis when their contract ends, and the government's position, reflected in the Industrial Relations Code's definition of fixed-term employment, is that gratuity is payable after one year of service. The five-year rule continues for permanent employees, except on death or disablement. Legal 365 Soldlei can check your contract and compute the pro rata amount if your employer disputes it.

My employer has not paid my gratuity. What can I do?

The employer must pay gratuity within 30 days of it becoming payable, and delay attracts simple interest. Start with a written demand to the employer, listing your dates of service and last drawn wages. If there is no payment, apply to the competent authority appointed by the state government, which can determine the amount and order payment with interest. Either side can appeal within 60 days, extendable by another 60. Keep your appointment letter, payslips and relieving letter ready.

Can I get maternity benefit if I joined only a few months ago?

You need to have actually worked for at least 80 days in the 12 months before your expected date of delivery. If you meet that, the length of your total service does not matter. Benefit is paid at your average daily wage for up to 26 weeks for the first two children. If your workplace is covered by ESI and you are insured, the benefit is paid through ESI instead of by the employer directly.

Are gig workers like delivery riders entitled to PF or gratuity?

Not automatically, because the Code does not treat gig and platform workers as employees. Instead, it provides for schemes covering life and disability insurance, accident cover, health and maternity benefits and old age protection, funded partly by aggregators' contributions of 1% to 2% of turnover, capped at 5% of payments to such workers. Riders should register on the e-Shram portal, since registration is required to access scheme benefits as they are notified.

Does the employer pay compensation for an accident on the way to work?

It can. Section 74(4) of the Code treats an accident while commuting between residence and the place of employment as arising out of employment, if a nexus between the accident and the employment is established. This was not generally the position under the old Employees' Compensation Act. Report the accident to the employer promptly, keep medical records and the police report, and claim compensation. Legal 365 Soldlei advises families on both employee's compensation and motor accident claims.

What happens if my employer deducted PF from my salary but did not deposit it?

That is a serious default. Deducting contributions from wages and not depositing them is an offence under the Code, and the EPFO can assess and recover the dues with damages and interest. Check your passbook on the EPFO member portal, then file a grievance with the EPFO and keep copies of your payslips showing the deduction. If the employer has shut down, the EPFO can still proceed against the establishment and those responsible.

Can an employer insure its gratuity liability instead of paying from reserves?

Section 57 of the Code actually requires employers to obtain insurance for their gratuity liability, through an insurer or an approved scheme, subject to an exemption for employers that have an approved gratuity fund, which an employer with 500 or more employees may set up instead, as provided in the rules. Insurance does not change the employee's entitlement or the 30-day payment rule. It simply protects employees if the employer later cannot pay. Employers should check how their state rules implement this requirement.

Is there a time limit on EPFO or ESIC inquiries into old dues?

Yes. Section 125 provides that no proceeding to determine dues can begin more than five years after the dues became payable, and inquiries should be completed within two years, extendable by one year. This protects employers from very old demands and also reminds employees to complain in time. If you receive a notice relating to dues more than five years old, Legal 365 Soldlei can review whether it is barred.

Do builders still have to pay construction workers' cess?

Yes. Chapter VIII of the Code continues the cess at a rate of not less than 1% and not more than 2% of the cost of construction, excluding the cost of land, as notified by the government. Builders and employers carrying out construction must self-assess and pay, and late payment attracts interest and penalties. The money funds state construction workers' welfare boards, which provide benefits to registered building workers.

Talk to an advocate at Legal 365 Soldlei

Share the facts and your documents. We will tell you the options, the likely timeline and the next step, in plain language.