UpBusiness

IP Ownership in Software Development Contracts (2026): Who Owns the Code

Updated 12 min read
IP ownership in software development in 2026: cover showing the cost of fixing missing IP assignments before a funding round
Find the right partner for your business

Browse our curated list of Custom Software Development Companies

Explore Companies

IP ownership in software development decides who owns the code, designs, documents and data created during a project. Many buyers assume that paying for software means owning it. It often does not. Under US copyright law, code written by an outside company or freelancer belongs to its author unless a signed written agreement transfers it. Code written by your own employees as part of their job usually belongs to you. So the contract, not the invoice, decides ownership. A good software contract assigns all project IP to the client on payment, licenses any tools the provider already owned, and lists the open source components used.

This guide explains the default rules, the difference between assigning and licensing IP, background IP, open source and AI-generated code, with sample clause wording, a worked example and a checklist. It is written for founders, product owners and procurement teams hiring a software development company. It is not legal advice, and rules differ between countries, so have a lawyer review your contract.

Key takeaways

  • Paying for code does not transfer copyright by itself. In the US, a transfer of copyright must be in writing and signed[1].
  • Use an assignment clause for project IP and a licence clause for the provider's existing tools.
  • Ask for a list of open source components. More than two thirds of audited commercial codebases contain licence conflicts[2].
  • Fixing missing IP assignments before a funding round or sale costs far more than getting them signed at the start.

What IP Ownership Covers in a Software Project

Intellectual property in a software project is more than source code. List each type in the contract, so nothing is left out.

IP typeExamplesWho should usually own it
Source and compiled codeApplication code, scripts, database schemas, infrastructure as codeClient, on payment
DesignsWireframes, UI designs, design files, icons, brand assetsClient, on payment
DocumentationSpecifications, architecture diagrams, user guides, test casesClient, on payment
DataCustomer data, content, data created by the systemClient, always
Models and AI assetsTrained model weights, prompts, evaluation sets built for youClient, if built and paid for in the project
Provider's existing toolsInternal libraries, starter kits, frameworksProvider, with a licence to the client
Third-party and open source partsOpen source libraries, paid components, APIsTheir owners, under their licences

The Default Rules: Employees, Freelancers and Agencies

Without a written agreement, the law decides who owns the work, and the answer depends on who wrote it. In the US, the US Copyright Office explains that a "work made for hire" is either a work prepared by an employee within the scope of their job, or a specially commissioned work in a limited list of categories with a signed written agreement[3]. Software written by an outside company does not usually fit that list, so the safe route is a written assignment.

Default owner of code written by employees, freelancers, software companies and subcontractors, and the agreement each needs
Who writes the codeDefault owner without a contractWhat you need
Your employee, as part of their jobUsually the employerAn employment contract with an IP clause, to remove any doubt
A freelancer or contractorUsually the freelancerA signed IP assignment in the contract
A software development companyThe company (it owns its employees' work)An assignment from the company to you, and confirmation its staff and subcontractors assigned to it
A subcontractor of your providerThe subcontractorA chain of assignments: subcontractor to provider to you

Many countries follow a similar pattern: employers own their employees' work, while commissioned work stays with its author unless the contract says otherwise. The details differ, so check the law that governs your contract, especially if the team is in another country.

Assignment vs Licence

An assignment transfers ownership. A licence gives permission to use something that someone else still owns. Most software contracts need both.

FactorAssignmentLicence
What you getOwnershipPermission to use
Can the provider reuse it for others?NoYes, unless the licence is exclusive
Can you change, sell or license it on?YesOnly if the licence allows it
Typical useCode and designs written for your projectProvider's existing tools, open source, paid components
What to checkSigned, in writing, covers all project IPPerpetual, irrevocable, worldwide, allows changes, survives termination

Background IP and foreground IP

Foreground IP is what is created for your project. Background IP is what the provider owned before, such as a login module, a payment integration library or a deployment template it reuses for many clients. Providers rarely give away background IP, because reusing it is how they keep prices down. That is fair, as long as you receive a licence that lets you keep using, changing and hosting the software forever, even if you stop working with the provider. Ask the provider to list its background IP in the statement of work, so there is no argument later about which parts it can reuse.

Open Source Code and Your IP

Almost every modern application uses open source libraries. You do not own them, but you can use them under their licences. The Open Source Initiative keeps the list of approved licences and their terms[4]. Licences fall into two broad groups:

  • Permissive licences such as MIT, BSD and Apache 2.0 allow use in commercial software with few conditions, mainly keeping copyright notices.
  • Copyleft licences such as the GPL can require you to release your own source code if you distribute software that includes the licensed code. Network copyleft licences such as the AGPL can apply even when software runs as an online service.

Licence problems are common. Black Duck's 2026 analysis of commercial codebases found that more than two thirds contain licence conflicts, the highest level in its data[2]. Ask your provider for a software bill of materials (SBOM), a list of every component and its licence, at each major release and at handover. Our software company due diligence checklist covers how to check a provider's practices.

AI-Generated Code and IP Ownership

Developers now use AI coding assistants every day, which raises two questions. First, can AI-generated code be owned at all? In its 2025 report on copyrightability, the US Copyright Office concluded that copyright protects human authorship, and that prompts alone do not give enough control over the output to make the person who wrote them its author. Human selection, arrangement and changes to AI output can still be protected[5]. In practice, most project code mixes human and AI work, and the contract should assign whatever rights exist to you.

Second, AI tools can reproduce code from open source projects without its licence notice. Add these points to your contract:

  • The provider tells you which AI coding tools its team uses, and that client code is not used to train public models.
  • All code, whether written by people or with AI help, is reviewed by the provider's developers before delivery.
  • The provider runs licence scanning on the codebase and fixes conflicts before handover.
  • The usual IP warranty and indemnity cover AI-assisted code in the same way as other code.

Want a software partner with clear IP terms?

Post your requirement and we match you with three verified software development companies. Ask each one how IP passes to you, what background tools they reuse and how they handle open source, then compare the answers. Buyers pay nothing.

Post your requirement

Sample IP Clauses for a Software Contract

The wording below shows what each clause should achieve. Use it to check a provider's contract, and ask a lawyer to adapt it to your governing law.

ClauseExample wording
Assignment of project IP"On payment of each invoice, the Provider assigns to the Client all rights, title and interest in the Deliverables covered by that invoice, including all copyright and other intellectual property rights."
Background IP licence"The Provider grants the Client a perpetual, irrevocable, worldwide, royalty-free licence to use, copy, modify and host the Background IP as part of the Deliverables."
Staff and subcontractors"The Provider confirms that all personnel and subcontractors working on the Deliverables have assigned their rights to the Provider in writing."
Open source"The Provider will not include open source components under licences that require disclosure of the Client's source code without the Client's written approval, and will supply a list of all components and licences at each release."
Warranty and indemnity"The Provider warrants that the Deliverables do not infringe third-party rights and will defend the Client against any claim that they do."
Moral rights"To the extent permitted by law, the Provider waives, and will procure that its personnel waive, any moral rights in the Deliverables."
Further assurance"The Provider will sign any documents reasonably needed to confirm or register the Client's ownership."

These clauses usually sit in the master services agreement, while the statement of work lists the deliverables and background IP. Our guide to MSA vs SOW explains which terms go where, and our software development contract checklist covers the other clauses to review.

IP Ownership by Type of Engagement

The right IP terms depend on what you are buying. Custom development and a product licence are very different deals.

EngagementWhat you should ownWhat usually stays with the provider
Fixed price custom projectAll project code, designs and documents, on milestone paymentBackground IP, licensed to you
Time and materials or dedicated teamEverything the team produces, on payment of each monthly invoiceInternal tools and templates, licensed to you
White-label or ready-made product with customisationYour customisations and your dataThe core product; you get a licence or subscription
SaaS platform with integrationsYour data and any integration code written only for youThe platform itself
Proof of concept or discovery phaseReports, designs and any code deliveredMethods and reusable assets

White-label deals are where buyers most often get surprised. If a provider builds your "custom" app on its own platform, you may own only the customisations. That can be fine for speed and price, but you need to know it before you sign, and you need a clear exit plan for your data.

IP with offshore and cross-border teams

Hiring a team in another country adds two questions. First, which country's law governs the contract? Pick one clearly, usually where your company is based, and make sure the assignment is valid there. Second, does the provider's own employment contract with its developers give the company ownership of their work under local law? Ask the provider to confirm this in writing. For offshore projects it is also worth registering copyright in key software where that is possible, because registration makes ownership easier to prove. Our guide to software development outsourcing to India covers other cross-border contract points.

When Should IP Pass to You?

There are three common approaches, and each balances risk differently.

ApproachHow it worksRisk for the clientRisk for the provider
On creationYou own everything as soon as it is writtenLowestHighest: unpaid work is already yours
On payment of each milestoneIP for each milestone passes when its invoice is paidLowLow
On final paymentNothing passes until the project is fully paidHigher: a dispute can block your access to the codeLowest

Transfer on payment of each milestone is the fairest and most common choice. Combine it with regular access to the code repository, so you always hold a current copy of work you have paid for.

Source code escrow for licensed software

When you license software instead of owning it, such as a white-label platform or a provider's core product, ask about source code escrow. An independent escrow agent holds a copy of the source code and releases it to you if agreed events happen, for example if the provider closes, stops supporting the product or seriously breaches the contract. Escrow costs money every year, often a few hundred to a few thousand dollars, so it makes sense mainly for software your business depends on. Check that the deposit is updated regularly and includes build instructions, because old or incomplete code is of little use in an emergency. For software you own outright, escrow is not needed: holding the repository yourself does the same job more cheaply.

Worked Example: Fixing Missing IP Before a Funding Round

A startup built its product over two years with a small agency and four freelancers. During due diligence for a funding round, the investor's lawyers find that the agency contract has an IP assignment, but two freelancers worked on simple email agreements with no IP clause, and one of them cannot be reached. These are example figures for illustration.

ItemCostDelay
Lawyer time to review contracts and draft confirmatory assignments$3,5001 week
Payment to a reachable freelancer to sign an assignment$1,5002 weeks
Rewriting the module built by the unreachable freelancer, 160 hours at $45$7,2004 weeks
Total$12,200About 5 weeks, with some work in parallel
Cost of signing assignments at the startAbout $0 extraNone
Worked example of the cost of fixing missing IP assignments before a funding round compared with signing them at the start

The money is only part of the cost. A five-week delay during a funding round can change terms or stop a deal. The fix is simple: use one contract template with an IP assignment for everyone who writes code, and keep signed copies in one place.

IP at Handover: What You Should Receive

Checklist of IP and assets a client should receive at software project handover
  • Full source code in a repository you own, with complete history, not just a zip file.
  • Build and deployment scripts and infrastructure as code, so another team can run the system.
  • Credentials and accounts for hosting, domains, app stores and third-party services, in your company's name.
  • Design files in their original editable format.
  • Documentation covering architecture, setup and main decisions.
  • A software bill of materials listing every open source and paid component and its licence.
  • A written list of background IP and confirmation of your licence to it.

If you are taking over a project from a provider that is not cooperating, our guide on how to rescue a failing software project explains how to recover code and access.

Common IP Ownership Mistakes

  • Relying on an NDA. An NDA protects confidential information but does not transfer ownership. Our guide to the NDA for software development explains the difference.
  • Code in the provider's repository only. If the relationship ends badly, you may not get it back quickly.
  • App store and cloud accounts in the provider's name. Moving them later can take weeks.
  • No list of background IP. The provider later says a core module was always its own.
  • Freelancers without contracts. Small tasks done on a handshake create gaps in ownership.
  • Ignoring open source licences. One copyleft library in the wrong place can force difficult choices.

Compare software development companies

See verified software companies with TrustScores, team size, average project size and client reviews before you agree contract terms.

Browse software companies

Questions to Ask a Software Company About IP

  1. When does ownership of code and designs pass to us, and is it written in your standard contract?
  2. Do all your staff and subcontractors assign their work to your company in writing?
  3. Which background IP or internal tools will you use, and what licence will we receive?
  4. Will the code live in a repository owned by our company from day one?
  5. How do you track open source licences, and will you provide a software bill of materials?
  6. Which AI coding tools does your team use, and how do you review and scan AI-assisted code?
  7. Will you warrant that the deliverables do not infringe anyone else's rights?

Clear answers to these questions are a good sign of a mature provider. Vague answers, or reluctance to put IP terms in writing, are a reason to keep looking. Our list of questions to ask a software development company covers the rest of the selection process, and our statement of work template shows where to list deliverables and background IP.

IP ownership is one of the few contract terms that becomes far more expensive to fix later. Get the assignment, the background licence and the open source list in writing before the first line of code is written, and keep the code in accounts you control.

Anuj Pandey
About the Author
CTO & Co-founder, UpBusiness

Anuj Pandey is the CTO and Co-Founder of UpBusiness, a B2B platform that helps businesses worldwide discover and hire verified service providers across AI, software development, digital marketing, and other business services. He leads the … See full profile

Frequently Asked Questions

It depends on the contract. Under US law, code written by an outside company or freelancer generally belongs to them unless a signed written agreement assigns it to you. A good software contract assigns all project code, designs and documents to the client on payment, and gives the client a permanent licence to any tools the provider already owned.
Not automatically. Payment shows you bought the work, but in the US a transfer of copyright must be in writing and signed by the owner. Without an assignment clause, you may only have an implied licence to use the code, which can limit your ability to change, sell or license it. Always put the IP assignment in the contract.
An assignment transfers ownership of intellectual property to you, so you can change, sell or license it and the provider cannot reuse it. A licence only gives you permission to use something that the provider or a third party still owns. Software contracts usually assign project code and license the provider's existing tools.
Background IP is intellectual property that the provider owned before your project, such as internal libraries, starter kits or reusable modules. Providers usually keep ownership of it. Your contract should list it and give you a perpetual, irrevocable, royalty-free licence to use, change and host it as part of your software, even after the relationship ends.
The most common and balanced approach is transfer on payment of each milestone or invoice. You own what you have paid for, and the provider is protected against non-payment. Transfer only on final payment is riskier for the client, because a dispute late in the project can block access to code you have already mostly paid for.
You never own open source components, but you can use them under their licences. Permissive licences such as MIT and Apache 2.0 allow commercial use with few conditions. Copyleft licences such as the GPL can require you to release your own source code in some cases. Ask your provider for a software bill of materials listing every component and licence.
The US Copyright Office says copyright protects human authorship, and prompts alone are not enough. Human selection, arrangement and changes to AI output can still be protected, and most project code mixes human and AI work. Your contract should assign all rights in the deliverables to you, require human review, and require licence scanning before handover.
An NDA protects confidential information, such as your idea, business plans and data, from being shared or misused. It does not transfer ownership of code or designs. You need a separate IP assignment clause, usually in the master services agreement or development contract, to make sure the code written for you belongs to you.
The freelancer may still own the copyright in the code they wrote. The usual fix is to ask them to sign a confirmatory assignment, sometimes for a fee. If they cannot be reached or refuse, you may need to rewrite that part of the software. Investors and buyers often find these gaps during due diligence, so fix them early.
You should receive the full source code in a repository you own, build and deployment scripts, editable design files, documentation, credentials for hosting and app store accounts in your name, a software bill of materials, a list of background IP and confirmation of your licence to it. Check everything before the final payment.
Leave a comment

Have a budget in mind?

Share your project once and compare quotes from verified partner companies.

Post your project

Get new articles in your inbox

Be the first to read our new guides on finding and hiring trusted companies. No spam, unsubscribe anytime.

Anuj Pandey

Anuj Pandey

CTO & Co-founder, UpBusiness

Anuj Pandey is the CTO and Co-Founder of UpBusiness, a B2B platform that helps businesses worldwide discover and hire verified service providers across AI, software development, digital marketing, and other business services. He leads the technology behind the platform and writes practical, easy-to-understand guides on service costs, hiring, and choosing the right business partner. His goal is to help businesses make informed decisions and connect with the right companies, wherever they are in the world.

Instant Help & Support