Can I Deduct Attorney Fees on My Tax Return? Business vs. Personal

You can deduct attorney fees on your taxes when the legal work was for your business, or when it was for a discrimination case, a whistleblower claim, or certain other civil rights actions. Fees for personal matters, investment disputes, estate planning, and most individual tax fights are not deductible, and a change Congress made permanent in 2025 means they won’t be coming back.

Business Legal Fees Are the Main Deductible Category

If you run a business as a sole proprietor, legal fees connected to that business are deductible as ordinary and necessary expenses. That covers a wide range of work: drafting or reviewing contracts, resolving disputes with customers or vendors, handling employment issues, collecting unpaid invoices, negotiating leases, and defending lawsuits that arise from your business activities.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses

Sole proprietors report these fees on Schedule C (Form 1040), Line 17, the line designated for legal and professional services. The IRS instructions for that line also let you include fees for tax advice and tax return preparation connected to the business, as well as costs of resolving tax disputes about your business income.2Internal Revenue Service. Instructions for Schedule C (Form 1040)

Partnerships, S corporations, and C corporations deduct business legal fees on their own entity returns rather than Schedule C, but the underlying rule is the same: the expense has to be ordinary and necessary for the business.

What matters is a direct connection between the legal work and the business. If a single engagement covers both business and personal matters, only the business portion is deductible. Ask your lawyer for an itemized bill that separates the two.

Discrimination and Whistleblower Fees Come Off the Top

You don’t need a business to deduct every kind of attorney fee. If you pay legal fees to pursue a discrimination claim, a civil rights action, or certain other employment-related claims, the fees come out as an adjustment to income on Schedule 1 (Line 24h). That’s an above-the-line deduction, so you get it whether or not you itemize.3Internal Revenue Service. 2025 Schedule 1 (Form 1040)

The qualifying claims span a broad set of federal protections:

  • Employment discrimination claims under Title VII, the ADA, the Age Discrimination in Employment Act, and the Fair Housing Act
  • Wage and labor claims under the Fair Labor Standards Act, the National Labor Relations Act, and the Family and Medical Leave Act
  • Federal whistleblower protection claims and retaliation claims under state or federal law
  • Civil rights actions under 42 U.S.C. §§ 1981, 1983, or 1985, and claims under any other federal, state, or local law enforcing civil rights or regulating the employment relationship

The deduction can’t exceed the amount of the judgment or settlement you include in income that year. If you win a $200,000 discrimination judgment and pay $80,000 in attorney fees, you report the full $200,000 as income and deduct the $80,000 on Schedule 1, so you’re taxed on the $120,000 you kept.4Office of the Law Revision Counsel. 26 US Code 62 – Adjusted Gross Income Defined

A parallel rule covers IRS and SEC whistleblower awards. Attorney fees for obtaining a whistleblower award for reporting tax fraud to the IRS or securities violations to the SEC are deductible above the line on Schedule 1 (Line 24i), capped at the award amount included in your income.4Office of the Law Revision Counsel. 26 US Code 62 – Adjusted Gross Income Defined

Personal and Investment Legal Fees Are Not Deductible

Legal fees for personal, living, or family matters are not deductible. That means legal costs for divorce proceedings, child custody disputes, personal injury lawsuits, estate planning, drafting a will, real estate closings on your home, and immigration matters all produce no tax benefit.5Internal Revenue Service. Publication 529, Miscellaneous Deductions

Before 2018, individuals could deduct some other legal fees as miscellaneous itemized deductions on Schedule A, subject to a 2% of AGI floor. That category covered legal costs for managing investments, collecting rental income outside of a trade or business, fighting over alimony, and handling personal tax disputes. The Tax Cuts and Jobs Act suspended those deductions through 2025, and many taxpayers expected them back in 2026. They aren’t. Legislation enacted in 2025 removed the expiration date and made the suspension permanent.6Office of the Law Revision Counsel. 26 US Code 67 – 2-Percent Floor on Miscellaneous Itemized Deductions

The practical result for 2026 and beyond:

  • Investment-related legal fees — disputes over brokerage accounts, partnership interests, or investment fraud — produce no deduction for individual investors.
  • Legal fees for a personal tax dispute with the IRS (as opposed to a tax issue tied to business, rental, or farm income) are nondeductible.5Internal Revenue Service. Publication 529, Miscellaneous Deductions
  • Legal costs a beneficiary pays in a dispute over estate distributions are nondeductible.

One carve-out survives: legal fees for tax issues tied to business income on Schedule C, rental income on Schedule E, or farm income on Schedule F are still deductible on those schedules. The suspension hit miscellaneous itemized deductions only, not business-related legal costs.5Internal Revenue Service. Publication 529, Miscellaneous Deductions

Separately, you can’t deduct amounts paid to a government for violating any law, and that bar extends to settlement payments resolving potential liability for fines or penalties. Limited exceptions exist for amounts specifically identified in the settlement as restitution or as the cost of coming into compliance, but reimbursements for the government’s investigation or litigation costs are never deductible.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses

Criminal Defense Fees Can Be Deductible

The blanket claim that criminal defense fees are never deductible is wrong. The IRS allows a deduction for legal expenses defending criminal charges that arise out of your trade or business. A business owner facing charges tied to business conduct, such as regulatory violations, tax fraud allegations connected to the business, or industry-specific criminal statutes, can deduct the defense costs as business expenses.5Internal Revenue Service. Publication 529, Miscellaneous Deductions

Criminal charges rooted in personal conduct remain nondeductible. The dividing line is where the charges came from, not how the case ends. A DUI defense is personal. A defense against charges of fraudulent business billing practices is business-related and deductible.

Some Legal Fees Have to Be Capitalized Instead

Not every business-related legal fee gets deducted the year you pay it. Some must be capitalized, meaning they get added to the cost basis of an asset rather than written off currently. Capitalized costs reduce your taxable gain when you eventually sell the asset, but you don’t get an immediate deduction.

Legal fees that defend or perfect your title to property must be capitalized. If you hire a lawyer to fight a boundary dispute over rental property, clear a lien, or resolve a title defect, those costs increase your basis in the property.7Internal Revenue Service. Publication 551, Basis of Assets

Legal costs for acquiring assets get the same treatment. Fees for negotiating a purchase agreement, conducting due diligence on an acquisition, or drafting transfer documents are added to the asset’s cost basis. Legal work connected to increasing a property’s value or extending its useful life is also capitalized and recovered through depreciation.5Internal Revenue Service. Publication 529, Miscellaneous Deductions

Startup Legal Fees Follow Their Own Rule

Legal fees you incur before your business actually begins operating get special treatment. You can deduct up to $5,000 of startup expenditures (which include legal fees for forming your business, drafting initial contracts, and reviewing leases) in the year the business launches. The $5,000 allowance phases out dollar-for-dollar once total startup costs exceed $50,000.8Office of the Law Revision Counsel. 26 US Code 195 – Start-up Expenditures

Anything above the current-year allowance has to be spread over 180 months starting with the month the business opens. The election to deduct startup costs is generally made on the first return you file for the business.

Settlements, Contingency Fees, and a Tax Trap

How a settlement is taxed drives whether the related legal fees are deductible.

Damages received for personal physical injuries or physical sickness are excluded from gross income entirely. The exclusion covers compensatory damages, including lost wages, as long as they stem from a physical injury or illness. Emotional distress damages don’t qualify unless they reimburse actual medical expenses.9Office of the Law Revision Counsel. 26 USC 104 – Compensation for Injuries or Sickness Because the settlement is tax-free, the legal fees aren’t deductible — there’s no income to offset.

For taxable settlements involving employment disputes, breach of contract, or business torts, the full settlement is income. Business claims produce deductible legal fees. Discrimination and whistleblower claims qualify for the above-the-line deduction. Other taxable settlements that don’t fit a business or statutory category now produce no deduction at all, because they used to ride on the miscellaneous itemized deduction category that is gone.

Punitive damages are always taxable, no matter the underlying claim. Even in a personal injury case where the compensatory damages are tax-free, any punitive award is fully taxable.10Internal Revenue Service. Tax Implications of Settlements and Judgments

The Contingency Fee Problem

If your lawyer takes a percentage of your recovery, you still owe tax on the full settlement, including the portion the lawyer keeps. In 2005 the Supreme Court held that a contingency fee is an anticipatory assignment of income: the client owns the claim, and the lawyer is acting as the client’s agent, so the full recovery is the client’s income first.11Cornell Law School. Commissioner of Internal Revenue v. Banks

That creates a harsh outcome when the legal fees aren’t deductible. Settle a non-physical-injury personal claim for $500,000 with a $200,000 contingency fee, and you report $500,000 in income without a deduction for the $200,000 the lawyer took. You’re taxed on money you never touched. The above-the-line deduction for discrimination and whistleblower claims was created to fix this problem for those case types; it doesn’t help with others.

How Mixed Fees Get Classified: The Origin of the Claim Test

When legal fees don’t fall neatly into one category, the IRS and courts classify them using the origin of the claim test. The test looks at the transaction or activity that produced the legal issue, not the consequences of the lawsuit.

A business owner going through a divorce may hire a lawyer who ends up fighting to protect business assets. The fees might feel business-related because the business is on the line, but the claim originated in the divorce, which is personal. The fees are nondeductible.

The same logic drives capitalization questions. Legal fees for a lawsuit that started because someone challenged your ownership of rental property get added to the property’s basis, even if the fight also cost you rental income. The origin is the title dispute, so the fees follow the property.

When one engagement produces work with multiple origins, the fees have to be allocated based on the specific tasks performed. Itemized billing matters here. A detailed invoice that breaks out hours by task lets you assign each portion to the correct tax treatment. A lump-sum bill leaves you guessing, and the IRS will default to nondeductible if you can’t show the allocation.

Records to Keep

The IRS won’t take your word that a legal fee was business-related. You need documentation that connects each payment to a deductible activity, and the time to build the paper trail is while the work is happening.

For every legal engagement you plan to deduct, hold on to:

  • The engagement letter describing the scope of work and the business purpose
  • Itemized invoices that break out time by task, so you can separate deductible work from personal or capital items
  • Payment records: canceled checks, credit card statements, or wire transfer confirmations
  • Correspondence that demonstrates the business connection when the invoice alone doesn’t make it obvious

For mixed-purpose work, ask your attorney at the start of the engagement to track time separately for business, personal, and capital matters. Most firms can do this with a matter code in their billing software, and the IRS is far more likely to accept an allocation documented in real time than one you reconstruct on your return.

Keep legal fee documentation for at least three years after you file the return claiming the deduction. If the deduction is large relative to your income, keep it for six years, because the IRS has an extended statute of limitations when unreported income exceeds 25% of what was reported.