Legal Fees Capitalized vs. Deductible: Mixed Bills and Recovery

Deciding when to capitalize legal fees vs. deduct them comes down to a single question: did the legal work relate to acquiring, creating, or defending a long-term asset, or did it relate to running your existing business? If the answer is the first, the fee gets capitalized and added to the asset’s basis. If it’s the second, you deduct the fee in the year you paid it. The dollar amount on the invoice does not matter, and neither does the label your attorney used. What matters is what the underlying matter was about.

The Origin of the Claim Controls the Answer

The rule courts and the IRS apply is called the “origin of the claim” doctrine, established by the Supreme Court in United States v. Gilmore (1963) and extended to capital expenditures in Woodward v. Commissioner (1970). You look at the nature of the dispute or transaction that produced the legal work, not at how much money is at stake or what could happen to your finances.

A lawsuit that could bankrupt your company is still an ordinary deduction if the claim arose from ordinary business activity. A small legal bill tied to property ownership must be capitalized even if the amount is trivial. In Woodward, the Court held that litigation costs to establish the purchase price of stock were part of the acquisition itself, and it rejected any test based on the taxpayer’s purpose or the potential consequences of losing.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses

Legal Fees That Must Be Capitalized

Section 263(a) of the Internal Revenue Code disallows current deductions for amounts paid for permanent improvements, betterments, or anything that increases the value of property.2Office of the Law Revision Counsel. 26 USC 263 – Capital Expenditures Legal fees fall inside that prohibition whenever the attorney’s work helps you acquire or create something with a useful life beyond the current tax year.

Buying a Business or a Major Asset

Fees connected to purchasing a business or a significant asset are “facilitative costs” under Treasury Regulation 1.263(a)-5.3eCFR. 26 CFR 1.263(a)-5 – Amounts Paid or Incurred to Facilitate an Acquisition of a Trade or Business That covers due diligence, document drafting, negotiating deal structure, tax structuring advice, appraisals, fairness opinions, and the rest of the closing work. The fees get added to the cost basis of what you acquired.

Timing matters here. In a covered acquisition, costs incurred before a letter of intent or similar written agreement is signed are generally treated as investigatory, and those are deductible. Certain costs are “inherently facilitative” regardless of when they occur, including appraisals, structuring work, tax advice on deal structure, and securing regulatory approval. An attorney’s bill for structuring the acquiring entity gets capitalized even if the work happened months before anyone signed a deal document.

For mergers and acquisitions, capitalized fees typically fold into goodwill or the stock basis of the acquired company. Both buyer and target must capitalize their own facilitative costs.

Defending or Perfecting Title to Property

Legal costs to defend or establish your ownership of property get added to that property’s cost basis. Pay $10,000 to resolve a boundary dispute with a neighbor, and that $10,000 becomes a permanent part of the land’s basis. Because land is not depreciable, you won’t recover the amount through annual deductions; it only reduces your taxable gain when you eventually sell.

The rule applies even when you did not choose the fight. Being sued does not convert a title dispute into an ordinary expense. The origin of the claim is ownership of a capital asset, so the cost is capital.

Intellectual Property

Fees for obtaining patents, registering trademarks, or defending the validity of existing intellectual property are capitalized into the intangible asset itself. A patent application costing $30,000 in legal work does not produce a current-year deduction. Those fees become part of the patent’s basis and are recovered through amortization, typically 15 years for acquired intangibles under Section 197.4Office of the Law Revision Counsel. 26 USC 197 – Amortization of Goodwill and Certain Other Intangibles

Business Formation and Start-Up Work

Legal fees for creating a new entity or investigating a potential business fall under Section 195 as start-up expenditures.5Office of the Law Revision Counsel. 26 USC 195 – Start-Up Expenditures These include drafting organizational documents, entity-structure advice, and any legal work tied to activities before the business begins active operations.

Section 195 gives a partial break. You can elect to deduct up to $5,000 of start-up costs in the year the business begins operations. The $5,000 allowance drops dollar-for-dollar once total start-up costs exceed $50,000, and it disappears entirely at $55,000. Anything you cannot deduct immediately gets amortized over 180 months starting in the month active operations begin.

Legal Fees You Can Deduct in the Year You Pay Them

When the legal work relates to running an existing business, you deduct the fees currently. Section 162 allows a deduction for all ordinary and necessary business expenses.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses Two conditions have to hold: the business must already be operating, and the legal work must relate to keeping it operating rather than acquiring something new.

Routine Operations and Litigation

Fees that are typically deductible right away include:

  • Drafting, reviewing, or negotiating vendor agreements, customer contracts, and service-level agreements.
  • Defending against breach-of-contract claims, product liability suits, slip-and-fall cases, and similar disputes arising from ordinary operations.
  • Pursuing delinquent customer accounts through attorneys or collection litigation.
  • Employment work: handbooks, termination advice, workplace compliance consulting, and defending employment claims.
  • Regulatory compliance advice on environmental rules, securities reporting, consumer protection, and workplace safety tied to ongoing operations.

None of these activities create or protect a long-term asset. They keep the business functioning day to day, and the benefit does not extend substantially past the current year.

Tax Controversy and Audit Defense

Fees for defending an IRS audit or resolving a tax dispute are deductible when the tax issue involves your business. Fees connected to business tax matters reported on Schedule C, Schedule E, or Schedule F are deducted on that schedule as a business expense.6Internal Revenue Service. Publication 529, Miscellaneous Deductions

Legal fees for personal tax matters were historically miscellaneous itemized deductions subject to a 2%-of-AGI floor. The Tax Cuts and Jobs Act suspended those deductions for tax years 2018 through 2025. Many of the individual TCJA provisions are scheduled to sunset after 2025, which could restore the personal deduction beginning in 2026 if Congress does not extend the suspension. Check the rule that applies to your filing year, because this is in active legislative flux.

Two Boundaries Worth Knowing

Section 162(q), added by the TCJA, denies a deduction for both the settlement payment and the related attorney fees when a business settles a sexual harassment or sexual abuse claim under a nondisclosure agreement.7Internal Revenue Service. Certain Payments Related to Sexual Harassment and Sexual Abuse The restriction applies to the payor. Recipients of the settlement can still deduct their own attorney fees if those fees are otherwise deductible.8Internal Revenue Service. Section 162(q) FAQ

On the other side, if you receive a settlement or judgment in an employment discrimination case, a whistleblower action, or certain civil rights claims, you can deduct attorney fees and court costs above the line under Section 62(a)(20), capped at the amount included in gross income from the award.9Office of the Law Revision Counsel. 26 USC 62 – Adjusted Gross Income Defined Without that above-the-line treatment, a contingency-fee arrangement can leave you paying tax on money the attorney kept. The provision covers claims under a broad range of federal statutes including Title VII, the ADA, the ADEA, and federal whistleblower protection laws.

When One Bill Covers Both

Real engagements rarely stay in one box. A single attorney may handle both a lease dispute (deductible) and a property acquisition (capitalizable), then send one invoice. When fees originate from claims with different tax treatments, you must allocate between the capital and ordinary components. You cannot expense the whole bill because part of it relates to operations.

The allocation should track the actual work performed, not an arbitrary split based on the dollars at stake. If your attorney spent 80% of billable hours on the acquisition and 20% on the lease dispute, split the fees the same way. Keep detailed billing records that break out time by matter. Blended invoices with vague descriptions invite the IRS to capitalize the entire amount.

What Happens When a Deal Falls Through

Capitalized fees on a transaction that later collapses do not disappear. Regulation 1.263(a)-5 still requires capitalization while the deal is live, but it allows you to claim the amount as a loss under Section 165 when the transaction is abandoned.10Office of the Law Revision Counsel. 26 USC 165 – Losses

Say your company spends $250,000 in legal fees pursuing an acquisition and the deal dies. You cannot deduct those fees under Section 162. You claim a Section 165 loss in the year of abandonment. The IRS has taken the position that such losses are capital in nature under Section 1234A, which means they can only offset capital gains plus up to $3,000 of ordinary income per year for individuals. A company that abandons a large deal may carry the loss forward for years without offsetting capital gains.

If you are evaluating several acquisition targets in parallel and drop some in favor of one, the fees allocable to each abandoned target become Section 165 losses in the year you walk away from that target. Costs tied to purely defensive measures that never produce an agreement, such as searching for a competing bidder to fend off a hostile takeover where no deal materializes, may not need to be capitalized in the first place.

How You Get the Capitalized Fees Back

Once fees are capitalized, you recover them through depreciation, amortization, or a reduction in gain at sale.

Fees capitalized into tangible property are recovered under MACRS. Nonresidential real property runs 39 years straight-line.11Internal Revenue Service. Publication 946, How to Depreciate Property Equipment and machinery typically fall into 5- or 7-year classes depending on the asset.12Office of the Law Revision Counsel. 26 USC 168 – Accelerated Cost Recovery System Recovery starts when the asset is placed in service, not when you paid the legal bill.

Fees capitalized into intangibles acquired as part of a business purchase, including goodwill, trademarks, patents, and trade names, are amortized ratably over 15 years beginning in the month the intangible is acquired.4Office of the Law Revision Counsel. 26 USC 197 – Amortization of Goodwill and Certain Other Intangibles Capitalize $50,000 in fees into goodwill and the annual amortization is roughly $3,333. The 15-year period is mandatory, even if the intangible becomes worthless sooner.

Start-up fees under Section 195 have their own schedule: amortization over 180 months beginning in the month active operations begin. The length matches Section 197 but the two regimes are separate.

Capitalized fees added to basis pay off at sale. Buy a building for $500,000, capitalize $15,000 in legal fees into the basis, later sell for $700,000, and the gain is measured against $515,000 adjusted basis less any depreciation taken, not against the bare purchase price. You gave up the current deduction, but every dollar of fees added to basis is a dollar of gain you do not owe tax on later.