This guide explains how ownership works, what a written assignment must contain, and the other clauses that decide whether a software project ends well: scope, milestones, acceptance, source code, open source, AI-generated code, warranties, liability and exit. It ends with a clause checklist. The section numbers were checked against the text of the Copyright Act on the review date shown on this page.
Who owns the code when you hire a developer in India?
The Copyright Act treats a computer programme as a literary work. Section 17 makes the author the first owner of copyright. There is an exception in proviso (c) to section 17: where a work is made in the course of the author's employment under a contract of service, the employer is the first owner unless there is an agreement to the contrary. That covers your own employees.
It does not cover a freelancer or an agency, who work under a contract for services. The Act has a separate rule for certain commissioned works in proviso (b), but it is limited to photographs, paintings, portraits, engravings and cinematograph films. Software is not on that list. So when an agency builds your app, the agency (or, if it uses freelancers of its own, possibly those individuals) is the first owner of the code.
The fix is an assignment. Section 18 allows the owner, or the prospective owner of a future work, to assign copyright wholly or partly. An assignment of future work takes effect when the work comes into existence, so the clause can be signed at the start of the project. Check the chain as well: the agency should confirm that its own employees and subcontractors have assigned their rights to it, so that it has something to pass on.
What must an IP assignment clause say?
Section 19 sets the formalities and fills gaps in a way that rarely suits the client. Do not rely on a line that says the client owns all deliverables. Use an assignment that deals with each point in the table.
- Timing: decide whether rights pass on creation or on payment of the relevant milestone. Developers prefer payment. Clients prefer creation, with a licence back to the developer falling away if the client does not pay.
- Pre-existing tools: the developer's own libraries and frameworks usually stay with the developer. Take a perpetual, worldwide, royalty-free licence to use and modify them as part of the software. Section 30A applies the section 19 rules to licences too, so state duration and territory there as well.
- Further assurance: an obligation to sign further documents, and to obtain them from employees and subcontractors, if needed to perfect or record your title.
- Other IP: cover designs, databases, documentation, domain names, app store listings and accounts created for the project, not only code.
| Provision | What the Act says | What to write |
|---|---|---|
| Section 19(1) | An assignment is not valid unless it is in writing and signed by the assignor or a duly authorised agent. | A signed agreement or deed. An email thread or an invoice is not a safe substitute. |
| Section 19(2) | The assignment must identify the work and specify the rights assigned, and their duration and territorial extent. | Describe the software and deliverables, assign all rights in them, for the full term of copyright, worldwide. |
| Section 19(3) | The assignment must also specify the amount of royalty payable, if any. | State that the fees under the agreement are the full consideration for the assignment and that no royalty is payable. |
| Section 19(4) | If the assignee does not exercise the rights within one year of the assignment, the assignment of those rights is deemed to lapse, unless the assignment says otherwise. | State expressly that the assignment will not lapse for non-use and that section 19(4) will not apply. |
| Section 19(5) | If the period is not stated, it is deemed to be five years from the date of assignment. | State that the assignment is for the entire term of copyright. |
| Section 19(6) | If the territory is not stated, it is presumed to extend within India only. | State that the assignment is worldwide. |
Can a developer waive moral rights in India?
Section 57 gives an author special rights that exist independently of copyright and continue after it is assigned: the right to claim authorship, and the right to restrain or claim damages for distortion, mutilation or modification of the work that would be prejudicial to the author's honour or reputation. For software the second right is narrowed. The proviso to section 57(1) says the author cannot object to an adaptation of a computer programme to which section 52(1)(aa) applies.
The Act does not say whether these rights can be waived. In Sartaj Singh Pannu v. Gurbani Media Pvt Ltd (Delhi High Court, 22 May 2015), a case about a film director's credit, the court observed that a voluntary waiver of the right to be credited is not opposed to public policy. Those observations were made at an interim stage and were expressed as prima facie. In practice, development agreements include a waiver of moral rights to the extent the law permits, with an undertaking not to assert them and express consent to modification of the code by the client and its successors. That is a reasonable position, but it should not be described as settled law.
Scope, milestones, acceptance and payment
Most software disputes are about scope and quality, not ownership. The contract should make it possible to tell, on any given day, what was promised, what has been delivered, and what is owed.
- Scope: attach a statement of work with features, platforms, integrations, performance targets and what is excluded. Wireframes and user stories can be annexed.
- Change control: any change to scope, price or dates needs a written change request approved by named people on both sides. Work done without one is not chargeable.
- Milestones: break the project into deliverables with dates. Link each payment to acceptance of a deliverable, not to the passage of time.
- Acceptance testing: define the test period, the acceptance criteria, how defects are classified, how many rounds of fixes are included, and what happens if the deliverable still fails. Avoid deemed acceptance on silence unless the period is realistic for your team.
- Client dependencies: list what you must supply (content, API keys, approvals) and say that developer delay caused by your delay moves the dates but nothing else.
- Delay: state the consequence of late delivery, such as a right to terminate after a cure period. Any fixed sum for delay should be a reasonable estimate of loss.
- Team: for agencies, name key personnel and require consent before work is subcontracted.
Source code, open source and AI-generated code
Ownership on paper is of little use if you cannot get the code. Require the developer to commit work to a repository in your organisation's account from the first day, with your team holding owner-level access. Cloud accounts, app store developer accounts, domain names and third-party service accounts should be opened in your name, with the developer given access, not the other way round. Each milestone should include source code, build scripts, configuration, database schema, credentials and enough documentation for another team to build and deploy.
Open source and third-party components need rules. Ask for a list of every such component and its licence before use, prohibit copyleft licences that would require you to release your own source code unless you approve them in writing, and require the developer to comply with attribution and notice terms. Paid third-party components should be licensed in your name.
Many developers now use AI coding tools. The contract should say whether that is allowed and on what terms. The Copyright Act defines the author of a computer-generated work as the person who causes the work to be created, but how that applies to code produced by generative AI has not been settled by Indian courts. Deal with the practical risks by contract: disclosure of which tools are used, a ban on putting your confidential information or code into tools that may retain or train on it, human review of generated code, and the same warranties for AI-assisted code as for hand-written code.
Confidentiality, warranties, liability and termination
These clauses decide what happens when something goes wrong. They are negotiated more than any others, and a one-sided draft from either party usually comes back marked up.
- Confidentiality: cover your business information, data and the code itself, bind the developer's staff and subcontractors, and continue the obligation after the contract ends. If the developer will handle personal data, add data protection and security obligations.
- Warranties: the work is original, does not infringe third-party rights, matches the specification, contains no malicious code, and complies with open source and third-party licence terms.
- Bug-fix period: a warranty period after final acceptance during which defects are fixed free of charge, with response and fix times by severity. Support after that period belongs in a separate maintenance agreement.
- IP indemnity: the developer indemnifies you against third-party claims that the deliverables infringe IP, with a process for notice and control of the claim.
- Liability cap: commonly a multiple of the fees paid or payable. Negotiate carve-outs so the cap does not apply to breach of confidentiality, IP infringement, data breaches, or deliberate default.
- Termination: rights to terminate for uncured breach and for insolvency, and for the client, a right to terminate for convenience on notice with payment for accepted work.
- Handover: on any termination, the developer delivers all work in progress, source code, credentials and documents, assigns IP in work paid for, and gives reasonable transition help. Make this survive termination and apply whoever is at fault.
- Non-solicitation: a restriction on hiring each other's staff during the project and for a period after is common.
- Disputes: escalation between named executives, then arbitration or courts in a named city, with the right to seek urgent interim relief from a court.
Clause checklist for a software development agreement
Use the table as a review list before you sign a developer's template or send your own.
| Clause | What to check |
|---|---|
| Parties and authority | Correct legal entity on each side. For a freelancer, full name and address. Signatory is authorised. |
| Scope and specification | Statement of work attached, with exclusions and assumptions. |
| Change control | Written change requests only, with price and time impact agreed before work starts. |
| Milestones and timeline | Dated deliverables, client dependencies listed, consequence of delay stated. |
| Acceptance testing | Criteria, test period, defect classes, re-test rounds, remedy on repeated failure. |
| Fees and payment | Payments linked to acceptance, taxes stated, expenses pre-approved, right to withhold disputed amounts. |
| IP assignment | Written, signed assignment of all rights, full term, worldwide, no lapse for non-use, chain of title from staff and subcontractors. |
| Developer's pre-existing tools | Identified, with a perpetual worldwide licence to use and modify them within the software. |
| Moral rights | Waiver to the extent permitted, undertaking not to assert, consent to modification. |
| Source code and access | Repository in the client's account, delivery at each milestone, accounts and domains in the client's name. |
| Open source and third-party code | Component list, approval process, restricted licences, compliance with notices. |
| AI tools | Permitted or not, disclosure, no confidential inputs, human review, same warranties. |
| Confidentiality and data | Scope, duration, staff bound, return or deletion, security and data protection terms. |
| Warranties and bug fixes | Originality, non-infringement, conformity, no malicious code, defined warranty period. |
| Indemnity and liability cap | IP indemnity, cap amount, carve-outs from the cap, exclusion of indirect loss. |
| Termination and handover | Grounds, notice, payment for accepted work, delivery of all materials, transition support. |
| Governing law and disputes | Named law, arbitration seat or court, interim relief. |
| Stamping and signing | Stamp duty paid under the applicable State law, signing method agreed. |
Stamp duty, e-signing and cross-border projects
Stamp duty on an agreement is set by State law and depends on where it is signed and what it contains. An agreement that assigns intellectual property may attract different duty from a plain services agreement, depending on the State. An unstamped or under-stamped agreement can cause difficulty when you need to rely on it in court or arbitration, so settle stamping at signing. Electronic signing is widely used for commercial contracts, but confirm the stamping method for your State and that the signing method suits the document.
If you are a foreign company hiring an Indian developer, or an Indian company hiring a developer abroad, add four points. First, choose the governing law deliberately. Whatever law governs the contract, the validity of an assignment of Indian copyright is likely to be tested against the Copyright Act's formalities, so meet them in every case. Second, choose an arbitration seat and rules, and check that an award can be enforced where the other party has assets. Third, confirm that the developer's own contracts with its staff transfer rights to it. Fourth, take tax advice early: GST treatment and withholding tax on cross-border payments for software services depend on the facts and on any applicable tax treaty, and the contract should say whether fees are inclusive or exclusive of taxes and who bears withholding.
Prodigy Legal drafts and reviews software development, SaaS and technology services agreements for Indian and foreign clients, and advises on ownership disputes where a project has ended without a clear assignment.
Frequently asked questions
Who owns the source code if I pay a freelancer to build my app?
The freelancer, unless there is a written assignment. Under section 17 of the Copyright Act, 1957 the author is the first owner, and the exception for employers applies only to employees under a contract of service. Payment alone does not transfer copyright. You need an assignment in writing signed by the freelancer, as section 19 requires.
Is a software development agreement legally required in India?
No law requires a contract in a particular form for development services. But a transfer of copyright in the code is valid only if it is in writing and signed by the developer. Without a written agreement you also have no agreed scope, acceptance standard, warranty or exit terms to rely on if the project fails.
What happens if the IP assignment does not mention duration or territory?
The Copyright Act fills the gap. Under section 19(5) the assignment is deemed to last five years, and under section 19(6) it is presumed to extend only within India. Under section 19(4), rights not exercised within one year are deemed to lapse unless the assignment says otherwise. A well-drafted clause overrides all three.
The agency has not handed over the source code. What can I do?
Start with the contract: check the delivery, payment and termination clauses and send a written demand that refers to them. If the agreement assigns the code to you, you can ask a court or arbitral tribunal for interim orders for delivery and to stop the agency using or disclosing it. If there is no written assignment, the position is harder and usually ends in a negotiated handover against payment.
Can I use an NDA instead of a full development agreement?
An NDA protects confidential information. It does not transfer ownership of code, set milestones or give you warranties. Sign an NDA before sharing your idea and requirements, then a development agreement before work starts.
Should the contract allow the developer to use AI coding tools?
That is a commercial choice, but the contract should address it. Common terms are disclosure of the tools used, no entry of your confidential code or data into tools that retain or train on inputs, human review of generated code, and warranties that apply equally to AI-assisted work. How Indian copyright law treats AI-generated code has not been settled by the courts.
Last reviewed: 2026-11-25. This guide gives general information about Indian law for technology companies and brand owners. It is not legal advice, and every matter turns on its own facts. Policies, rules, fees and platform processes change, and the current published text governs.