Here’s the honest truth: dealing with legal issues is already stressful and expensive. Then you get hit with the question, “Can I at least write this off?” The answer isn’t a simple yes or no—and that’s where most people get confused (and leave money on the table).
The reality is that some legal fees are tax deductible, and some absolutely aren’t. The IRS has specific rules about which legal expenses qualify, and the difference between a deductible fee and a non-deductible one can literally save you thousands. Whether you’re a small business owner, a freelancer, or someone dealing with personal legal matters, understanding whether are legal fees tax deductible could mean the difference between a significant tax break and paying full freight on expenses you thought were covered.
In this guide, we’ll walk through exactly which legal fees the IRS lets you deduct, which ones they don’t, and how to document everything so you’re never caught off guard during an audit.
The Basic Rule: When Legal Fees Are Deductible
Think of the IRS’s stance on legal fees like this: they’ll let you deduct legal costs that are ordinary and necessary for your business or income-producing activities. The keyword here is business or income-producing. If the legal work helps you earn money or protect an asset that generates income, you’re likely in the clear. If it’s purely personal, you’re not.
According to IRS Publication 535 (Business Expenses), legal and professional fees are deductible if they’re incurred in connection with your trade or business. The IRS doesn’t care if you paid $500 or $50,000—what matters is whether the expense is directly tied to generating income.
Here’s the nuance: some legal fees are partially deductible. For example, if you hire a lawyer for a matter that involves both business and personal elements, you can only deduct the business portion. This is where things get messy, and it’s also where many people overstep and invite IRS scrutiny.
Pro Tip: Keep a separate invoice or billing statement from your attorney that clearly itemizes which hours or services relate to business versus personal matters. Attorneys understand this distinction—ask them to break it down for you.
Business Legal Fees vs. Personal Legal Fees
The line between business and personal legal fees is where most deduction confusion lives. Let’s be crystal clear about the difference.
Business legal fees are deductible. These include:
- Fees for forming your LLC, S-Corp, or partnership
- Contract review and negotiation with clients or vendors
- Trademark and patent registration (though some of these have special capitalization rules)
- Employment law advice (hiring, firing, discrimination issues)
- Commercial litigation (suing a customer or defending against a business lawsuit)
- Tax advice related to your business structure or operations
Personal legal fees are not deductible. These include:
- Divorce proceedings (with one major exception we’ll cover)
- Child custody disputes
- DUI or criminal defense
- Personal injury lawsuits
- Wills and estate planning (mostly—see the nuance below)
- Real estate purchases for your primary home
Here’s where it gets interesting: estate planning fees can sometimes be partially deductible if the work involves tax advice. If your attorney spends time advising you on tax minimization strategies for your estate, that portion might be deductible as a miscellaneous itemized deduction (though this is subject to limitations). The key is getting your attorney to itemize their time separately.
Specific Legal Expenses You Can Deduct
Let’s get specific about which legal fees the IRS definitely allows you to deduct. This is your “yes” list.
1. Business Formation and Maintenance
If you’re starting a business, the legal fees to form your entity (LLC, C-Corp, S-Corp, partnership) are deductible. This includes filing articles of incorporation, operating agreements, and ongoing compliance work. However—and this is critical—capitalization rules apply to some startup costs. Fees to organize your business before it starts generating revenue might need to be capitalized and amortized over 15 years rather than deducted immediately. Chat with a CPA about this one; it’s not as straightforward as it sounds.
2. Contract and Vendor Disputes
Legal fees to negotiate, draft, or enforce business contracts are fully deductible. If you’re suing a vendor for breach of contract or defending yourself against a client lawsuit, those fees count. This is one of the cleanest deductions available.
3. Intellectual Property Protection
Trademark registration, patent filing, and copyright defense are deductible. However—and here’s the catch—the actual registration fees (the government filing fees) might need to be capitalized as an intangible asset rather than expensed immediately. The attorney’s time to prepare and file? That’s typically deductible. The filing fee itself? That might be amortized. Again, work with a CPA on this.
4. Employment Law
If you’re a business owner dealing with employee issues—wrongful termination claims, discrimination complaints, wage disputes—those legal fees are deductible. This includes the cost of having an employment attorney review your employee handbook or advise on compliance with labor laws.
5. Tax-Related Legal Advice
Legal fees for tax advice tied to your business are deductible. This might include help understanding tax implications of a business merger, advice on entity structure, or representation in a tax dispute. The key is that the advice must be tax-related and business-related.
Warning: If you’re paying an attorney for tax advice on personal matters (like how to minimize taxes on your investments), that’s generally not deductible. It’s considered a personal expense, not a business expense.
6. Collections and Debt Recovery
If you’re a business and you hire an attorney to collect a debt from a customer, those legal fees are deductible. This is straightforward—you’re protecting your business income.
Legal Fees You Cannot Deduct (The Gotchas)

Now let’s talk about the fees that will absolutely not fly with the IRS. Understanding these gotchas will save you from making expensive mistakes.
Divorce and Family Law
Here’s the painful reality: divorce legal fees are almost never deductible. The IRS considers divorce a personal matter, not a business expense. However—and this is the one exception—if your divorce involves tax advice (like dividing retirement accounts or understanding tax consequences of the settlement), the portion of the fee attributable to tax advice might be deductible. But you’ll need your attorney to itemize this separately, and even then, it’s subject to limitations as a miscellaneous itemized deduction.
Most people don’t bother claiming this because it’s too small or too complicated. If your divorce is complicated and involves significant tax planning, it’s worth asking your attorney to break out the tax-related fees.
Criminal Defense
If you’re facing criminal charges, your legal defense fees are not deductible. Period. This applies to DUI, fraud, embezzlement, or any other criminal matter. The IRS views this as a personal legal matter, not a business expense.
Personal Injury and Lawsuits
If you’re suing someone for personal injury—a car accident, medical malpractice, slip-and-fall—those legal fees are not deductible. Even if you win and receive a settlement, the fees you paid to get that settlement cannot be deducted.
Real Estate Purchases
Legal fees for buying or selling real estate (your home, rental property, commercial space) cannot be deducted as a legal expense. However—and this is important—they might be capitalized into the cost basis of the property, which means they reduce your gain when you eventually sell. This is different from a deduction, but it’s still a tax benefit.
Wills, Trusts, and Estate Planning
Estate planning fees are generally not deductible. The IRS considers these personal expenses. The only exception is the tax advice portion, which we mentioned earlier, and that’s limited and complicated.
Parking Tickets, Traffic Violations, and Fines
If you hire a lawyer to fight a parking ticket or traffic violation, those fees are not deductible. Neither are the fines themselves. The IRS doesn’t allow deductions for penalties.
How to Document and Claim Legal Fees
Here’s where most people fail: they have deductible legal fees but can’t prove it to the IRS. Documentation is everything.
Step 1: Get Detailed Invoices from Your Attorney
Ask your attorney to provide invoices that break down their time by task. Instead of a vague “legal services—$5,000,” you want something like:
- Contract review for vendor agreement: 10 hours @ $250/hr = $2,500
- Tax consultation on entity structure: 3 hours @ $250/hr = $750
- Personal estate planning: 5 hours @ $250/hr = $1,250
This itemization is crucial. If the IRS ever audits you, this is your first line of defense.
Step 2: Categorize the Expenses
On your tax return, legal fees are typically claimed as:
- Schedule C (Self-Employed): Line for “Legal and Professional Services”
- Schedule E (Rental Property): Line for “Legal and Other Professional Fees”
- Business Tax Return (Form 1120, 1120-S, 1065): Similar line items depending on entity type
Make sure you’re using the right form for your business structure. If you’re unsure, consult a CPA. Getting this wrong can trigger an audit faster than you’d think.
Step 3: Keep Supporting Documentation
Save everything:
- Original invoices and billing statements
- Emails or correspondence with your attorney describing the work
- Contracts or agreements that the legal work was tied to
- Any tax documents related to the matter (like business formation paperwork)
The IRS loves paper trails. If you can show that the legal work was directly tied to your business, you’re in a much stronger position.
Step 4: Understand Capitalization vs. Expensing
Some legal fees must be capitalized (added to the cost basis of an asset) rather than expensed (deducted immediately). This is especially true for:
- Startup costs for a new business
- Legal fees to acquire or merge with another business
- Trademark or patent registration (the filing fees, not always the attorney time)
If you capitalize an expense, you’ll amortize it over a set period (usually 15 years for intangibles). This means you get the tax benefit over time, not all at once. A CPA can help you determine whether to expense or capitalize specific fees.
Pro Tip: Use accounting software (like QuickBooks or FreshBooks) to categorize and track legal expenses separately. This makes tax time infinitely easier and shows the IRS you’re organized.
Special Situations: Divorce, Inheritance, and More
Let’s dig into some tricky scenarios where business and personal lines blur.
Divorce with Business Implications
If you own a business and you’re getting divorced, part of your legal fees might be deductible. Specifically, the portion of the fee that relates to:
- Dividing business assets
- Tax advice on the settlement
- Valuation of the business for settlement purposes
The portion that relates to child support, alimony, or personal property division? Not deductible. You’ll need your attorney to itemize this carefully. Most attorneys understand this distinction and can break it down for you.
Inherited Property and Estate Tax Planning
If you’re an heir and you hire an attorney to help settle an estate or deal with estate tax issues, those fees are generally not deductible to you. However, they might be deductible by the estate itself, which is a different calculation. If you’re dealing with a complex inheritance, work with an estate attorney and a CPA together.
Business Litigation as a Defendant
If a customer or competitor sues your business, your legal defense fees are deductible. This is true even if you lose the case. The deductibility is based on the nature of the expense (business defense), not the outcome.
Trademark or Patent Defense
If you’re defending your intellectual property against infringement claims, those legal fees are deductible. If you’re the one infringing and paying to settle? Still deductible, because it’s tied to your business operations.
Tax Audit Defense
If the IRS audits you and you hire a CPA or attorney to represent you, those fees are deductible. However, they’re deductible only if the audit relates to your business. If the audit is about personal tax issues, the fees are not deductible (though they might be deductible as a miscellaneous itemized deduction, subject to limitations).
Common Mistakes That Trigger Audits
After years of working with clients, I’ve seen the same legal fee deduction mistakes over and over. Here’s what gets people audited.
Mistake #1: Claiming Divorce Fees as Business Expenses
This is the #1 audit trigger. The IRS has computers that flag divorce-related legal fees claimed on business returns. If you’re self-employed and you claim $10,000 in “legal and professional services” and the IRS discovers it was for your divorce, you’re getting audited. Don’t do this.
Mistake #2: Vague Descriptions on Your Tax Return
“Legal fees—$5,000” tells the IRS nothing. “Legal fees for contract review with vendor ABC Corp—$5,000” tells them everything. Be specific. Vague descriptions invite scrutiny.
Mistake #3: Mixing Business and Personal Fees
If your attorney gives you a lump-sum bill that includes both business and personal work, and you claim the entire amount, you’re asking for trouble. Force your attorney to itemize. If they won’t, find one who will. It’s worth the extra effort.
Mistake #4: Not Keeping Invoices
You claim $8,000 in legal fees on your tax return, but when the IRS asks for documentation, you can’t find the invoices. This is an automatic audit loss. Keep everything, forever.
Mistake #5: Claiming Startup Costs as Immediate Deductions
If you’re starting a business and you pay legal fees to form your entity, those fees might need to be amortized over 15 years, not deducted all at once. If you deduct them immediately and the IRS disagrees, you’ll owe back taxes plus penalties. Work with a CPA on this one before you file.
Mistake #6: Claiming Personal Tax Planning as a Business Deduction
If you hire an attorney to help with personal tax strategy (like minimizing taxes on your investments), and you claim it as a business expense, the IRS will disallow it. Personal tax advice isn’t a business expense unless you’re in the business of giving tax advice.
The common thread here? Documentation and accuracy. The IRS doesn’t mind legal deductions—they just want to make sure you’re claiming the right ones for the right reasons.
Frequently Asked Questions
Can I deduct legal fees for forming my LLC?
– Yes, but with a caveat. The attorney’s fees to form your LLC are generally deductible, but they might need to be capitalized and amortized over 15 years if they’re considered startup costs. The exact treatment depends on your situation and when your business starts generating revenue. Check with a CPA before claiming this on your first-year tax return.
Are legal fees for a business contract review deductible?
– Absolutely. If you hire an attorney to review or negotiate a business contract, those fees are fully deductible as ordinary and necessary business expenses. This is one of the cleanest deductions available.
Can I deduct legal fees for my divorce?
– Generally, no. Divorce is considered a personal matter, not a business expense. The only exception is if your divorce involves significant tax planning (like dividing retirement accounts), and your attorney itemizes the tax-related portion separately. Even then, it’s limited and complicated.
What if my legal matter involves both business and personal elements?
– You can only deduct the business portion. Ask your attorney to itemize their time separately so you know exactly how many hours went to business work versus personal work. Then claim only the business portion on your tax return.
Do I need to capitalize legal fees or can I deduct them immediately?
– It depends. Most legal fees related to ongoing business operations (like contract review or employment law) are deducted immediately. However, fees related to acquiring assets, starting a business, or registering intellectual property might need to be capitalized and amortized. A CPA can help you determine the right treatment for your specific situation.
What documentation do I need to claim legal fees as a deduction?
– Keep the original invoice from your attorney that itemizes their work by task and hours. Save any emails or correspondence describing the work. Keep contracts or agreements related to the legal matter. If the IRS ever audits you, these documents are your proof.
Can I deduct legal fees for defending against a lawsuit?
– Yes, if the lawsuit is related to your business. If a customer sues your business, your legal defense fees are deductible. If you lose the case, the fees are still deductible—deductibility is based on the nature of the expense, not the outcome.
Are trademark and patent legal fees deductible?
– The attorney’s fees to prepare and file a trademark or patent are typically deductible. However, the government filing fees themselves might need to be capitalized as an intangible asset and amortized over 15 years. Break this down with your attorney and a CPA.
Can I deduct legal fees for tax advice related to my business?
– Yes. Legal fees for tax advice tied to your business (like advice on entity structure or tax implications of a merger) are deductible. However, legal fees for personal tax planning are not deductible.

What if I’m self-employed and I hire a lawyer for both business and personal matters?
– Ask your attorney to provide separate invoices or to itemize their time by task. Claim only the business portion on Schedule C. If you claim the entire amount and the IRS discovers personal work was included, you’ll face an audit and potential penalties.
Disclaimer: This article is for informational purposes only and should not be considered tax or legal advice. Consult with a qualified CPA or tax professional before making any decisions about deducting legal fees. Tax laws are complex and situation-specific.



