Are Court Costs Tax Deductible? Business, Personal, and Settlement Rules

Court costs and legal fees are tax deductible when they arise from a business or rental activity, deductible above the line for a narrow set of discrimination and whistleblower claims, and generally not deductible for personal matters. Whether you can write off what you paid your attorney or the court comes down to one question: what was the lawsuit about? Winning or losing doesn’t change the answer. What the dispute arose from does.

The Rule That Decides Everything: Origin of the Claim

The IRS applies what tax professionals call the origin of the claim doctrine. Look at the underlying activity that triggered the dispute, then apply the tax rules for that activity. A breach-of-contract fight between two businesses is a business expense. A custody battle is personal, even if losing it would hurt your earning capacity.

That classification controls which form you use, whether the deduction reduces your adjusted gross income directly or only helps if you itemize, and in several common situations whether any deduction exists at all. Miscategorizing the expense means either leaving a legitimate deduction on the table or claiming one the IRS will disallow on audit.

Legal Fees Tied to a Business or Rental

Legal fees connected to your trade, business, or rental property are deductible as ordinary and necessary expenses. That covers breach-of-contract litigation, collecting unpaid invoices, defending the business against a suit, protecting intellectual property, and landlord-tenant disputes.

Sole proprietors and self-employed taxpayers deduct these costs on Schedule C (Form 1040). Rental property owners deduct property-related legal fees on Schedule E (Form 1040).1Internal Revenue Service. Publication 529 (12/2020), Miscellaneous Deductions Both schedules sit above the line, so you get the benefit whether or not you itemize.

One exception matters. Legal fees paid to buy, sell, or defend title to a business asset are not current expenses. You add them to the asset’s cost basis, which affects your gain or loss when you sell. Attorney fees for closing on a commercial property, for example, get rolled into what you paid for that property.2Internal Revenue Service. Publication 551 (12/2025), Basis of Assets

Personal Legal Fees Are Not Deductible

Legal fees for personal matters cannot be deducted. Divorce, child custody, personal injury defense, estate planning, drafting a will, disputes with neighbors — none of them produce a deduction, because none arise from a profit-seeking activity.1Internal Revenue Service. Publication 529 (12/2020), Miscellaneous Deductions

A partial exception used to exist for the tax-advice portion of divorce fees, where an attorney itemized time spent advising on the tax consequences of property division or alimony. That deduction fell under the miscellaneous itemized deductions that Congress has now permanently eliminated. For 2026 and beyond it no longer applies, unless the tax issue relates to a business reported on Schedule C, E, or F.

Investment and Personal Tax Legal Fees After 2026

This is where the biggest change hit, and where a lot of taxpayers hold outdated assumptions. Before 2018, individuals could deduct legal fees paid to produce investment income or to handle personal tax disputes as miscellaneous itemized deductions on Schedule A, subject to a 2% of AGI floor. The Tax Cuts and Jobs Act suspended those deductions for 2018 through 2025. Many taxpayers expected them to return in 2026. The One Big Beautiful Bill Act made the elimination permanent.

The practical result: paying an attorney to help with a personal tax audit, to recover investment losses, or to advise on tax matters outside a business produces no federal deduction. The IRS has been explicit that legal expenses for producing or collecting taxable income and for the determination, collection, or refund of any tax fall into the miscellaneous category that is no longer deductible.1Internal Revenue Service. Publication 529 (12/2020), Miscellaneous Deductions

The carve-out: if the tax dispute itself relates to income from a business (Schedule C), rental property (Schedule E), or farm (Schedule F), the legal cost still comes off on that schedule as a business expense.1Internal Revenue Service. Publication 529 (12/2020), Miscellaneous Deductions A sole proprietor audited on Schedule C business income, for instance, can deduct the tax attorney’s bill on Schedule C.

Above-the-Line Deductions for Discrimination and Whistleblower Claims

Two statutory exceptions let you deduct attorney fees and court costs as adjustments to income on Schedule 1 (Form 1040). These reduce adjusted gross income directly, so they work whether or not you itemize.

Unlawful Discrimination Claims

Attorney fees and court costs paid in connection with a claim of unlawful discrimination qualify. The statute covers a broad list of federal, state, and local laws, including 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, and any federal or state law enforcing civil rights or regulating the employment relationship.3Office of the Law Revision Counsel. 26 US Code 62 – Adjusted Gross Income Defined Claims against the federal government and certain Social Security Act claims also qualify.1Internal Revenue Service. Publication 529 (12/2020), Miscellaneous Deductions

The deduction is capped at the amount of the settlement or judgment you include in gross income for the year. If you receive a $200,000 fully taxable discrimination settlement and pay $80,000 in attorney fees, you deduct the full $80,000 above the line. If only $100,000 of the settlement is taxable, the deduction is capped at $100,000 no matter how much you paid your attorney.3Office of the Law Revision Counsel. 26 US Code 62 – Adjusted Gross Income Defined

Whistleblower Awards

A parallel above-the-line deduction covers attorney fees paid in connection with an IRS whistleblower award under Section 7623(b), the provision for cases where the disputed tax amount exceeds $2 million. The deduction is capped at the award amount included in gross income for the year. The smaller discretionary awards under Section 7623(a), where the disputed tax is below the $2 million threshold, are not covered.4Internal Revenue Service. Whistleblower Office Memorandum

The Contingency Fee Problem

Anyone pursuing a taxable claim on a contingency arrangement needs to understand a rule the Supreme Court set in Commissioner v. Banks. When a plaintiff receives a taxable recovery, the full amount counts as the plaintiff’s gross income, including the share paid directly to the attorney as a contingency fee.5Legal Information Institute (LII) / Cornell Law School. Commissioner of Internal Revenue v. Banks The Court treated the contingency arrangement as an advance assignment of part of the plaintiff’s future income.

Here’s why it matters. Suppose you win a $500,000 employment discrimination settlement and your attorney takes 40%, or $200,000. You report the full $500,000. If the above-the-line deduction for discrimination claims applies, you deduct the $200,000 and pay tax on $300,000. Fine. But if the claim falls outside the above-the-line categories and the recovery is taxable, you report $500,000 with no way to deduct the $200,000 attorney fee. You pay tax on money you never received.

This is the gap Congress closed for discrimination and whistleblower plaintiffs. If your case sits outside those categories, work through the tax math with an advisor before you settle.

How Settlements Get Reported

Settlement payments trigger specific 1099 reporting that will show up on your tax return whether you plan for it or not. When a defendant or insurance company pays a settlement to your attorney, the payer reports the gross proceeds in Box 10 of Form 1099-MISC. The payer does not separately report what the attorney takes as a fee.6Internal Revenue Service. Instructions for Forms 1099-MISC and 1099-NEC (Rev. April 2025) If any portion is taxable damages paid to you, the payer also issues you a Form 1099-MISC with the taxable amount in Box 3.

The IRS often ends up with two 1099s on the same settlement: one to the attorney for gross proceeds, one to you for the taxable portion. Returns that don’t account for both forms draw IRS notices. Hand every 1099 to your preparer, and make sure the return reflects which portions are excluded under Section 104(a)(2) for physical injury or sickness,7Office of the Law Revision Counsel. 26 USC 104 – Compensation for Injuries or Sickness which portions are taxable, and which attorney fees qualify for an above-the-line deduction.

Fines and Penalties Stay Out

Even when the legal fees in a case are deductible, any fines or penalties paid to a government entity are not. Federal regulations deny deductions for amounts paid to a government in connection with the violation of any law, or an investigation into a potential violation.8eCFR. 26 CFR 1.162-21 – Denial of Deduction for Certain Fines, Penalties, and Other Amounts The attorney’s bill for defending a regulatory enforcement action may be deductible; the penalty the agency imposes is not. Keep those costs on separate lines in your records so the deductible portion isn’t lost in the non-deductible one.