India · Employment · 7 min read

Does Your Employer Own the Code You Write on Weekends?

Not automatically. Section 17(c) of the Copyright Act, 1957 makes the employer first owner of work made in the course of employment, so everything turns on whether weekend work falls inside that course, and on how widely your IP clause is drafted.

Side projects, open source contributions and weekend startups are normal for Indian engineers, and the intellectual property clause in a standard employment contract is often drafted far more broadly than the statutory default. Knowing where the default sits tells you what the clause is actually adding.

Key takeaways

  • Under Section 17(c) of the Copyright Act, an employer is first owner of work made in the course of employment.
  • "In the course of employment" is narrower than "at any time while employed".
  • Assignments must specify rights, term and territory under Section 19(2).
  • Where no term is specified, an assignment lapses after five years under Section 19(5).
  • Moral rights under Section 57 are not assignable.
  • Contracts commonly claim more than the statutory default, which is what makes the clause worth reading.

The statutory default

Section 17 of the Copyright Act, 1957 addresses first ownership. Clause (c) provides that where a work is made in the course of the author’s employment under a contract of service, the employer is the first owner of the copyright, absent agreement to the contrary.

The operative words are "in the course of the author’s employment". That is a narrower idea than everything you create during the period you happen to be employed. Work done in your role, using your employer’s time and resources, sits squarely inside it. A project unrelated to your role, built on your own equipment and your own time, is a different question, and the contract rather than the statute usually decides it.

What contracts add on top

This is why the IP clause matters. Typical Indian employment agreements go well beyond Section 17(c), assigning to the employer all intellectual property created during the term of employment, sometimes without any requirement that it relate to the business, and occasionally reaching work created before joining or after leaving.

A clause of that width is not the statutory position; it is a contractual expansion of it. Whether a particular expansion is enforceable in a particular situation depends on the wording and the facts, but the first useful step is simply recognising that your contract may be claiming considerably more than the law gives by default.

The formalities most clauses ignore

Section 19 of the Copyright Act sets requirements for assignment. Under Section 19(2) an assignment must identify the work and specify the rights assigned, the duration and the territorial extent. Under Section 19(5), where the assignment does not specify a period, it is deemed to be for five years from the date of assignment.

That five-year default is not widely known and it cuts in an interesting direction. A sweeping assignment clause that names no term is not necessarily the permanent transfer the drafting implies. Section 57 adds a further limit: the author’s moral rights, including the right to claim authorship, are not assignable regardless of what a contract says.

Practical questions for your own contract

  • Does the IP clause require the work to relate to the employer’s business, or does it claim everything created during the term?
  • Does it reach work created outside working hours and on your own equipment?
  • Does it purport to cover work created before you joined?
  • Does it specify rights, duration and territory as Section 19(2) requires?
  • Is there a carve-out mechanism, such as disclosing existing projects in an annexure at the point of joining?
  • Does it address open source contributions, which are common and often overlooked?

If you have a side project

The cleanest approach is disclosure at the start. Listing existing projects in an annexure to the employment agreement, and agreeing they are excluded, converts an ambiguity into a written position at the moment when both sides are being reasonable. Employers routinely accept this for genuine pre-existing work.

If you are already employed and building something significant, the position depends on your specific clause, what you built, and what resources you used. That is a fact-specific question with real commercial stakes, particularly if the project might become a company, and it is worth an advocate rather than an internet answer.

Have a contract in front of you?

Upload it and get every clause checked against Indian law, with the provision each finding rests on.

Review your employment contract

Common questions

My contract says the company owns everything I create while employed. Is that valid?

Clauses of that breadth are common and go beyond the Section 17(c) default, which is limited to work made in the course of employment. Whether a particular clause is enforceable as drafted depends on its wording and the facts. It is worth reading closely and, where a real side project is involved, taking advice.

Does the five-year rule in Section 19(5) mean my employer loses my work after five years?

Section 19(5) addresses assignments that do not specify a period, deeming them to be for five years. How it applies to a specific employment clause depends on how that clause is drafted and whether the work fell under Section 17(c) first ownership in any event. Do not plan around it without advice.

What about open source contributions?

Many Indian employment agreements are silent on open source, which leaves contributions sitting inside a broad IP clause by default. If contributing matters to you, raising it before signing and getting a written carve-out is far easier than resolving it later.

Related guides

This article is general information about Indian law as of 2026-07-26, not legal advice, and reading it does not create an advocate–client relationship. Statutes and rules change, particularly under the Labour Codes where State rules are still being notified. Consult a qualified advocate about your own situation.