What Are Legal Fees in Accounting?
Legal fees are amounts paid to attorneys, law firms, or in-house counsel for professional services such as contract drafting, litigation defense, regulatory compliance, and corporate structuring. In accounting, the treatment of legal fees depends on what the fees relate to — routine operations, capital transactions, or contingent losses — and each category has a different journal entry.
Understanding the correct classification is essential because misclassifying a capitalized legal fee as an operating expense (or vice versa) can materially distort both net income and total assets.
Quick Answer
For routine legal fees, debit Legal Expense and credit Cash or Accounts Payable. For legal fees related to acquiring or defending an intangible asset, debit the asset account (not expense). For litigation retainers, debit Prepaid Legal initially, then expense as services are rendered. For probable losses, debit Legal Expense and credit Contingent Liability.
Routine Legal Fees (Operating Expenses)
Most day-to-day legal costs — general counsel retainers, employment law advice, routine contract reviews — are operating expenses recognized in the period incurred.
When Billed and Paid Simultaneously
Dr. Legal Expense $4,500
Cr. Cash $4,500
When Billed but Not Yet Paid (Accrual)
Dr. Legal Expense $4,500
Cr. Accounts Payable $4,500
Upon payment, debit Accounts Payable and credit Cash. This two-step process is standard for accrual-basis reporting. For a detailed walkthrough, see our guide on journal entries for accounts payable.
Capitalized Legal Fees
Under both US GAAP and IFRS, legal fees that are directly attributable to the acquisition, development, or defense of an intangible asset must be capitalized as part of that asset's cost. Common scenarios include:
- Legal fees for patent application and prosecution
- Legal fees to successfully defend a trademark
- Legal fees tied to a business acquisition (as part of purchase price allocation)
Capitalizing Legal Fees for a Patent
Dr. Patents (Intangible Asset) $15,000
Cr. Cash $15,000
The capitalized amount is then amortized over the patent's useful life. If the legal defense is unsuccessful and the patent is invalidated, you must expense the previously capitalized legal costs and the remaining patent book value as an impairment loss.
Legal Fees in a Business Acquisition
Under ASC 805 and IFRS 3, legal fees related to an acquisition are generally expensed as incurred (they are acquisition-related costs, not part of the purchase price). The only exception is legal fees directly tied to issuing equity or debt as part of the transaction, which are treated as a reduction of the proceeds.
Dr. Legal Expense (Acquisition Costs) $25,000
Cr. Cash $25,000
Legal Retainer Payments (Prepaid)
Many businesses pay a retainer to their law firm at the start of an engagement. The retainer is a prepaid expense until the firm bills against it.
Paying the Retainer
Dr. Prepaid Legal Fees $10,000
Cr. Cash $10,000
Recognizing Expense as Services Are Rendered
Dr. Legal Expense $2,500
Cr. Prepaid Legal Fees $2,500
This is the same pattern used for other prepayments. See our guide on journal entries for prepaid expenses for more examples of this mechanism.
Legal Contingencies and Accruals
When a company faces a lawsuit and determines that a loss is probable and reasonably estimable, it must accrue a liability under ASC 450 (GAAP) or IAS 37 (IFRS).
Accruing a Probable Legal Loss
Dr. Legal Expense (Contingency) $50,000
Cr. Contingent Liability $50,000
When the Lawsuit Settles
Dr. Contingent Liability $50,000
Cr. Cash $50,000
If the settlement differs from the accrued amount, you record the difference as a gain or loss in the settlement period. If the outcome is only reasonably possible or remote, no accrual is required — only a footnote disclosure under GAAP.
Summary of Legal Fee Treatments
| Scenario | Debit | Credit |
|---|---|---|
| Routine legal fees (paid) | Legal Expense | Cash |
| Routine legal fees (accrued) | Legal Expense | Accounts Payable |
| Patent/trademark legal fees | Intangible Asset | Cash |
| Retainer payment | Prepaid Legal Fees | Cash |
| Retainer consumed | Legal Expense | Prepaid Legal Fees |
| Probable legal loss | Legal Expense | Contingent Liability |
| Settlement of accrued loss | Contingent Liability | Cash |
Common Mistakes to Avoid
- Expensing capitalizable legal fees: Legal costs that successfully defend or develop an intangible asset should be capitalized, not run through the P&L immediately.
- Capitalizing acquisition legal fees: Under current standards, most M&A legal fees are expensed, not added to the purchase price.
- Leaving retainers in prepaid indefinitely: As the law firm performs work, the prepaid must be reclassified to expense.
- Ignoring contingent liability disclosure: Even if a loss is not probable, reasonably possible contingencies require footnote disclosure.
Related Reading
For more on related topics, see our guides on journal entries for professional fees, journal entries for accounts receivable, and accrued expenses journal entries. You can also learn about journal entries for insurance premiums for another common prepaid expense example.