Computer Software · 7 min read
Who owns the source code when you hire a company to build custom software?
Paying for software does not by itself make the code yours. Ownership comes from the signed agreement, and access comes from the handover.
Who owns the source code when you hire a software company?
Whoever the signed agreement says, and if the agreement is silent, usually the developer. Under U.S. copyright law, ownership begins with the author of the code, and paying an invoice does not move it. At Aezion, we tell clients to settle ownership in writing before the first line is written, because that is the cheapest moment to do it.
This surprises many owners. They paid for the system, it runs their business, and it was built to their requirements. All of that is true, and none of it is what the Copyright Act looks at.
What follows is general information from the vendor's side of the table, not legal advice. Have a licensed attorney review any development agreement before you sign, especially where the software is central to the value of the company.
Why paying for the work does not transfer the copyright
Section 201 of the Copyright Act says copyright vests initially in the author of the work. When your own employee writes code as part of the job, the law treats that as a work made for hire, and the employer is considered the author. The company owns it from the start.
An outside development firm is not your employee. The statute does allow some specially commissioned works to be treated as works made for hire by written agreement, but it limits that to named categories, such as a contribution to a collective work, a translation, a compilation or an instructional text. A computer program is not on that list.
The reliable route is an assignment. Section 204 of the Act says a transfer of copyright ownership is not valid unless it is in writing and signed by the owner of the rights being transferred. In practice, that means a clause in the development agreement in which the firm assigns the custom code to you.
Without that clause, a client typically ends up with permission to use the software and little else. Whether that permission covers modifying the code, moving it to another vendor or selling it with the company becomes a question for lawyers, at the worst possible time.
What should the contract say about ownership?
The contract should assign the custom work to you, say when the assignment takes effect, and list what is excluded. Good agreements are specific about each of those three points. Vague phrases such as the client owns the deliverables leave room for argument about what a deliverable is.
Bring this list to your attorney and to the vendor. A serious firm will have answers ready, and our guide to questions to ask a software development company covers the rest of the vetting conversation.
- An assignment of all rights in the custom code, designs and documentation created for the project.
- When ownership passes: on creation, on delivery, or on payment of each invoice.
- A definition of what counts as custom work, including database schemas, scripts, tests and configuration.
- A list of the developer's pre-existing materials and the license you receive to keep using them.
- A statement of which open-source and third-party components are used and under which licenses.
- Confirmation that everyone who writes the code, including subcontractors and offshore staff, has assigned their rights to the firm.
- A duty to deliver source code, build instructions and credentials during the project and at the end.
The parts a developer usually keeps
Most firms do not start from an empty screen. They bring libraries, templates, deployment scripts and internal tools built over many projects, and they need to keep using those for other clients. It is reasonable for a developer to retain ownership of that toolkit.
What you need is a license to those retained pieces that is broad enough for your purposes. Look for the right to use, modify and maintain them as part of your application, with no extra fee and no end date, and the right to let another vendor work on them for you.
The risk is a toolkit clause drawn so widely that it swallows the project. If the agreement lets the developer label most of the application as its own pre-existing framework, your assignment covers very little. Ask for the retained items to be listed by name.
The same care applies to anything built for you that the firm hopes to turn into its own product later. If the developer wants to reuse a module it writes on your project, that should be a stated exception you agreed to, with the price reflecting it, and not something you learn afterward.
Does open-source code in our application change who owns it?
Open-source components stay owned by their authors, and you use them under each component's license. Nearly every modern application includes them, and that is normal. Your ownership covers the custom code written around those components, not the components themselves.
The license type is what matters. Permissive licenses generally let you use the component in commercial software with few conditions beyond keeping the notices. Copyleft licenses can require you to share source code for software that incorporates the component when you distribute it.
Ask the vendor for a list of third-party components and their licenses, and ask for an updated list at each release. For a company that expects to be acquired or to license its product to others, that list will be requested in due diligence.
Generated code deserves the same question. If the team uses AI coding assistants or code generators, ask how the firm reviews that output and what its agreement with the tool provider says about rights in the result. The answer belongs in the same component list.
Owning the code is different from holding the code
A signed assignment gives you legal title. It does not put the code in your hands. I have seen businesses with a clean contract and no access: the repository sits in the vendor's account, the cloud subscription is under a developer's email, and nobody at the client has the administrator password.
Fix that at the start of the project. The source repository, the cloud accounts on Azure or AWS, the domain names, the app store accounts and any third-party service keys should be opened in your company's name, with the vendor added as a user. Then a change of vendor is an access change, not a negotiation.
If you are a Frisco or Dallas-Fort Worth company partway through a project and unsure where you stand, bring the agreement and a list of where the code and accounts live. We can talk through what a clean handover would need to include, and where you should get a lawyer's opinion.
- Source repository owned by your organization, with full history.
- Cloud subscriptions and billing in your company's name.
- Domain names, certificates and app store accounts registered to the company.
- A current list of credentials and service keys, stored in your own password manager.
- Build and deployment instructions that someone other than the original team has followed successfully.
Who owns the data inside the software?
Your business data should remain yours, and the agreement should say so directly. Code and data are separate questions. A contract can assign every line of code and still be silent on customer records, uploaded documents and the reports generated from them.
The agreement should state that the vendor handles your data only to perform the work, keeps it confidential, and returns or deletes it at the end. If the application holds personal information about Texas residents, our guide to what Texas privacy law means for customer data in business software explains the obligations that may apply.
Pay attention to hosted arrangements. Where the vendor runs the application for you, ask how you would export the data, in what format, and how long the vendor keeps backups after the contract ends.
Mistakes that surface when a company is sold or changes vendors
Ownership gaps stay invisible while the relationship is good. They appear when a buyer's attorney asks for proof of title, when a lender reviews the company's assets, or when the original developer is no longer available.
Each of these is easy to prevent at signing and expensive to repair later. A business attorney can review the clauses in an hour or two. If you do not have one, this guide to questions to ask a business attorney before hiring is a reasonable place to start.
- Starting work on a proposal and a handshake, with the full agreement to follow.
- Using a freelancer early on with no written assignment, then building years of work on top of that code.
- Tying ownership to final payment and then disputing the last invoice.
- Accepting a compiled application with no source code, build scripts or documentation.
- Leaving the only copy of the repository in a former developer's personal account.
- Assuming a low-code platform works the same way, when the platform owner controls the runtime.
What a clean handover looks like
A clean handover means another competent team could pick up the application and release a change without calling the original developer. That is the practical test of ownership, and it is worth running before the final invoice is paid.
Our own process ends with a stage we call Steward, which covers the life of the application from design through ongoing maintenance. Stewardship only works when the client can see and hold what was built. For the operational side, see what happens after custom software launches.
If you are planning a build, bring the business problem and any agreement you have been offered. We will walk through how we scope the work, what you would receive at each stage, and the ownership questions to settle with your attorney before anyone starts writing code.
- Signed agreement with the assignment clause and the list of retained and third-party components.
- Full source code with history, in a repository your company controls.
- Documentation for architecture, setup, deployment and known issues.
- Administrator access to every environment and account.
- A recorded walkthrough or session where your team builds and deploys the application themselves.
Questions people ask me
Is custom software automatically a work made for hire?
Not when an outside firm writes it. The Copyright Act treats work by an employee within the scope of employment as made for hire. For commissioned work, the statute lists specific categories that qualify by written agreement, and computer programs are not among them. Ownership by the client normally comes from a signed written assignment. Ask a licensed attorney how this applies to your contract.
What if we never signed a contract with our developer?
Then ownership of the code is uncertain, and the developer may hold the copyright while your company has some right to use the software. This can often be repaired with a written assignment signed now, covering work already done. Speak with a business attorney before raising it, and gather invoices, emails and any statements of work first.
Can the development firm reuse our code for another client?
That depends on the agreement. If the custom code is assigned to you and covered by confidentiality terms, the firm should not reuse it. Firms usually keep the right to reuse their own general tools and know-how. If exclusivity matters, for example because the software encodes a competitive process, have the contract say so explicitly.
Do we need a source code escrow?
Escrow is mainly for situations where you license software and the vendor keeps the source code. A neutral agent holds a copy and releases it if defined events occur, such as the vendor going out of business. If you own the custom code and hold the repository yourself, escrow is usually unnecessary. An attorney can advise on your case.
Does it matter that some of the developers are offshore?
It can. Each person who writes code is an author under copyright law, so the firm you contract with needs written agreements that give it the rights from every employee and contractor, in every country involved. Ask the firm to confirm in the contract that it has those agreements and can assign full ownership of the custom work to you.
Sources
- U.S. Copyright Office: Copyright Law of the United States, section 101 (definitions, work made for hire)
- U.S. Copyright Office: Copyright Law of the United States, sections 201 and 204 (ownership and transfer)
- Aezion: Custom software development and product engineering
- Aezion: Digital engineering services
Keep reading
More from Brandon
- A dedicated offshore team or a fixed software project: which fits the work you have?
- Company data in ChatGPT or a private AI setup: how to decide what goes where
- When a CRM-to-ERP retry creates a second order, what should you fix?
- The demo worked. How do we know the software is ready to launch?
Running a business
- Business Consultant · Armando
- Business Broker · Michael
- Franchise Consultant · Avinash
- Recruiting and Staffing Services · Chase
- Information Technology · Anthony
- Business Phone & Telecom · Beau