Skip to the content
Book a callMenu

BlogBuying software

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.

11 min read

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.

When the contract is silent

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.

Fig. 01The chain of title

  1. 01 Written

    An engineer types it. The author is the first owner.

  2. 02 The studio

    The engineer is the studio's employee, so the studio owns it.

  3. 03 The contract

    Only a written assignment, signed, moves the title on.

  4. 04 You

    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

“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.

Fig. 02Seven questions, one gate

  1. NoQ1Did an employee of yours create it?The studio's engineers work for the studio: their code is made for hire for the studio.
  2. SkippedQ2Within the scope of that employment?
  3. YesQ3Is there a written agreement?
  4. YesQ4Signed by you, the party commissioning it?
  5. YesQ5Signed by the creator?
  6. YesQ6Does it expressly say “work made for hire”?
  7. NoQ7Is it one of the nine listed kinds of work?Atlas, test, translation, compilation… Software as such is not on the list.

Where the studio's code lands

Not a work made for hire. The copyright stays with the studio until it signs an assignment.

Made for hire

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 written with AI

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

Fig. 03What copyright can reach

Generated, left as it cameWritten or changed by a personChosen and arranged by people

A prompt, and what came back

No human author. In the US, no copyright protects it.

The same draft, after people worked on 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.

The licences underneath

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

Fig. 04Three layers of rights

Your code

Yours, with a signed assignment.

Open source

Not yours. Free to use, on each licence's terms.

  • Keep the notice
  • Share alike
  • No licence, or a custom one

Platforms

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.

Software handover checklist

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.

Fig. 05The handover box

  1. The repositoryWith its whole history, in your account
  2. The accountsDomain, cloud, stores, payments, AI: your name
  3. The keysEvery secret listed, then changed
  4. The deployScripts a stranger can run on day one
  5. The documentsHow it is built, run and carried on
  6. The licencesEvery component and its terms
  7. 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.

What to sign

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.

Fig. 06Clauses to read twice

Clauses of a software development agreement, what each should say, and what happens without it
QuestionWhat it should sayWithout it
AssignmentAll rights in the code, designs and documents pass to you, in writing, signedThe studio keeps the title; you hold a copy
ContributorsEvery freelancer's rights reach the studio before they reach youA missing link in the chain of title
The studio's own partsA licence to what it reuses, forever, at no further costA piece of your product they can withhold
Open sourceA list of every component and its licenceA copyleft surprise after launch
AccountsEvery account opened in your nameYour domain and hosting held by someone else
HandoverA dated list of what you receive, and help moving itA zip file and a goodbye
ConfidentialityAn NDA both ways, signed before anything sensitiveYour 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 this stops

WHERE ITstops working.

This page reads the law for a buyer. It is not legal advice, and here is where it stops.

  1. 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.

  2. 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.

  3. 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.

  4. 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.

Questions

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.

  1. Copyright, Designs and Patents Act 1988, section 11: first ownership of copyright

    UK legislation (legislation.gov.uk)legislation.gov.ukAs of 3 December 2026

    The author is the first owner; an employer is, for work made in the course of employment, subject to any agreement to the contrary.

  2. 17 U.S. Code section 204: execution of transfers of copyright ownership

    US Code, via Cornell Law School's Legal Information Institutelaw.cornell.eduAs of 3 December 2026

    A transfer, other than by operation of law, is valid only in a writing signed by the owner or the owner's agent.

  3. Copyright, Designs and Patents Act 1988, section 3: literary works

    UK legislation (legislation.gov.uk)legislation.gov.ukAs of 3 December 2026

    A computer program is a literary work.

  4. Circular 30: Works Made for Hire (revised August 2024)

    US Copyright Officecopyright.govAs of 3 December 2026

    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.

  5. Directive 2009/24/EC on the legal protection of computer programs, article 2

    European Union, the original text as adopted (copy on legislation.gov.uk)legislation.gov.ukAs of 3 December 2026

    An employer holds the economic rights in a program an employee creates in the course of duties, unless the contract provides otherwise.

  6. Copyright, Designs and Patents Act 1988, section 90: assignment and licences

    UK legislation (legislation.gov.uk)legislation.gov.ukAs of 3 December 2026

    An assignment is not effective unless it is in writing, signed by or on behalf of the assignor.

  7. Copyright and Artificial Intelligence, Part 2: Copyrightability (January 2025)

    US Copyright Officecopyright.govAs of 3 December 2026

    The Office's conclusions; courts decide cases. The Office says it will keep watching and may revisit them.

  8. Copyright, Designs and Patents Act 1988, section 9: authorship of work

    UK legislation (legislation.gov.uk)legislation.gov.ukAs of 3 December 2026

    For a computer-generated work, the author is the person who made the arrangements necessary for its creation.

  9. Open Source Security and Risk Analysis report 2026

    Black Duck (March 2026)blackduck.comAs of 3 December 2026

    Audits of 947 commercial codebases, submitted between November 2024 and October 2025. Black Duck sells the scanning tools it reports on.

  10. The MIT License

    Open Source Initiativeopensource.orgAs of 3 December 2026

  11. Why the Affero GPL

    GNU Project, Free Software Foundationgnu.orgAs of 3 December 2026

    The licence's authors explain what it asks of a program used over a network, against the ordinary GPL.

  12. Trust: your data, the models, the paperwork, the code

    PlayLabplaylab.agency/trustAs of 3 December 2026

    What we sign and hand over, in our own words.

Read next

All articles

Your build

YOUR PRODUCT,YOUR NAMEon every account.

One call to write down what it must do. The price goes in writing, fixed, and on final payment the code, the files and the rights pass to you.

Book a call