Employment Law • IT Sector
Is Moonlighting Legal in India? Dual Employment Laws & IT Sector Policies (2026)
Is Moonlighting Legal in India in 2026?
Moonlighting, defined as holding a second paid job or freelance work while employed, is not uniformly illegal in India, but it is restricted in three layers: (1) Statutory bans under Section 60 of the Factories Act, 1948 (for factory workers) and state Shops & Establishments Acts; (2) Employment contract exclusivity clauses, which most IT and corporate sector employers include; and (3) Judicial precedent: the Supreme Court in Niranjan Shankar Golikari v. Century Spinning (1967) confirmed that negative covenants (exclusivity, no-moonlighting, no-competing) are fully enforceable during the subsistence of employment. In practical terms, for IT professionals, moonlighting without employer consent is a material contractual breach that can justify immediate termination.
The moonlighting debate exploded in India in 2022 when Wipro terminated hundreds of employees found to be working for competitors while on its payroll. Since then, the issue has evolved, but the legal framework has not changed. Here is everything an IT professional, startup founder, or HR professional needs to know in 2026.
1. The Three Legal Layers That Govern Moonlighting in India
Layer 1: Statutory Law: Who Is Explicitly Prohibited?
Section 60, Factories Act, 1948: Restriction on double employment
"No adult worker shall be required or allowed to work in any factory on any day on which he has already been working in any other factory, save in such circumstances as may be prescribed."
Section 60 is a factory-specific statutory prohibition. It applies to adult workers under the Factories Act, typically workers in manufacturing, textile, chemical, and similar industrial settings. It does not apply to IT professionals, software developers, consultants, or knowledge sector employees working in offices or remotely.
For commercial establishment employees, the governing statute is the applicable State Shops and Establishments Act. Several state Acts contain provisions restricting dual employment:
| State | Relevant Provision on Dual Employment | Implication for IT Employees |
|---|---|---|
| Maharashtra | Maharashtra Shops & Establishments Act: prohibits double employment in scheduled establishments | Relevant for employees of Mumbai/Pune IT firms in notified establishments |
| Karnataka | No explicit prohibition on dual employment in the Karnataka S&E Act | Moonlighting governed almost entirely by employment contract |
| Delhi | Delhi Shops & Establishments Act: no explicit dual employment ban for commercial establishments | Governed by contract; statutory exposure lower |
| Tamil Nadu | Tamil Nadu Shops & Establishments Act: no explicit dual employment prohibition | Contract-based analysis applies |
Layer 2: Employment Contract: The Decisive Document
For the vast majority of India's 5+ million IT sector employees, the definitive document is the employment agreement, not any statute. Most Indian IT employment contracts contain one or more of the following clauses:
Legal basis: This clause is backed by the Supreme Court's ruling in Niranjan Shankar Golikari v. Century Spinning (1967), which held that negative covenants operating during the subsistence of employment, including exclusivity and anti-moonlighting, are entirely valid under Indian law and are not hit by Section 27 of the Indian Contract Act.
Layer 3: IP Assignment: The Hidden Risk Most Developers Miss
Most corporate employment contracts contain a broad IP assignment clause stating that all inventions, software, or creative work developed "in connection with" or "relating to" the employer's business during the employment term belong to the employer. This can capture your personal startup, SaaS side project, or open-source library if it touches your employer's industry, regardless of whether you used company resources.
Does Your Employment Contract Allow Moonlighting or a Side Project?
Upload your employment agreement to ContractShield. Our AI finds every exclusivity clause, IP assignment risk, and moonlighting restriction in 60 seconds, so you know exactly where you stand before you take that second job.
Check Your Employment Contract Free →2. The Niranjan Shankar Golikari Doctrine: Why Courts Enforce Exclusivity During Employment
The foundational Supreme Court case on this issue was decided in 1967 and remains good law in 2026. In Niranjan Shankar Golikari v. The Century Spinning & Mfg. Co. Ltd. (1967) 2 SCR 378, the Court examined a contract that prohibited an employee from working for competitors during the employment term. The Court held:
Key takeaway: Exclusivity while employed = legally enforceable. Non-compete after leaving = void under Section 27. The line is drawn at the date your employment ends.
3. The Three Types of Moonlighting and Their Different Legal Risks
Working for a company in the same business sector while employed by another is both a breach of the exclusivity clause and a breach of the duty of fidelity and good faith owed to your employer. This constitutes grounds for summary termination. Wipro's 2022 terminations fell into this category.
A software engineer freelancing as a yoga instructor or graphic designer on weekends is technically still a breach of a broad exclusivity clause, but courts and employers are less likely to treat this as a serious concern. However, if not disclosed, it remains a contract violation. Risk: disciplinary action, not necessarily termination.
If you obtain written approval from your employer's HR department before commencing any side work, you are protected. Several progressive IT companies now have formal moonlighting disclosure policies. Get it in writing, as a verbal "sure, go ahead" from a manager is insufficient protection.
4. Moonlighting Policies at Major Indian IT Companies (2026)
| Company | Moonlighting Policy | Consequences of Violation |
|---|---|---|
| Wipro | Strict prohibition; terminated 300+ employees in 2022 for undisclosed dual employment with competitors | Immediate termination; potential legal action |
| Infosys | Prohibits moonlighting; issued formal policy memo in 2022 warning against violating service contract terms | Disciplinary action up to termination |
| TCS | Strict dual employment prohibition under employment terms; requires full-time commitment | Termination; possible recovery of training costs |
| Swiggy | Progressive "Moonlighting Policy" allowing approved side projects with conflict-of-interest disclosure | Disclosure required; unapproved work in competing sector still prohibited |
5. Freelancers and the Self-Employed: Different Rules Apply
If you are a freelancer or independent contractor (not an employee), there is generally no "moonlighting" issue because you are expected to work for multiple clients simultaneously. The key legal risk for freelancers is ensuring that each client contract has clear IP assignment, non-disclosure, and conflict-of-interest provisions that do not inadvertently create exclusivity obligations.
Use ContractShield's free Freelancer Compliance Checker to verify that your individual client contracts do not contain hidden exclusivity clauses that would restrict your ability to take on other projects.
Free Freelancer Contract Checker
Check whether your client contract contains hidden exclusivity clauses, automatic IP assignment traps, or non-solicitation obligations that restrict your freelance freedom.
Check My Freelance Contract →Frequently Asked Questions
Is moonlighting legal in India?
Moonlighting is not universally illegal in India, but it is restricted by statute (Section 60 Factories Act for factory workers), state Shops Acts, and most employment contracts which contain exclusivity clauses. For IT sector employees, an unauthorized second job is typically a material breach of the employment contract, justifying termination.
Can an employer fire me for moonlighting in India?
Yes. If your employment contract contains an exclusivity or anti-moonlighting clause, your employer can terminate you for working a second job without approval, even if no statute explicitly prohibits it. The Supreme Court in Niranjan Shankar Golikari v. Century Spinning (1967) held that exclusivity covenants during employment are fully enforceable.
Which Indian IT companies allow moonlighting?
As of 2026, most major Indian IT companies do not permit unauthorized moonlighting. Swiggy is a notable exception with a formal approved moonlighting policy. Always review your specific employment agreement and seek written HR approval before commencing any paid side work.
What is Section 60 of the Factories Act and does it apply to IT employees?
Section 60 of the Factories Act, 1948 prohibits adult factory workers from working in two factories on the same day. It does NOT directly apply to IT professionals or knowledge sector employees working in offices or from home. Their restrictions come from state Shops Acts and their employment contracts.
Is working on a personal startup while employed considered moonlighting?
Yes, if your employment contract contains an exclusivity or anti-dual-employment clause. Additionally, broad IP assignment clauses may give your employer ownership of inventions created during employment that relate to the company's business, including your startup's technology.