Who Owns the Code? IP Ownership for IT Companies, Employees and Freelancers in India – Vakil Labs legal guide

Who Owns the Code? Software IP Ownership for Employees and Freelancers in India

Deepak Sonu

Reviewed by

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

Last reviewed 21 November 2026

Short answer: Software IP ownership for employees and freelancers in India follows two different rules. An Indian IT company is the first owner of code its employees write in the course of employment (Section 17(c), Copyright Act, 1957), unless an agreement says otherwise. It does not own a freelancer’s or contractor’s work unless they assign it in writing under Section 19. That assignment should state the duration as perpetual and the territory as worldwide; if it is silent, they default to five years and India.

Software, designs and documentation are an IT company’s main assets. Under Indian law, who owns them depends on whether the creator is an employee or a contractor, and on what the contract says. Getting this wrong can surface during a client audit, a funding round or an acquisition.

Employees: the employer is usually the first owner

Under Section 17(c) of the Copyright Act, 1957, when a work is made by an employee in the course of employment under a contract of service, the employer is the first owner of the copyright, unless there is an agreement to the contrary. Work done outside the scope of employment, or before joining, is not covered, so employment contracts should say clearly what is assigned. Reviewing these assignment clauses is part of our legal services for IT companies.

Freelancers and contractors: they own it unless they assign it

A freelancer or contractor engaged under a contract for service is the first owner of what they create. Your company owns it only if there is a written assignment. Under Section 19 of the Copyright Act, an assignment must be in writing and signed, and should state the rights assigned, the duration and the territory. If the duration is not stated, it is deemed to be five years, and if the territory is not stated, it is deemed to be India.

Inventions and patents

The Copyright Act rule does not apply to inventions. To secure patent rights in an employee’s or contractor’s invention, you need a written assignment of the invention. Under section 6 of the Patents Act, 1970, the assignee of the true and first inventor can apply for the patent, but the inventor is still named in the application, so keep the signed assignment ready to file with it.

Clauses every IT contract should have

  • A present assignment of all IP created in the course of the engagement, with duration stated as perpetual and territory as worldwide
  • A waiver or non-assertion of moral rights to the extent the law permits
  • A list of pre-existing IP the person brings in, and a licence to use it in the deliverables
  • Open source rules: what can be used and how it must be reported
  • Confidentiality that survives the end of the engagement
  • A matching assignment from your company to the client, where the client contract requires it

Check before a funding round or acquisition

Investors and acquirers check that every key contributor, including founders, early freelancers and agencies, has signed an assignment. Gaps can be fixed with confirmatory assignments, but they are easier to fix early.

How Vakil Labs helps

We draft employment and contractor IP clauses, prepare confirmatory assignments, review client IP terms and run IP checks before investment or acquisition. Legal matters are handled by enrolled advocates, working with HR, payroll, compliance and finance professionals.

Related services and guides

Trademark and copyright registration · Open source and software IP compliance · Technology and vendor agreements · Legal services an IT company needs

Official sources

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

Software IP ownership for employees and freelancers in India: common questions

Who owns code written by an employee in India?

An Indian IT company is the first owner of code its employees write in the course of employment (Section 17(c), Copyright Act, 1957), unless an agreement says otherwise. It does not own a freelancer’s or contractor’s work unless they assign it in writing under Section 19.

Does an IT company own the code written by its employees?

Generally yes. Under Section 17(c) of the Copyright Act, 1957, the employer is the first owner of work made by an employee in the course of employment, unless there is an agreement to the contrary.

Does a company own the code written by a freelancer?

Not automatically. A freelancer owns what they create unless they assign it to the company in writing, as Section 19 of the Copyright Act requires.

What happens if an assignment does not mention duration or territory?

Under Section 19 of the Copyright Act, if the duration is not stated it is deemed to be five years, and if the territory is not stated it is deemed to be India.

Who owns software IP created by employees and freelancers in India?

Software IP ownership for employees and freelancers in India differs: code written by employees in the course of employment usually belongs to the employer, while freelancers own what they create unless a written contract assigns it to you.

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.

Also read: Non-compete and non-solicit clauses in India · Moonlighting policy for IT companies

You might also need

Close deals on contracts you can deliver

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