Yes, most legal fees for your business are tax deductible, but the timing depends on the type. Fees to operate an existing business (contracts, disputes, compliance) are fully deductible the year you pay them under IRC §162, on Schedule C, Line 17. Fees to form a business are startup or organizational costs under IRC §195 and §709: you deduct up to $5,000 in year one and amortize the rest over 180 months. Personal legal fees such as divorce, estate planning, and personal injury are not deductible after the 2018 Tax Cuts and Jobs Act.
Key takeaways:
Operating legal fees: 100% deductible on Schedule C, Line 17 (IRC §162, ordinary and necessary business expenses).
Startup and organizational costs (IRC §195 / §709): up to $5,000 deductible in year one for each bucket, phasing out between $50,000 and $55,000, with the excess amortized over 180 months (15 years).
Startup vs. organizational costs: startup costs investigate or create the business; organizational costs legally form the entity. They are two separate $5,000 buckets.
Intellectual property fees: legal costs to obtain a patent or trademark are capitalized and amortized over 15 years under IRC §197. Defending existing IP is deductible under §162.
Personal legal fees: not deductible (TCJA suspension, made permanent by OBBBA), except above-the-line fees for employment-discrimination and whistleblower claims under IRC §62(a)(20).
Tax savings example: An LLC owner paying $8,000 in legal fees for contract work, business dispute resolution, and ongoing counsel can deduct the full $8,000 on Schedule C. At a 22% federal bracket plus 15.3% SE tax, that's $2,984 in tax savings.
Legal basis: IRC §162 (ordinary and necessary business expenses), IRC §195 (startup expenditures), IRC §709 (organizational costs for partnerships). The IRS discontinued Publication 535 after 2022; its business-expense guidance now lives in Publication 334 (Tax Guide for Small Business) and the IRS Guide to Business Expense Resources.
The most straightforward category. If you pay a lawyer for services directly related to operating your existing business, the fee is deductible as an ordinary and necessary business expense under IRC §162.
Pick what the lawyer was working on and enter the invoice — the origin-of-the-claim rule decides whether it's a deduction, an amortization, or nothing.
$
Deduct it in full this year — Schedule C, Line 17
$6,000
deductible this year on these numbers
Fees entered$6,000
Carried to later yearsNothing carried forward
Ordinary and necessary under IRC §162. The origin of the claim is your existing business, so the whole invoice comes off this year's profit.
Rules per this guide: IRC §162 (operating fees), §195/§709 ($5,000 first-year election, phase-out $50,000–$55,000, 180-month amortization), §197 (15-year IP amortization), §62(a)(20) (discrimination claims). Year-one figure assumes a full 12 months of amortization and, for startup costs, that the business opened this year.
Report business legal fees on Schedule C (Form 1040), Line 17 (Legal and professional services). This line also includes accounting fees, bookkeeping services, and other professional fees.
If you're an LLC taxed as a partnership, report on Form 1065, Line 17. For S-Corps, use Form 1120-S, Line 17.
This is where many new business owners get confused. Legal fees paid to form your business, as opposed to operate it, are treated differently. They fall under IRC §195 (startup expenditures) and IRC §709 (organizational costs for partnerships/LLCs). Note on sources: the IRS used to publish these rules in Publication 535 (Business Expenses), which was discontinued after 2022. The startup-cost guidance now appears in the IRS Guide to Business Expense Resources and Publication 583 (Starting a Business and Keeping Records).
Under IRC §195, you can elect to deduct up to $5,000 of startup costs in the first year your business begins operations. This $5,000 deduction phases out dollar-for-dollar once total startup costs exceed $50,000, reaching zero at $55,000.
Separately, under IRC §709, you can deduct up to $5,000 of organizational costs in the first year, with the same phase-out between $50,000 and $55,000.
This means a new LLC owner could potentially deduct up to $10,000 in the first year --- $5,000 for startup costs and $5,000 for organizational costs --- if both categories are under their respective $50,000 thresholds.
Any startup or organizational costs that can't be deducted in the first year must be amortized over 180 months (15 years), beginning with the month your business starts operating.
Example: You pay $12,000 in legal fees to form your LLC and prepare your operating agreement in 2026.
The IRC §195 and §709 elections are made by claiming the deduction on your tax return for the year the business begins. You don't need to file a separate election form --- simply deducting the costs on your return constitutes the election.
Critical timing note: These deductions are only available starting in the year your business begins active operations, not the year you incur the costs. If you pay an attorney $3,000 in November 2026 to form your LLC but don't actually start doing business until February 2027, you can't deduct the $3,000 until your 2027 return.
Legal costs to obtain a patent, register a trademark, or secure a copyright are capital expenditures --- they create a long-term asset, not a current expense. These costs must be amortized over their useful life:
IP Type
Amortization Period
Authority
Patents
15 years (IRC §197) or patent life
IRC §197 / §167
Trademarks
15 years
IRC §197
Copyrights
Life of copyright or 15 years
IRC §197 / §167
Trade secrets
15 years
IRC §197
Example: You pay an attorney $6,000 to file a trademark application for your business name.
Legal fees to defend a patent, trademark, or copyright you already own against infringement are deductible as ordinary business expenses under IRC §162 --- because you're protecting an existing business asset, not creating a new one.
When legal fees relate to acquiring, improving, or disposing of business property, they generally must be capitalized (added to the cost basis of the property) rather than deducted currently.
The Supreme Court established the "origin of the claim" doctrine in United States v. Gilmore (1963), which the IRS still follows today. This doctrine says the deductibility of legal fees depends on what the legal dispute is about, not on the taxpayer's motive for incurring them.
If the origin of the claim is a business matter → deductible under IRC §162.
If the origin of the claim is a personal matter → not deductible (even if losing the case would hurt your business).
If the origin of the claim is property acquisition → capitalize as part of the asset's cost.
Prior to 2018, individuals could deduct certain personal legal fees as miscellaneous itemized deductions on Schedule A, subject to the 2% of AGI floor. This included:
Tax advice and preparation fees
Legal fees for producing or collecting taxable income
Investment-related legal costs
The TCJA eliminated all miscellaneous itemized deductions subject to the 2% floor, and the OBBBA made this elimination permanent. These fees are simply not deductible anymore for individual taxpayers.
There's one important exception. Under IRC §62(a)(20), legal fees and court costs paid in connection with certain employment-related claims are deductible as an above-the-line deduction (reported on Form 1040, Line 24). This applies to:
Claims of unlawful discrimination under federal, state, or local law
Claims under the False Claims Act
Certain whistleblower claims
The deduction is limited to the amount of the judgment or settlement included in income for the tax year.
Sometimes legal fees serve both business and personal purposes. The IRS requires you to allocate the fees between deductible business costs and non-deductible personal costs.
Divorce involving a business: If you own an LLC and your divorce attorney spends time valuing the business, negotiating the business division, and handling personal custody matters, you must allocate fees:
Business valuation and division → potentially deductible as business expense
Custody, alimony, personal property → not deductible
Tax attorney fees: If your attorney handles both business tax issues (audit defense for Schedule C) and personal tax issues (disputing personal income tax):
Business tax work → deductible on Schedule C
Personal tax work → not deductible (post-TCJA)
Tip: Ask your attorney to itemize their billing by matter. A detailed invoice showing hours spent on business vs. personal issues makes allocation straightforward and audit-proof.
At 22% federal bracket + 15.3% SE tax, every $1,000 in legal fees saves approximately $373. Estimate your combined bill with the self-employment tax calculator.
Per IRS guidelines, keep tax records for at least 3 years from the date you filed the return (or the due date, whichever is later). For amortized costs under IRC §195, keep records for 3 years after the final amortization deduction --- which could be 18+ years for startup costs.
IRS auditors pay close attention to legal fees because they know taxpayers sometimes try to deduct personal legal costs as business expenses. Common audit triggers:
Large legal fee deductions relative to business income
Legal fees in the same year as a divorce filing
No supporting invoices or vague descriptions like "legal services"
Legal fees for a business that isn't yet generating revenue
Problem: Writing off $8,000 in LLC formation legal fees on Schedule C, Line 17 as if they were ordinary operating expenses.
Impact: Formation costs are startup/organizational costs under IRC §195 and §709, not ordinary expenses under §162. Deducting them incorrectly could trigger an audit adjustment, and you'd lose the deduction for that year while the IRS recalculates the proper amortization.
Solution: Deduct the first $5,000 of organizational costs (if under the $50,000 threshold) on Schedule C, Line 27a in the first year of business operations, and amortize any excess over 180 months on Form 4562.
Problem: Including divorce attorney fees, personal estate planning costs, or residential disputes as "legal and professional services" on your business tax return.
Impact: These are explicitly non-deductible after TCJA. If caught in an audit, you face back taxes, interest, and potentially a 20% accuracy-related penalty under IRC §6662.
Solution: Only deduct legal fees with a clear, documented business connection. If a matter is mixed business/personal, get an itemized invoice and deduct only the business portion.
Problem: Deducting legal fees for purchasing business real estate or equipment as a current expense instead of adding them to the asset's cost basis.
Impact: You overstate your current-year deduction and understate the property's basis, which can cause problems when you sell the property (higher taxable gain) and may trigger an IRS adjustment.
Solution: Any legal fees related to acquiring, improving, or defending title to property should be added to the property's cost basis and recovered through depreciation.
Problem: Failing to claim the IRC §195 startup cost deduction in the first year of business, then trying to deduct formation costs in a later year.
Impact: The election must be made on the return for the year the business begins. If you miss it, you may be stuck amortizing the full amount over 180 months with no first-year deduction.
Solution: In the first year your business actively operates, make sure your tax return includes the §195 election by claiming startup costs on Schedule C, Line 27a.
Retainers, court filing fees, and mediation costs all land in your bank account as generic payments to law firms, and the tax treatment hinges on whether a fee is operating (§162), startup (§195), or capital (§263). Jupid is an AI accountant that connects to your bank and categorizes transactions with 95.9% accuracy, flagging legal payments for the correct Schedule C line and keeping formation costs distinct from ongoing legal fees. Ask "which of my legal expenses are deductible?" over WhatsApp or iMessage and get an answer from your real transaction data.
Business legal fees are fully deductible when they're ordinary and necessary for your operations. LLC formation costs get a partial first-year deduction with the rest spread over 15 years. Personal legal fees, with few exceptions, are not deductible at all after TCJA. Keep detailed invoices, categorize properly, and don't mix personal with business.
Disclaimer: This article is for informational purposes only and does not constitute tax, legal, or financial advice. Tax laws are subject to change, and individual circumstances vary. Consult a qualified tax professional for advice specific to your situation. Tax Year: 2026. Last Updated: September 1, 2026.
Fintech CEO with 10+ years building accounting and financial technology products. Previously co-founded and scaled an AI-powered accounting platform to $30M revenue and 100K+ business users, achieving 30,000 customers per accountant through automation — recognized by CNBC as a top fintech company. Holds a Master's in Management Information Systems. At Jupid, he leads the development of AI-native bookkeeping, tax, and compliance tools designed for freelancers and small business owners.