Introduction
The COVID-19 pandemic reshaped the Indian workplace in ways few could have predicted, and one of its most contested legacies is “moonlighting” — the practice of employees taking up a second job, freelance assignment, or business venture alongside their primary employment, usually without informing their employer. What began as a niche practice among gig workers and freelancers became a mainstream controversy in 2022, when major Indian IT firms including Wipro, Infosys, and TCS publicly took disciplinary action against employees found to be working simultaneously for competitors or clients on the side. The debate that followed exposed a significant gap in Indian employment law: there is no standalone statute that defines, permits, or prohibits moonlighting. Instead, the legality of the practice is determined by a patchwork of contract law principles, sector-specific labour legislation, confidentiality obligations, and common law doctrines borrowed largely from English jurisprudence. This article examines the legal architecture governing moonlighting in India, the contractual and confidentiality risks it creates for both employers and employees, and the broader policy questions it raises about the future of work.
What Constitutes Moonlighting
Moonlighting is generally understood as an employee undertaking secondary employment or income-generating work outside their primary job’s working hours, without the knowledge or consent of the primary employer. It differs from freelancing in the conventional sense because it typically involves a person who is formally employed — often on a full-time, exclusive basis — taking up additional paid work that may or may not compete with their employer’s business. Commentators often distinguish between three categories: “blue” moonlighting (working for a non-competing entity in an unrelated field), “grey” moonlighting (working for a company in an adjacent or related sector), and “black” moonlighting (working for a direct competitor or a client of the primary employer). The legal risk escalates significantly as one moves from blue to black moonlighting, since the latter raises direct concerns about conflict of interest, misuse of proprietary information, and breach of fiduciary-like obligations owed to the employer.
The Absence of a Specific Statute
Unlike some jurisdictions that have codified rules on secondary employment, India has no central legislation that directly addresses moonlighting. The closest analogue is Section 60 of the Factories Act, 1948, which prohibits a worker from working in more than one factory on the same day, but this provision is confined to factory workers governed by that Act and has limited application to the white-collar, IT, and services sectors where the moonlighting controversy has been most visible. Similarly, various State Shops and Establishments Acts contain provisions restricting working hours and, in some cases, prohibiting double employment during the hours an employee is engaged with a principal employer, but these too are narrowly drafted and inconsistently enforced. For the large services and technology workforce that formed the epicentre of the 2022 moonlighting debate, no such statutory bar exists. This legislative vacuum means that the question of whether moonlighting is permissible is answered almost entirely by the terms of the individual employment contract, read alongside general principles of contract law under the Indian Contract Act, 1872, and any conduct rules the employer may have notified.
Contractual Basis for Restricting Moonlighting
In the absence of statutory prohibition, Indian employers rely on contractual clauses to regulate or restrict secondary employment. Most standard employment agreements in India contain one or more of the following types of clauses:
Exclusivity clauses, which require the employee to devote their working time and professional efforts exclusively to the employer and often extend to a general prohibition on undertaking any other employment, business, or profession during the subsistence of the contract, irrespective of whether it competes with the employer.
Conflict of interest clauses, which require disclosure of any outside engagement and prohibit engagements that could reasonably be seen as adverse to the employer’s interests.
Moral and conduct clauses, increasingly inserted post-2022, which explicitly define moonlighting, prescribe disclosure obligations, and set out disciplinary consequences including termination for cause.
These clauses are generally enforceable in India because Section 27 of the Indian Contract Act, 1872 — which voids agreements in restraint of trade — has consistently been held by Indian courts to apply only to restraints operating after the termination of employment, not during its subsistence. Indian courts have repeatedly upheld the employer’s right to demand exclusivity and full-time devotion during the term of employment, reasoning that such restrictions are a reasonable and necessary incident of the employment relationship itself rather than an unlawful restraint of trade. The Supreme Court’s reasoning in cases dealing with negative covenants operative during employment, such as Niranjan Shankar Golikari v. Century Spinning and Manufacturing Co. Ltd. (1967), continues to guide this position: restrictions that operate while the employment subsists are treated differently, and far more leniently, than post-termination restraints.
This means that an employee who has signed a contract with an exclusivity clause and who takes up a second job without disclosure is likely in breach of contract, exposing them to disciplinary action, termination, and potentially a claim for damages, even where no statute expressly prohibits the conduct. Conversely, where an employment contract is silent on secondary employment, the legal position becomes considerably murkier, and much depends on whether the secondary work can be shown to have caused actual harm, conflict, or breach of fiduciary duty toward the primary employer.
Confidentiality and Trade Secret Concerns
Beyond simple breach of contract, moonlighting — particularly “grey” and “black” moonlighting — raises acute confidentiality risks. Indian law does not have a dedicated trade secrets statute; protection is derived from common law principles of breach of confidence, contractual non-disclosure obligations, and equitable remedies. Employment contracts typically contain confidentiality clauses obligating employees not to disclose or use proprietary information, client data, source code, business strategies, or other confidential material for any purpose other than the employer’s business. When an employee moonlights for a competing entity or a client of the primary employer, the risk of inadvertent or deliberate transfer of confidential information rises sharply.
Indian courts have been willing to grant injunctive relief to prevent misuse of confidential information even absent a specific statute, drawing on principles articulated in cases such as Diljeet Titus v. Alfred A. Adebare (2006), where the Delhi High Court restrained a former employee from using client-related material taken from a previous employer, treating it as a breach of confidence actionable independently of contract. This line of reasoning is directly relevant to moonlighting: an employee who uses knowledge, tools, or data acquired from their primary employer to perform work for a second employer — especially a competitor — can be restrained through injunction and held liable for damages, even if the specific act of taking a second job is not itself illegal. The overlap between moonlighting and data protection has also gained new significance following the enactment of the Digital Personal Data Protection Act, 2023, since an employee handling personal data in one job who transfers or replicates that access in a second engagement may trigger data fiduciary obligations and liability under that Act as well.
The IT Industry Response and Disciplinary Action
The 2022 controversy crystallised around IT majors treating moonlighting as a disciplinary and, in some cases, terminable offence. Wipro’s chairman publicly characterised the practice as a breach of integrity, and the company terminated a number of employees found to be simultaneously employed with competitors. Infosys issued internal communications reminding employees that dual employment violated their terms of appointment and could result in disciplinary proceedings, including termination. These actions were grounded not in any external law but in the companies’ own employment contracts and codes of conduct, which typically require exclusive, full-time engagement and prior written consent for any outside employment or business activity.
At the same time, a countervailing narrative emerged, with some technology companies, particularly certain new-age start-ups, publicly stating they had no objection to employees taking up freelance work outside office hours, provided there was no conflict of interest and no compromise of confidentiality or productivity. This divergence illustrates that, in the current legal vacuum, the permissibility of moonlighting in India is effectively a matter of individual corporate policy rather than uniform law, creating inconsistency across the market and considerable uncertainty for employees who move between organisations with differing stances.
Labour Law and Wage Code Considerations
The upcoming Labour Codes, particularly the Code on Wages, 2019, and the Occupational Safety, Health and Working Conditions Code, 2020, do not explicitly regulate moonlighting for the salaried, white-collar workforce, though the Occupational Safety Code retains provisions analogous to the Factories Act restricting dual employment for certain categories of establishment workers. There has been recurring policy commentary, including statements attributed to government functionaries during the 2022 debate, suggesting that a more explicit regulatory framework for gig and platform work — including secondary employment — may eventually be needed as India’s Labour Codes are implemented in full. Until such clarity emerges, employees and employers alike must navigate the issue primarily through contract.
Practical Implications for Employers and Employees
For employers, the moonlighting debate underscores the importance of clearly drafted employment contracts. Vague or silent contracts create litigation risk and make disciplinary action harder to sustain if challenged before a labour court or civil court. Employers seeking to prevent or regulate secondary employment should consider explicit exclusivity clauses, defined disclosure obligations for any outside engagement, robust confidentiality and data-handling provisions, and proportionate disciplinary frameworks that distinguish between harmless secondary work and engagements that create genuine conflicts of interest.
For the employee, the take-away from this discussion is the fact that non-existence of an anti-moonlighting law does not necessarily make it safe for him/her to engage in the practice. An employee needs to analyze his/her employment agreement before taking up any other work and avoid engaging himself/herself in such work which will expose him/her to a charge of breaching his/her employer’s confidences. The reason behind the above caution is the readiness of Indian courts to award injunction and monetary compensation even in the absence of any statutory provision.
Conclusion
Moonlighting sits at the intersection of contract law, confidentiality doctrine, and an evolving conversation about the nature of employment in a post-pandemic, increasingly flexible labour market. India’s legal response so far has been reactive and contract-driven rather than legislative, leaving employers to define the boundaries of acceptable secondary employment through their own agreements and employees to bear the risk of ambiguity where those agreements are silent. As remote and hybrid work arrangements become permanent features of the Indian workplace, and as the Labour Codes move toward full implementation, there is a strong case for a more coherent policy framework — one that balances an employer’s legitimate interest in loyalty, confidentiality, and productivity against an employee’s growing economic need and right to supplement their income through lawful secondary work. Until that framework arrives, the safest course for both sides remains the same: precise, well-drafted contracts that leave little room for the kind of ambiguity that fuelled the 2022 controversy.
Endnotes
- The Factories Act, No. 63 of 1948, § 60, Acts of Parliament, 1948 (India).
- The Indian Contract Act, No. 9 of 1872, § 27, Acts of Parliament, 1872 (India).
- The Digital Personal Data Protection Act, No. 22 of 2023, Acts of Parliament, 2023 (India).
- The Code on Wages, No. 29 of 2019, Acts of Parliament, 2019 (India).
- The Occupational Safety, Health and Working Conditions Code, No. 37 of 2020, Acts of Parliament, 2020 (India).
- Niranjan Shankar Golikari v. Century Spinning & Manufacturing Co. Ltd., AIR 1967 SC 1098.
- Gujarat Bottling Co. Ltd. v. Coca Cola Co., (1995) 5 SCC 545.
- Diljeet Titus v. Alfred A. Adebare, 130 (2006) DLT 330.
- Ministry of Labour and Employment, Report of the National Commission on Labour (where relevant to employment obligations and labour policy).
- International Labour Organization, Employment Relationship Recommendation, Recommendation No. 198 (2006).
- Avtar Singh, Law of Contract and Specific Relief (Eastern Book Company).
- Pollock & Mulla, Indian Contract and Specific Relief Acts (LexisNexis).
- Wipro Limited, Code of Business Conduct and Ethics (latest available version).
- Infosys Limited, Code of Conduct and Employee Handbook (latest available version).
- Tata Consultancy Services Limited, Code of Conduct and Employment Policies (latest available version).