- contracts
- ip
- code ownership
- startup
- hiring developers
Who Owns the Code? What to Check Before You Sign a Dev Contract

A startup founder discovered the problem during their Series A due diligence. Their investor's lawyer asked for IP assignment documentation for all prior development work. The founder did not have any. The developer who had built their product — hired on a freelance platform two years earlier — had never assigned IP. Under the platform's default terms, ownership was ambiguous.
The funding round was delayed by six weeks while the documentation was collected retroactively. The developer, fortunately, was reachable and cooperative. They are not always.
This is not a rare edge case. It is a common outcome for founders who did not check the ownership question before signing — or before clicking "accept order."
What Code Ownership Actually Means
When a developer writes code for you, the copyright in that code belongs to whoever created it. In most jurisdictions, that is the author by default — not the person who paid for it.
For the rights to transfer to you, one of two things needs to happen:
- Work-for-hire: The work is done by an employee within the scope of their employment. Employment implies automatic assignment in most jurisdictions.
- IP assignment: A clause in the contract explicitly assigns copyright from the developer to you.
If you hired a freelancer with no written contract, or used a platform's default agreement, the assignment may not exist. The developer may own the code they wrote for you.
How Platform Defaults Work
Upwork: Under Upwork's standard terms, work created as part of a fixed-price contract is considered a service, and intellectual property ownership follows the IP provisions of the work order. Many work orders have no such provision. Upwork does have a clause that assigns rights to the client, but it requires a specific contract setup, and many small engagements do not use it. Check your work order.
Fiverr: Fiverr's default terms state that upon full payment, buyers receive full ownership of the delivered work. This is better than nothing, but there are exceptions for tools, frameworks, and pre-existing code the seller brings to the project. Code that uses a boilerplate the developer already owned does not fully transfer. The transfer covers the custom part.
Direct contract with no IP clause: This is the riskiest scenario. Without a specific assignment clause, copyright stays with the developer.
What to Check Before You Sign
Look for these three things in any development agreement:
1. IP Assignment Clause The contract should include language that transfers all intellectual property rights in the work product to you, effective upon payment. It should cover code, documentation, and any derivative works. It should be unconditional — not dependent on future payments or milestones.
2. Work-for-Hire Language In US contracts, work-for-hire has a specific legal meaning. The contract may state that the work is created as work-for-hire to the extent permitted by applicable law, with an IP assignment clause as a fallback for work that does not qualify.
3. Repository Access and Delivery The contract should specify that you receive the source code and access to the repository. This sounds obvious. Many founders have paid in full and had to negotiate for repository access afterward because it was not in the original agreement.
What to Do About Existing Work
If you have already paid a developer and do not have an IP assignment, the fix is usually a short written agreement — a retroactive IP assignment form. Most developers will sign this without issue when asked professionally. A lawyer can prepare the form in a few hours.
This is worth doing before fundraising, before bringing in a CTO, and before attempting to sell the company. All three of those events involve someone reviewing who owns what.
Frameworks and Open Source
One important limit: code ownership applies to the custom code the developer wrote. It does not transfer the rights to the frameworks, libraries, and open-source tools the code uses.
If your product is built on React, Postgres, Stripe's SDK, and three npm packages, you own the custom code. You have a license to use everything else under the terms of each license. This is normal and not a problem for most projects, but it means you should know what licenses you are building on. GPL-licensed code, for example, has conditions that affect how the product can be distributed.
The key questions before you sign: who owns what was written, and what are the terms on what was not.
Have a project idea?
Get a rough estimate in 5 minutes with our Project Scoper.
Scope Your ProjectReady to discuss?
30 minutes. No pitch deck. Just an honest conversation about your project.
Book a Free Call



