Moonlighting means working a second job or doing paid side work while you hold a full-time job. In India it isn't a crime for a private-sector employee. There is no general law against it. What makes it risky is your employment contract: if it requires you to work only for your employer, Indian courts generally enforce that while you are employed. So the answer to "can I do this?" is usually in your appointment letter, not in a statute.
What the law says
The starting point is Section 27 of the Indian Contract Act, 1872, which makes void any agreement that restrains someone "from exercising a lawful profession, trade or business of any kind". That sounds like it protects side work. In practice it mostly protects you after you leave a job. While you are employed, the Supreme Court held in Niranjan Shankar Golikari v Century Spinning(1967) that negative covenants operating while the employee is bound to serve the employer exclusively "are generally not regarded as restraint of trade", unless the contract is unconscionable, excessively harsh or one-sided.
In plain terms: a clause saying you won't work for anyone else while you work for this company is generally enforceable. The same line decides whether garden leave holds during your notice period, and why a non-compete that runs after you leave usually doesn't.
Who is barred by law
Two groups don't need a contract clause to be restricted. Central government servants can't take up any other employment, or engage in any trade or business, without the government's previous sanction, under Rule 15 of the CCS (Conduct) Rules, 1964. Factory and mine workers can't be required or allowed to work in a factory or mine if they have worked in another such establishment in the preceding twelve hours (Section 30 of the OSH Code, 2020). That rule doesn't reach office jobs.
What courts have done
There is no Supreme Court ruling on moonlighting by a private-sector employee. The cases that exist turn on the facts and the contract:
The clauses that decide it
| Clause | What to check |
|---|---|
| Exclusivity | Does it bar all other work, or only competing work? |
| Permission | Is there a process to get approval in writing? |
| Conflict of interest | Does it cover clients, vendors, competitors? |
| Confidentiality | Could your side work use what you know? |
| IP assignment | Does it claim what you make outside work? |
Your appointment letter, the employee handbook and any certified standing orders can all contain these terms. Read all three.
The intellectual property clause is the easiest to overlook. An IP assignment clause can give the employer anything you create that relates to its business, sometimes regardless of when you made it. If your side project is software, content or a product, check this before you build it, not after it is worth something.
If you want to do side work
If you are accused of it
Ask for the allegation in writing and reply in writing. Dismissal for misconduct usually needs a charge and a fair chance to answer it. Where you can, show the work was permitted, unrelated or done outside working hours. If the company offers a resignation instead, understand what you give up first — your notice terms, your full and final settlement and your relieving letter. The resignation guide covers what to secure on the way out.
And if the side work is really a sign the main job no longer pays enough, that is a question worth answering directly. The salary hike guide shows what switching usually pays, which is often more than a second job would.
Court decisions here turn on the exact contract wording and the facts. The cases above are summarised from the judgments; none of them is a Supreme Court ruling on private-sector moonlighting. General information, not legal advice — for a specific dispute, speak to a lawyer.
- Indian Contract Act, 1872 — Section 27: Agreement in restraint of trade, void
- Niranjan Shankar Golikari v Century Spinning & Mfg Co — Supreme Court, 17 January 1967
- Gulbahar v Presiding Officer, Industrial Tribunal-cum-Labour Court — Punjab & Haryana High Court, 21 March 2016
- Lupin Ltd v Satyendra Yadav — Bombay High Court, 24 November 2018
- Qualibar Pvt Ltd v Nakkala Prathap Reddy — Bengaluru City Civil Court, 9 September 2024 (ex parte)
- Occupational Safety, Health and Working Conditions Code, 2020 — Section 30: restriction on double employment
- Vinod Tihara v Delhi & District Cricket Association — Delhi High Court, 2012, reproducing CCS (Conduct) Rule 15