Tax Deductions for Legal Fees: What Business Owners Can Write Off
Legal fees are a significant expense for many businesses, but the good news is that most business-related legal costs are tax-deductible. The IRS treats legal fees as ordinary and necessary business expenses when they are directly connected to operating, maintaining, or defending your business. The deduction can be claimed on your business tax return — Schedule C for sole proprietors, Form 1065 for partnerships, or Form 1120 for corporations.
However, not all legal fees qualify. The deductibility depends on the nature of the legal service and whether it relates to your business or personal affairs.
Business Legal Fees That Are Deductible
Legal expenses incurred in the ordinary course of running a business are generally deductible in the tax year they are paid (cash basis) or when the service is provided (accrual basis). According to IRS Publication 535, deductible business legal fees include:
Contract-Related Legal Work
- Drafting, reviewing, and negotiating business contracts
- Lease agreements and real estate transactions related to business property
- Partnership agreements and operating agreements
- Vendor and supplier contracts
Business Formation and Structure
- Legal fees for forming an LLC, corporation, or partnership
- Costs for restructuring or converting a business entity
- Fees for drafting bylaws, articles of incorporation, or operating agreements
Note: startup legal fees have a special treatment. The first $5,000 of organizational costs can be deducted in the first year of business (subject to a phase-out if total startup costs exceed $50,000). Remaining costs must be amortized over 180 months (15 years) under IRC Section 195.
Defending the Business
- Attorney fees for defending against lawsuits related to business operations
- Legal costs for responding to government investigations or regulatory actions
- Fees for defending intellectual property (trademarks, patents, copyrights)
- Legal representation in employment disputes (wrongful termination, discrimination claims)
Collections and Revenue Protection
- Attorney fees for collecting unpaid invoices or accounts receivable
- Legal costs for enforcing contract terms
- Fees for pursuing damages against parties who harmed your business
Tax-Related Legal Services
- Legal advice and representation during IRS audits
- Tax planning consultations
- Representation in tax court
- Legal help with tax disputes or appeals
Employment and Compliance
- Legal review of employee handbooks and policies
- Compliance consulting for industry regulations (OSHA, HIPAA, environmental)
- Immigration-related legal fees for employee work visas
Intellectual Property
- Filing and defending trademarks, patents, and copyrights
- Licensing agreement negotiations
- Trade secret protection measures
Personal Legal Fees: Not Deductible
The Tax Cuts and Jobs Act of 2017 eliminated the miscellaneous itemized deduction that previously allowed individuals to deduct certain personal legal fees exceeding 2% of adjusted gross income. As of 2024, personal legal fees are generally not deductible, including:
- Divorce and family law fees
- Personal injury claims
- Estate planning (wills, trusts, powers of attorney)
- Criminal defense unrelated to business
- Personal tax return preparation (the deduction for this was also eliminated)
- Real estate closings for personal residences
Exceptions for Personal Legal Fees
A few narrow exceptions remain:
- Discrimination claims — legal fees related to unlawful discrimination claims (under Title VII, ADA, or similar statutes) remain deductible as an above-the-line deduction under Section 62(a)(20).
- Whistleblower claims — legal fees incurred to recover a whistleblower award are deductible.
- Certain IRS disputes — legal fees to determine, collect, or refund any tax may still be partially deductible for some taxpayers.
Can You Deduct LLC Formation Fees?
Yes, but with limitations. LLC formation costs fall under the IRS's organizational expense rules:
- First $5,000 of organizational costs are deductible in the year the business begins operations (reduced dollar-for-dollar for total costs exceeding $50,000).
- Remaining costs are amortized over 180 months (15 years).
Organizational costs include state filing fees, legal fees for drafting the operating agreement, and accounting fees for setting up the initial books. Costs for issuing or selling membership interests are not deductible as organizational expenses.
Can You Deduct Tax Preparation Fees?
For individuals, the personal tax preparation deduction was eliminated by the Tax Cuts and Jobs Act for tax years 2018-2025. However, business tax preparation fees remain deductible:
- Fees paid to a CPA or enrolled agent for preparing your business tax return (Schedule C, Form 1065, Form 1120)
- The business portion of tax software costs
- Fees for payroll tax preparation
- Tax planning consultations related to business operations
If you are self-employed, the portion of tax preparation fees attributable to your Schedule C can be deducted as a business expense on that schedule.
Can You Write Off Licensing Fees?
Business licensing and regulatory fees are deductible if they are required for your trade or business. Examples:
- Professional licenses (law, medicine, engineering, real estate)
- Business operating permits and local licenses
- Industry-specific certifications required by regulation
- Annual bar dues and professional association memberships
Personal licensing fees — pet licenses, marriage licenses, driver's license renewal — are not deductible.
Can You Deduct Education and Training Expenses?
If you pay for employee training or your own professional development, those costs are generally deductible when they:
- Maintain or improve skills required in your current trade or business
- Are required by your employer or by law to keep your current position
- Do not qualify you for a new trade or business
This includes online courses, continuing education credits, professional conferences, and related textbooks and materials. Employer-provided education benefits up to $5,250 per employee per year are excluded from the employee's taxable income under IRC Section 127.
How to Maximize Legal Fee Deductions
- Get itemized billing statements — ask your attorney to break down their invoice by service type. If a bill includes both deductible business legal work and non-deductible personal work, the itemized statement lets you claim only the deductible portion.
- Track legal expenses separately — categorize legal costs in your expense tracking system so they are easy to identify during tax preparation.
- Time your payments — if you use cash-basis accounting, you can accelerate or defer legal fee payments to manage your deductions across tax years.
- Consult your tax advisor — the line between deductible and non-deductible legal fees is not always clear. When in doubt, ask your CPA or tax attorney before claiming the deduction.
Recording Legal Expenses
Accurate record-keeping ensures you can substantiate your deductions if audited. For each legal expense, maintain:
- The attorney's invoice with detailed descriptions of services
- Proof of payment (canceled check, bank statement, credit card receipt)
- Documentation of the business purpose of the legal service
- Any correspondence related to the legal matter
Using Agiled's finance tools to log and categorize expenses as they occur saves hours during tax season and ensures nothing is missed.
Related Articles:
Ready to streamline your business?
Try Agiled free and see how our all-in-one platform can help you manage your business more efficiently.