Before you use any template
This guide explains what a typical app development agreement contains and why each clause matters. It is not legal advice, and contract law differs between the US, UK, Canada, Australia and Nigeria, so have a lawyer review the final document, especially the intellectual property and liability sections.
Most app development deals use two documents. A master services agreement (MSA) sets the legal relationship: ownership, confidentiality, liability, termination. A statement of work (SOW) describes one specific project: features, timeline, price and milestones. Splitting them means you can start a second project later by signing a new SOW without renegotiating the legal terms. For a single small project, a combined agreement is fine.
App development contract template: clause by clause
The outline below follows the order most agreements use. Each clause includes what it should say and the question it answers if something goes wrong.
| Clause | What it should cover | Why it matters |
|---|---|---|
| Parties and definitions | Legal names, addresses, and definitions of terms such as Deliverables, Source Code and Acceptance | Vague definitions are the root of most disputes |
| Scope of work | Platforms (iOS, Android, web), feature list, user roles, integrations, designs, what is out of scope | Prevents arguments about whether a feature was included |
| Timeline and milestones | Phases with target dates and what is delivered at each | Gives both sides checkpoints and a basis for payments |
| Fees and payment terms | Fixed price or rates, deposit, milestone payments, invoice terms, late fees | Cash flow for the developer, leverage and clarity for the client |
| Change requests | How changes are requested, estimated, approved in writing and billed | Stops scope creep from turning into surprise invoices |
| Acceptance testing | Testing window after each delivery, how defects are reported, what counts as acceptance | Defines when work is done and payment is due |
| Intellectual property | Client owns custom code and designs on full payment; developer keeps pre-existing tools; open-source licenses listed | The most important clause for future fundraising or sale |
| Warranty and bug fixes | Period after launch, often 30 to 90 days, in which defects are fixed free | Separates bugs from new features |
| Third-party services and accounts | App store developer accounts, hosting, APIs and who owns and pays for each | Losing access to an account can freeze the app |
| Confidentiality | Mutual protection of business information and user data | Protects your idea and your users |
| Data protection | Responsibilities under GDPR, CCPA, HIPAA or local equivalents if personal data is processed | Regulators look at both parties |
| Liability and indemnity | Caps on liability, exclusions, who covers third-party IP claims | Limits the worst-case outcome |
| Termination | Notice period, payment for work done, handover of code and files on exit | Lets either side leave cleanly |
| Maintenance and support | Whether ongoing support is included or a separate agreement | Apps need OS updates every year |
The scope section deserves the most attention
Most contract disputes are not legal disputes at all. They are disagreements about what was supposed to be built. A scope that says "user login and profile" leaves room for an argument about social login, password reset by SMS, two-factor authentication and profile photos. A strong scope lists each feature with a sentence or two describing behavior, names the user roles, lists every integration (payment gateway, maps, push notifications, analytics), states which platforms and minimum OS versions are supported, and attaches wireframes or designs if they exist.
Equally important is an explicit out of scope list. If the admin dashboard, marketing website or app store screenshots are not included, say so. If you do not have a detailed requirements document yet, write one first: our guide on how to write an app requirements document walks through it. Some teams run a short paid discovery phase to produce this document before signing the main contract, which is often money well spent.
Payment structures and how they shape the contract
A fixed-price contract needs a tight scope and a formal change request process, because the developer carries the risk of overruns. A time-and-materials contract needs rate cards, timesheet reporting and ideally a monthly cap, because the client carries the risk. We compare the two models in detail in fixed price vs hourly development.
Common milestone patterns for a fixed-price app project look like this:
- Deposit: 20 to 40 percent on signing, to reserve the team and start discovery
- Design approval: a payment when screens and user flows are signed off
- Feature-complete build: a payment when the app is delivered for acceptance testing
- Launch: the final payment when the app is live in the stores or accepted, often with a small holdback until the warranty period starts
App-specific clauses people forget
- Developer accounts: the Apple Developer Program and Google Play Console accounts should be in the client's name, with the developer added as a team member. If the developer publishes under its own account, transferring the app later is possible but slow.
- Source code repository: the client should own the repository or receive full access on every milestone, not only at the end.
- Credentials and keys: API keys, signing certificates and keystores must be handed over and documented. Losing an Android signing key used to make updates impossible; it still causes real pain today.
- Open-source licenses: require a list of open-source packages and their licenses, and a commitment not to include code under licenses incompatible with your business model.
- Store rejection: state what happens if Apple or Google rejects the app. Usually the developer fixes technical issues at no cost, while rejections caused by the client's content or business model are billed as changes.
- OS updates: clarify that support for future iOS and Android versions after the warranty is covered by a maintenance agreement, not the original fee.
Red flags in a developer's contract
Be cautious if the developer's contract says they retain ownership of the code and license it to you, unless that is a deliberate choice you understand, such as a white-label product. Watch for acceptance clauses that treat silence as approval after only a few days, no warranty period at all, liability caps lower than the fees paid, or termination terms that let the developer keep the code if a payment is disputed. On the other side, developers rightly push back on unlimited revisions, open-ended warranties and clauses that let the client withhold the final payment indefinitely. A fair contract protects both sides and is short enough that both actually read it.
How we work
- 01
Agree the scope document first
Finish a requirements document or paid discovery output before anyone drafts legal terms, and attach it to the contract as a schedule.
- 02
Start from the developer's MSA or your own
Whoever drafts first sets the tone. Small businesses usually start from the developer's agreement and mark up IP, acceptance and termination.
- 03
Map milestones to payments
Tie every payment to a deliverable you can test, such as approved designs or a TestFlight build, never to a calendar date alone.
- 04
Have a lawyer review the risk clauses
Focus legal review on ownership, liability caps, indemnity and data protection, where the cost of getting it wrong is highest.
- 05
Keep a change log during the project
Record every approved change request with its price and timeline impact, so the contract stays accurate as the app evolves.
Frequently asked questions
Who owns the code in an app development contract?
That depends entirely on the IP clause. The common arrangement is that the client owns all custom code and designs once paid in full, while the developer keeps ownership of pre-existing tools and libraries and grants the client a license to use them.
Should I use a fixed-price or hourly app development contract?
Fixed price suits projects with a clear, written scope and gives you budget certainty. Hourly suits exploratory work where requirements will change, but you should add a monthly cap and regular reporting.
How long should the warranty period be?
30 to 90 days after launch is typical. During this period the developer fixes defects against the agreed scope at no charge; new features and changes are billed separately.
Do I need an NDA before sharing my app idea?
Reputable developers will sign a reasonable mutual NDA, and it is sensible if you are sharing confidential business details. In practice, ideas are rarely stolen; execution is what matters, so do not let NDA negotiations delay a good partnership.
What should happen to the code if the contract is terminated?
The contract should require the developer to hand over all code, designs, credentials and documentation for work that has been paid for, within a set number of days, so another team can continue.
Related
- App DevelopmentLearn more →
- How to Write an App Requirements Document That Gets Accurate QuotesLearn more →
- Fixed Price vs Hourly Development: Which Pricing Model Protects You?Learn more →
- How to Hire an App Developer (and When to Choose a Company)Learn more →
- How Much Does It Cost to Build an App? Price Tiers, Examples and Hidden CostsLearn more →