Which Legal Fees Are (Really) Deductible?
Legal fees do not become deductible because a bill says “business legal services.” The tax result depends on what the legal matter came from. That is the question to answer every time.
Some legal fees are clearly deductible. Some are never deductible. Some depend on the situation. And some are business-related but capitalized and recovered later, or sometimes not recovered at all. This guide walks through each one so you can sort a bill the right way before you deduct it.
The Two Questions the IRS Actually Asks

Two questions decide whether a legal fee is business or personal. A separate question, covered later in the article, decides whether you deduct a business fee now or capitalize it.
Question 1: Is It Business, or Is It Personal?
Business legal fees can be deductible as ordinary and necessary business expenses. Personal legal fees are not. The expense also has to belong to the taxpayer claiming it, and who writes the check does not decide that. (law.cornell.edu)(law.cornell.edu)
If your S-Corp pays your personal divorce lawyer, that does not turn the fee into a corporate deduction. It is more likely a distribution or compensation to you, and the legal fee stays personal.
If you personally pay a bill that belongs to your corporation, the payment is usually treated as a capital contribution. The corporation deducts the fee if it qualifies as a business expense. You cannot deduct it on your own return.
Question 2: What’s the “Origin of the Claim”?
The main test is where the legal matter came from. You look at the transaction, activity, or dispute that gave rise to the legal work. You do not look at who paid, what the invoice says, or what would happen if the case were lost.
The leading case is United States v. Gilmore (1963). Don Gilmore held controlling stock in three General Motors dealerships that paid him about $150,000 a year. When his wife sued for divorce, she claimed that stock as community property and accused him of infidelity, and he worried GM would cancel the franchises. He argued his legal fees were deductible because the fight could cost him the businesses that produced his income. The Supreme Court said no: the answer “does not depend on the consequences that might result to a taxpayer’s income-producing property.” The claim came from the marriage, so the fees were personal. (law.cornell.edu)
This test cuts both ways. A matter that sounds personal at first glance can still be business if it arose from business operations. A matter that sounds business-related can still be personal if it really arose from family, ownership, or personal life.
Why the Purpose of the Legal Matter Matters More Than the Invoice Description
An invoice that says “business consultation” does not make a divorce deductible. An invoice that says “general legal services” does not prove much either.
What matters is the real substance of the work. The best evidence is the engagement letter, detailed time entries, court filings, pleadings, and settlement papers. Those documents show what the lawyer actually worked on.
What If One Legal Bill Covers Business and Personal Matters?

A mixed legal bill is common for small business owners. One file can include deductible business work, business work that must be capitalized, and personal work that gets no deduction.
Separate the Business and Personal Portions
It is not a simple deductible-or-not split. A mixed bill can break into three parts:
- Business work you deduct now
- Business work you capitalize
- Personal work you do not deduct
Here is an example.
A $20,000 invoice covers three matters:
- $11,000 for a vendor contract dispute. That part is deductible.
- $7,000 for buying a competitor’s customer list. That part is capitalized, because it tops the $5,000 threshold explained later.
- $2,000 for the owner’s personal will. That part is not deductible.
Same invoice. Three different tax results. That is why you sort each piece of work by its origin.
Ask Your Attorney for an Itemized Invoice
Ask for a bill that separates business, personal, and acquisition-related work before the invoice is finalized. That gives you records made at the time the work was done.
A split based on the lawyer’s billing entries is strong evidence. A percentage invented later, after an IRS notice shows up, is not. Tax records age badly when they are built from memory.
Don’t Deduct the Entire Invoice Just Because the Matter Involves Your Business
A legal matter can involve your company without making every dollar deductible. Work tied to ownership issues, personal guarantees, family disputes, or estate planning still has to be carved out. The earlier $20,000 example shows how that split can work.
Legal Fees That Are Clearly Deductible
These are fees that arise from running an existing business or rental.
Business Contracts and Disputes
Legal fees for customer contracts, vendor contracts, collecting unpaid invoices, reviewing leases, getting routine compliance advice, and handling disputes from normal operations are deductible. (law.cornell.edu)
The main exceptions are work tied to buying or defending title to a capital asset, and negotiating certain long-term leases or contracts when the transaction costs of making that deal add up to more than $5,000. That work is capitalized, which the later section covers. Legal fees to sell a capital asset are not a current expense either: they come off the sale proceeds, which lowers your gain or increases your loss. (law.cornell.edu)(law.cornell.edu)
Business Tax Matters
Legal and tax advice on your business’s ongoing income taxes, payroll taxes, and sales taxes is deductible. Representation during a business audit or appeal is also deductible. If your business is on Schedule C, deduct only the part of the fee that relates to the business. The part for personal tax matters cannot be deducted. (irs.gov)(law.cornell.edu)
There is an important limit. Tax advice on how to structure an acquisition does not get deducted now. It is capitalized with the deal. (law.cornell.edu)
Rental Property
Legal fees for leases, evictions, collecting rent, and defending claims that arise from operating a rental property are deductible on Schedule E. If a partnership or S-Corp owns the rental, the fees go on that entity’s return instead. (law.cornell.edu)(irs.gov)
Legal fees to buy the property or fight over who owns it are capitalized, not currently deducted. Pay a lawyer $3,500 to evict a tenant and you deduct it this year. Pay the same $3,500 to fight a neighbor’s claim to your driveway and it goes into the land’s basis. Legal fees to sell the rental are not a Schedule E expense. They reduce your sale proceeds. Also, if the rental activity produces a loss, the passive loss rules can push that loss to a later year. (law.cornell.edu)(irs.gov)(law.cornell.edu)
Legal Fees That Are Clearly Not Deductible

Some categories are firmly on the no side, with narrow exceptions noted where they apply.
Purely Personal Legal Matters
Legal fees for divorce, child custody, and household disputes are not deductible. That stays true even if the outcome affects your business or your ownership of it.
Gilmore, the divorce case above, is the classic example.
Estate Planning Fees
Fees for wills, revocable trusts, powers of attorney, and personal estate plans are not deductible. Most of that work is personal.
There used to be a narrow itemized deduction for the tax-advice slice of some personal legal fees. That deduction is now permanently gone. (law.cornell.edu)(law.cornell.edu)
Investment-Related Legal Fees
If you are an individual investor, you do not get a deduction for legal fees to manage investments or collect investment income. The itemized deduction that once allowed them is permanently gone. (law.cornell.edu)(law.cornell.edu)
Fees to buy an investment, defend ownership of it, or sell it are not currently deducted either. Instead:
- Buying-related fees are added to basis
- Selling-related fees reduce sale proceeds
- Ownership-defense fees are capitalized into basis (law.cornell.edu)(law.cornell.edu)
A securities trading business is a different situation. This section is about personal investment activity by an individual.
Fines and Penalties
Amounts paid to a government because of a violation of law, or an investigation into a possible violation, are not deductible. There is an important exception for restitution, payments to repair damage, and amounts paid to come into compliance.
Two things must both be true:
- The court order or settlement agreement must identify the amount as restitution, remediation, or compliance.
- You must be able to show the money was actually paid for that identified purpose.
Meeting only one of those two tests is not enough. (law.cornell.edu)
Restitution for unpaid tax qualifies only if the tax itself would have been deductible. Federal income tax is not, so restitution for it does not qualify. (law.cornell.edu)(law.cornell.edu)
Escaping the penalty rule does not automatically make a payment deductible now. If the money is spent on compliance upgrades that improve property, that amount may still have to be capitalized. (law.cornell.edu)
Example:
Say a home builder settles with the state attorney general for $400,000, and the settlement says:
- $250,000 is customer restitution
- $100,000 is for required compliance upgrades
- $50,000 is a civil penalty
If the builder can also show the money went where the settlement says, the $250,000 restitution and the $100,000 compliance amount escape the penalty disallowance rule. The $50,000 civil penalty does not. Escaping the rule is only the first step. The restitution can be deducted as a business expense, but if the $100,000 pays for upgrades that improve property the builder owns, it is capitalized and recovered through depreciation instead.
Now change one fact. Say the agreement calls the full $400,000 a “settlement payment” and says nothing about restitution, repairs, or compliance. The builder fails the first test, so the restitution and compliance exception is off the table for all of it. The agreement doesn’t have to use the word “restitution,” but the purpose of each payment has to be written into the agreement itself. Evidence gathered later can’t fix it. Vague wording is where the fights happen, so make sure your attorney spells out the purpose of each payment before you sign.
Fees to Buy Out a Shareholder
When a corporation pays legal and advisory fees to buy back its own stock, those fees are permanently disallowed. They cannot be deducted or amortized, and there is no asset to add them to for later recovery. This rule does not cover interest and other costs of borrowing to fund the buyout. (law.cornell.edu)
For a closely held company, the legal bill for a buyback can be one of its largest. Except for work on a loan to pay for it, none of that bill is ever deducted.
There is another route. If the remaining owners buy the departing owner’s shares themselves (a cross-purchase), the buyback rule does not apply to them. Their legal fees go into the basis of the shares they buy and can come back as a smaller gain if those shares are ever sold. One catch: if a buyer’s qualifying transaction costs for the deal total $5,000 or less, they are not added to basis automatically, and an individual cannot deduct them either, so that buyer should elect to add them to basis. Say two dentists own a practice and one retires. If the practice buys back the shares, its legal fees for the buyback itself are gone for good. If the other dentist buys them personally, the fees go into that dentist’s basis instead. The two structures differ in other ways too, so decide before the deal is drafted. (law.cornell.edu)(law.cornell.edu)(law.cornell.edu)(law.cornell.edu)
The Gray Zone: It Depends on the Situation
Some legal fees land in a middle area where the right answer depends on the situation.
Business Legal Settlements
Compensatory settlements are deductible if the claim arose from ordinary business operations. (law.cornell.edu)(irs.gov)
Punitive damages paid to a private party are not automatically blocked. In Revenue Ruling 80-211, the IRS allowed a corporation to deduct punitive damages from a breach of contract and fraud lawsuit that arose in the ordinary course of its business. For either kind of payment, if the claim grew out of buying or selling a capital asset, the amount is not deducted as a business expense; it is treated as part of that purchase or sale instead. (irs.gov)
Legal Fees for Defending a Lawsuit
Legal fees to defend claims that arise from the way your business operates are deductible. That includes many civil suits, and even criminal defense when the charges arise from your business.
In Commissioner v. Tellier (1966), Walter Tellier, a securities dealer, was convicted on all 36 counts under the securities and mail fraud laws and sentenced to four and a half years in prison. He still deducted the $22,964 he paid his defense lawyers. The government agreed the fees came from his business, and the Supreme Court refused to deny the deduction on public policy grounds: “the federal income tax is a tax on net income, not a sanction against wrongdoing.” (law.cornell.edu)
That does not mean all criminal defense is deductible. If the charges come from personal conduct, the fees stay personal. If the case is really about ownership or title to property, the fees are capitalized. (law.cornell.edu)
Employment Legal Fees
For employers, legal fees to defend discrimination, wage, retaliation, and wrongful termination claims are deductible. There is one major exception. If a sexual harassment or sexual abuse settlement is subject to a nondisclosure agreement, the payer cannot deduct the settlement or the related attorney fees. (law.cornell.edu)
For the business paying the settlement, the nondisclosure agreement is what kills the deduction. The IRS has said the rule does not stop the person receiving the settlement from deducting their own legal fees if another rule allows it. (irs.gov)
For employees, legal fees are usually not deductible. There is an exception for attorney fees and court costs tied to unlawful discrimination claims and certain whistleblower awards. This deduction is “above the line,” meaning you can take it whether or not you itemize on Schedule A. (law.cornell.edu)
“Unlawful discrimination” reaches further than the name suggests. It covers claims under laws regulating employment, such as wage and retaliation claims. (law.cornell.edu)
The deduction cannot exceed the taxable part of the recovery. (law.cornell.edu)
Example 1:
- Taxable settlement: $120,000
- Attorney fees: $48,000
Because the taxable recovery is $120,000, the full $48,000 fee can be deducted.
Example 2:
- Taxable part of settlement: $30,000
- Attorney fees: $45,000
The deduction stops at $30,000 because that is the taxable part of the recovery.
If a settlement mixes taxable and tax-free amounts, the fees may need to be split between those pieces.
Commissioner v. Banks (2005) shows why this deduction matters. A consultant fired by the California Department of Education settled his discrimination suit for $464,000, and $150,000 of it went straight to his lawyer. The Supreme Court held that the full $464,000 was his income, including the lawyer’s share. Congress had added the above-the-line deduction in 2004, but it did not apply to his case. (law.cornell.edu)
Setting Up a Trust
An individual cannot deduct legal fees for setting up a trust, whatever kind of trust it is. What happens after that depends on the type. A revocable living trust usually isn’t a separate taxpayer; its income and deductions stay on your own return. A nongrantor trust is a separate taxpayer and may have to file its own return (Form 1041). (law.cornell.edu)(law.cornell.edu)(law.cornell.edu)
A nongrantor trust can deduct administration costs that are otherwise deductible, as long as an individual owning the property outright would not customarily or commonly have had them. Costs that any owner would commonly pay, such as investment advice, do not qualify. In Knight v. Commissioner (2008), a trustee argued that his duty to invest prudently made investment advice a trust-only cost. A unanimous Supreme Court disagreed: what matters is whether an individual holding the same property would “customarily or commonly” pay it. If a bundled fee covers both trust-only administration and common ownership costs, the bill may need to be split. (law.cornell.edu)(law.cornell.edu)(law.cornell.edu)
Quick Reference: Is This Legal Fee Deductible?
| Type of legal fee | Deductible? |
|---|---|
| Business contract drafting or dispute | Yes, unless the work concerns buying, selling, or defending title to a capital asset, or a long-term lease or contract whose transaction costs top $5,000 |
| Defending a business lawsuit | Yes, unless the dispute is over buying, selling, or title to a capital asset |
| Criminal defense | Yes if the charges arise from the business; no if they are personal |
| Business settlement (compensatory portion) | Yes, if the claim arose from ordinary business operations; treated as part of the purchase or sale if it grew out of buying or selling a capital asset |
| Business settlement (punitive portion) | Often, if the claim arose from the business; not automatically barred |
| Starting or organizing a business | Up to $5,000 of start-up costs, plus up to $5,000 of organizational costs for a corporation or partnership, each reduced above $50,000; the rest over 180 months |
| Buying a business | Capitalized; early investigation work, or transaction costs totaling $5,000 or less, can be exceptions |
| Buying a building or land | Capitalized |
| Business tax advice or IRS audit defense | Yes; tax advice on structuring an acquisition is capitalized |
| Rental property legal fees | Yes, for running the rental; buying it or defending title is capitalized |
| Investment legal fees (individual) | No; buying and selling fees go to basis or sale proceeds |
| Employer defending an employment claim | Yes, except harassment or abuse settlements under an NDA |
| Employee pursuing a discrimination or whistleblower claim | Yes for covered claims, even without itemizing, capped at the taxable part of the recovery |
| Personal estate planning (will, revocable trust, POA) | No |
| Trust set up for income-producing property | No for the individual; a nongrantor trust may deduct administration costs on its own return |
| Divorce, custody, or other personal matters | No |
| Government fines and penalties | No; identified and proven restitution or compliance escapes this rule but still has to qualify on its own |
| Corporation’s fees to buy back a shareholder’s stock | No, permanently; financing costs are separate |
Keep in Mind: Sometimes Legal Fees Aren’t Deductible Now but Are Capitalized

Some legal fees clearly come from your business and still can’t be deducted this year. Legal fees to buy a competitor are a good example: they are capitalized, which means they are added to the cost of what you bought and recovered later.
Legal Fees Related to Acquiring an Asset
Fees that help you buy an asset become part of the asset’s cost. That includes legal work for real estate closings, title review, contract assignments, equipment purchases, and license transfers. (law.cornell.edu)
Example:
You pay $9,000 of legal fees to buy a commercial property. That $9,000 gets added to basis and split between land and building in the same ratio as the purchase price.
If the purchase price allocation is:
- 20 percent land
- 80 percent building
Then the legal fees are split this way:
- $1,800 to land
- $7,200 to building
The $7,200 building portion is recovered through depreciation. The $1,800 land portion stays in basis until you sell, because land is not depreciable.
Two things can change that split. If the price also covers other assets, such as a parking lot or equipment, part of the fees goes to those assets and is recovered over their shorter lives. And legal work on the mortgage is not part of the property’s cost at all. It is a cost of the loan, deducted over the life of the loan. (law.cornell.edu)(law.cornell.edu)(law.cornell.edu)
Fees to defend or perfect title are capitalized for any property, including rental property. If the same lawsuit also includes collecting unpaid rent, the piece of the fee tied to collecting rent is deductible. (law.cornell.edu)
Legal Fees Related to Acquiring a Business
Legal fees for buying a business are capitalized. Early investigation work, done before a letter of intent is signed or the board or owners approve the main terms (whichever comes first), is usually deducted as a business expense instead. If the deal would put you in a new line of business, that early work counts as a start-up cost, covered below. Where the capitalized fees land depends on the deal structure. (law.cornell.edu)(law.cornell.edu)
- In an asset purchase, they are spread across the assets acquired.
- In a stock purchase, the buyer adds them to the stock’s basis.
- In an asset sale, the seller subtracts them from the sale proceeds.
Some categories of work are capitalized no matter when in the deal they happen, unless the de minimis rule below applies:
- Appraisals
- Deal structure planning
- Tax advice on the structure
- Drafting and reviewing purchase documents
- Getting regulatory approval
- Getting shareholder approval (law.cornell.edu)
There is a de minimis rule, and it depends on the size of the qualifying costs, not the size of the transaction. If the qualifying transaction costs total $5,000 or less, they do not have to be capitalized as part of the deal. Go over $5,000 and the exception is lost for all of it, not just the excess. This $5,000 rule covers buying a business and other deals on a specific list, such as a restructuring or a merger. A separate $5,000 test covers legal fees to buy an intangible, like a customer list, or to negotiate a long-term lease or contract. Neither is a general exception: legal fees to buy a building or land are capitalized no matter how small the fee. (law.cornell.edu)(law.cornell.edu)(law.cornell.edu)
Starting a Business: Startup and Organizational Costs
Start-up costs and the costs of organizing a corporation or partnership are two separate buckets, and each gets its own limit. A sole proprietor has only the start-up bucket. (law.cornell.edu)(law.cornell.edu)(law.cornell.edu)
For each pool:
- You can deduct up to $5,000 in the year the business begins.
- That $5,000 is reduced dollar for dollar once the pool goes over $50,000.
- Any remaining amount is amortized over 180 months. (law.cornell.edu)
Example with $53,000 of start-up costs:
- The costs exceed $50,000 by $3,000.
- The $5,000 immediate deduction is reduced by $3,000.
- That leaves a current deduction of $2,000.
- The remaining $51,000 is amortized over 180 months.
- $51,000 divided by 180 equals about $283 per month.
At $55,000 of start-up costs, the immediate deduction is fully phased out.
Costs of issuing stock or selling partnership interests do not count as organizational costs and do not create a deduction. (law.cornell.edu)(law.cornell.edu)
Legal Fees Related to Creating or Improving an Intangible Asset
Legal fees to create or strengthen an intangible asset can require capitalization. Common examples include a trademark, patent, franchise, license, or a long-term contract right. (law.cornell.edu)
If the legal work helps create something with lasting value, it is harder to deduct now.
When Capitalized Costs Are Recovered Through Depreciation or Amortization
A capitalized fee is usually recovered later through depreciation, amortization, basis, or a smaller gain when you sell the asset. Fees added to a building are depreciated with it, over 27.5 years for a residential rental and 39 years for a commercial building. Fees added to goodwill or a customer list you bought are amortized over 15 years. Some capitalized costs never produce a deduction at all, such as the costs of issuing stock. (irs.gov)(law.cornell.edu)(law.cornell.edu)
How to Document Legal Fees So They Hold Up If You’re Audited

Good records do not create a deduction, but bad records can sink one.
Keep the Attorney’s Itemized Invoice
Your invoice should show what was done, when it was done, and how much time each task took. A one-line bill is weak proof.
Document the Business Purpose
Keep engagement letters, emails, and board minutes that show why the work was needed. Those records help prove the origin of the matter.
Separate Business and Personal Work
Record how you split any mixed legal bill. Do it when the bill comes in, not months or years later.
Keep Settlement Agreements and Court Documents
If money is paid to a government and you want to rely on the restitution or compliance exception, that wording must appear in the order or settlement agreement itself.
Document How Capitalized Fees Were Treated
Keep a record of which asset or transaction each capitalized fee was attached to, and how you are recovering it over time.
Record Which Entity or Property the Expense Belongs To
Make sure the expense lands on the correct return: Schedule C, Schedule E, the corporation’s return, or the trust’s return. This goes back to the first question of whose expense it really is.
Final Thoughts
Start with where the legal matter came from. That tells you whether the fee is business or personal, and it keeps you from being misled by invoice labels, who wrote the check, or how important the case felt.
Then sort the fee into the right bucket. It may be deductible now. It may not be deductible at all. It may depend on the facts. Or it may be capitalized and recovered later, if at all.
Finally, keep the documents that prove your answer. Itemized bills, engagement letters, settlement papers, and records of how you treated each amount matter just as much as the rule itself. Legal fees are one of those areas where neat files can save real money.
FAQ – Legal Fee Deductions
Are Legal Fees Tax Deductible?
Some legal fees are tax deductible, but many are not. The answer depends first on whether the matter came from your business or your personal life, and then on whether the business-related fee is currently deductible or must be capitalized.
Are Legal Fees for Estate Planning Deductible?
No, legal fees for personal estate planning are not deductible. That includes wills, revocable trusts, powers of attorney, and similar planning, as covered in the estate planning section above.
Are Business Legal Settlements Tax Deductible?
Often yes, if the claim arose from ordinary business operations. The business settlements section explains why compensatory payments are often deductible and why punitive amounts need a closer look. Payments to a government follow the fines and penalties rules instead.
Are Legal Fees for Setting Up a Trust Deductible?
No for the individual who sets up the trust. A nongrantor trust may be able to deduct certain administration costs on its own return, which is different from deducting the cost of creating it.
Can I Deduct Legal Fees on Schedule C?
Yes, if the fees belong to your sole proprietorship and arise from running that business. If the fees are personal, belong to a separate entity, or must be capitalized, they do not belong as a current deduction on Schedule C.
Are Legal Fees I Pay as an Employee Ever Deductible?
Usually no, but there is a limited exception. Fees for unlawful discrimination claims and certain whistleblower awards can be deducted even if you don’t itemize, subject to the cap explained in the employment legal fees section.
What If My Legal Bill Covers Both Business and Personal Matters?
You need to split it by what each part of the work was for. As the mixed-bill section explains, one invoice can contain deductible business work, capitalized business work, and nondeductible personal work all at once.