Table of Contents >> Show >> Hide
- The Basic Rule for Deducting Attorney Fees
- The Origin-of-the-Claim Test
- When Attorney Fees Are Tax-Deductible
- When Attorney Fees Must Be Capitalized
- Attorney Fees That Are Usually Not Tax-Deductible
- Contingency Fees and Taxable Settlements
- Sexual Harassment Settlements and Nondisclosure Agreements
- How to Document a Legal-Fee Deduction
- Practical Experiences and Lessons From Legal-Fee Tax Reviews
- Conclusion: Are Attorney Fees Tax-Deductible?
Attorney fees have a remarkable talent for creating two unpleasant surprises at once. First comes the legal bill. Then comes the discovery that the IRS may not let you deduct it.
So, are attorney fees tax-deductible? Sometimes. Legal fees connected directly to operating a business, managing rental property, or pursuing certain employment discrimination and whistleblower claims may qualify. Fees for divorce, child custody, personal estate planning, personal criminal defense, and most other private matters generally do not.
The most important question is not simply, “Did I hire an attorney?” It is, “What activity, transaction, property, or claim caused me to hire the attorney?” Tax professionals call this the origin-of-the-claim test. The IRS is interested in the legal problem’s family tree, not the impressive thickness of the lawyer’s invoice.
The Basic Rule for Deducting Attorney Fees
Legal fees generally fall into one of four tax categories:
- Currently deductible: The fee reduces taxable income for the year, usually as a business or rental expense.
- Capitalized: The fee is added to the tax basis of property or another asset and may be recovered through depreciation, amortization, or a future sale.
- Deductible under a special rule: Certain employment, civil rights, discrimination, and whistleblower fees may qualify for an adjustment to income.
- Nondeductible: The fee is treated as a personal expense.
For businesses, the IRS permits deductions for ordinary and necessary legal and professional fees directly related to operating the business. However, legal costs incurred to purchase, create, defend, or improve a long-term asset generally must be capitalized rather than deducted immediately.
The Origin-of-the-Claim Test
The origin-of-the-claim test examines the event or transaction that produced the legal dispute. The possible financial consequences of losing the case are usually less important than the underlying cause of the case.
Suppose a business owner hires a lawyer to defend a breach-of-contract lawsuit filed by a customer. The claim originated in the company’s operations, so the legal fees may be deductible as a business expense.
Now suppose the same business owner hires an attorney during a divorce because ownership of the company may affect the division of marital property. Even though the business is valuable and could be affected by the divorce, the claim originated in the personal marital relationship. The legal fees are generally personal and nondeductible.
This distinction has been central to federal tax cases for decades. Legal expenses with a business or profit-seeking origin may qualify for favorable treatment, while expenses arising from personal relationships or personal conduct generally do not.
When Attorney Fees Are Tax-Deductible
Legal Fees for an Operating Business
A sole proprietor, partnership, corporation, or limited liability company may generally deduct attorney fees that are ordinary, necessary, and directly related to current business operations.
Common examples include legal expenses for:
- Drafting or reviewing ordinary customer and vendor contracts
- Collecting unpaid business invoices
- Handling employee disputes
- Defending routine business lawsuits
- Protecting existing trademarks or other operating rights
- Responding to regulatory matters related to the business
- Obtaining tax advice for business activities
- Resolving an IRS dispute involving business income or deductions
A sole proprietor normally reports qualifying attorney fees on Schedule C. The instructions specifically allow fees charged by attorneys and accountants when the expenses are ordinary, necessary, and directly related to operating the business.
Winning the lawsuit is not usually required. A business may still have a deductible legal expense when it pays a lawyer to defend a legitimate business matter and ultimately loses. The tax deduction is based on the nature of the expense, not the scoreboard outside the courthouse.
Rental Property Legal Fees
Landlords may generally deduct legal fees connected with managing or maintaining an income-producing rental activity. Examples may include:
- Preparing or enforcing leases
- Collecting overdue rent
- Evicting a tenant
- Defending a claim arising from rental operations
- Obtaining tax advice related specifically to the rental property
These expenses are typically reported with the rental activity on Schedule E. However, legal fees paid to acquire rental property, defend title, resolve zoning issues connected with an improvement, or add lasting value to the property are generally capitalized into the property’s basis.
Employment Discrimination and Certain Civil Rights Claims
Federal law provides an important above-the-line deduction for attorney fees and court costs connected with specified unlawful discrimination, employment, civil rights, and government claims.
Covered laws may include certain claims under Title VII, the Fair Labor Standards Act, the Age Discrimination in Employment Act, the Family and Medical Leave Act, the National Labor Relations Act, the Rehabilitation Act, and various federal, state, or local civil rights protections.
The deduction is limited to the amount of the judgment or settlement included in the taxpayer’s gross income for the year. For a 2025 federal return, qualifying fees are reported as an adjustment to income on Schedule 1, line 24h. Taxpayers filing for later years should check the instructions for the applicable year because line numbers can change.
Whistleblower Attorney Fees
Attorney fees connected with certain qualifying whistleblower awards may also be deductible as an adjustment to income. The deduction generally cannot exceed the portion of the whistleblower award included in gross income.
For a 2025 federal return, fees related to an IRS whistleblower award are entered on Schedule 1, line 24i. Other qualifying whistleblower programs may also receive special treatment under Internal Revenue Code Section 62.
Legal Fees Paid by an Estate or Trust
An estate or trust may be able to deduct certain attorney, fiduciary, accounting, and administration expenses when the requirements of Internal Revenue Code Section 67(e) are satisfied.
These rules are different from the rules for an individual paying for a will or personal estate plan. An individual’s personal estate-planning bill is generally nondeductible, while qualifying expenses incurred in administering an estate or trust may be reported on Form 1041.
When Attorney Fees Must Be Capitalized
Some legal fees provide a tax benefit, but not immediately. Instead of being deducted in the current year, they become part of an asset’s tax basis.
Legal fees commonly requiring capitalization include costs related to:
- Purchasing real estate or another business asset
- Defending or perfecting title to property
- Preparing purchase documents for a building or land
- Completing certain mergers, acquisitions, or reorganizations
- Creating or acquiring certain long-term intangible rights
- Improving property or obtaining zoning approval for an improvement
Consider a taxpayer who pays $15,000 in attorney fees to defend ownership of a commercial building. The taxpayer generally cannot deduct the entire $15,000 as a current legal expense. Instead, the amount may increase the building’s basis and be recovered under the tax rules applicable to that property.
The same general principle applies to many residential closing costs. Attorney fees associated with buying a personal home are not usually a current itemized deduction, although certain acquisition-related costs may be included in the home’s basis.
Attorney Fees That Are Usually Not Tax-Deductible
Divorce, Child Custody, and Family Law
Attorney fees for divorce, legal separation, child custody, child support, adoption, or division of marital property are generally personal expenses. That remains true even when the divorce involves a business, investments, or a high-income spouse.
Before 2018, limited portions of some legal and tax-advice expenses could occasionally qualify as miscellaneous itemized deductions. Those miscellaneous deductions were suspended under the Tax Cuts and Jobs Act and were permanently eliminated for tax years beginning in 2026 under subsequent federal legislation.
Personal Estate Planning
Fees for preparing a basic will, revocable living trust, health care directive, or power of attorney are generally personal and nondeductible.
If an attorney provides clearly separated business succession planning or tax work directly connected with an operating business, that portion may receive different treatment. Ask for an itemized invoice instead of one mysterious line reading, “Legal services: $12,000.” The IRS is not known for its appreciation of mystery novels.
Personal Criminal Defense
Legal fees for defending criminal charges arising from personal conduct are generally nondeductible. However, criminal-defense expenses may qualify when the charges originate directly from the taxpayer’s trade or business.
In one leading Supreme Court case, legal fees paid by a securities dealer defending charges arising from his business activities qualified as business expenses. The exception is narrow and highly dependent on the facts. It does not transform every criminal-defense bill into a business write-off simply because the taxpayer happened to have a job.
Personal Injury Claims
Attorney fees for recovering damages from a physical injury are usually not separately deductible. Fortunately, compensatory damages received because of a qualifying personal physical injury or physical sickness are often excluded from federal gross income.
Taxable punitive damages, interest, emotional-distress damages unrelated to physical injury, and other taxable components can create a more difficult result. The allocation of both the settlement and the legal fees becomes extremely important.
Personal Tax Disputes
Legal fees for contesting personal federal income tax, preparing an individual tax return, or obtaining personal investment-tax advice generally are not deductible under current federal law.
Business-related tax advice remains different. A self-employed taxpayer may generally deduct the portion of tax preparation or tax controversy fees attributable to Schedule C. Similarly, fees allocable to rental-property tax matters may be reported with the rental activity.
Contingency Fees and Taxable Settlements
Contingency-fee arrangements deserve special attention because taxpayers can be taxed on money paid directly to their lawyers.
Under the Supreme Court’s decision in Commissioner v. Banks, a plaintiff generally must include the gross taxable recovery in income, including the portion paid to the attorney under a contingency agreement. In other words, receiving a $200,000 taxable settlement and paying $70,000 to a lawyer may still produce $200,000 of gross incomenot merely the $130,000 deposited into the plaintiff’s account.
Whether the plaintiff can offset the $70,000 depends on the type of claim. A qualifying discrimination or civil rights claim may allow an above-the-line deduction. A nonqualifying taxable claim may provide no current federal deduction for the legal fee.
Example: Employment Discrimination Settlement
Maria receives a $200,000 taxable settlement from a qualifying employment discrimination claim. Her attorney keeps $70,000 under a contingency agreement.
Maria may have to report the full $200,000 as gross income, with any wage component handled through payroll reporting. She may then qualify for an adjustment to income for the $70,000 attorney fee, subject to the statutory limits and proper allocation.
Example: Physical Injury and Punitive Damages
Daniel receives $300,000 for physical injuries and $50,000 in punitive damages. His attorney receives 40% of the total award.
The physical-injury damages may be excluded from income, while the punitive damages are generally taxable. The legal fee must be allocated between the different components. The fee associated with the excluded physical-injury recovery generally does not create a deduction, while the fee associated with the taxable punitive damages may also be nondeductible under current miscellaneous-deduction rules.
Sexual Harassment Settlements and Nondisclosure Agreements
Internal Revenue Code Section 162(q) can deny a business deduction to the payer for a sexual harassment or sexual abuse settlementand related attorney feeswhen the settlement is subject to a nondisclosure agreement.
The rule does not automatically prevent the person receiving the settlement from deducting qualifying attorney fees. The IRS has clarified that a recipient is not barred by Section 162(q) from deducting the fees when another provision of the tax law permits the deduction.
How to Document a Legal-Fee Deduction
Good records are essential, particularly when one law firm handles several matters. Keep:
- The engagement agreement
- Detailed invoices describing the services performed
- Proof of payment
- Complaints, settlement agreements, judgments, and court orders
- Documents showing how settlement proceeds were allocated
- Correspondence identifying business and personal portions of the work
- Forms W-2, 1099-MISC, 1099-NEC, or other tax reporting forms
When legal services cover both deductible and nondeductible work, request a reasonable allocation from the attorney. A bill separating $8,000 of business-contract work from $4,000 of personal estate planning is far more useful than a single $12,000 charge labeled “professional services.”
Practical Experiences and Lessons From Legal-Fee Tax Reviews
Real-world legal-fee questions are rarely as tidy as tax examples. The invoice often contains several matters, the settlement agreement may use vague language, and the taxpayer may arrive at tax time carrying a banker’s box full of documents and the optimistic belief that everything is deductible because it was expensive.
One recurring experience involves business owners who mix personal and company legal services. An attorney may review commercial contracts, update an operating agreement, prepare the owner’s will, and advise on a family property transfer during the same month. When the invoice contains only a total, the tax preparer must reconstruct the work from emails and time entries. This is avoidable. Asking for separate invoices or detailed billing categories when the services are performed can save hours later and produce a more defensible deduction.
Another common issue appears in real estate disputes. Taxpayers frequently assume every lawyer fee involving a rental property is immediately deductible. That is not always true. Fees to collect rent or evict a tenant normally relate to current rental operations. Fees to establish ownership, defend title, acquire an adjoining parcel, or obtain approval for a major development may need to be capitalized. The property may be the same, but the tax treatment changes because the legal work serves a different purpose.
Settlement cases create the most dramatic surprises. A plaintiff may focus on the net check and forget that tax reporting can reflect the gross award. Imagine receiving $120,000 after the attorney keeps $80,000 from a $200,000 settlement, only to receive a tax form reporting $200,000. When the claim qualifies for an above-the-line legal-fee deduction, the problem may be manageable. When it does not qualify, the result can be painful. Tax analysis should therefore begin while the settlement language is still being negotiated, not months later when the tax forms arrive.
Allocation language also matters. A lawsuit may include back pay, emotional-distress damages, physical-injury allegations, punitive damages, interest, and attorney-fee awards. Each component can receive different tax treatment. A settlement agreement that simply says “payment in full” leaves the taxpayer with fewer tools to explain the intended allocation. Although the IRS is not required to accept labels that contradict the facts, a carefully drafted agreement based on the actual claims is far better than silence.
A final practical lesson is that deductibility and timing are separate questions. Even when a legal expense is connected with a business, it may create or protect a long-term asset and therefore require capitalization. Taxpayers often hear “business-related” and assume “deductible this year.” The correct answer may instead be, “Yes, the cost has tax value, but you recover it over time.” Tax law occasionally gives with one hand and schedules the delivery for several years later.
The best approach is simple: identify why the attorney was hired, separate each matter, determine whether the origin is business or personal, and then decide whether the cost is currently deductible, specially deductible, capitalized, or disallowed. Doing this before filing is considerably cheaper than explaining a generous deduction during an audit.
Conclusion: Are Attorney Fees Tax-Deductible?
Attorney fees are tax-deductible when a specific provision of federal tax law allows the deduction. The strongest candidates are ordinary legal expenses of an operating business, expenses connected with managing rental property, and fees involving certain unlawful discrimination, civil rights, employment, or whistleblower claims.
Personal legal fees are generally not deductible. Divorce, custody disputes, personal estate planning, personal criminal defense, and many personal lawsuits usually provide no federal deduction. Legal costs related to acquiring or defending ownership of an asset may not disappear entirely, but they normally must be added to the asset’s basis rather than deducted immediately.
Because one legal matter can contain several tax categories, careful allocation and detailed billing are essential. Before claiming a large deductionor signing a settlement involving a contingency feehave a CPA, enrolled agent, or tax attorney review the origin of the claim and the applicable reporting rules.