Asked by a founder in Bengaluru

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

Answered by Advocate Sharan Jain··Intellectual Property Law

Legal Shorts · 81 words

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.

Short sources checked:

WhatsApp

This is the single most expensive IP mistake I see startups make, and it usually surfaces during due diligence, at the worst possible moment.

The default rule

Section 17 of the Copyright Act, 1957: the author of a work is the first owner of the copyright in it. For software, the author is the person who wrote the code. There is an exception where a work is made by an author in the course of employment under a contract of service, in which case the employer is the first owner absent an agreement to the contrary.

Why a freelancer is different

A freelancer or agency works under a contract for services, not a contract of service. They are not your employee. The employment exception therefore does not apply, and copyright stays with them unless assigned. India has no broad American-style "work made for hire" doctrine that automatically vests commissioned software in the person paying for it. The narrow commissioning provision in Section 17(b) covers a photograph taken, a painting or portrait drawn, an engraving, or a cinematograph film made for valuable consideration at the instance of another person. Software is not on that list.

The distinction is not settled by what the invoice or the engagement letter is called. Courts look at the substance: who controlled how and when the work was done, whose equipment and premises were used, whether the person was integrated into your organisation, who bore the financial risk, and whether the person was free to work for others at the same time. A developer who worked to your specification but on his own machine, on his own hours, invoicing with GST and serving other clients, is on the wrong side of the line for you. Even where you would win that argument, it is an argument, and an argument is exactly what a due diligence exercise cannot absorb.

Payment is not assignment
Paying the invoice buys you a licence to use what was delivered, at most, and the scope of even that licence will be argued about. It does not make you the owner. An investor's lawyer will ask for the chain of title to your core technology, and "we paid them" is not an answer.

Who owns it, on the default rules

  • Written by an employee in the course of employment? The employer is the first owner, subject to any agreement to the contrary.
  • Written by an independent contractor or agency? The contractor is the first owner unless there is a written assignment. Paying an invoice does not transfer copyright.
  • A written assignment exists? Ownership passes on its terms, and the assignment must be in writing and signed to be effective.
  • The work is already done and there is nothing in writing? A confirmatory deed of assignment now, executed for consideration, before the relationship sours.
  • Third-party or open-source components included? Ownership of the whole is subject to those licences whatever the contract says.

The fix

A written assignment complying with Section 19: signed by the assignor, identifying the work, the rights assigned, the duration and the territory. If duration is omitted it is presumed to be five years; if territory is omitted, India only. Both defaults are fatal for a technology company, so state them expressly as perpetual and worldwide.

Two further defaults in the same section need displacing. The assignment must specify the royalty or other consideration payable to the author during its currency, so record the agreed fee as the whole consideration for the assignment rather than leaving it to be implied from the invoice. And where the assignee does not exercise the rights assigned within one year of the assignment, they are deemed to have lapsed unless the agreement provides otherwise. A module that is built, paid for and then shelved for eighteen months is exactly the scenario that provision catches, so contract out of it in terms.

A proper development agreement should also cover:

  • Assignment of all IP created under the engagement, present and future
  • A waiver of moral rights so far as permissible, since moral rights under Section 57 are not assignable
  • Disclosure and licensing of any third party or open source components, with the licences named. An unnoticed copyleft licence can be a bigger problem than the assignment
  • Delivery of source code, documentation and repository access
  • Confidentiality, and a warranty of originality with an indemnity

Those clauses belong in the engagement document itself rather than in a separate side letter nobody can find two years later. Our note on drafting a service agreement, its scope, payment, indemnity and termination covers how the IP clause sits with the rest of the contract, particularly the acceptance and payment milestones, because an assignment expressed to take effect only on full payment leaves you owning nothing during a fee dispute. Take the assignment on creation, and secure the fee through the payment terms instead.

If the work is already done

Get a confirmatory deed of assignment signed now. Most freelancers will sign one, particularly if there is an ongoing relationship. It is far cheaper than the alternative.

Make it retrospective in terms, covering everything created under the engagement from its commencement, list the deliverables and repositories it applies to, and have it signed by the individual who actually wrote the code as well as by the agency, since the agency can only assign what it holds. Where a freelancer has since become unreachable or refuses, deal with it honestly in diligence and consider whether the affected module can be rewritten, which is often cheaper than the negotiation.

Finally, treat this as one item on a list rather than a standalone repair. The same gap usually runs through the founders' arrangements, the employment contracts, the contractor engagements and the confidentiality undertakings. Our founder's guide to IP protection for startups in India and our checklist of the key legal documents a startup needs before launch set out the full set, and registering the finished codebase is a sensible last step, for which our note on copyright registration in India explains what has to be deposited.

Sources

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

  1. 1.Copyright Act, 1957: section 17, author ownership and employment exception. Read the source
  2. 2.Copyright Act, 1957: section 19, written assignment, scope, duration and territory. Read the source
  3. 3.Section 14, Copyright Act, 1957. Bare text of the provision. Read the source
  4. 4.Section 57, Copyright Act, 1957. Bare text of the provision. 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 27, 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

Intellectual Property

Do I need to register copyright for it to be protected?

Copyright registration is optional in India. The Copyright Act protects qualifying works and allows the author or another interested person to apply for an entry in the register. That entry is prima facie evidence of the recorded particulars, rather than a final answer to every ownership dispute. Keep dated drafts, source files and the agreements showing how rights reached you. Registration can help with proof, but it cannot create originality or repair a missing assignment from the person who owned the work.

Corporate & Commercial

Two of us are starting up. What should our founders agreement cover?

Agree on the difficult points while the founders can still discuss them calmly: ownership, responsibilities, decision-making and what happens if someone leaves. Put any vesting and transfer arrangements into a form that works with the company's articles. Also check who owns the existing code, designs and content. Copyright assignments must be written and signed, with the work and rights identified. Paying for work or calling someone a founder is not a substitute for checking the ownership documents.

Corporate & Commercial

Is an NDA actually worth anything, or is it just a formality?

An NDA can create enforceable contractual duties, but its usefulness depends on what it actually protects and what you can prove. Define the confidential information, permitted use and people allowed to receive it. Keep a record of what was shared. A damages claim for breach still needs a legally recoverable loss. Section 73 does not compensate every remote consequence. Treat the NDA as part of careful information handling, rather than a promise that any leak will produce an easy recovery.

Intellectual Property

Can I use a photo or a song I found online on my website or reel?

A photo being visible online does not give you permission to reuse it. Check who owns the rights and whether the licence covers your intended use. Section 52 permits fair dealing for specified purposes, including criticism, review and reporting current events, but it is not a general permission to fill a website or advertisement with copied images. Credit alone does not supply a licence. Keep the permission and its terms, or choose an image you can use on terms you can actually meet.

Intellectual Property

How do I register a trademark, and how long does it take?

Choose the mark and the goods or services you want to protect, then check for earlier marks before applying. The Trade Marks Act allows an application for a mark already used or proposed to be used, including applications covering multiple classes with a fee for each class. Filing is only the beginning: examination, advertisement and any opposition still matter. Keep the application details and evidence of use consistent. An application number is useful to track progress, but it is not a registration certificate.

Intellectual Property

My trademark application has been objected to. Is it finished?

An examination objection is a chance to answer the Registrar's concerns, rather than an automatic final refusal. Rule 33 gives one month from receipt of the examination report to respond, and the Registrar may treat an unanswered application as abandoned. Read each objection and support your reply with the relevant explanation and evidence. If the response does not resolve the issue, or you request it, the rules provide for a hearing. Check the receipt date immediately and keep proof of the reply you file.

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.