You can claim legal fees on your taxes only if they're directly tied to generating or protecting taxable income, maintaining a business, or managing investments. Personal legal expenses-such as those for divorce, child custody, or estate planning-are not deductible under current IRS rules.
Legal fees fall under the category of miscellaneous itemized deductions. These were largely eliminated for most taxpayers under the Tax Cuts and Jobs Act of 2017, but exceptions exist for fees connected to income-producing activities. The IRS states that deductions are allowed only when the expense is "for the production or collection of income" or "for the management, conservation, or maintenance of property held for the production of income."
For example, if you hire a lawyer to defend a lawsuit over a rental property dispute, those fees may qualify. But if you pay a lawyer to file for divorce or to settle a personal injury claim, those costs are not deductible. The key distinction lies in whether the legal work relates to income-generating activity or personal affairs.
Legal fees are deductible only if they serve a specific purpose tied to taxable income. This includes representation in tax audits, disputes over business contracts, or litigation involving investment portfolios. The IRS requires that the expense be both ordinary and necessary for the taxpayer's trade or business.
For instance, if you run a small consulting firm and pay $3,500 to a lawyer to resolve a breach-of-contract claim from a client, that fee qualifies as a business expense. You report it on Schedule C (Form 1040) as part of your business operating costs. The same applies to legal advice on tax strategy or structuring a partnership.
However, fees for personal matters such as drafting a will, handling a divorce, or contesting a traffic ticket do not meet the IRS criteria. These are considered personal, living, or family expenses and are explicitly excluded from deductions under Internal Revenue Code ยง 265.
The following categories of legal fees may qualify for deduction, based on IRS Publication 525 (Taxable and Nontaxable Income) and guidance from the American Institute of CPAs (AICPA).
| Type of Legal Fee | Deductible? | Example |
|---|---|---|
| Business contract disputes | Yes | Lawsuit over a failed vendor agreement |
| Tax audit defense | Yes | Lawyer hired to represent you during an IRS audit |
| Investment-related litigation | Yes | Legal action against a broker for misrepresenting stock performance |
| Divorce or separation | No | Attorney fees paid to finalize a divorce settlement |
| Estate planning or will creation | No | Legal fees for drafting a last will and proof |
| Personal injury claim | No | Lawyer hired to pursue compensation after a car accident |
A non-obvious rule: even if a legal fee is technically connected to income, it must be substantiated with documentation. The IRS requires receipts, invoices, and a clear link between the service and income generation. Without records, the deduction is disallowed-even if the fee was incurred for a legitimate business purpose.
Many people assume that any legal fee paid during the year can be deducted. This is false. The IRS treats legal expenses differently based on their purpose. A common mistake is claiming fees for personal matters as business expenses simply because the taxpayer owns a side business.
For example, a freelance graphic designer who pays $2,000 to a lawyer to handle a divorce case cannot deduct that amount-even if they filed taxes as a sole proprietor. The IRS considers such payments personal in nature and excludes them under Section 265(a)(1) of the Internal Revenue Code.
Another error involves combining personal and business legal fees on a single invoice. If a lawyer bills $5,000 for services covering both a business lawsuit and a personal custody battle, only the portion attributable to the business case can be deducted. You must allocate the cost based on time spent or other reasonable method.
Consider a scenario: Jane runs a brokerage account and invests in mutual funds. She discovers her fund manager misrepresented risk levels and lost $45,000. She hires a securities attorney to file a claim against the firm. The attorney charges $12,000 in legal fees and wins a $30,000 settlement.
Jane can deduct the $12,000 legal fee as a miscellaneous itemized deduction on Form 1040, Schedule A, provided she itemizes. The settlement itself is taxable income, but the legal fee reduces her net loss. This is allowed because the legal work was directly tied to the recovery of investment income.
However, if Jane had hired the same attorney to negotiate a divorce settlement, the $12,000 would not be deductible. The IRS explicitly excludes personal legal expenses from deductions, regardless of the amount or outcome.
Even if a legal issue affects your finances, the IRS does not allow deductions unless the expense is directly tied to income. For example, if you pay a lawyer to help you appeal a property tax assessment, that fee may be deductible if the property generates rental income. But if the property is your primary residence and you're appealing taxes on it, the fee is not deductible.
Another edge case: legal fees incurred while defending a criminal charge are never deductible. The IRS considers these penalties or fines, which are barred under Section 162(f) of the IRC. Even if the court dismisses the case, the legal costs remain non-deductible.
I once reviewed a tax return where a client claimed $8,000 in legal fees for a custody battle. The client had no business income and did not use the legal work to protect assets tied to earnings. The IRS rejected the deduction during an audit. The client owed additional taxes and penalties.
If you're uncertain whether a legal fee qualifies, consult IRS Publication 525 and speak with a licensed CPA or enrolled agent. Keep detailed records: invoices, engagement letters, and notes on the purpose of the legal work. Document how much time was spent on income-related tasks versus personal ones.
The answer to "can I claim legal fees on my taxes" hinges on purpose, documentation, and IRS classification. Only fees linked to income, business, or investment protection pass muster. All others are personal expenses and cannot be deducted.