Origin of the Claim Test: Business, Personal, and Investment Fees

The origin of the claim test is the rule the IRS uses to decide whether your legal fees are a deductible business expense, a nondeductible personal cost, or a capital expenditure that has to be added to an asset’s basis. It looks at what started the dispute, not what was at stake financially and not what you hoped to accomplish by hiring a lawyer. If the claim was born in your trade or business, the fees generally come off your taxes; if it was born in a personal relationship or in the acquisition of an asset, they generally do not.

The test comes from the Supreme Court’s 1963 decision in United States v. Gilmore. A husband going through a divorce argued his legal fees should be deductible because losing the case would have wrecked his business holdings. The Court disagreed and held that “the origin and character of the claim with respect to which an expense was incurred, rather than its potential consequences upon the fortunes of the taxpayer, is the controlling basic test of whether the expense was ‘business’ or ‘personal.'”1Justia. United States v. Gilmore, 372 U.S. 39 (1963) A divorce is personal in origin. It stays personal even when every dollar of business equity is on the line.

How the IRS Identifies the Origin

Identifying the origin is a factual exercise. The IRS looks at the event or relationship that triggered the need for legal help, not the taxpayer’s motive and not the outcome.1Justia. United States v. Gilmore, 372 U.S. 39 (1963) In practice, that means reading the complaint, examining the parties’ relationship at the moment the dispute began, and looking at the underlying transaction.

A breach-of-contract fight between a vendor and a customer originates in the business relationship. A defamation suit between former spouses originates in the personal relationship, even if it damages the plaintiff’s professional reputation. And how the lawyer describes the work on an engagement letter or invoice is not controlling. The IRS has stated that the substance of the transaction determines the origin, not the label the attorney puts on the bill.2Internal Revenue Service. Private Letter Ruling 1045005 Taxpayers sometimes ask their lawyers to frame billing descriptions in favorable terms; that framing does not change the answer.

Business Origin: Deductible Under Section 162

When the claim comes out of your trade or business, the legal fees qualify as ordinary and necessary business expenses under Section 162 and are fully deductible in the year you pay them.3Office of the Law Revision Counsel. 26 U.S. Code 162 – Trade or Business Expenses Typical examples include defending a customer’s product-liability claim, suing a supplier for breach of contract, and responding to a regulatory investigation tied to how the business operates. Self-employed taxpayers claim these fees on Schedule C.4Internal Revenue Service. Instructions for Schedule C (Form 1040) The requirement is a direct connection between the dispute and profit-seeking activity.

Personal Origin: Blocked by Section 262

Section 262 bars deductions for personal, living, or family expenses.5Office of the Law Revision Counsel. 26 U.S. Code 262 – Personal, Living, and Family Expenses Divorce is the textbook example, and the rule holds even when the legal fees run into six figures and the fight centers on dividing a business. Custody battles, personal injury suits you bring as a plaintiff for physical harm, and disputes with neighbors over property boundaries all sit on the same side of the line.

This is where the origin test bites hardest. A business owner in a contentious divorce may feel, with some justification, that the legal fees are protecting a business asset. Gilmore addressed that exact scenario and ruled the fees personal. The test does not care about consequences; it cares about where the claim was born.

Investment and Income-Production Origin: Permanently Shut Off

Before 2018, an individual who paid legal fees related to investment income, income-producing property, or tax advice could deduct those costs under Section 212.6Office of the Law Revision Counsel. 26 U.S. Code 212 – Expenses for Production of Income The deduction went on Schedule A as a miscellaneous itemized deduction subject to a 2-percent-of-AGI floor. The Tax Cuts and Jobs Act suspended all miscellaneous itemized deductions starting in 2018, and that suspension was originally set to expire after 2025.

It no longer will. In July 2025, Section 70110 of Public Law 119–21 struck the sunset date from the statute.7Congress.gov. Public Law 119-21 – Section 70110 Section 67(h) now reads: “no miscellaneous itemized deduction shall be allowed for any taxable year beginning after December 31, 2017,” with no end date.8Office of the Law Revision Counsel. 26 U.S. Code 67 – 2-Percent Floor on Miscellaneous Itemized Deductions

For an individual fighting over investment income, rental-property disputes, or a tax controversy, those legal fees are no longer deductible. Section 212 still sits on the books, but the deduction mechanism for individuals has been removed. Businesses are unaffected. Legal fees with a trade-or-business origin remain deductible under Section 162.

Two Above-the-Line Deductions That Still Work

Two narrow categories of legal fees escape the miscellaneous-deduction shutdown because they are above-the-line deductions under Section 62. They reduce adjusted gross income directly rather than running through Schedule A.

Discrimination Claims

Section 62(a)(20) lets you deduct attorney fees and court costs paid in connection with a claim of unlawful discrimination, including claims under Title VII of the Civil Rights Act, the Americans with Disabilities Act, the Age Discrimination in Employment Act, the Fair Labor Standards Act, the Family and Medical Leave Act, the National Labor Relations Act, and similar federal, state, or local civil-rights laws.9Office of the Law Revision Counsel. 26 U.S. Code 62 – Adjusted Gross Income Defined The deduction is capped at the amount of the judgment or settlement you include in your gross income for the year. Without this rule, a plaintiff who paid 40 percent of a settlement to a contingency-fee lawyer would owe tax on the full settlement amount, including the portion the lawyer kept.

Whistleblower Awards

Section 62(a)(21) provides the same treatment for attorney fees connected to IRS whistleblower awards, SEC whistleblower awards, state false-claims-act recoveries, and Commodity Exchange Act awards.9Office of the Law Revision Counsel. 26 U.S. Code 62 – Adjusted Gross Income Defined The deduction cannot exceed the award amount included in income. Both categories are reported on Schedule 1 (Form 1040) as adjustments to income.

When the Origin Forces Capitalization Instead

Not every business-origin legal fee gets deducted the year you pay it. When the origin of the claim is the acquisition or disposition of a capital asset, the fees have to be capitalized into the asset’s cost basis. Section 263 prohibits current deductions for capital expenditures.10Office of the Law Revision Counsel. 26 U.S. Code 263 – Capital Expenditures

The Supreme Court applied the origin test to this issue in Woodward v. Commissioner (1970). Shareholders who bought out minority stockholders and incurred appraisal-litigation costs to fix the purchase price argued the fees were deductible. The Court held that because the appraisal was a substitute for negotiation, part of the acquisition itself, the fees were capital expenditures. The Court rejected a “primary purpose” test in favor of the simpler origin inquiry.11Justia. Woodward v. Commissioner, 397 U.S. 572 (1970)

For tangible assets, legal fees to defend title during a purchase or resolve a boundary dispute at acquisition increase the property’s basis, and you recover the cost through depreciation or reduced gain at sale. For intangibles, Treasury regulations require capitalization of amounts paid to acquire, create, or enhance an intangible asset, including fees that facilitate the transaction.12eCFR. 26 CFR 1.263(a)-4 – Amounts Paid To Acquire or Create Intangibles Legal fees to obtain a patent, register a trademark, or defend title to an intangible all get capitalized.

The IRS has drawn a line inside this area. Defending your title to a patent is capitalization; litigating whether someone infringed a valid patent you already own is potentially deductible as a business expense. If the claim challenges ownership of the asset, capitalization applies. If the claim is about someone else’s unauthorized use of an asset you clearly own, the origin is your ongoing business operations.13Internal Revenue Service. Legal Advice Issued by Associate Chief Counsel (LAFA) 20131001F

Mixed-Origin Lawsuits and Allocation

Real lawsuits rarely fit one category. A case might combine a business contract dispute with a personal defamation claim, or mix deductible operating issues with capitalizable acquisition questions. When that happens, the fees get allocated among the claims based on each claim’s origin.

The IRS expects specific proof supporting an allocation, ideally detailed billing records that track time spent on each distinct claim. When a taxpayer cannot produce that breakdown, courts have used the Cohan rule to estimate a reasonable split. Relying on estimates is risky, because it hands the IRS and the court discretion to set the number, and their number may be less favorable than what real records would have supported. If you are in litigation with multiple claims, ask your attorney to keep separate time entries for each distinct issue. An engagement letter that lumps everything under a single description is exactly the record that fails this test.

The Harassment-Settlement Override

Section 162(q), added in late 2017, cuts across the whole framework. No deduction is allowed for any settlement payment or related attorney fees connected to sexual harassment or sexual abuse if the settlement includes a nondisclosure agreement.14Office of the Law Revision Counsel. 26 U.S. Code 162 – Trade or Business Expenses – Subsection (q) This applies even when the origin of the claim is clearly business-related, such as an employer resolving a workplace complaint.

The rule only blocks the deduction for the payer. The IRS has clarified that the person receiving a settlement can still deduct their own attorney fees if those fees are otherwise deductible.15Internal Revenue Service. Certain Payments Related to Sexual Harassment and Sexual Abuse The practical consequence for employers is that preserving the deduction and preserving confidentiality are now mutually exclusive.

Applying the Test at a Glance

  • Business contract dispute. Origin is the business relationship. Deductible under Section 162.
  • Divorce, even when a business is at stake. Origin is the marriage. Not deductible under Section 262.
  • Employment discrimination claim brought by an employee. Attorney fees deductible above the line under Section 62(a)(20), capped at the taxable recovery.
  • Investment-related dispute for an individual. Origin is income production. Section 212 still applies in theory, but Section 67(h) permanently blocks the deduction.
  • Lawsuit fixing a property purchase price. Origin is the acquisition. Fees capitalized into basis under Section 263.
  • Patent infringement suit brought by the business owner. Origin is business operations. Deductible under Section 162.
  • Defending ownership of a patent. Origin is title to the asset. Capitalized under Treasury regulations.
  • Harassment settlement that includes an NDA. Deduction blocked by Section 162(q), regardless of business origin.

The rule is simple in theory: identify what started the fight, and the tax treatment follows. The hard cases are the ones that touch more than one category, or the ones where a personal relationship and a business asset are tangled together. Detailed billing records, separate treatment of distinct claims, and a clear read on which deduction categories still exist are what separate getting the tax treatment right from finding out during an audit that you got it wrong.