Short answer

You should own the code, and in most jurisdictions you only do if the contract says so. Without a written assignment, the company that wrote the code usually keeps the copyright and you have at best an implied licence to use it. Insist on an assignment of intellectual property to your company, triggered by payment, plus your company's name on every account: code repositories, cloud hosting, domains, app stores and payment providers.

Founders assume that paying for software means owning it. In many countries the default is the opposite: the author of the code owns the copyright unless a contract transfers it. A surprising number of startups discover this when they try to raise money, sell the company or change vendors. This post explains what ownership means, what to put in the contract and the accounts that matter as much as the code.

What does owning the code actually mean?

Software is protected by copyright, and copyright belongs to the creator by default. When an agency's employees write your app, the agency owns the copyright in that code unless the agency assigns it to you in writing. Paying the invoice does not, by itself, transfer ownership. It may give you an implied licence to use the software for its intended purpose, which is much weaker: you may not be able to modify it, hire someone else to modify it, or sell it.

Assignment versus licence

AssignmentLicence
Who owns the copyrightYouThe agency
Can you modify it or hire others to?YesOnly if the licence says so
Can you sell it or the company?YesOnly if the licence is transferable
Can the agency reuse it for other clients?Only if you allow itYes
What investors and acquirers want to seeThisA problem to fix before closing

You want an assignment. The wording is usually "assigns to the client all intellectual property rights in the deliverables", with the assignment taking effect on payment for each milestone or, at the latest, on final payment.

What about the parts the agency did not write?

No modern app is written from scratch. It will include three kinds of code that you will not own outright, and that is normal:

  • Open-source libraries. Free to use under their licences. The contract should confirm that only licences compatible with commercial use are included, and the agency should be able to list them.
  • Third-party services. Payment providers, maps, messaging. You use them under their terms, in accounts held in your name.
  • The agency's own tools and components. Many agencies have reusable pieces they bring to every project. The fair arrangement is that they keep ownership of those and grant you a perpetual, royalty-free licence to use them in your product. Make sure the contract names what these are, so that "our proprietary framework" does not turn out to be half the app.

The accounts matter as much as the code

Owning the code on paper is not much use if you cannot get to it. Every one of these should be a company account in your name, created by you or transferred to you at the start, with the agency given access as a collaborator:

  1. Source code repositories. The organisation on the hosting service belongs to you. The agency's developers are members.
  2. Cloud hosting. The account, the billing and the root credentials are yours. The agency has administrative access it can be given and removed.
  3. Domain names. Registered to your company, at a registrar you control.
  4. App store developer accounts. Apple and Google accounts in your company's name. Apps published under the agency's account are difficult and slow to transfer.
  5. Payment providers. Your business, your bank account, your compliance record.
  6. Third-party services. Email, SMS, maps, analytics. Small accounts that become critical.
  7. Design files. The design tool workspace, with the source files, not only exported images.

If an agency resists this, ask why. There is no good reason for a client's production systems to live in a vendor's accounts.

What should the contract say?

  • Assignment of all intellectual property in the deliverables to your company, effective on payment.
  • A list of any agency-owned components, with a perpetual licence to use them.
  • Confirmation that open-source components are commercially compatible and will be listed.
  • Delivery of source code, documentation and design files at each milestone, not only at the end.
  • All accounts in your name, with the agency's access ending on request.
  • A confidentiality clause covering your data and your product.
  • The agency's right, if you agree to it, to mention the project in its portfolio. This is a reasonable ask and can be declined or delayed.

What if you already have a product and did not do this?

It is fixable and it is easier while the relationship is good. Ask the agency for a written assignment of the work done so far, and start transferring accounts. Most agencies will agree, because it is what should have happened anyway. If you are heading into a funding round or a sale, do it before due diligence starts, because it will come up.

How 7L handles ownership

The code and all accounts belong to you from the start. We set up repositories, hosting and store accounts in your company's name, work inside them, and hand over source, documentation and design files at every milestone. When we use our own reusable components, the contract names them and licenses them to you permanently. If another team ever needs to take over, they can. That is how we think a partner should behave, and it is in writing. Ask us for the contract terms before you ask us for a quote.

This post is general guidance, not legal advice. Have a lawyer in your jurisdiction review any development contract before you sign it, and ask specifically about intellectual property assignment.

Frequently asked questions

Does a work-for-hire clause solve this?

In some jurisdictions, particularly the United States, work-for-hire wording can make you the owner of certain work from the start. It does not apply everywhere and it has limits for software. An explicit assignment clause is safer and works alongside it.

Can the agency reuse my code for other clients?

Not if the intellectual property is assigned to you, unless you give permission. Generic components they owned before your project are a separate matter and should be named in the contract.

What if the agency goes out of business?

If you own the code and the accounts, nothing changes except that you need a new team. If the code lives in their accounts, you may lose access. This is the strongest argument for holding the accounts yourself.

Should I get the code delivered during the project or only at the end?

During. Source code, documentation and design files should be delivered or accessible in your repositories at each milestone. Holding everything back until final payment leaves you exposed if the relationship breaks down.

Is it normal for an agency to want portfolio rights?

Yes, and it is reasonable. You can agree to it, delay it until after launch, or decline. It should be a separate clause, not bundled with ownership.