Elegant Tech
LinkedInFacebookTwitter
IPContractsFounder Notes

Who Owns the Code When an Agency Builds Your App?

Under US copyright law, the agency or freelancer who writes your code owns it unless a signed written agreement transfers it to you. Paying the invoice is not enough, and calling the job work for hire usually does not cover software built by an outside company. Here is how ownership works in plain English, the 5 clauses to check, and what to put in your own name before the build starts. This is general information, not legal advice.
AT
A.B.S. Tamal, Founder, Elegant Tech
8 min read · Published December 3, 2026
Updated
Who owns the code an agency writes: the agency, the freelancer, or you with a signed written assignment
Who owns the code an agency writes: the agency, the freelancer, or you with a signed written assignment

Why paying for code does not make it yours

Copyright starts with the person who creates the work. The main exception is a work made for hire, where the hiring party is treated as the author. The US Copyright Office explains in Circular 30 that this happens in 2 situations: when an employee creates the work as part of their regular duties, or when a certain type of work is created under an express written agreement with a party that specially ordered or commissioned it.

The catch is the words certain type. A commissioned work only qualifies if it falls into 1 of 9 categories: 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, or an atlas. Custom software from an outside company usually fits none of them, so a work for hire clause on its own may not do what you think it does.

What actually transfers ownership

A written assignment. Under 17 U.S.C. 204(a), a transfer of copyright ownership is not valid unless it is in writing and signed by the owner of the rights being conveyed. That is why careful contracts include both: a work made for hire clause, and a backup clause that assigns everything to you if the work does not qualify.

Owning the copyright is only half of it. You also need control of the places the product lives: the code repository, the hosting account, the domain, the app store listings and every paid service it depends on. A founder who owns the copyright but not the repository still has to ask permission to change their own product.

A note on AI-written code

Most teams now use AI tools while they code. In January 2025 the Copyright Office published Part 2 of its AI report. It concludes that AI outputs can be protected by copyright only where a human author has determined sufficient expressive elements, and that prompts alone are not enough. It also confirms that using AI to assist creation, or including AI material in a larger human-made work, does not bar protection.

The practical point for you: ask the agency how it uses AI tools, and make sure the assignment covers everything it delivers, whatever tools helped produce it.

The 5 clauses to check

ClauseWhat it should sayRed flag
IP assignmentAll code, designs and documents are assigned to you, with a backup assignment if work for hire does not applyNo assignment at all, or only a promise to transfer later
Pre-existing codeLists any code the agency already owned and gives you a permanent license to use it in your productA reusable core that stays theirs with no license terms
Open sourceTells you which open source licenses are inside the productNo list, or licenses that would force you to publish your own code
Accounts and accessRepository, hosting, domain and paid services in your name from the startEverything in the agency's accounts until the very end
HandoverSource code, design files, documentation and credentials delivered at the endHandover means a zip file and nothing else

General information about US law as of December 2026, not legal advice. Have a lawyer in your state read any contract before you sign it.

What we do

We sign an IP assignment agreement before work begins, and an NDA is in place from day 1 on every Full Product Build. On delivery you get the full codebase in your repository with no licensing, every Figma source file and documentation on how to run and extend it. Our pricing page lists everything that is included.

If you are still choosing who to hire, read how to hire a software development company when you are not technical, or check a quote you already have with the free agency quote checker.

Frequently asked questions

Who owns the code when you hire an agency to build an app?

In the US, the author owns the copyright unless a signed written agreement transfers it. With an outside agency, that means you need a written IP assignment. Paying the invoice alone does not transfer ownership.

Is software a work made for hire?

Software your own employees write as part of their job usually is. Software commissioned from an outside company usually is not, because commissioned works only qualify in 9 categories listed in the Copyright Act. That is why contracts add a written assignment as well.

What should I own besides the code?

The repository, hosting account, domain, app store listings, design files, documentation and every paid service the product depends on. Owning the copyright does not help much if the agency controls the accounts.

Does Elegant Tech transfer full IP?

Yes. We sign an IP assignment agreement before work begins, and on delivery the codebase, Figma source files and documentation are yours, with no licensing and no lock-in.

Own every line from day 1.

Book a free 15-minute call. We will walk you through our IP assignment and how the repository and accounts sit in your name.

Let us build your vision.

Book a 15-minute intro call. No pressure, just a fast look at what you want to build.