You can write off lawyer fees only if they relate to business, investment, or rental property activities-not personal legal matters. The IRS allows deductions for legal costs incurred to generate, manage, or protect taxable income.
Legal fees are not automatically deductible. The IRS treats them as ordinary and necessary expenses if they serve a clear income-related purpose. For example, hiring a lawyer to draft a lease agreement for a rental property qualifies. But paying for a divorce attorney does not.
The Internal Revenue Code Section 162 governs deductible business expenses. Legal costs must be both reasonable and directly connected to earning income. If the expense is personal, emotional, or unrelated to a profit-making activity, it's not deductible.
Deductible legal fees fall into three categories: business operations, investment management, and rental property maintenance. Each requires a direct link to income generation.
For business owners, legal work related to contracts, intellectual property protection, or resolving disputes with clients counts. A freelance graphic designer who hires a lawyer to enforce a client's payment on a signed contract may deduct those fees.
Investors can deduct legal costs tied to managing investments. This includes fees for reviewing stock transactions, defending against SEC inquiries, or handling brokerage account disputes. However, legal fees for estate planning or trust creation are not deductible unless tied to generating investment income.
| Type of Legal Fee | Deductible? | Example |
|---|---|---|
| Rental property dispute resolution | Yes | Lawsuit to evict a tenant who owes rent |
| Business contract drafting | Yes | Hiring a lawyer to review a vendor agreement |
| Divorce settlement attorney | No | Legal fees for filing for divorce |
| Personal injury claim | No | Lawyer hired after a car accident involving personal injury |
IRS Publication 535 (2023) states that "legal fees are deductible only if they are directly related to producing income." This rule applies to sole proprietors, real estate investors, and independent contractors.
Many people assume all legal fees are deductible because they appear on a bill. That's false. The IRS distinguishes between personal and business expenses based on intent and context.
A frequent error is claiming legal fees for defending a traffic violation or a minor criminal charge. These are personal liabilities, not business expenses. Even if the incident occurred during a work trip, the cost remains non-deductible.
Another misunderstanding involves legal advice. You cannot deduct the cost of consulting a lawyer about personal issues-even if the advice was given while you were at work. The IRS defines "ordinary and necessary" as expenses that are common and helpful in your trade or business. Personal decisions don't meet that standard.
Consider a landlord who owns a duplex in Chicago. One tenant stopped paying rent and refused to vacate. The landlord hired a lawyer to file an eviction lawsuit. The court awarded $3,200 in back rent and $1,800 in legal fees.
Under IRS rules, the $1,800 in legal fees is deductible as a business expense. The landlord reports this on Schedule E (Form 1040), reducing net rental income. The deduction reduces taxable income, lowering the tax bill.
This example shows that the fee must be directly linked to collecting income. If the landlord had hired a lawyer to handle a custody battle, the same amount would not be deductible.
Personal legal matters are explicitly excluded. The IRS does not allow deductions for:
Even if a lawyer is involved in a transaction that later generates income, the initial legal cost is not deductible unless it's part of ongoing business operations.
For example, a real estate agent who buys a home for resale must treat the purchase attorney's fee as part of the cost basis. It's not deductible annually. Instead, it's included in the asset's value and deducted only upon sale.
To claim a deduction, you must keep detailed records. The IRS requires proof of the expense, including invoices, contracts, and correspondence showing the purpose of the legal work.
Use Form 8829 (Expenses for Business Use of Your Home) if the legal work was done from home. Otherwise, report legal fees on Schedule C (Form 1040) for sole proprietors or Schedule E for rental income.
I once reviewed a case where a small business owner claimed $4,500 in legal fees for a trademark dispute. The documentation showed the work was tied to protecting a registered brand used in sales. The IRS accepted the deduction after reviewing the invoice and supporting evidence.
Only legal fees directly tied to generating or protecting income qualify. The IRS evaluates each expense based on its connection to business, investment, or rental activity-not on the existence of a bill.
Always ask: "Does this legal work help me earn or preserve income?" If yes, it may be deductible. If no, it's not.