All posts

Who owns the code? A UK checklist for software contracts

In the UK the developer owns the code unless they sign a written assignment. Seven checks for your software contract: IP, open source, accounts, data.

·7 min read·OpusGate Editorial

A hand writing on a paper document beside an open laptop on an office desk.

In the UK, the developer who writes your software owns the copyright in it unless you agree otherwise in writing. Paying the invoice doesn’t change that. If you hire a freelancer or an agency, you need a written assignment of copyright, signed by them, that covers the source code and everything else you’d need to run and change the system without them.

Paying for software doesn’t make you the owner

The rule turns on who wrote the code and on what basis. GOV.UK’s guidance on ownership of copyright works says an employer is the first owner of work an employee makes in the course of their job, subject to any agreement to the contrary. Someone working under a contract for services, such as a freelancer or an agency, will usually keep the copyright in what they produce unless the contract says otherwise. So a custom booking system you’ve paid for in full can legally belong to the people who built it.

Fixing that takes a particular kind of document. Section 90(3) of the Copyright, Designs and Patents Act 1988 says an assignment of copyright isn’t effective unless it’s in writing and signed by or on behalf of the person handing it over. An email saying “of course it’s yours” won’t do. Section 91 of the same Act lets a developer assign copyright in work that doesn’t exist yet, so the code passes to you as it’s written, provided the agreement is signed before the work starts.

That second point decides the timing. Get the assignment into the contract you sign at the start, not into a handover document at the end. By the time the project is finished you’ve paid most of the money, and the developer has less reason to sign anything quickly. If a dispute starts mid-project, you’ll want ownership already settled.

Seven things to check before you sign

The list below follows the order in which problems tend to surface: ownership first, then what “the code” covers, then the parts that are easy to forget until you change supplier.

1. A signed assignment that covers future work

Look for a clause in which the developer assigns to your business all copyright and other intellectual property in the work they create for you, including work created after signing. Check that the party signing is the one that holds the rights. If an agency uses subcontractors, it can only assign what it owns, so ask whether its own contracts with those subcontractors transfer the rights to the agency. A freelancer two steps down the chain who never signed anything can leave a hole in your title.

One thing you can usually skip for code: moral rights. Under sections 79 and 81 of the Act, the right to be named as author and the right to object to derogatory treatment don’t apply to computer programs. They can still apply to logos and other artwork in the project, so a waiver for those is worth having.

2. Everything that counts as “the code”

Owning the copyright helps little if you can’t get hold of the materials. Name them in the contract.

Item Why you need it What to ask for
Source code The compiled app can’t be changed by another developer Full repository access throughout the project, not a zip file at the end
Database structure and migration scripts Your data is unusable without them Included in the repository
Build and deployment scripts A new supplier needs to rebuild and release the system Written instructions that someone outside the team has tested
Designs and artwork Screens and logos are separate copyright works Assigned alongside the code, with the original files
Documentation Saves weeks when you change developer A short technical overview, kept up to date

3. The developer’s own building blocks

Most agencies and freelancers reuse code across clients: login modules, admin panels, internal frameworks. Many contracts call this “background IP”, and a developer won’t hand over ownership of it, which is fair, since it predates your project. Accept a licence for those parts, but read its terms. You want a licence that’s perpetual and irrevocable, with no royalties, and that lets you change the code and give it to another developer. It should also survive if you sell the business, because a buyer’s solicitor will ask.

Insist on owning the parts that hold your business logic: your pricing rules, your workflows, your integrations with suppliers. If the developer wants to keep those too, you’re buying a product, and you should compare it with off-the-shelf software rather than paying custom rates.

4. Open-source components and their licences

Almost every modern application includes open-source libraries, and each comes with a licence that you, as the owner of the finished product, will have to follow. Some licences ask almost nothing of you; others attach conditions. The Free Software Foundation’s GPL FAQ says that if you distribute a modified version of GPL software, you must make its source code available under the GPL, while purely internal use carries no such duty. The Affero GPL goes further and reaches users who interact with the software over a network. For an internal stock system, that may never matter. For an app you plan to sell to other businesses, it can.

Ask for a list of the main third-party components and their licences at handover. A competent developer can produce one from their package manager in minutes.

5. Accounts and hosting in your name

Your domain, your hosting, your app store developer accounts and your code repository should be registered to your business, with the developer added as a user. When they sit in the developer’s name, ownership on paper doesn’t stop you being locked out in practice. This is cheap to get right on day one and painful to untangle later.

6. Code written with AI tools

Many developers now use AI coding assistants, and the law here is less settled. Section 9(3) of the Act treats the author of a computer-generated work as the person who made the arrangements for its creation. The government’s report on copyright and AI proposes removing that specific protection for wholly computer-generated works, while continuing to protect works made with AI assistance. That’s a proposal, not a change in the law. For a contract, the practical step is to ask the developer to say which AI tools they use and to confirm they have the right to assign everything they deliver to you.

7. Your customers’ data

If the developer will host the system or handle personal data for you during support, the contract also needs data protection terms. The ICO’s guidance on what a controller-processor contract must include lists the required terms, among them acting only on your documented instructions, getting your permission before using sub-processors, and returning or deleting the data at your choice when the contract ends. That last clause matters for ownership too: a supplier who keeps a copy of your database after you’ve left is a problem whoever owns the code.

If you’re commissioning custom software, you can check all seven points in an hour with the draft contract in front of you. Where the system runs part of your business, pay a solicitor to read the IP and data clauses before you sign. You know that fee up front; you won’t know the price of buying the code back later. Think about the end of the relationship as well: who does the maintenance and support after launch, and what the developer hands over if you move it elsewhere.

Frequently asked questions

Can I get the copyright transferred after the project is finished?

Yes, a developer can sign an assignment at any point. The difficulty is bargaining power: once they’ve been paid, nothing obliges them to agree, and they may ask for something in return. If you’re in that position now, ask early, before you need to change supplier.

How do I know the handover is complete?

Ask a second, independent developer to set the system up from the repository and the written instructions alone, without help from the original team. If they can build and run it, you have what you need. If they get stuck, you’ve found the gap while the original developer is still around to fill it.

Does the same apply to a website built on a theme or a page builder?

Partly. Your developer can assign the custom parts they wrote, but the theme or builder stays under its maker’s licence. Check that the licence is in your name and that the renewal email comes to you, otherwise the site can stop receiving updates when the developer’s account lapses.

If you’re about to commission software and want a second pair of eyes on what you’d own at the end, book a free call. We’ll go through the scope with you and tell you plainly what the contract should cover before any work starts.

What could your business stop doing manually?

Tell us what takes too much time. We'll come back with exactly what can be automated, what it costs, and what it saves.