Questions Readers Ask: Who Owns the Code After a Custom App Is Built?
Hiring someone to build a custom app does not, by itself, make you the owner of its code. Under U.S. copyright law, an outside developer generally owns what they write unless a written agreement transfers it. The answer depends on more than one clause, though. Genuine ownership also requires usable rights to the app’s components and control of the code and accounts that keep it running.
Why paying for custom software does not automatically make you its owner
Every invoice was paid on time. The app works, the developer has been paid, and the project feels complete. Why would ownership still be in question? Because paying for development and buying the copyright are different transactions. Copyright attaches automatically when code is created and belongs to its author.
Payment alone transfers no intellectual property rights. At most, it may create an implied, non-exclusive license to run the software as delivered. Commissioning a logo without an ownership agreement works the same way, with the designer keeping the rights. The definition of work-made-for-hire in 17 U.S.C. § 101 sets out how commissioned work differs from work done by an employee.
Why the employee/contractor distinction is the fork in the road
For an employee, the starting rule is different. Code written by a salaried W-2 employee within the scope of their job belongs to the employer under the work-made-for-hire doctrine, without a separate written assignment. An outside agency or freelancer is generally on the other side of that divide. Hiring a team to work closely with your staff does not automatically make its members your employees.
The Supreme Court’s Community for Creative Non-Violence v. Reid decision supplies the test for distinguishing the two relationships. Its 12 factors include control over how work is done, who supplies the tools, tax treatment, and the relationship’s duration. No single factor decides the outcome. A long-term, dedicated arrangement can make the question more nuanced, but working style alone does not settle it. For most founders and nonprofit staff hiring an agency, the practical question remains whether the contractor has assigned its rights in writing.
What "work made for hire" language in a contract cannot do for you
The phrase can appear on page 4 of your contract and still fail to protect you. For commissioned work to qualify as work made for hire, it must fit one of the statutory categories. A standalone custom application does not automatically fit those categories simply because the parties call it one. The label cannot rewrite the legal test.
The practical solution uses two layers of protection. Work-for-hire language says what the parties intend, while a separate assignment passes on the rights if that first layer fails. The key wording is “Contractor hereby assigns to Company all right, title, and interest.” agrees to assign” promises a later transfer. Enforcing that promise may require a separate legal action. A funding lawyer or an acquirer’s counsel can flag an apparently reassuring contract on that basis.
What a contract must actually say to give you full ownership
The clause needs present-tense assignment language and a scope that names source code, schemas, infrastructure scripts, documentation, and design files. “Deliverables” alone may leave too much uncertain. The agreement also needs clear milestone-by-milestone transfer terms rather than withholding all IP until every final invoice is paid, plus a power of attorney backstop for future registrations.
No IP clause at all, a promise to transfer everything at the end, or an unexpected “code release fee” signals an unresolved ownership question. A private vendor repository or a primary repository in the vendor’s personal GitHub organization raises a related control problem. If the vendor will not assign rights to certain tools, require an exhibit that names those tools. An unnamed background-IP exception is not a precise boundary around what the client receives.
What ownership actually covers beyond the code file itself
A founder can own the copyright and still be unable to maintain the product because the vendor controls its source code or infrastructure. Meaningful ownership therefore combines a written assignment with the full source code and administrative control of the accounts the app depends on. A login to the running app is not a substitute for code another developer can read and modify.
To make that control concrete, the client should be able to point to Git repository access, cloud provider accounts such as AWS, GCP, or Azure, and domain registrar and DNS access. Payment processor accounts, CI/CD pipelines, monitoring and observability dashboards, and third-party API keys belong in that review too. These should be in accounts the client controls so access does not rely on the vendor’s ongoing help. Daily commits to a client-owned GitHub or GitLab organization put source code in the client’s possession throughout the project, before final handover.
Source code “available on request,” a proprietary platform the client cannot leave, or hosting without a documented transition path can limit practical independence. For a cost-sensitive nonprofit, those limits may prevent switching vendors, self-hosting, or modifying the product without returning to the original team.
How background IP, open-source libraries, and third-party dependencies complicate what you can own
Modern apps use work built for the project along with open-source libraries and tools the vendor already had. A developer’s framework, starter kit, or proprietary UI components may remain the developer’s property. The workable arrangement is a broad, perpetual, irrevocable license for those components within your product, with each retained component identified in the contract exhibit.
Permissive licenses such as MIT and Apache allow use in proprietary software with relatively few obligations. Strong copyleft licenses such as GPL and AGPL can require derivative works to be released under the same terms. LGPL is weaker copyleft, generally limiting its release requirement to the licensed component within the larger program linking to it. AGPL also reaches service deployments, requiring modified source to be available to users when modified AGPL code runs as a service.
These distinctions affect what you can distribute and commercialize. Copyleft non-compliance can bring monetary damages or an injunction halting distribution. To understand the obligations, ask for a full license manifest and the vendor’s process for identifying transitive dependencies, which arrive through other components. A Software Bill of Materials records components, versions, and licenses and should be a contractual deliverable. Federal agency requirements and developing EU mandates also make this inventory more than a courtesy.
The emerging gap: AI-generated code and what standard assignment language misses
AI-assisted development adds a gap that a dependency inventory alone cannot close. Standard assignment clauses refer to “works of authorship” and “inventions,” terms built around human contributions. The U.S. Copyright Office has found that output cannot be copyrighted if a human has not made a meaningful creative contribution to it. For code in that category, an assignment of copyright has nothing to transfer. The parallel concern with “inventions” is whether there is a human inventive contribution for the clause to capture.
Some AI-assisted files can still have the protection supported by the human contribution.
There is also a connection to open-source licensing. Coding assistants trained on repositories containing GPL or AGPL projects can suggest snippets substantially similar to copyleft-licensed source. Using such code can bring licensing risks that manifest-based scanning misses because no dependency was declared. Contracts should therefore cover how AI use is disclosed, how AI-generated portions are documented, and how the vendor represents that the output has been checked for open-source contamination.
What happens when ownership is missing — at funding, acquisition, and in operations
For an early-stage founder, a funding round can expose an ownership gap that was not apparent during use of the app. The product may work perfectly while the contract has only work-for-hire language that fails to transfer rights. Investor diligence then turns an overlooked clause into an unresolved question about the business’s central asset. A working product is not proof of clear title.
For a growth-stage founder preparing an acquisition, the chain of ownership becomes especially important. An agency may have promised to assign everything while using freelancers who never assigned their rights to it. The client’s contract can look complete while the underlying chain has a missing link. An assignment can transfer only rights the vendor holds, so even a document that looks complete needs a closer check.
For a nonprofit or small business, the gap may come to light when a vendor raises prices, changes direction, or closes. A license to use the delivered app may not include the rights to self-host, fork, or modify it. Missing account access can compound those limits.
The vendor's legitimate interest and how good contracts split the difference
A vendor can have good reason to keep ownership of its whole toolkit. Frameworks, component libraries, and deployment patterns may be used in work for many clients. Preventing their reuse can lead a firm to refuse the terms or price the engagement much higher.
The dividing line belongs in the agreement. The client owns the custom work, while a sufficiently broad license to retained tools allows the client to use, modify, host, sublicense, and commercialize the product. A blanket reservation of “all pre-existing IP,” however, leaves the boundary unclear and can reach into work the buyer expected to own.
Some enterprise arrangements deliberately use a vendor-owns-and-licenses-back model. That can be a commercial choice, but it should not be an accidental result of silence. A long-term technical partner has a reason to support clean ownership because the client needs room to grow, change tools, and raise money. Continued engagement can rest on useful work.
A plain-English checklist for anyone about to sign a development contract
Before signing, turn the agreement into a set of yes-or-no questions. Does it say “hereby assigns”? Does the scope expressly include code, schemas, infrastructure scripts, documentation, and design files? Are milestone transfer terms and a power of attorney backstop present? Flag any answer that is unclear so it can be discussed before work starts.
Next, check what remains outside that assignment. Are retained vendor tools named in an exhibit and covered by a broad, perpetual, irrevocable license? Is a Software Bill of Materials required, with no undisclosed copyleft components? Does the vendor represent that its freelancers and subcontractors have signed assignments flowing through to the client? Ask separately whether the vendor says when it uses AI and whether it keeps a record of the generated portions and checks them.
Will the repository receive daily commits under client control, and will hosting, domain, DNS, and third-party service accounts be in the client’s name from day one? On termination for any reason, will the client receive completed and in-progress work, credentials, and transition assistance? Is the exit procedure written down?
A “no” may reveal a standard contract that has not been drafted carefully, and most of these points are negotiable before signing.