Moonlighting Policy for IT Companies in India: What the Law Allows – Vakil Labs legal guide

Moonlighting Policy for IT Companies in India: What the Law Allows

Deepak Sonu

Reviewed by

Deepak Sonu, B.A., LL.B. (Hons.), LL.M.

Last reviewed 22 November 2026

Short answer: Moonlighting is not illegal for IT employees in India. No general law bans it, so an IT company controls it through the employment contract and a written moonlighting policy. The company can require exclusive work during employment and act on a breach after a fair show-cause process, but a ban on working elsewhere after the employee leaves is generally void under Section 27 of the Indian Contract Act, 1872.

Moonlighting means an employee working a second job or side business alongside their main employment. For IT companies, the concern is usually conflict of interest, client confidentiality and productivity, not the side work itself. There is no single law on moonlighting for IT employees in India, so the answer comes from the employment contract and company policy.

What the law allows

  • An employer can require an employee to work exclusively for it during employment. Courts have upheld such restrictions while the employment lasts.
  • Confidentiality, data protection and IP clauses apply to anything the employee does elsewhere.
  • Some labour laws restrict double employment for specific categories of workers, but there is no general bar that applies to IT professionals.
  • After employment ends, a ban on working elsewhere is generally void under Section 27 of the Indian Contract Act.

What a clear moonlighting policy covers

  1. Whether any outside work is allowed, and what needs prior written approval
  2. An outright bar on working for clients, competitors or vendors
  3. A bar on using company devices, time, code, data or client information
  4. Disclosure of directorships, side businesses and paid advisory roles
  5. Rules on teaching, open source contributions and content creation, which many companies allow
  6. The consequences of breach, and the process the company will follow

Acting on a breach

Treat it as a misconduct process: gather evidence lawfully, issue a show-cause notice, give the employee a fair chance to respond, and decide in proportion to the breach. Termination without a fair process invites disputes. Check client contracts as well, because some require you to report conflicts or data risks.

Align the documents

The offer letter, employment agreement, code of conduct and IT acceptable-use policy should all say the same thing. Inconsistent documents are the most common reason a moonlighting action fails.

How Vakil Labs helps

We draft moonlighting, conflict-of-interest and acceptable-use policies, align offer letters and handbooks, and run fair misconduct processes when a breach is suspected. Legal matters are handled by enrolled advocates, working with HR, payroll, compliance and finance professionals. See how our legal empanelment for IT companies works.

Related services and guides

HR policies and employee handbook · Employee exits and disputes · Non-compete and non-solicit clauses · Labour Codes for IT companies · Legal services for IT companies

Need help with this? See our HR outsourcing services for IT companies in Chennai.

Official sources

Links checked on 16 November 2026. Laws and rules change; check the current text before relying on it.

Moonlighting policy for IT companies: common questions

Can a company have a moonlighting policy for employees?

Moonlighting is not illegal for IT employees in India. No general law bans it, so an IT company controls it through the employment contract and a written moonlighting policy.

Is moonlighting illegal in India?

There is no general law that makes moonlighting illegal for IT employees. Whether it is allowed depends on the employment contract and company policy, which can require exclusivity during employment.

Can an IT company terminate an employee for moonlighting?

It can, if the contract or policy prohibits it and the company follows a fair process, including a show-cause notice and a chance to respond. The action should be proportionate to the breach.

Can a moonlighting ban continue after the employee leaves?

No. A restriction on working elsewhere after employment ends is generally void under Section 27 of the Indian Contract Act. Confidentiality obligations do continue.

This guide is general information, not legal advice. Rules change; confirm the current position for your facts before acting.

Talk to the corporate desk: call +91 98403 84071, WhatsApp +91 73391 62231 or email support@vakillabs.com. Scope and fees are agreed in writing before work starts.

You might also need

Keep every employee decision defensible

Recommended next stepLegal Empanelment for IT CompaniesPut Vakil Labs on your legal panel for contracts, HR, compliance and disputes. Same-day response, first drafts in about 3 hours. Plans from…See how it works →

Let's talk.

Need legal, HR or compliance support?

Contact us
Across India · WorldwideLegal · HR · Compliance

Vakil Labs LLP is not a law firm. Business support services (HR, payroll, compliance, registrations, ISO) are provided by the LLP. Legal advice and court representation are provided only by independent enrolled advocates, engaged directly by the client.

Chat on WhatsApp
Call +91 99416 26224