WHO OWNS OUTSOURCED CODE
what the law says by default.
Who legally owns software built by an agency or freelancer in the US, UK and UAE, and the contract terms that make sure the code ends up yours.
In a
nutshell.
Paying for software does not automatically make you its owner. In the US and UK, an outside developer or agency owns the copyright in code it writes for you until it is transferred in a signed, written agreement. UAE law starts from the opposite default and favours the commissioning party. In all three, a written IP clause signed before work starts settles it.
- In the US, contractor-written work is only a “work made for hire” if it fits one of nine listed categories and both sides sign a written agreement saying so.
- In the UK, the first owner of commissioned work is the person or company that created it, not the client, unless agreed otherwise in writing.
- Under UAE Federal Decree-Law No. 38 of 2021, work created for another person belongs to that person unless agreed otherwise in writing.
- A US copyright transfer is not valid unless it is in writing and signed by the owner of the rights.
- Ownership of new code does not cover the developer’s pre-existing tools or open-source components, which are licensed rather than owned.
- The US Copyright Office concluded in January 2025 that purely AI-generated output is not protected by copyright.

Who owns the code when you outsource software development?
When you outsource software development, the default owner of the code depends on the country whose law applies. In the United States and the United Kingdom, the outside developer or agency that writes the code owns the copyright until it is transferred to you in writing. In the United Arab Emirates, the law starts from the opposite position and gives the rights to the party the work was created for.
Software is protected mainly by copyright, which arises automatically when the code is written. The question is who holds that copyright first. Employees are treated differently from outside suppliers in all three countries: code written by your own staff as part of their job normally belongs to your company, while code written by a freelancer, contractor or agency follows the rules in the table below.
This guide is general information for buyers of software development, based on official sources listed at the end. It is not legal advice. Ownership disputes turn on the exact wording of the contract and the facts, so have a qualified lawyer review any agreement before you sign it.
| Country | Code written by your employee | Code written by an outside developer or agency | What a transfer needs |
|---|---|---|---|
| United States | Employer, if created within the scope of employment | The developer, unless the work fits one of nine statutory categories and a signed agreement calls it a work made for hire | A written document signed by the owner of the rights |
| United Kingdom | Employer, if made in the course of employment | The developer; the client may only have a limited implied licence | A written, signed assignment |
| United Arab Emirates | Employer, if related to the employer’s business or made with its resources | The party the work was created for | A written transfer naming the right, its purpose, duration and place of use |
Does “work made for hire” cover custom software in the United States?
In the United States, “work made for hire” covers code written by your employees, but it rarely covers code written by an outside agency or freelancer. The US Copyright Office’s Circular 30 explains that a commissioned work is only a work made for hire if it falls within one of nine categories listed in the Copyright Act and both parties sign a written agreement saying it is a work made for hire.
The nine categories are a contribution to a collective work, part of a motion picture or other audiovisual work, a translation, a supplementary work, a compilation, an instructional text, a test, answer material for a test, and an atlas. Bespoke business software is not a category of its own. Circular 30 is direct about the consequence: if a work fails any of the requirements, it is not a work made for hire.
This is why US software contracts usually contain two layers. The first states that the deliverables are works made for hire to the extent the law allows. The second says that, where they are not, the developer assigns all rights in them to the client. The assignment is the part that does the work. Section 204(a) of the US Copyright Act says a transfer of copyright ownership is not valid unless it is in writing and signed by the owner of the rights conveyed.
For a US buyer, the practical point is that a purchase order or a paid invoice does not transfer copyright on its own.
Who owns commissioned software in the UK?
In the UK, the developer or agency that writes commissioned software is the first legal owner of the copyright, not the client who paid for it. The UK Intellectual Property Office states that when you commission another person or organisation to create a copyright work, the first owner is the creator “and not you the commissioner, unless you otherwise agree it in writing”.
The same guidance separates employees from contractors. Work made by an employee in the course of employment belongs to the employer, subject to any agreement to the contrary. A person working under a “contract for services”, such as a freelancer or independent contractor, will usually keep the copyright in what they produce unless the contract says otherwise.
If the contract is silent, UK courts may find that the client has an implied licence to use the software for the purpose it was commissioned for. The Intellectual Property Office warns that this does not necessarily transfer ownership, and the client may only get a limited, non-exclusive licence.
To own commissioned software outright in the UK, you need an assignment. UK government guidance says selling or transferring copyright requires a written, signed contract stating that a transfer has taken place.
Who owns outsourced software under UAE law?
Under UAE federal copyright law, software created for another party belongs to that party by default. Article 28 of Federal Decree-Law No. 38 of 2021 on Copyrights and Neighbouring Rights says that, unless otherwise agreed in writing, if an author creates a work for the benefit of another person, the copyright belongs to the person in whose favour it was made.
The same article covers employees. Where an employee creates a work related to the employer’s activities, on the employer’s instruction or using the employer’s tools, information or materials, the economic rights belong to the employer. Work unrelated to the employer’s business and made without its resources belongs to the employee. Article 2 of the law lists smart applications, computer programmes and databases among the protected works.
The UAE default is friendlier to buyers than the US or UK position, but it is not a reason to skip the IP clause. The default only applies “unless otherwise agreed in writing”, so a supplier’s standard terms can reverse it. Article 9 adds that a transfer of economic rights is valid only if it is in writing and specifies the right, its purpose, duration and place of use, and that the author keeps any economic right not explicitly assigned. Article 5 makes the author’s moral rights perpetual and non-assignable.
Two further cautions apply. The official text of the law is in Arabic, and English versions are translations. Businesses in financial free zones should also check which rules apply to them. A UAE-qualified lawyer should confirm the position for any significant project.
What exactly should you own at the end of a software project?
At the end of a software project you should own the new work created specifically for you, and hold a clear, lasting licence to everything else the software depends on. No client owns every line in a modern product, because every product is built on frameworks, libraries and tools that existed before the project started.
UK government procurement guidance uses a helpful vocabulary for this. “New” or “foreground” IP is what is created under the contract. “Existing” or “background” IP is work created before or independently of the contract that is used in the project. “Third-party” IP belongs to someone who is not a party to the contract, and needs that party’s permission to use. A good software contract deals with each of these separately rather than using one sentence for all of them.
Open-source components deserve their own check. They stay under their own licences whatever your contract says. Most are permissive, but strong “copyleft” licences such as the GNU General Public License v3.0 are conditional on making the complete source code of the licensed work, and of larger works that use it, available under the same licence. Ask for a list of the open-source components and their licences before launch.
| Type of IP | Examples | Usual arrangement | What to secure in the contract |
|---|---|---|---|
| New (foreground) IP | Source code, designs, database structure and documentation written for your project | Assigned to the client | A written, signed assignment that takes effect on creation or on payment |
| Existing (background) IP | The developer’s own starter kits, internal libraries and tools | Stays with the developer | A perpetual, worldwide, royalty-free licence to use and modify it as part of your product |
| Third-party IP | Paid software components, fonts, stock media, commercial APIs | Stays with the third party | Licences bought in your company’s name and a list of what is used |
| Open-source software | Frameworks and libraries such as React or PostgreSQL | Stays under its open-source licence | A component list with licences, and agreement before any copyleft code is used |
Which contract clauses secure ownership of outsourced code?
The clause that secures ownership of outsourced code is a written assignment of intellectual property, signed by the developer before work begins. Around it sit a handful of supporting clauses that close the gaps an assignment alone leaves open. The checklist below is TechCirkle’s working list of what buyers should look for; the exact wording is a job for your lawyer.
Timing matters as much as wording. If the assignment only takes effect on final payment, the developer owns the code throughout the build, which matters if the relationship ends early.
- Assignment of all new IP: a present-tense assignment (“hereby assigns”) of the code, designs and documentation, not a promise to assign later.
- Work-made-for-hire wording with an assignment fallback, for contracts under US law.
- Background IP licence: a perpetual, worldwide, royalty-free right to use and modify the developer’s pre-existing code inside your product.
- Staff and subcontractors: a promise that everyone who works on the project has signed terms passing their rights to the developer, so the developer has the rights to pass to you.
- Moral rights waiver: UK guidance notes that moral rights cannot be assigned but can be waived.
- Open-source and third-party disclosure: a list of components and licences, and your approval before copyleft code is used.
- Originality warranty and indemnity: a promise that the work does not copy anyone else’s, backed by cover if a claim is made.
- Handover: delivery of source code, credentials, build instructions and documentation at agreed points and on termination.
- Further assurance: an obligation to sign any later document needed to confirm or register your ownership.
Who owns AI-generated code in an outsourced project?
Code produced entirely by an AI tool may not be owned by anyone in the copyright sense, at least in the United States. In Part 2 of its report on copyright and artificial intelligence, published on 29 January 2025, the US Copyright Office concluded that copyright protects only material created by a human author, and that entering prompts alone does not make the user the author of the output.
This does not make AI-assisted software unprotectable. The same report confirms that human-authored material, and a human’s creative selection, arrangement or modification of AI output, can still be protected. Where developers review, change and combine AI suggestions, the human contribution is what copyright attaches to.
For a buyer, AI changes what to ask rather than who owns the project. Ask the developer which AI coding tools the team uses, whether the tool’s terms give its users the rights in the output, and whether your confidential code or data is sent to those tools. It is reasonable for the contract to extend the originality warranty to AI-assisted code.
How do you keep practical control of your software, not just legal ownership?
You keep practical control of outsourced software by holding the accounts it lives in, not only the copyright. A business can own every right on paper and still be unable to run or change its product if the source code, hosting and app store listings sit in the developer’s accounts.
In TechCirkle’s experience scoping handovers, the items below are the ones most often left in a supplier’s name. Setting them up in your company’s name from the first week costs little and removes most of the leverage a supplier could otherwise hold in a dispute.
- Source code repository: owned by your organisation’s account, with the developer added as a collaborator.
- Cloud hosting and databases: billed to and administered by your company.
- Apple Developer and Google Play accounts: registered to your company, so the app is published under your name.
- Domain names and DNS: registered to your company, not to an individual or the agency.
- Third-party services such as payment, email and analytics providers: your accounts, your API keys.
- Documentation: build and deployment instructions kept in the repository, so another team could take over.
What if the software is already built and the contract says nothing about ownership?
If your software is already built and the contract says nothing about ownership, you can usually still fix it by asking the developer to sign a written assignment now. In the US and UK, the default position is that the developer owns the copyright and your business has, at best, an implied licence to use the software for the purpose it was commissioned for.
An implied licence is often enough to keep running the software day to day. It becomes a problem when something changes: a new development team needs to modify the code, an investor or buyer carries out due diligence, or you want to license the product to others.
The usual remedy is a short confirmatory assignment in which the developer transfers all rights in the delivered work to you in writing and signs it. It is far easier to obtain while the relationship is good and the developer is still trading. If the original developer cannot be found or refuses to sign, take legal advice before you invest further in the codebase.
Where the
numbers come from.
- U.S. Copyright Office — Circular 30: Works Made for Hire
- U.S. Copyright Office — Copyright Act, Chapter 2: Copyright Ownership and Transfer (17 U.S.C. §§ 201–205)
- U.S. Copyright Office — Copyright and Artificial Intelligence (Part 2: Copyrightability, 29 January 2025)
- UK Intellectual Property Office — Ownership of copyright works
- UK Intellectual Property Office — License, sell or market your copyright material
- UK Government — Digital, Data and Technology Playbook: Intellectual Property Rights guidance note
- UAE Federal Decree-Law No. 38 of 2021 on Copyrights and Neighbouring Rights (English translation, Abu Dhabi Department of Economic Development)
- WIPO Lex — United Arab Emirates, Federal Decree-Law No. 38 of 2021
- Choose a License (GitHub) — GNU General Public License v3.0 summary
Figures are general market ranges for the stated year, not TechCirkle quotes. Last reviewed 29 November 2026. More guides in the TechCirkle guides library.
Frequently asked
questions.
No. Payment alone does not transfer copyright in the US or the UK. In both countries, an outside developer owns the code it writes until the rights are transferred in a written, signed agreement. Without one, the client usually has only an implied licence to use the software for its intended purpose. UAE law is different and gives the rights to the commissioning party by default.
No. A non-disclosure agreement stops the developer sharing your confidential information, but it does not decide who owns the code that gets written. Ownership needs its own clause: a written assignment of intellectual property in the development contract. Most buyers sign both, with the NDA covering early conversations and the main agreement covering ownership, licences and handover once the project starts.
It depends on the contract. If the agency has assigned the new code to you, it needs your permission to reuse that code. The agency will normally keep its own pre-existing libraries and general know-how, and can reuse those freely. If nothing was assigned, the agency still owns the code in the US and UK and may be free to reuse it, which is one reason a silent contract is risky.
The freelancer or subcontractor may own it unless they have passed their rights to the agency in writing. An agency cannot assign rights it does not hold. Ask the agency to confirm in the contract that every employee, freelancer and subcontractor working on your project has signed terms transferring their intellectual property to the agency, so that the full chain of ownership reaches your company.
An assignment transfers ownership of the copyright to you, so you can modify, sell or license the software without asking anyone. A licence leaves ownership with the developer and gives you permission to use the software on stated terms, which may be limited by purpose, time, territory or exclusivity. Custom-built software is usually assigned, while the developer’s pre-existing tools inside it are usually licensed.
Yes. Investors and acquirers normally check that the company owns the intellectual property in its product, and gaps are much harder to close once money is on the table. Before fundraising, collect signed assignments from every agency, freelancer and founder who wrote code, along with a list of open-source components and their licences. Missing paperwork can usually be fixed with a confirmatory assignment while people are still reachable.
The development contract should name its governing law, and that choice usually controls how the contract is read. Copyright ownership can still be affected by the law of the country where the code was written or where you later enforce your rights. The safest approach with an overseas developer is a clear written assignment that would be valid under each relevant country’s formal requirements, reviewed by a lawyer.
Source code escrow is an arrangement where a neutral third party holds a copy of the source code and releases it to the client if agreed events happen, such as the supplier going out of business. It is used when the supplier keeps ownership and licenses the software to you. If the code is assigned to you and stored in your own repository, escrow is usually unnecessary.