Who Owns Custom Software Code: The Clause Is Half of It
You paid for the software. That doesn't make it yours. Who owns custom software code is settled by two things: a written assignment of the copyright, signed by whoever wrote it, and control of the accounts the software lives in. Plenty of contracts cover the first and stop there. The second is the one you need on the day you leave.
Picture the usual version. The platform works, the invoices are paid, and the contract says the client owns the IP. Then the relationship ends. The code sits in the developer's personal account. The domain is registered in their name. The database runs on their hosting plan, on their card. On paper, you own the software. In practice, you own a polite request.
The legal sources below were last checked on 15 October 2026. They're general information, not legal advice, and the rules differ by country and by the facts, so check with your lawyer before you sign.
Who owns custom software code by default?
In the US and the UK, usually the person who wrote it, not the person who paid. Copyright starts with the author. An employee's work generally belongs to the employer, but an outside developer or agency keeps the copyright in what they write unless they assign it to you in writing. Paying the invoice doesn't transfer it on its own.
US law says copyright "vests initially in the author or authors of the work", in 17 U.S.C. section 201(a), and a transfer "is not valid unless" it is "in writing and signed" (section 204(a)). The "work made for hire" route doesn't rescue most commissioned software either. The Copyright Office's Circular 30 explains that a contractor's work counts only if it falls into one of nine listed categories and both sides sign an agreement saying so. Software isn't named on that list.
The UK's Copyright, Designs and Patents Act is shorter about it. The author "is the first owner of any copyright", and under section 90(3) an assignment "is not effective unless it is in writing signed by or on behalf of the assignor".
South Africa's Copyright Act is the odd one out. For a computer program, the author is "the person who exercised control over the making of the computer program", so a client who directed the work closely may have a claim, and one who handed over a brief and waited may not. Which side you're on turns on facts nobody wrote down at the time, which is the best argument for a signed assignment wherever you are.
Two consequences catch people out. If you hire an agency, its developers' work usually belongs to the agency, so you need the assignment from the agency, and the agency needs its own freelancers' assignments first. And if an AI tool wrote much of the code, there may be less copyright to own than anyone assumed. The US Copyright Office concluded in January 2025 that AI output is protected "only where a human author has determined sufficient expressive elements", and that "the mere provision of prompts" isn't enough. How that applies to your code is a question for your lawyer.
Either way, the legal title is only part of it. When the title is thin or disputed, control is most of what ownership means.
Owning software means owning the accounts
A clause gives you the right to the code. It doesn't give you the code. Software lives in accounts: a code repository, hosting, a database, a domain, an email-sending service, a payment provider. Whoever holds those accounts can run the software, change it or switch it off. If they're in your developer's name, you're renting from your own supplier.
Think of a house you bought where the seller kept the keys, the deeds and the meter accounts. You own it. You can't get in.
The code repository. It should sit in an organisation account your business owns, with the developer invited as a member you can remove. If it already lives in the developer's personal account, it can be moved. GitHub's transfer docs say issues, pull requests and the wiki move with it, and old links redirect. Someone with admin access has to start the transfer, which is why you ask before there's a falling-out. If your app started life in an AI tool, exporting a Lovable app to GitHub covers what moves and what stays behind.
The domain. An ICANN post on domain good practice calls letting a "web developer" be listed as the registrant "generally not considered a good practice". Its registrant FAQ warns that a developer may have registered your domain "using their own contact details", even if you paid them to do it, and that you may need proof of payment to get it back. Keep the receipts.
Hosting, database and backups. The hosting account should be in your company's name and billed to your card. You should be able to reach the database and get a copy of the data. A backup you have never restored is a hope, so ask to see a restore done once.
Credentials and documentation. Passwords and keys go in a password vault your business owns. The documentation should let a stranger set the software up from nothing, deploy a change and bring the data back. If that knowledge lives in one person's head, you don't own it.
Owning software on paper vs in practice
On paper
- A clause saying you own the IP
- Invoices marked paid
- A demo link that works
- A developer who answers the phone
In practice
- A signed assignment of the code
- The repository in your organisation account
- Hosting, domain and database in your name
- Credentials and setup notes you hold
What a software ownership contract should say
A good software ownership contract assigns the code written for you, on payment, in writing. It lists what isn't assigned and licenses it to you. It says the accounts are yours, and it spells out what happens when the work ends. The exact wording is your lawyer's job. Knowing what to ask for is yours.
IP ownership in custom development comes down to five pieces.
Code written for you. Assigned to your business, in writing, once each stage is paid for.
The developer's own tools. Most developers reuse code they had before your project. They won't assign it, and they shouldn't have to. You need a permanent licence to use it inside your software, so the rest of the code still works if you part ways.
Open-source libraries. Almost every application is built on them, and nobody can assign them to you. They come under their own licences, most of them from the list the Open Source Initiative maintains. Ask for a list of what's included.
Your data. Yours, in a format another team can use, handed over on request and at exit.
The exit. Notice period, what gets handed over, how long the developer helps the next team and at what rate. Write it down while everyone is still friendly.
The software handover checklist to agree before you sign
Ask for these before the work starts, not at the end. Each one is cheap to set up on day one and awkward to get back on day three hundred.
- A written, signed assignment of the code written for you.
- A list of pre-existing and open-source parts, with the licence for each.
- The repository in an organisation account you own from the first commit.
- Hosting, domain, email and payment accounts in your company's name, billed to you.
- Database access, and a recent backup you hold.
- Credentials in a vault you own, changed when anyone leaves.
- Setup, deployment and restore notes another developer can follow.
- Exit terms: notice, handover, and help for whoever comes next.
When each part of ownership gets settled
Before signing
Assignment, licences for pre-existing code, exit terms
Day one
Repository, hosting, domain and database accounts in your name
During the build
Credentials in your vault, setup and restore notes kept current
At exit
Data, backups and help for the next team, as written
Before signing
Assignment, licences for pre-existing code, exit terms
Day one
Repository, hosting, domain and database accounts in your name
During the build
Credentials in your vault, setup and restore notes kept current
At exit
Data, backups and help for the next team, as written
The test for the whole list is simple. Could a different team set up the software, ship a change and restore the database next week, without calling the people who built it? If yes, you own it. If no, you own a dependency.
If the accounts are in your developer's name, you are renting from your own supplier.
Ownership doesn't mean running it yourself
Owning the software and running it are separate decisions. Plenty of firms want someone else to keep it online, backed up and up to date. That's fine, as long as the accounts are in your name and the exit is written down. Then the provider runs the software for you, not instead of you.
This sits underneath the bigger question of what to build at all. Custom software vs off-the-shelf covers which part of a service business is worth owning. The build vs buy framework covers when custom code earns its keep. Ownership is what makes that decision hold up five years later.
If you're weighing up a client platform, our platforms page sets out the ways in and who runs what in each. How we run it shows what keeping a platform healthy involves day to day, so you can judge whether to take that on or hand it over.
You own custom software the day you could walk away from the people who built it. Before that, you own an invoice.
How we help with this
Small Business Technology
Replace spreadsheets with proper systems. Business intelligence, workflow automation, and the right tools - without overcomplicating things.
Learn more
Technology Strategy
Translate business goals into technical plans. Stack selection, scaling strategy, and build-vs-buy decisions grounded in real experience.
Learn more
Technology Strategy Audit
Get an honest assessment of where your technology stands - stack health, technical debt, team structure, and roadmap alignment. Know exactly what to fix before your next growth phase.
Learn more
Want to discuss this topic?
If this resonates with where your company is right now, we'd like to hear from you.