Legal fees are tax deductible in California when they arise from your trade or business, when they qualify as attorney fees in a discrimination or whistleblower case, or when they relate to producing income, managing income-producing property, or handling your personal tax matters. That last category is the one that matters most to California filers: the federal government permanently eliminated those deductions in 2018, but California never conformed, so fees that give you nothing on your federal return can still cut your state tax bill.
Business Legal Fees
Legal fees tied to running a trade or business are deductible in full on both your federal and California returns. These are above-the-line deductions that reduce your adjusted gross income directly, and the federal suspension of miscellaneous deductions never touched them. To qualify, the fee must be an ordinary and necessary expense of your business operations.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses
“Ordinary” means the kind of cost that commonly arises in your line of work. “Necessary” means helpful and appropriate for your business. Defending a breach-of-contract lawsuit, negotiating a commercial lease, handling an employment dispute brought by a former worker, or getting legal advice on regulatory compliance all fit. Sole proprietors report these costs on Line 17 of Schedule C, the line specifically designated for legal and professional services.2Internal Revenue Service. Instructions for Schedule C (Form 1040) – Line 17 Rental property owners claim them on Schedule E. Farmers use Schedule F.
Legal fees for tax advice count too, as long as the advice relates to your business rather than your personal return. The Schedule C instructions specifically include “fees for tax advice related to your business and for preparation of the tax forms related to your business” and even fees for “resolving asserted tax deficiencies related to your business.”2Internal Revenue Service. Instructions for Schedule C (Form 1040) – Line 17
California fully conforms to the federal treatment of business expenses, so these deductions flow through to your state return without special adjustments.
The Origin of the Claim Rule
The IRS and courts decide whether a legal fee is “business” or “personal” by looking at where the underlying dispute originated, not where the money ends up. The rule comes from the Supreme Court’s decision in United States v. Gilmore, and it trips people up constantly. A lawsuit that threatens to bankrupt your business is not automatically a business deduction. What matters is whether the claim itself arose from your profit-seeking activities.
If your ex-spouse sues for a share of your business in a divorce, the legal fees to defend that claim are personal, even though your business assets are directly at stake. The origin of the dispute is the marriage, not the business. Fees to defend your professional reputation against a client’s malpractice allegation, on the other hand, are deductible because the claim originated from your business activities. This distinction makes careful billing essential. Ask your attorney to itemize invoices so business work is separated from anything personal, and keep those records in case the deduction is questioned.
Discrimination and Whistleblower Attorney Fees
Congress carved out a specific above-the-line deduction for attorney fees and court costs paid in connection with claims of unlawful discrimination or whistleblower violations. The deduction exists to solve a real problem: without it, you would owe tax on an entire settlement or judgment even though a large portion went straight to your lawyer, creating “phantom income” you never received.3Office of the Law Revision Counsel. 26 USC 62 – Adjusted Gross Income Defined
The list of qualifying claims is broad. It covers employment discrimination under federal civil rights, disability, age, wage-and-hour, family leave, and fair housing statutes, along with federal whistleblower protection provisions. The deduction also extends to claims under state and local anti-discrimination laws that provide comparable protections.3Office of the Law Revision Counsel. 26 USC 62 – Adjusted Gross Income Defined
One hard cap: your deduction cannot exceed the amount of the judgment or settlement that you include in taxable gross income for the year. If you receive a $200,000 settlement and pay $80,000 in attorney fees, you deduct $80,000. But if only $150,000 of the settlement is taxable, your deduction is limited to $150,000 regardless of what you paid your lawyer.
California’s Deduction for Investment, Income-Production, and Personal Tax Legal Fees
This is where California filers get a meaningful break. California never adopted the federal suspension of miscellaneous itemized deductions, and the state has not conformed to the permanent repeal either. The Franchise Tax Board’s instructions for Schedule CA (540) state it plainly: “Under federal law, the deduction for miscellaneous itemized deductions subject to the 2% floor is suspended. California law does not conform.”4Franchise Tax Board. 2025 Instructions for Schedule CA (540)
Legal fees that produce zero federal benefit may still reduce your California taxable income. The qualifying categories are fees paid for the production or collection of income, the management or protection of income-producing property, or in connection with determining, contesting, or obtaining a refund of any tax.5Office of the Law Revision Counsel. 26 USC 212 – Expenses for Production of Income California incorporates these federal definitions through Revenue and Taxation Code Section 17201, which adopts the federal rules on itemized deductions “except as otherwise provided.”6California Legislative Information. California Code RTC 17201 – Deductions
Common examples that qualify for the state deduction include litigating an investment dispute, defending your ownership of rental property, collecting taxable income such as royalties or dividends, and paying a tax attorney for audit defense on your personal return. None of these are deductible federally. California still allows them.
The deduction has strings attached. You must itemize on your California return, and the deductible amount is only the portion that exceeds 2% of your federal adjusted gross income. The FTB specifically uses federal AGI for this calculation, not California AGI.7Franchise Tax Board. Deductions – Itemized Deductions If your federal AGI is $150,000, only the amount above $3,000 counts. For many taxpayers with a single legal bill, the floor swallows the entire deduction.
Legal Fees That Are Never Deductible
Some legal fees are off-limits on both federal and California returns no matter how you structure the billing.
Personal and Family Matters
Fees for divorce, child custody, adoption, name changes, or drafting a will are not deductible. The origin of these expenses is personal and family life, not income production. A narrow exception once existed for the portion of divorce attorney fees attributable to securing taxable alimony, but for any divorce or separation agreement executed after 2018, alimony is no longer taxable to the recipient or deductible by the payer, so that exception is effectively dead for recent divorces.8Internal Revenue Service. Topic No. 452, Alimony and Separate Maintenance
Personal injury cases work similarly. Because compensatory damages for physical injuries are tax-free, the legal fees to recover them are not deductible. If part of a settlement is taxable, such as punitive damages or interest, fees attributable to that taxable portion may be deductible, but only to the extent of the taxable income received.
Fees That Become Part of an Asset’s Cost
Legal fees paid to acquire, defend title to, or permanently improve a capital asset are not current expenses. You add them to the cost basis of the asset instead. Attorney fees at a real estate closing, fees to clear a title defect, or costs to negotiate the purchase of a business are examples. The capitalized cost reduces your taxable gain when you sell, so the benefit is deferred rather than lost.
Fines, Penalties, and Criminal Defense
Amounts paid to a government in connection with the violation or investigation of any law, civil or criminal, are not deductible. That covers fines, penalties, and settlement payments to government entities.1Office of the Law Revision Counsel. 26 USC 162 – Trade or Business Expenses A narrow exception exists for restitution and amounts paid to come into compliance with the law, but only when specifically identified as such in a court order or settlement agreement.
Attorney fees for criminal defense are generally non-deductible personal expenses. The exception is when criminal charges arise directly from the ordinary conduct of your trade or business. In that case the attorney fees can be deducted, but any fine or penalty paid to the government still cannot.
Where Each Deduction Goes on the Forms
Business legal fees go on the income schedule that matches your business structure. Sole proprietors use Line 17 of Schedule C.2Internal Revenue Service. Instructions for Schedule C (Form 1040) – Line 17 Rental property owners use Schedule E. These deductions reduce business income before it reaches AGI, and California picks them up automatically on Form 540 without special adjustments.
Attorney fees for qualifying discrimination or whistleblower claims are reported as an adjustment to income on Schedule 1 of Form 1040. Like business deductions, they reduce AGI directly and carry through to your California return.3Office of the Law Revision Counsel. 26 USC 62 – Adjusted Gross Income Defined
Legal fees that qualify only for the California deduction require an extra step. Report them on Schedule CA (540), the form that reconciles differences between federal and state tax rules. The FTB instructions direct you to enter qualifying legal expenses on Line 21 under “Other Expenses,” along with similar costs like investment management and custodial fees.4Franchise Tax Board. 2025 Instructions for Schedule CA (540) The total of your miscellaneous deductions is reduced by 2% of your federal AGI, and only the excess flows to Form 540. You must itemize on your California return to claim this benefit, even if you take the standard deduction federally; the two choices are independent.
Document the Deduction Before You Claim It
Claiming a legal fee deduction you are not entitled to can trigger penalties well beyond the tax you were trying to save. The IRS imposes a 20% accuracy-related penalty on any underpayment caused by negligence or disregard of the tax rules, and the agency defines “negligence” broadly to include any failure to make a reasonable attempt to comply with the tax code.9Office of the Law Revision Counsel. 26 USC 6662 – Imposition of Accuracy-Related Penalty on Underpayments
California adds its own layer. The FTB charges interest on underpayments at 7% for the period running through mid-2026 and can impose its own accuracy-related penalties on top of that.10Franchise Tax Board. Interest and Estimate Penalty Rates Because California allows deductions the federal government does not, Schedule CA entries that diverge from your federal return can draw questions when they are poorly documented.
The best protection is detailed invoicing. Ask your attorney to itemize bills by matter, separating business work from personal matters and identifying any services tied to income production, tax advice, or capital transactions. A single invoice that lumps a business contract review together with a custody modification gives neither the IRS nor the FTB a reason to allow any of it.