Moonlighting in India 2026: Is It Legal, and What Happens If You're Caught?

Moonlighting in India: Is It Legal?

Last updated: 25 November 2026

Short answer: moonlighting isn't banned by law for most office jobs in India. The old rule against double employment covers factory workers, not IT or corporate staff. What decides it for you is your employment contract. If it bans outside work, or you work for a competitor, you can be fired. Wipro fired 300 people in 2022 for working for competitors while on its payroll. Employers can spot a second salaried job through your UAN, because two companies paying PF in the same month shows up. Side work that's disclosed, outside office hours and not for a competitor is usually fine.

Moonlighting is back in the conversation. Layoffs, flat hikes and AI are pushing people to look for a second income. On Blind, 35% of India-based tech professionals said they got no hike or a pay cut this year. In a Weekday analysis of 400 top Reddit posts, 420 LinkedIn posts and 400 X posts from the last 30 days (Nov 2026), layoffs and AI were among the most-discussed themes.

One r/cscareerquestions thread with 1,048 upvotes and 460 comments shows the other side of it (thread). A backend engineer was laid off in March after the company said one engineer plus AI tools could run the platform. Months later, after repeated outages, the CTO asked them back as a contractor for three months, with no benefits, at half their old monthly pay. They had been freelancing since the layoff, and turned it down. Contract and freelance work is everywhere now. If you already have a full-time job, taking it on is moonlighting, so you need to know the rules.

What counts as moonlighting?

Moonlighting means doing paid work outside your main job. It covers a lot:

  • A second full-time job, often remote, done at the same time as the first.
  • Freelance or contract projects on weekends or after hours.
  • Paid consulting, teaching or content work.
  • Running your own small business or startup on the side.

The first one is what got people fired in 2022. The rest depends on your contract and how open you are about it.

Is moonlighting legal in India?

There's no single law that bans it for office jobs. Here's what exists:

  • Factories: Section 60 of the Factories Act, 1948 said an adult worker can't work in a factory on a day they've already worked in another factory. Since the labour codes started on 21 November 2025, a similar rule sits in the Occupational Safety, Health and Working Conditions Code, which has a section on "restriction on double employment in factory and mine".
  • Offices and IT: these rules don't apply to organisations that don't run factories, as Business Standard explained during the 2022 debate.
  • Your contract: this is what counts. Most tech companies rely on clauses on exclusivity, conflict of interest, confidentiality and intellectual property (EY).

So "Is it legal?" is the wrong question. Ask instead: "Does my contract allow it, and did I disclose it?" Contracts differ, so check with your HR or a lawyer before you take on anything big.

What happened in India's 2022 moonlighting row

WhenWhat happened
3 August 2022Swiggy announced a moonlighting policy. Staff could take paid or unpaid outside projects after hours or on weekends, if it didn't hurt their work or clash with Swiggy's business. Higher-risk projects needed approval.
20 August 2022Wipro chairman Rishad Premji called moonlighting "cheating - plain and simple" on Twitter.
September 2022Infosys emailed staff that "dual employment is not permitted" under its handbook and code of conduct, warning it could lead to termination. IBM India's MD called moonlighting unethical.
21 September 2022Premji said Wipro had found 300 employees working directly for competitors while on its payroll. Their employment was terminated.
October 2022Infosys confirmed it had also fired employees for dual employment.

The line that came out of 2022 still holds. Disclosed side work is a conversation. A secret second job, especially for a competitor, is a firing offence at most big IT firms.

How employers find out about a second job

  • UAN and PF records. Your Universal Account Number links all your PF accounts. If two employers pay PF for you in the same month, that's a clear sign of two jobs. Reports in 2022 said Wipro used UAN data from the EPF employer portal (Business Today), and background check firms now sell UAN-based dual employment checks (AuthBridge).
  • Tax records. Two salaries mean TDS from two employers in your tax statements.
  • Background checks at your next job. Overlapping dates in your PF history can come up later. See our background verification guide.
  • Everyday signals. Missed meetings, slow replies, camera always off, or a public LinkedIn or GitHub profile that shows another employer.

Freelance work paid by invoice doesn't create a PF record, so it's harder to spot. But it can still breach your contract if the contract bans it.

Usually allowed, risky, usually fireable

A general guide. Your contract wins over this table.

Usually allowedRisky: disclose firstUsually fireable
Weekend teaching or tutoringPaid freelance work in the same fieldA second full-time job with PF
A blog or YouTube channel not about your employerA startup or SaaS side projectWorking for a competitor or your employer's client
Volunteering and NGO workPaid consulting for other companiesSide work during office hours
Helping in a family businessOpen-source work close to your day jobUsing company laptops, code or data
Investing in stocks or mutual fundsContract work for a former employerHiding it when your contract asks you to disclose

What happens if you're caught

  • Termination. That's what happened to the 300 at Wipro, and to people Infosys found with dual employment.
  • A messy exit. You may leave without notice pay or with a dispute on your record, which your next background check can pick up.
  • Intellectual property fights. If your side project overlaps with your day job, your employer may claim the work under your IP clause.
  • Both jobs at risk. If the second employer also bans dual employment, you can lose that one too.

How to do side work without losing your job

  1. Read your contract. Look for "exclusive service", "outside employment", "conflict of interest" and "intellectual property".
  2. Disclose it in writing. Email HR or your manager with what you'll do, for whom and when. Keep their reply.
  3. Stay away from competitors and clients. This is where most firings come from.
  4. Keep it outside work hours and off work devices. Use your own laptop and accounts.
  5. Declare the income in your tax return. Freelance income is taxable, and mismatches get noticed.
  6. If you need more money, consider one better job instead of two. A switch is often the cleaner fix. Our salary hike 2026 guide shows the switch math.

Want a remote role that pays enough on its own? Browse remote jobs in India on Weekday.

Find one job that pays enough, instead of two

Day is Weekday's free AI recruiter on WhatsApp. Tell Day what you want, like "full stack, 5 yrs, remote, 25+ LPA". Day finds matching roles, including remote ones, and applies when you say yes.

Say hi to Day on WhatsApp →

Frequently asked questions

Is moonlighting legal in India?

For most office and IT jobs, no law bans it. The rule against double employment covers factory and mine workers. For everyone else, your employment contract decides whether outside work is allowed.

Can my employer find out about my second job?

Often, yes. If two employers pay PF against your UAN in the same month, it shows up in PF records, and background check firms offer UAN-based dual employment checks. Tax records also show salary from two employers.

Can I be fired for freelancing on weekends?

You can if your contract bans outside work or the work conflicts with your employer's business. Disclosing it in writing and avoiding competitors and clients lowers the risk.

Is running a YouTube channel moonlighting?

Technically it's outside work, but most companies allow it if it doesn't use company time, devices or information. Check your contract and disclose it if it earns money.

Why did Wipro fire 300 employees for moonlighting?

In September 2022, Wipro chairman Rishad Premji said the company found 300 employees working directly for competitors while on Wipro's payroll, and their employment was terminated.

Sources

  1. r/cscareerquestions: laid off because "AI made the team redundant" (22 Nov 2026, paraphrased)
  2. Blind: 1 in 3 Indian tech workers got no hike or a pay cut (Oct 2026)
  3. Factories Act, 1948, Section 60: restriction on double employment
  4. PRS India: OSH Code, 2020 text and Bar & Bench: labour codes in force from 21 Nov 2025
  5. Business Standard: what Indian laws say about moonlighting (Sep 2022)
  6. The Register: Wipro fires 300 for moonlighting (Sep 2022)
  7. Outlook Business: Wipro and Infosys on dual employment and IBM India's view (Sep 2022)
  8. Outlook Business: Infosys confirms sacking employees for moonlighting (Oct 2022)
  9. Business Today: Swiggy's moonlighting policy (Aug 2022)
  10. Business Today: how Wipro caught moonlighters and AuthBridge: dual employment checks
  11. EY: the moonlighting minefield
  12. Weekday analysis of 400 top Reddit posts, 420 LinkedIn posts and 400 X posts from the last 30 days (Nov 2026)

Latest Articles

Browse Articles
Use AI to find jobs and apply

Stop manually filling job applications. Use AI to auto-apply to jobs

Browse jobs now