Whether an attorney fee is tax deductible depends on the purpose of the legal work and IRS classification of the expense. Personal legal fees-like those for divorce, estate planning, or defending against criminal charges-are generally not deductible. However, fees related to business activities, investment management, or tax preparation may qualify under specific conditions.
The IRS treats legal expenses differently based on their function. If the fee supports income-producing activity, it may be deductible as a business expense. For example, hiring a lawyer to draft a contract for a freelance client is deductible. But if the same lawyer handles a personal custody battle, the cost is not.
According to IRS Publication 525, "You cannot deduct legal fees you pay for personal matters such as divorce, adoption, or estate planning." This rule applies even if the legal work results in financial gain. The purpose-not the outcome-determines deductibility.
Legal fees fall into three categories: personal, business-related, and investment-related. Only business and investment-related fees have potential for deduction. Personal fees are explicitly excluded.
Business-related legal fees include contracts, intellectual property filings, employment disputes, and regulatory compliance. These are deductible under IRS Section 162 as ordinary and necessary expenses incurred in carrying on a trade or business.
Investment-related legal fees cover actions taken to manage or protect investment assets. For example, a fee paid to resolve a dispute over rental property management or to challenge a tax assessment on investment income may be deductible. The IRS requires that the expense be directly tied to generating or protecting taxable income.
| Type of Legal Work | Deductible? | IRS Basis |
|---|---|---|
| Divorce proceedings | No | Publication 525, page 12 |
| Contract drafting for freelance consulting | Yes | Section 162, IRS Code |
| Lawsuit over rental property damages | Yes | Publication 525, page 15 |
| Defending against criminal charges | No | Publication 525, page 12 |
Many people assume that any legal fee connected to money is deductible. That's incorrect. The IRS distinguishes between fees that generate income and those that preserve personal wealth. A fee to settle a debt through negotiation may be deductible if it prevents loss of income-generating assets-but not if it resolves a personal loan issue.
A frequent error is claiming deductions for fees paid during a divorce settlement. Even if the legal work involves dividing marital assets, the IRS considers the underlying purpose personal. The Supreme Court clarified this in *Commissioner v. Glenshaw Glass Co.*, 348 U.S. 473 (1955), stating that expenses must serve a business or income-producing goal to qualify.
Another misunderstanding is equating "legal" with "taxable." Just because a service is performed by a licensed attorney doesn't make it deductible. The nature of the work-and its connection to income-matters more than who performs it.
In 2022, a landlord in Denver hired a lawyer to represent them in a lawsuit over tenant damage to a rental unit. The tenant had failed to pay rent and caused $3,800 in repairs. The landlord sued for recovery and paid $2,100 in legal fees.
The court ruled in favor of the landlord, awarding $3,200 in damages. The $2,100 legal fee was deductible because it was directly tied to recovering income from a rental property. The IRS accepted the claim under Section 162, treating the legal action as part of ongoing business operations.
Had the same lawyer handled a custody case for the landlord's child, the fee would not have been deductible-even if the outcome saved money. The IRS makes clear that personal matters do not qualify, regardless of financial impact.
Even when legal work relates to income, certain outcomes disqualify the fee. For example, if a fee is paid to defend against a civil penalty that results in a fine, the cost is not deductible. The IRS treats fines and penalties as non-deductible under Section 162(f).
Fees paid to avoid paying taxes-such as those to contest an audit-are not deductible. The IRS states in Publication 525: "You cannot deduct legal fees you pay to avoid paying taxes." This includes representation during an IRS audit unless the legal work is directly tied to a business or investment activity.
I once reviewed a case where a small business owner claimed $4,200 in legal fees for handling a trademark infringement suit. The business was registered and actively selling goods online. The court upheld the deduction after confirming the legal work supported revenue-generating operations. The same fees, if paid for a personal trademark application, would not have qualified.
Not all attorney fees are tax deductible. The IRS evaluates each expense based on intent and function. If the legal work supports a trade or business, protects income-producing assets, or manages investments, it may qualify. Personal legal matters-including divorce, inheritance disputes, and criminal defense-do not.