Legal Fees Capitalized vs. Deductible: The Test and Recovery Rules

Legal fees are capitalized when the work relates to acquiring, creating, or defending a long-term asset, and deductible when the work relates to running a business you already have. That is the whole rule in one sentence, and knowing when legal fees are capitalized vs. deductible comes down to applying it honestly to each matter your attorney handles. The dollar amount on the invoice does not decide it. The label your lawyer uses does not decide it. What the underlying legal work was actually about does.

Get the classification wrong and the IRS can disallow the deduction, add the fees to an asset’s basis instead, and tack on penalties. The stakes are real enough to be worth a careful read of each bill before it hits your return.

The Test That Decides It

Courts and the IRS use the “origin of the claim” doctrine, established by the Supreme Court in United States v. Gilmore (1963) and applied to capital expenditures in Woodward v. Commissioner (1970). You look at the nature of the underlying dispute or transaction that produced the legal fee, not at what might happen to your finances if you win or lose.

A lawsuit large enough to threaten the company is still a deductible expense if the claim grew out of ordinary business activity. A small legal bill tied to property ownership has to be capitalized even if the dollar figure is trivial. The question is always the same: did this legal work serve a long-term asset, or did it serve day-to-day operations? Section 263(a) of the Internal Revenue Code bars deductions for amounts paid for permanent improvements or betterments to property,1Office of the Law Revision Counsel. 26 USC 263 – Capital Expenditures while Section 162 allows a deduction for ordinary and necessary business expenses.2Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses Every fee lands in one bucket or the other.

Legal Fees You Have To Capitalize

Buying a Business or a Major Asset

Legal fees connected to purchasing a business or significant asset must be capitalized 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 This covers due diligence, document drafting, negotiating deal structure, tax structuring advice, appraisals, fairness opinions, and the rest of what goes into investigating and closing a deal. The fees get added to the cost basis of what you acquired.

Timing matters. In a covered acquisition, costs incurred before a letter of intent or similar written agreement is signed are generally treated as investigatory and remain deductible. But certain costs are “inherently facilitative” regardless of timing, including appraisals, structuring work, tax advice on deal structure, and regulatory approvals. An attorney’s bill for structuring the entity that will acquire a target gets capitalized even if the work happened months before anything was signed.

Both sides capitalize. In a merger or acquisition, buyer and target both have to capitalize their own facilitative costs, typically into goodwill or stock basis.

Defending or Perfecting Title to Property

Pay an attorney to resolve a boundary dispute, quiet title, or defend ownership, and the fee becomes a permanent part of the property’s basis. A $10,000 bill to settle a boundary fight is $10,000 added to the land. Because land is not depreciable, you won’t recover that money through annual deductions. It reduces your taxable gain when you sell.

The rule applies even when you were sued rather than suing. The origin of the claim controls, not who filed first.

Patents, Trademarks, and Other IP

Legal fees for obtaining patents, registering trademarks, or defending the validity of existing intellectual property get capitalized into the cost of the intangible asset. A $30,000 patent application does not produce a current-year deduction. Those fees become part of the patent’s basis and come back through amortization.

Starting a New Business

Legal fees for creating a new entity or investigating a potential business fall under the start-up expenditure rules in Section 195.4Office of the Law Revision Counsel. 26 USC 195 – Start-Up Expenditures This includes drafting organizational documents, entity-structure advice, and legal work tied to activities before the business starts operating.

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

Legal Fees You Can Deduct This Year

When legal work relates to the ordinary conduct of a business already in operation, you deduct the fees in the year you pay them. The common thread is that the work keeps the business functioning rather than creating or protecting a long-term asset, and the benefit does not extend substantially beyond the current year.

Fees that typically qualify include:

  • Drafting, reviewing, or negotiating vendor agreements, customer contracts, and service-level agreements.
  • Defending 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 litigation.
  • Drafting employee handbooks, advising on termination procedures, consulting on workplace compliance, and defending employment claims.
  • Advice on environmental rules, securities reporting, consumer protection requirements, or occupational safety standards tied to ongoing operations.

Tax Controversy and Audit Defense

Legal fees for defending an IRS audit or resolving a tax dispute are deductible when the tax issue involves your business. Fees for business tax matters reported on Schedule C, Schedule E, or Schedule F are deducted on that schedule.5Internal 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 TCJA individual provisions are scheduled to sunset after 2025, which could restore the deduction for personal tax-related legal fees beginning in 2026 if Congress does not extend the suspension. Check the current rules for your filing year.

The NDA Trap in Harassment Settlements

Section 162(q), added by the Tax Cuts and Jobs Act, denies the deduction for both the settlement payment and the related attorney fees if a sexual harassment or sexual abuse settlement includes a nondisclosure agreement.6Internal Revenue Service. Certain Payments Related to Sexual Harassment and Sexual Abuse The rule applies regardless of the settlement amount. The IRS has clarified that the restriction applies to the payor; recipients of settlement payments can still deduct their own attorney fees if those fees are otherwise deductible.7Internal Revenue Service. Section 162(q) FAQ

Discrimination and Whistleblower Awards: Deduct Above the Line

If you receive a settlement or judgment in an employment discrimination case, whistleblower action, or certain other civil rights claims, you can deduct attorney fees and court costs above the line under Section 62(a)(20), capped at the amount of the judgment or settlement you include in gross income.8Office of the Law Revision Counsel. 26 USC 62 – Adjusted Gross Income Defined Contingency-fee arrangements often mean the attorney receives a large share of the award while the full award is included in your income. Without this deduction, you would pay tax on money you never saw. The provision covers claims under a broad range of federal statutes including Title VII, the Americans with Disabilities Act, the Age Discrimination in Employment Act, and federal whistleblower protection laws.

When One Invoice Covers Both

Real legal engagements rarely fit neatly into one box. A single attorney may handle both a lease dispute (deductible) and a property acquisition (capitalizable), and the firm sends one invoice. When fees originate from matters with different tax treatment, you have to allocate between the capital and ordinary portions. You cannot expense the whole bill because part of it was operational.

The allocation should track the actual work performed on each matter, not an arbitrary split based on the amounts at stake. If your attorney spent 80% of billable hours on the acquisition and 20% on the lease dispute, allocate the fees that way. Keep detailed billing records that break out time by matter. That one habit does more to protect the deduction than anything else. Vague blended invoices invite the IRS to capitalize the whole amount.

What Happens If the Deal Falls Through

Capitalized legal fees from an abandoned transaction do not simply vanish. Treasury Regulation 1.263(a)-5 requires capitalization regardless of whether the deal closes, but it also provides a path to recover those costs as a loss under Section 165 when the transaction is abandoned.9Office of the Law Revision Counsel. 26 USC 165 – Losses

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

If you were evaluating multiple acquisition targets simultaneously and dropped some in favor of one, the fees allocable to the abandoned targets become Section 165 losses in the year you walked away from each one. Costs tied to purely defensive measures that never result in 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 at all.

Getting Capitalized Fees Back Over Time

Capitalized legal fees come back to you through depreciation, amortization, or basis at sale, depending on what asset they attach to.

Fees capitalized into tangible property are depreciated under MACRS over the recovery period for that asset class.10Internal Revenue Service. Publication 946, How to Depreciate Property Recovery begins when the asset is placed in service, not when you paid the legal bill.

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

Start-up expenditures under Section 195 follow their own schedule: amortization over 180 months beginning in the month the business starts active operations. The length matches Section 197 but operates independently.

Fees that end up in the basis of nondepreciable property, such as land, do not produce annual deductions at all. They reduce your taxable gain when you sell. Buy a building for $500,000, add $15,000 in legal fees to basis, sell for $700,000, and your gain is calculated against the $515,000 adjusted basis, less any depreciation taken, rather than the bare purchase price. The patience of capitalization is the point: no immediate write-off, but every dollar added to basis is a dollar of gain you do not owe tax on at sale.