Back to Blog

Trust Accounting November 17, 2026 12 min read

Legal Retainer Agreement Template (Free Sample for Law Firms)

Last updated: November 2026

Legal retainer agreement template for law firms

Written by Ramit Kaur · Head of Marketing, LawAccounting

A legal retainer agreement is a written contract between a law firm and a client that sets out the work the firm will do, how fees are charged, how much the client pays up front, and how that money is held and applied. The free retainer agreement template below is written for law firms and covers the clauses that most often cause disputes: the retainer deposit, when fees are earned, replenishment, and refunds.

Most templates online are built for freelancers or for clients hiring a lawyer. This one is built for the firm, including the accounting and trust rules your billing team has to follow once the agreement is signed.

What Is a Legal Retainer Agreement?

A legal retainer agreement, sometimes called an attorney retainer agreement or fee agreement, defines the relationship between a law firm and its client. It states who the client is, what the firm will and won't do, the fee arrangement, the retainer amount, how invoices are paid, and how either side can end the relationship.

The retainer itself is the upfront payment. The agreement is the document that explains what that payment is for and what happens to it. For a full explanation of retainer fees and how they're calculated, see our guide on what a retainer fee is.

Retainer Agreement vs Engagement Letter

A retainer agreement and an engagement letter do the same job, and many firms use the terms interchangeably. The practical difference is form:

  • An engagement letter is usually written as a letter from the firm to the client, describing the scope, fees, and terms, which the client signs to accept.
  • A retainer agreement is usually written as a formal contract with numbered clauses, signed by both sides.

Some states treat them as equivalent for compliance purposes. New York, for example, lets a lawyer meet its written engagement requirement with either a letter of engagement or a signed retainer agreement, as long as it covers the required topics. Whichever format you use, what matters is that it covers scope, fees, expenses, and billing practices clearly.

Is a Written Retainer Agreement Required?

Not always, but it's strongly recommended, and in many situations it's required. Under ABA Model Rule 1.5, the scope of the representation and the basis or rate of the fee must be communicated to the client, preferably in writing, before or soon after the representation starts. A contingent fee agreement must be in writing and signed by the client.

Many states go further:

  • California requires a written fee agreement when the client's total expense, including fees, is expected to exceed $1,000, with some exceptions.
  • New York requires a written letter of engagement or retainer agreement in most matters, with exceptions such as matters where the fee is expected to be under $3,000.
  • Tennessee requires any fee that is nonrefundable in whole or in part to be agreed to in a writing signed by the client.
  • Arizona doesn't allow a fee to be described as "earned upon receipt" or "nonrefundable" unless the client is told in writing that they can still discharge the lawyer and may be entitled to a refund.

Check your state's version of Rule 1.5 and any related statutes before finalizing your template.

What Should a Legal Retainer Agreement Include?

A complete legal retainer agreement should include:

  • Who the client is, and in some matters, who the firm does not represent
  • Scope of representation, including what is excluded
  • Responsible attorney and staffing
  • Fee arrangement, with hourly rates by timekeeper or the flat or contingent fee terms
  • Retainer amount and the type of retainer
  • Where the retainer is held and when it becomes earned
  • How the retainer is applied to invoices
  • Replenishment terms, if the retainer must be topped up
  • Costs and expenses, and who pays them
  • Billing and payment terms
  • Refund of unused funds when the matter ends
  • Fee dispute process, including any required notice of arbitration rights
  • Client responsibilities
  • Termination and withdrawal
  • File retention
  • No guarantee of outcome
  • Signatures and date

The template below covers each of these.

Types of Retainers in a Retainer Agreement

Your agreement should name the type of retainer, since each one is handled differently.

Security Retainer (Advance Fee Deposit)

The most common type. The client pays money in advance, the firm holds it in trust, and fees are paid from it as they're earned and billed. Any unused balance is refunded when the matter ends.

General Retainer (Availability Fee)

A payment to secure the lawyer's availability, separate from fees for actual work. Many states allow it only in limited situations and require it to be explained in writing. It's far less common than a security retainer, and firms should treat it with care.

Evergreen Retainer

A security retainer the client must top back up to a set minimum whenever the balance drops below a threshold. It's common in family law and ongoing litigation. Our guide on how to manage evergreen retainers covers replenishment and trust compliance in detail.

Legal Retainer Agreement Template

Adapt this template to your firm, your practice area, and your state's rules, and have an attorney at your firm review it before use. Replace everything in brackets.

LEGAL SERVICES RETAINER AGREEMENT This Retainer Agreement ("Agreement") is entered into on [date] between [client's full legal name] ("Client") and [law firm name] ("Firm"). 1. Client and Scope of Representation The Firm will represent Client in [describe the matter]. This representation includes [list the work included]. Unless the Firm and Client agree otherwise in writing, it does not include [list exclusions, such as appeals, collection of any judgment, tax advice, or related matters]. [Optional: The Firm does not represent [name any related persons or entities].] 2. Responsible Attorney and Staffing [Attorney name] will be the attorney responsible for this matter. The Firm may assign other attorneys, paralegals, and staff to work on the matter when appropriate, at the rates listed in Section 3. 3. Legal Fees Client will be billed for time spent on the matter at the following hourly rates: Partners: $[rate] Associates: $[rate] Paralegals: $[rate] Time is recorded in increments of one-tenth of an hour. The Firm may adjust its rates [once a year on (date)] by giving Client at least [30] days' written notice. [Flat fee alternative: Client will pay a flat fee of $[amount] for [define the work]. The fee will be earned as follows: [list milestones and amounts].] 4. Retainer Deposit Before work begins, Client will pay an advance retainer of $[amount]. The retainer is a deposit against future fees and costs. It is not an estimate of the total fees for this matter. The Firm will deposit the retainer into its client trust account, where it remains Client's property until earned. Any interest on the trust account will be handled as required by [state]'s trust account rules. 5. How the Retainer Is Applied The Firm will send Client a monthly invoice describing the work performed, who performed it, the time spent, and any costs. Fees and costs shown on each invoice will be paid from the retainer [number] days after the invoice date, unless Client objects in writing before then. If Client disputes any part of an invoice, the disputed amount will stay in trust until the dispute is resolved. 6. Replenishment of the Retainer If the retainer balance falls below $[minimum amount], Client agrees to deposit enough to restore the balance to $[amount] within [number] days of the Firm's written request. [Optional: The Firm may request an additional deposit of $[amount] at least [number] days before trial.] 7. Costs and Expenses Client is responsible for costs related to the matter, including filing fees, court reporter fees, expert fees, and travel. The Firm may pay these costs and bill Client, or ask Client to pay them directly. The Firm will get Client's approval before incurring any single expense over $[amount]. 8. Billing and Payment Terms Amounts not covered by the retainer are due within [number] days of the invoice date. Client may pay by [check, ACH, or credit card]. [Optional, if permitted in your state: Balances unpaid after [number] days will accrue interest at [rate]% per month.] 9. Refund of Unused Funds When the representation ends, the Firm will send a final invoice and refund any unearned balance of the retainer to Client within [number] days. 10. Fee Disputes If Client disagrees with any invoice, Client should notify the Firm in writing within [number] days of receiving it. [Include notice of Client's right to fee arbitration if required in your state.] 11. Client Responsibilities Client agrees to provide complete and accurate information, respond to the Firm's requests promptly, keep the Firm informed of any change in contact information, and pay invoices as agreed. 12. Termination and Withdrawal Client may end this representation at any time by written notice. The Firm may withdraw as permitted by the applicable Rules of Professional Conduct, including if Client fails to pay as agreed after being warned, subject to court approval where required. Client remains responsible for fees and costs incurred before termination. 13. File Retention The Firm will keep Client's file for [number] years after the matter closes. After that, the Firm may destroy the file after giving Client written notice. 14. No Guarantee The Firm cannot guarantee any particular outcome. Any opinions about possible results are not promises. 15. Entire Agreement and Changes This Agreement is the entire agreement between Client and the Firm on this matter. Any change must be in writing and signed by both Client and the Firm. 16. Electronic Signatures This Agreement may be signed electronically, and an electronic signature has the same effect as a handwritten one. SIGNATURES Client: ____________________ Date: __________ Printed name: ____________________ Firm: [Law firm name] By: ____________________ Date: __________ Attorney name and bar number: ____________________ [For contingency fee matters, add a section stating the percentage the Firm will receive at each stage (settlement, trial, appeal), whether costs are deducted before or after the percentage is calculated, and which costs the client pays regardless of outcome. The agreement must be signed by the client.]

How to Handle Retainer Funds Under the Agreement

Signing the agreement is the easy part. Handling the money correctly afterward is where most problems start.

Where Should a Law Firm Deposit a Retainer?

An advance retainer goes into the firm's client trust account, usually an IOLTA account, not the operating account. It stays client money until it's earned. Each state sets its own IOLTA rules, and our guide to IOLTA rules by state covers the requirements in all 50 states.

When Is a Retainer Considered Earned?

A retainer is earned when the firm has done the work and billed it as the agreement describes. Under the ABA Model Rules, fees paid in advance stay in trust and are withdrawn only as they're earned. That's why the template ties withdrawals to invoices and gives the client a set number of days to object before funds move to operating.

What Happens to Unused Retainer Funds?

Unused funds belong to the client and must be returned when the representation ends. The commentary to ABA Model Rule 1.5 makes clear that a lawyer may require advance payment of a fee but must return any unearned portion. Send a final invoice, move only the earned amount, and refund the rest promptly.

How a Retainer Replenishment Clause Works

A replenishment clause sets a minimum balance and a target balance. When billed fees bring the trust balance below the minimum, the client deposits enough to bring it back to the target. Set clear dollar amounts and a deadline, and say what happens if the client doesn't replenish, such as pausing non-urgent work.

Are Nonrefundable Retainers Allowed?

Sometimes, but with limits. Every fee must be reasonable, and many states restrict or closely regulate fees labeled "nonrefundable." Some, like Tennessee and Arizona, require specific written terms. Even where a nonrefundable fee is allowed, a client who discharges the lawyer early may still be entitled to a partial refund if the fee wasn't fully earned. If you use one, put the terms in writing, explain them plainly, and check your state's rule first.

Common Retainer Agreement Mistakes

  • Calling a deposit "nonrefundable" when it's really an advance against hourly fees
  • Putting advance retainers in the operating account instead of trust
  • Moving money from trust before the work is billed
  • Leaving the scope vague, so the client expects work you didn't price in
  • Not updating the agreement when the scope or fee changes significantly
  • Leaving out replenishment terms on long matters
  • Forgetting the fee arbitration notice in states that require it

Managing Retainers in LawAccounting

Once a retainer agreement is signed, your firm has to track every dollar of that deposit until it's earned or refunded. LawAccounting keeps a separate trust ledger for each matter, moves earned fees from trust to operating based on billed invoices, and flags overdrafts and negative balances before they become compliance problems. The client's retainer balance, invoices, and payments sit on one screen, so your billing team can see when a replenishment request is due.

Book a Demo

Frequently Asked Questions

How much should a law firm ask for as a retainer?

There's no standard amount. Many firms base it on the expected fees for the first stage of the matter, such as the first one to three months of work, plus expected costs. Complex or fast-moving matters usually call for a larger retainer.

Can a retainer agreement be signed electronically?

Yes, in most cases. Electronic signatures are generally valid for contracts in the US, and many firms send retainer agreements for e-signature to speed up client intake. Include a clause confirming that electronic signatures are accepted.

Can you change a retainer agreement after the matter starts?

Yes, but changes to the fee or scope should be communicated to the client, and significant changes should be put in writing and signed. Courts may look closely at fee changes made after the attorney-client relationship begins, so explain the reason clearly.

Who should sign a legal retainer agreement?

The client and a representative of the firm, usually the responsible attorney. If the client is a company, the person signing should have authority to bind it. If someone other than the client is paying, the agreement should explain that the firm still represents only the client.

Does a contingency fee agreement have to be in writing?

Yes. Under ABA Model Rule 1.5(c), a contingent fee agreement must be in writing, signed by the client, and must explain how the fee is calculated, including the percentages at each stage and how costs are handled.