WHO OWNSTHE CODE?Not you, without a signature.
You paid for the product, so the code is yours. Under US and UK law it is not, until a signed page moves it to you. What the law does when the contract is silent, who owns code written with AI, the licences under every product, and what a real handover puts in your hands.
Who owns the code a studio writes for you? You paid for it, so you assume you do. In the UK the author of a work is its first owner,1 and in the US ownership moves only through a written transfer signed by the owner.2 So if the contract says nothing, the title stays with the studio, and with it the right to stop you selling, licensing or rebuilding the code.
Then the studio holds you. Whoever holds the title decides what you may do with it, at their price. Below is what the law does when the contract is silent, who owns code written with AI, the open-source licences under every product, and what a real handover puts in your hands.
- kinds of commissioned work US law lets a contract call “made for hire”. Most software is not one.
- 9
- of the commercial codebases Black Duck audited contain open source
- 98%
- of them carry licence conflicts
- 68%
From the US Copyright Office and Black Duck's 2026 audit of 947 codebases. Black Duck sells scanning tools. Sources at the foot.
WHO OWNS THE CODEwhen the contract says nothing.
Copyright starts with whoever writes. A computer program is a literary work in UK law,3 and the author of a literary work is its first owner.1 The person at the keyboard is where the chain of title begins.
The first link is employment. Code an employee writes in the course of the job belongs to the employer: in the UK unless they agree otherwise,1 in the US as a work made for hire, with the employer treated as its author.4 The EU's software directive gives the employer the economic rights in the same way.5 So when a studio's engineers write your product, the first owner is the studio.
An engineer types it. The author is the first owner.
The engineer is the studio's employee, so the studio owns it.
Only a written assignment, signed, moves the title on.
Signed, the title is yours. Silent, it stays with the studio.
Scroll, and the title moves. It passes from the engineer to the studio by law, and on to you only across a signed page. With a silent contract a copy reaches you and the title stays behind.
Simplified from the UK and US rules on first ownership and transfer.6 Employment and contracts vary.
The last link needs paper. In the UK an assignment is not effective unless it is in writing and signed by or for the assignor.6 The US rule says the same of any transfer.2 A paid invoice is not an assignment, and neither is a friendly email that says it is all yours.
Count the freelancers too. A freelancer the studio hires in is usually not its employee, and owns what they type until they assign it on. If their rights never reached the studio, the studio cannot pass them to you, and your chain of title has a missing link.
“MADE FOR HIRE”does less than it says.
Many contracts lean on one American phrase and stop there. "Work made for hire" has a narrow meaning. Work commissioned from someone who is not your employee counts only if it falls into one of nine kinds, from a contribution to a collective work to an atlas, and both sides sign a written agreement saying so. Fail one test and it is not.4 Software as such is not on the list.
- Did an employee of yours create it?The studio's engineers work for the studio: their code is made for hire for the studio.
- Within the scope of that employment?
- Is there a written agreement?
- Signed by you, the party commissioning it?
- Signed by the creator?
- Does it expressly say “work made for hire”?
- Is it one of the nine listed kinds of work?Atlas, test, translation, compilation… Software as such is not on the list.
Not a work made for hire. The copyright stays with the studio until it signs an assignment.
The end of the rail. Most code never gets here.
The US Copyright Office's own test, walked by a studio's code under a contract that says "made for hire" and assigns nothing. It clears the paperwork and fails at the last gate.
The questions are Circular 30's, reworded for you, the buyer.4 Code inside a film, a game's audiovisual work or a test may fit a listed kind; most product code does not.
The clause that does the work is the assignment, by which the studio transfers to you all its rights in the code, the designs and the documents, in writing, signed. Careful contracts carry the label and the assignment both. A contract with neither leaves it to a court.
Watch for the quieter catch. Studios reuse their own building blocks. Fair enough. The contract should then give you a licence to those blocks that never expires and costs nothing more, or a piece of your own product stays theirs to withhold.
CODE NOBODY WROTEhas nobody to own it.
We build with tooling of our own for the hand work, and our engineers decide every line that ships. For ownership that matters as much as it does for quality.
The US Copyright Office set out its position in January 2025. Copyright protects what a human author contributes, even inside a work that also holds AI material. It does not cover material a model generated alone, or where a person had too little control over the expression, and on today's tools a prompt alone is not enough control. A person's creative changes to the output, and the way they select and arrange it, are protected, and each case is judged on its facts.7
No human author. In the US, no copyright protects it.
Protected where people authored it, in the lines they wrote or changed and in how the whole is arranged.
Two files of the same size. A prompt and what came back has no author to protect; the same draft, after people worked on it, is protected where they authored it.
After the US Copyright Office's conclusions.7 Illustrative: the bars are not real code, and where the line falls is decided case by case.
The UK answer differs. For a computer-generated work, the law names as author the person who made the arrangements needed to create it.8
In the US, code nobody authored gives you no copyright to sue a copier with. The asset is what people wrote and shaped. A studio that ships raw output bills you for an asset thinner than it looks. Ask how the code is made, and get in writing who reviews every change and that the studio assigns whatever rights exist in all of it. How we review, and who signs each of the five checks, is on our fixed-price development process page.
YOUR PRODUCT STANDSon code you will never own.
Nobody owns all of their product. Black Duck, which sells code-scanning tools, audited 947 commercial codebases for its 2026 report. 98% held open source, the average codebase used 1,180 open-source components, and 68% had licence conflicts that the report says could create legal exposure.9
Open source is a gift with conditions. The MIT licence asks for little more than keeping its notice in every copy.10 The GPL family asks more. Distribute a modified program and you share its source; change an AGPL component inside a web product and you must offer the people using it the source of the changed version, even though they never download a thing.11
Yours, with a signed assignment.
Not yours. Free to use, on each licence's terms.
Their terms. Your accounts.
- Cloud and hosting
- App stores
- Payments
- AI models
A product in section. The average audited codebase stands on about 1,180 components that are not yours, and all of it runs on platforms whose terms bind you whoever wrote it. The licence colours are our illustration; the report gives no such mix.
Components to scale with Black Duck's 2026 average.9 Which square carries which licence is made up.
That layer will never be yours, and you still answer for its terms. A handover should include a list of every component, its version and its licence, the software bill of materials, in the trade's term. Below it sit the platforms: the cloud you host on, the app stores, the payment and model providers. Their terms bind you whoever writes the code, which is why the accounts must be yours.
A SOFTWARE HANDOVERleaves nothing behind.
A handover is the day you stop needing the studio. This is the software handover checklist to hold any studio to.
01The repository, with its history
In your own account, every change, every message. History shows who changed what and why; a zip hides it.
02The accounts
Domain, hosting, cloud, app stores, email sending, payments, analytics, AI providers. Each in your name, with the studio as a guest you can remove in a click.
03The keys
Every password, API key and certificate, passed over in a password manager, then changed the day the studio leaves.
04The deploy
The steps that put the product live, written down, so a stranger can ship a fix on the first day.
05The documents
How it is built, how to run it, where the data lives, what is unfinished. Enough for another team to carry it on.
06The licences
The component list with every licence, and any fonts, images or software bought in your name.
07The assignment
Signed, with the freelancers' assignments behind it.
- The repositoryWith its whole history, in your account
- The accountsDomain, cloud, stores, payments, AI: your name
- The keysEvery secret listed, then changed
- The deployScripts a stranger can run on day one
- The documentsHow it is built, run and carried on
- The licencesEvery component and its terms
- The assignmentSigned, with the contributors' behind it
Fill the box and the needle falls. With every slot empty the studio holds everything you need to change your own product. With every slot full you can leave tomorrow.
Our checklist. The meter is a picture of the argument and measures nothing.
A studio that keeps your code keeps you.
Here is what we sign up to. The work is yours. On final payment, the source code, the files and the rights pass to you. Hosting, licences and AI accounts are in your name, under their own terms. Every delivery comes with documentation, so any team could carry it on.12 The accounts sit in your name from the first day, so at the end there is nothing to recover.
AN NDA GUARDS SECRETSand assigns nothing.
Two papers bracket a build. The NDA, a non-disclosure agreement, comes before you share anything sensitive. It keeps what you share confidential, and on who owns the code it says nothing at all. That is the job of the development agreement's ownership clause, the one to read twice.
| Question | What it should say | Without it |
|---|---|---|
| Assignment | All rights in the code, designs and documents pass to you, in writing, signed | The studio keeps the title; you hold a copy |
| Contributors | Every freelancer's rights reach the studio before they reach you | A missing link in the chain of title |
| The studio's own parts | A licence to what it reuses, forever, at no further cost | A piece of your product they can withhold |
| Open source | A list of every component and its licence | A copyleft surprise after launch |
| Accounts | Every account opened in your name | Your domain and hosting held by someone else |
| Handover | A dated list of what you receive, and help moving it | A zip file and a goodbye |
| Confidentiality | An NDA both ways, signed before anything sensitive | Your idea in somebody else's next pitch |
Our checklist for reading an agreement.
Here is our side of it. Before we see anything sensitive, we both sign an NDA. If personal data is involved, we also sign a data processing agreement. Each project runs on one agreement that puts its scope, price and dates in writing.12 Your lawyers' remaining questions go to our page on NDAs, data and code ownership, and a person answers each one.
If you are about to commission a product, web and mobile app development is priced after one call and fixed in writing, and the code is yours on final payment. For one tool your staff run on, we build an internal tool in two weeks. Or book a call with the studio, and bring the contract you were sent.
WHERE ITstops working.
This page reads the law for a buyer. It is not legal advice, and here is where it stops.
Your contract runs under another law
We read the US, UK and EU texts cited above. Other countries start from other rules, and a contract can choose its own law.
You wanted a licence, and you got one
A product a studio rents to many clients, white-labelled for you, is a licence by design and often the cheaper deal. Then ownership is the wrong question: read the licence's term, its price on renewal and how you leave.
Your own staff wrote it
Code your employees write in their jobs starts with you in all three places. The case to check is everyone else: the studio, its freelancers, and the contractors you hired yourself.
AI and copyright are still moving
The US Copyright Office says it is watching and may revisit its conclusions, and courts in other countries may draw the line elsewhere. Read the section on AI as the position in the Office's January 2025 report.
ASKEDoften.
- Who owns the source code, the client or the developer?
- Unless the contract says otherwise, usually the developer: the studio, when its employees wrote it. In the US and the UK ownership moves to the client only through a written assignment signed by the owner. Read the ownership clause before you sign.
- Does an NDA give me ownership of the code?
- No. A non-disclosure agreement keeps information confidential. Ownership of the code needs an assignment of rights in the development agreement, in writing and signed.
- Who owns code written with AI?
- In the US, copyright covers what people contributed: code they wrote, their creative changes to AI output, and how they selected and arranged it. Material a model generated alone is not protected. Have the studio assign whatever rights exist and say how every change is reviewed.
- What should a software handover include?
- The repository with its history in your account, every service account in your name, the keys, the deploy, the documentation, the list of open-source components with their licences, and the signed assignment.
- Do I own the code an agency writes for me?
- Only once the contract assigns it to you in a signed writing. With PlayLab it does: on final payment the source code, the files and the rights pass to you, and hosting, licences and AI accounts are in your name, under the providers' own terms.
Sources
Where the figures in this article come from, and when they were true.
Copyright, Designs and Patents Act 1988, section 11: first ownership of copyright
The author is the first owner; an employer is, for work made in the course of employment, subject to any agreement to the contrary.
17 U.S. Code section 204: execution of transfers of copyright ownership
A transfer, other than by operation of law, is valid only in a writing signed by the owner or the owner's agent.
Copyright, Designs and Patents Act 1988, section 3: literary works
A computer program is a literary work.
Circular 30: Works Made for Hire (revised August 2024)
The two ways a work is made for hire, the nine categories, and the Office's seven-question test. The Office gives no legal advice.
Directive 2009/24/EC on the legal protection of computer programs, article 2
An employer holds the economic rights in a program an employee creates in the course of duties, unless the contract provides otherwise.
Copyright, Designs and Patents Act 1988, section 90: assignment and licences
An assignment is not effective unless it is in writing, signed by or on behalf of the assignor.
Copyright and Artificial Intelligence, Part 2: Copyrightability (January 2025)
The Office's conclusions; courts decide cases. The Office says it will keep watching and may revisit them.
Copyright, Designs and Patents Act 1988, section 9: authorship of work
For a computer-generated work, the author is the person who made the arrangements necessary for its creation.
Open Source Security and Risk Analysis report 2026
Audits of 947 commercial codebases, submitted between November 2024 and October 2025. Black Duck sells the scanning tools it reports on.
The licence's authors explain what it asks of a program used over a network, against the ordinary GPL.
Trust: your data, the models, the paperwork, the code
What we sign and hand over, in our own words.
Read next
All articlesAI-NATIVE SOFTWARE DEVELOPMENT, what it costs and how we build it.
AI-native software development explained: how a senior studio builds with its own tooling, what it costs against a traditional agency, and where it stops.
CUSTOM SOFTWARE OR SAAS? When building your own tool pays off.
Custom software vs SaaS: the point where rented software that almost fits costs more than a tool you own, where renting still wins, and how to decide.
WHAT IT COSTS TO BUILD AN APP IN 2026. An agency's hours against a fixed price.
How much does it cost to build an app in 2026? Clutch's agency averages, our products' real build times and budgets, where the money goes, and the limits.