Asked by a reader in Bengaluru

Can my employer stop me from freelancing or taking a second job?

Answered by Advocate Sharan Jain··Employment & Labour Law

Legal Shorts · 78 words

Check your employment agreement before taking outside work. An exclusivity or conflict-of-interest clause may restrict a second job while your employment continues, and factories and mines also have statutory restrictions. After you leave, a broad ban on earning a living elsewhere is generally vulnerable under Section 27 of the Contract Act. Confidentiality and misuse of company information are separate issues. Ask for written permission where the policy requires it, especially if the outside client competes with your employer.

Short sources checked:

WhatsApp

Moonlighting became a live issue when several technology companies terminated employees over it. The legal position is reasonably clear once the two periods are separated.

During employment

An exclusivity or full-time-service clause is enforceable. It regulates the employment relationship rather than restraining trade after it, so Section 27 of the Indian Contract Act does not strike it down. Breach can amount to misconduct, and where standing orders or the contract classify it as such, it can justify disciplinary action including termination, subject to a fair process. Note that standing orders now sit in Chapter IV of the Industrial Relations Code, 2020 and apply to industrial establishments with 300 or more workers, so many mid-sized employers now have only the contract to rely on.

Independent of contract, some statutes restrict dual employment. Section 30 of the Occupational Safety, Health and Working Conditions Code, 2020, which replaced Section 60 of the Factories Act, 1948 when the labour codes came into force on 21 November 2025, provides that no worker shall be required or allowed to work in a mine or factory if he has already been working in another such establishment within the preceding twelve hours, save in prescribed circumstances. Several state Shops and Establishments Acts, which the codes did not repeal, contain comparable provisions.

Can they actually stop you?

  • Still employed, and the contract has an exclusivity clause? Generally enforceable during employment, and breach is a disciplinary matter.
  • Still employed, contract silent? The duty of fidelity still bites where the second job competes, uses the employer's time, or uses its confidential information.
  • Employment ended, and the clause restrains you from working elsewhere? Section 27 of the Contract Act makes post-employment non-compete restraints void as a rule, whatever the contract says.
  • Employment ended, and the clause protects confidential information or solicits customers? That is a different question, and such clauses are treated more favourably than a bare restraint on employment.
  • Working in a factory or mine already covered by the hours provisions? A statutory restriction applies independently of the contract.

After employment

A clause preventing you from taking up other employment after you leave is void under Section 27. Indian law does not apply a reasonableness test to post-employment restraints. What survives is confidentiality, non-solicitation where narrowly drawn, and IP assignment.

The procedural answer runs the same way. The Specific Relief Act, 1963 provides that an injunction cannot be granted to prevent the breach of a contract whose performance would not be specifically enforced, and a contract of personal service is not specifically enforced. So a former employer asking a court to restrain you from working for a competitor is asking for something the statute does not readily give. What it can properly ask for is an order restraining the use or disclosure of its confidential information, which is a different thing and is granted on evidence that specific information was taken. That is why the documents that actually matter on exit are the confidentiality and intellectual property clauses rather than the restraint clause: our note on drafting a workable NDA in India covers what a confidentiality obligation can and cannot reach.

The real risks are not the exclusivity clause
Three things get people into genuine trouble: using the employer's device, network, licences or premises for outside work; a conflict of interest, particularly working for a competitor or a client of the employer; and the IP clause, under which everything you create during the employment period may be assigned to the employer, potentially including your side project. That last one is the sleeper issue for developers and designers.

Practical guidance

  • Read the appointment letter and the HR policy. Many now permit outside work with prior written consent, which is the safe route.
  • If you seek consent, define the scope narrowly and get the answer in writing.
  • Never use employer resources, and keep the work strictly outside working hours.
  • Check the IP clause carefully and, if you have a personal project, seek a written carve-out before you start.
  • Two employers both filing PF for the same UAN, or overlapping Form 16s, is how dual employment usually surfaces. Assume it will become known.
  • If you are engaged through a platform rather than employed, note that the Code on Social Security, 2020 defines gig workers and platform workers separately from employees, so the exclusivity analysis and the social security position both differ.
  • Government servants are in a different position altogether. Conduct rules generally prohibit engaging in trade or any other employment without permission, and breach is a disciplinary matter, not a contractual one.

If you are charged with it

Moonlighting is usually alleged as misconduct rather than sued upon, so the fight is about process as much as substance. Ask for the charge in writing and the material relied on, and answer it in writing rather than in a meeting. Deal with the three things that decide the outcome: whether the outside work was in working hours, whether the employer's devices, network, licences or data were used, and whether the other engagement was with a competitor or a client. An honest answer on all three, supported by your own records, is a better position than a denial that the employer can disprove from access logs.

If it proceeds to dismissal, the remedy depends on where you sit. A worker under the Industrial Relations Code, 2020 has the conciliation and tribunal route. For most Bengaluru white collar staff, the practical remedy is the appeal under Section 39 of the Karnataka Shops and Commercial Establishments Act, 1961, on the ground that there was no reasonable cause or that the misconduct was not proved at a properly held enquiry. Either way the enquiry has to be a real one, with a charge sheet, disclosure of the material and an opportunity to answer it. Our guide on what an Indian employment agreement should contain covers the exclusivity, conflict and intellectual property clauses that these disputes turn on.

Sources

The law this answer relies on, so you can read it yourself.

  1. 1.Indian Contract Act, 1872 - 27 Read the source
  2. 2.Occupational Safety, Health and Working Conditions Code, 2020 - 30 Read the source
  3. 3.Vijaya Bank v Prashant B Narnaware, 2025 INSC 691 - paragraphs11-16 Read the source
  4. 4.Labour Ministry commencement announcement, 21 November 2025 Read the source
  5. 5.Section 27, Indian Contract Act, 1872. Bare text of the provision. Read the source
  6. 6.Section 30, Occupational Safety, Health and Working Conditions Code, 2020. Restriction on double employment in a factory and mine. Read the source
  7. 7.Section 41, Specific Relief Act, 1963. Injunction when refused. Read the source
  8. 8.Section 39, Karnataka Shops and Commercial Establishments Act, 1961. Notice of dismissal, and the appeal to the prescribed authority. Read the source

The short answer's sources were checked on 12 September 2026. Statutes and judgments can change, so check the current position before you act on anything here.

Nothing there yet? Send the question in and it gets answered here.

Related legal service

Dealing with this yourself rather than reading about it? Our Bangalore advocates work in this area.

Go deeper on this

This answer is the short version. These guides cover the same ground in full, with the procedure, the timelines and the leading cases.

SJ

Answered by

Advocate Sharan Jain

Advocate based in Bangalore, practising before the Karnataka High Court and District, Sessions, Consumer and Family courts. Answers public legal questions to make Indian law more accessible.

This answer is general information on Indian law as at July 25, 2026, published for public education. It is not legal advice, it does not take account of your facts, and reading it does not create an advocate-client relationship. Law changes and every case turns on its own circumstances. Please consult a qualified advocate about your own matter.

People also asked

Corporate & Commercial

Is a non-compete clause in my contract actually enforceable?

A post-employment non-compete in India faces section 27 of the Contract Act, which voids an agreement restraining a lawful profession, trade or business to that extent. A short duration or narrow area does not, by itself, cure the problem. The statute contains a specific goodwill-sale exception, so context matters. Read confidentiality and client-related restrictions separately instead of assuming every clause has the same effect. Before signing or threatening enforcement, identify exactly what activity the clause seeks to prevent.

Employment & Labour

My employer wants me to pay for breaking a training bond. Is that enforceable?

An employment bond is not automatically invalid, and training expenses are not the only possible justification. The wording, the employer's legitimate interests and the reasonableness of the amount matter. Ask for the calculation behind the demand and check whether the amount reduces with service already completed. A sum written into the bond is not automatically payable in every case. Keep the signed agreement and records of training, recruitment and your exit before admitting liability.

Employment & Labour

I was terminated without notice or reason. Was that lawful?

A termination without notice may be challengeable, but your duties and the reason for dismissal matter. Eligible workers have retrenchment protections under the Industrial Relations Code. Karnataka's Shops Act can separately protect covered employees with six months' continuous service, including during probation. Management positions are excluded. Keep the termination message and evidence of your actual role. Do not assume that receiving notice pay makes every dismissal lawful, or that everyone outside the worker definition has only a contract claim.

Intellectual Property

We paid a freelancer to build our app. Who owns the code?

Paying a freelance developer does not by itself settle copyright ownership in the code. Section 17 starts with the author as owner, with specific exceptions, including qualifying work created in employment. An independent contractor arrangement needs separate attention. If rights are being assigned, section 19 requires a written, signed assignment identifying the work and rights, with the duration and territory addressed. Check the agreement alongside the code being delivered. Access to a repository and ownership of the copyright are different questions.

Employment & Labour

I am on a fixed term contract. What are my rights under the new codes?

A genuine fixed term worker engaged through a written contract has statutory protections, including parity with a comparable permanent worker and proportionate benefits. Expiry of the agreed term is treated differently from retrenchment, so retrenchment compensation does not automatically follow when the contract ends normally. Gratuity has a special fixed term rule. Check the written dates, who employs you and whether the term actually expired. An early dismissal or contractor placement raises different questions.

Employment & Labour

I work through a contractor at a client's site. Who is my actual employer?

Start with the staffing agreement and payslips: the contractor normally pays your wages. Where the contract-labour provisions apply, the principal employer must cover unpaid wages if the contractor defaults, and can recover that amount from the contractor. This does not automatically make every outsourced worker a permanent employee of the client company. Keep attendance records, bank credits and messages showing where you worked. Identify both entities accurately before choosing whom to approach for the missing payment.

S Jain & Attorneys · Ask Me

Still not the question you had in mind?

Search the column, or send your question in. Questions of general interest are answered here, anonymously, so the next person does not have to ask.