Software development contract IP ownership: who owns the code
Hephaestus Technology7 min read

Software development contract IP ownership is decided by the contract, not by who paid. Under Irish law the author of software is the first owner of the copyright unless the author is an employee working in the course of employment, so code written by an outside agency or freelancer stays with them unless they assign it to you. A valid assignment must be in writing and signed, which is why every development contract needs a clear IP clause.
Key takeaways
- Paying for software does not by itself make you the owner of the copyright in it.
- Employers own code written by employees in the course of employment, unless agreed otherwise; contractors own their code unless they assign it.
- In Ireland, a copyright assignment is not effective unless it is in writing and signed by or on behalf of the assignor.
- Separate background IP (the partner's existing tools) from foreground IP (what is built for you), and get a licence for anything not assigned.
- Check open source licences, third-party components and the handover of source code, because ownership is worthless without access.
What does IP ownership mean for software?
IP ownership for software mainly means owning the copyright in the source code and related materials. The EU Software Directive requires member states to protect computer programs by copyright, as literary works, and Irish law implements that protection through the Copyright and Related Rights Act 2000.
Two limits matter. First, copyright protects the expression of a program, not the ideas and principles behind it, so owning your code does not stop a competitor building something similar from scratch. Second, other rights may also apply, such as trade secrets in algorithms or data, database rights and trade marks in the product name. This article focuses on copyright, which is what most contract disputes are about.
Who owns code by default?
By default, the person who writes the code owns it, with one major exception for employees.
| Who wrote the code | Default first owner in Ireland | What you need |
|---|---|---|
| Your employee, in the course of employment | Your company, subject to any agreement to the contrary | A clear employment contract and invention/IP clause |
| A freelancer or contractor | The freelancer | A written, signed assignment |
| An agency's employees | The agency (as their employer) | A written, signed assignment from the agency |
| A co-founder who is not yet an employee | The co-founder personally | An assignment to the company |
The rule comes from section 23 of the 2000 Act: the author is the first owner of copyright unless the work is made by an employee in the course of employment, in which case the employer is the first owner, subject to any agreement to the contrary. The Software Directive takes the same approach: where an employee creates a program in the execution of their duties, the employer is exclusively entitled to exercise all economic rights unless the contract says otherwise.
Many contracts drafted on US templates use "work made for hire" wording. Under Irish law, ownership of a contractor's work moves through an assignment, so do not rely on that phrase alone; make sure there is an express assignment as well.
What makes an assignment valid?
An assignment is valid in Ireland only if it is in writing and signed. The Act states that an assignment of copyright, in whole or in part, "is not effective unless it is in writing and signed by or on behalf of the assignor". An email saying "of course it's yours" is weak protection.
You can also assign copyright before the code exists. Under section 121, a signed agreement that purports to assign future copyright causes the copyright to vest in the assignee when it comes into existence. That is why well-drafted contracts say the supplier "hereby assigns" all present and future rights, rather than promising to assign them later.
UK law has broadly similar rules, but if your supplier or your company is in another jurisdiction, ask a local solicitor how assignments work there.
What is the difference between background and foreground IP?
Background IP is what the supplier owned before the project or develops independently, such as internal libraries, frameworks and templates. Foreground IP is what is created specifically for you under the contract.
A fair contract usually works like this:
- Foreground IP is assigned to you in full on creation or on payment.
- Background IP stays with the supplier, and you receive a licence to use it as part of your product that is perpetual, irrevocable, worldwide and transferable with the product, without extra fees.
- Third-party and open source components stay with their owners and are used under their own licences, which the supplier lists.
Without a background IP licence, you may own your application but not be able to run it without a component the supplier controls. That matters at fundraising or exit.
Which clauses should a development contract include?
The IP section of a development contract should cover at least the following.
- Assignment of foreground IP, using present words of assignment and covering code, designs, documentation and other deliverables.
- Timing. Whether rights pass on creation or on payment. Suppliers often ask for assignment on payment; if so, make sure you get a licence to use the work in the meantime.
- Background IP licence, with the scope described above.
- Open source. A list of open source components and their licences, and a commitment not to use licences you have excluded without approval. The Open Source Initiative maintains the list of approved licences, whose obligations vary.
- Warranties that the supplier has the right to assign, that its staff and subcontractors have assigned their rights to it, and that the work does not knowingly infringe third-party rights.
- Moral rights waiver (where relevant) and further assurance, with the supplier agreeing to sign any documents needed to perfect your ownership.
- Delivery of source code at agreed intervals and on termination, into a repository you control.
- Confidentiality for your know-how, data and business information.
What rights do you have even without ownership?
Even without ownership, a lawful user of a program has some limited statutory rights. Under the Software Directive, a lawful acquirer may carry out acts necessary for the use of the program in line with its intended purpose, including error correction, and reproduction and translation of code may be allowed where indispensable to achieve interoperability. These rights are narrow and do not replace a proper assignment.
What are the common pitfalls?
The most common pitfalls are gaps in the chain of ownership:
- Subcontractors. The agency assigns to you, but its freelancer never assigned to the agency.
- Co-founders. A co-founder wrote early code before joining the company and never assigned it.
- Equity deals. A partner paid in shares assumes that is enough; it is not. See our guide on equity for development work.
- No access. You own the copyright but the code sits in the supplier's repository. Our software handover checklist covers what to collect.
- AI-generated code. Whether and how copyright applies to code produced with AI tools is not settled, so agree in the contract how such tools may be used and who carries the risk.
When you are vetting suppliers, ask about IP early; it is one of the 15 questions to ask a development partner. This article is general information, not legal advice. Have a solicitor draft or review your contract.
Frequently asked questions
If I pay for software development, do I own the code?
Not automatically. In Ireland, a contractor or agency is the first owner of copyright in code it writes for you unless it assigns that copyright to you in a written, signed document. Payment alone does not transfer ownership.
Do I own code written by my employees?
Generally yes. Under section 23 of the Copyright and Related Rights Act 2000, the employer is the first owner of copyright in work made by an employee in the course of employment, subject to any agreement to the contrary. A clear IP clause in the employment contract avoids arguments about what counts as "in the course of employment".
Can a developer keep the right to reuse my code?
Only if the contract allows it. Suppliers often want to reuse generic components, which is reasonable for background IP. Code that embodies your product's specific features, business logic or confidential information should be assigned to you and covered by confidentiality.
What if my existing contract has no IP clause?
Ask the supplier to sign a confirmatory assignment now, ideally before any fundraising or sale. Most reputable suppliers will agree, sometimes for a small fee. If they refuse, take legal advice on your options promptly.
Should IP pass on creation or on payment?
Assignment on creation gives you the strongest position. Assignment on payment is common and fair if you also get a licence to use the work until payment is made. The important thing is that the clause is clear and you pay on time.
Want a straight answer on how IP works in a partnership with us? Book a free 30-minute call.
Cover photo by https://kaboompics.com/ on Pexels.