Explainer

Published 22 November 2026
Last reviewed 22 November 2026
5 min read

Who owns the code in a custom build

In the UK the person who writes code is its first owner, unless they are an employee. A business that pays a contractor or agency owns the copyright only after a signed written assignment.

A close, shallow-focus view of lines of bright code in several colours on a dark screen, most of it out of focus.
Owning the code means holding the source, the keys and the right to change it.

A developer sends a link to a zip file and an invoice marked paid. Neither is an assignment. The code may still belong to the person who wrote it, and what you hold is a right to use it, whose limits depend on the paperwork.

Who owns the code in a custom build?

The author, unless an exception applies. GOV.UK’s guidance says that where an employee makes a work in the course of employment, the employer is the first owner, subject to any agreement to the contrary. A freelancer or independent contractor will usually keep copyright in the works they produce unless there is a contractual agreement to the contrary.

For commissioned work, the same guidance says the first owner is the person who created it, unless you agree otherwise in writing, and that without a copyright clause the commissioner may get only a limited non-exclusive licence. A build has several layers, so ask who owns each one.

The layers of a custom build: who owns each by default, and what to get in writing
LayerDefault positionGet in writing
New code written for youThe writer: the supplier, a subcontractor or a freelancer, unless an employee of yoursA signed assignment, or an exclusive licence, with the date it takes effect
The supplier’s reusable codeThe supplierA perpetual licence to you that survives the end of the contract
Open source componentsTheir authors, under each licenceA list of components and licences. Copyleft terms such as GPL-3.0 are conditioned on making complete source code available
Third-party services and librariesThe vendorWho pays for the licence and whether it transfers to you
Your data and contentYouExport in a standard format and return or deletion at the end
Repository, hosting and domain accountsWhoever opened themAccounts in the company’s name, with the supplier invited in
Designs and documentationThe writerIncluded in the assignment, handed over before final payment

The default column is the starting point under the guidance above. A contract can change every row.

Assignment, exclusive licence or non-exclusive licence: what is the difference?

An assignment transfers ownership. An exclusive licence lets only you use the code, but the supplier remains the owner. A non-exclusive licence lets you use it while others may too. Assignment and exclusive licence both need signed writing.

Three ways to hold the right to use custom code
AssignmentExclusive licenceNon-exclusive or implied licence
What you holdThe copyright itselfA right to use that excludes everyone else, including the supplierA right to use, as agreed or implied by the circumstances
In writing and signed?Yes. Section 90(3) says an assignment is not effective otherwiseYes. Section 92 defines it as a licence in writing signed by the ownerNo, but then the scope is argued from the facts
Can the supplier reuse it?Only if you license it backNo, within the licence termsYes
Can another supplier maintain it?You decideDepends on the licence termsUncertain without express words

This describes the Act’s wording. Real contracts add conditions, such as ownership passing only on final payment.

Solicitors at Stephens Scown say that without an express assignment the developer keeps the copyright and the client holds an implied licence limited to the purposes made known at commissioning. This is not legal advice. Have a solicitor who works on technology contracts check the wording before you rely on any of this.

What can you do with code you only hold a licence for?

More than the contract may say, but less than an owner can. The Copyright, Designs and Patents Act gives a lawful user of a program a few rights that a contract cannot take away.

  • Make a back-up copy needed for lawful use. Section 50A says it is irrelevant whether a term of the agreement tries to prohibit it.
  • Copy or adapt the program where necessary for lawful use, including correcting errors, but only where no term of the agreement prohibits it.

In practice, correcting errors needs the source code, so the right is thin if you were only given a compiled system. That is why source access is a clause in its own right.

When do you not need to own the code?

When the right to use it is enough. Buying a product or a subscription means you licence, and that is normal. Ownership is also not needed for a small configuration of a product you already pay for.

  • You do not plan to change the software or move it to another supplier, and the supplier is a company you trust to remain in business.
  • A perpetual, exclusive licence with source access gives you the right to run, maintain, change and move it.
  • The build uses the supplier’s reusable components, which keeps the price down, and they will licence those to you on survivable terms.

Ownership matters most when something forces a check. A 2026 Sprintlaw article says ownership problems often surface during fundraising, a sale, a security review or a developer dispute. If any of those is likely, ask for the assignment now, because it is cheaper to agree before the work than after.

What should you ask a supplier about ownership?

  • Will you sign an assignment or an exclusive licence of the new code, and in which clause?
  • On what date does ownership pass: on creation, on each payment or on final payment?
  • Which parts are yours and not ours to receive, and on what licence?
  • Which open source components are inside, and under which licences?
  • Who opened the repository, hosting and domain accounts, and will they be in our name from day one?
  • Did any subcontractor or AI tool write part of it, and is their work covered by the same assignment?

The full set of contract questions is in ten questions to ask before you sign, and red flags when hiring a software agency lists the refusals to watch for. If a builder has already left, start with what to do when the developer who built your software has left.

Questions people ask

Not automatically. A freelancer is a contractor and generally keeps copyright unless a contract says otherwise. You need a signed written assignment to own it, or an exclusive licence if ownership will stay with them. Without either you may hold only a limited licence. Ask for the paper before work starts, and take advice from a solicitor.

Generally the employer, where the employee wrote it in the course of employment and no agreement says otherwise. Work done outside the job, or by someone who was a contractor in all but name, is less clear. Employment status and contract terms matter, so check the contract and take advice if it is disputed.

It depends on the paper. If you hold an assignment, the agency can reuse the code only under a licence from you, and many contracts grant one. If you hold an exclusive licence, reuse should be excluded in its terms. Ask the question directly, because silence in the contract leaves the answer uncertain.

No. Open source components belong to their authors and are used under each licence. Some licences, such as GPL-3.0, require source to be made available for software that uses them. Ask your supplier for a list of components with their licences, so that you know what conditions come with the software you are paying for.

Further reading

Have a problem this does not solve?

Book a discovery call. Tell us what is slowing the business down, and we will say what we would build and whether it is worth doing.

Book a call

Start here

Tell us what takes your team time.

Leave a few lines and we will reply by email.

Or email [email protected]

Company size

Used to reply to you. See our privacy notice.