Generally no — you cannot write off the core cost of getting divorced. In the United States, the Internal Revenue Service treats divorce as a personal expense, so attorney fees for the divorce itself, court filing costs, and general legal advice aren't deductible. Canada's tax agency draws a similar line. The narrow exceptions involve fees tied to taxable income events: securing alimony in older U.S. divorces, obtaining spousal support in Canada, or getting tax advice about the settlement. Everything else usually comes out of your own pocket, which is why the more useful question is often whether the other side can be ordered to pay.

This article explains both meanings of "write off" — the tax deduction and the practical cost-shifting through a court order — because divorcing readers tend to use the phrase for either one. Rules differ by country and change over time, so treat this as a framework for asking better questions, not as tax or legal advice for your specific return.

The Tax Rule in Plain English

A tax deduction lowers your taxable income, which lowers the tax you owe. A tax credit reduces the tax itself, dollar for dollar. Neither is the same as a refund, and neither happens automatically — you have to claim the right item on the right form with the right evidence.

The U.S. starting point is that the cost of a personal legal action isn't deductible. Courts settled this principle decades ago, and the IRS applies it to divorce, legal separation, and most family law matters. Attorney time spent negotiating property division, drafting a parenting plan, or arguing about who keeps the house is personal consumption in the tax code's eyes, no matter how painful the bill.

Canada reaches a similar result through a different route. The Canada Revenue Agency allows deductions for legal fees incurred to establish, negotiate, or enforce a spousal or child support order, but not for fees paid strictly to obtain the divorce or divide family property. The dividing line in both countries is whether the fee produced something the tax system taxes.

What You Actually Can Deduct

The exceptions are narrow and fact-specific. Under U.S. rules, fees incurred to secure taxable alimony have historically been deductible for the recipient, because that alimony was taxable income. The same logic applied to fees related to taxable pension distributions awarded in a divorce. Fees paid purely for tax advice connected to the divorce — for example, understanding the capital gains consequences of selling the house — may also be deductible.

For Canadian taxpayers, fees tied to establishing, negotiating, or enforcing support are the main carve-out, and they're claimed on the dedicated line for those expenses rather than buried in a general category. Keep your invoices itemized, because a single bill from your lawyer will usually mix deductible and non-deductible work, and a lump-sum invoice gives you nothing to work with at filing time.

Fee type U.S. treatment Canada treatment
Attorney time to obtain the divorce itself Not deductible Not deductible
Property division and asset splits Not deductible Not deductible
Securing alimony or spousal support Deductible in older cases tied to taxable alimony Deductible for establishing or enforcing support
Tax advice about the settlement Potentially deductible Check with a local tax professional
Court filing fees Not deductible Not deductible

The column that matters most is the middle one, because U.S. alimony treatment changed. For divorces finalized on or after January 1, 2019, the paying spouse no longer deducts alimony and the recipient no longer reports it as income. When the income isn't taxable, the old rationale for deducting the legal fees used to obtain it largely collapses. Older agreements that predate the change follow the old rules.

The Date That Changes Everything for U.S. Filers

Timing is the single biggest variable in the U.S. analysis. A divorce finalized on or before December 31, 2018 sits under the old regime: alimony is taxable to the recipient, deductible to the payer, and legal fees spent securing that taxable support can generally be deducted by the recipient. A divorce finalized on or after January 1, 2019 sits under the new regime: alimony is neither deductible nor reportable, and the deduction rationale weakens considerably.

Then there's the temporary suspension of the miscellaneous itemized deduction category that once housed these fees. The 2017 tax overhaul suspended that category for several years, which meant even qualifying fees couldn't be claimed during the suspension window. The suspension was structured to expire, so whether a given year's return allows the deduction depends on the tax year you're filing for, not just the year of your divorce. Confirm the current status with the IRS or a CPA before claiming anything.

Worked example, purely illustrative: suppose you paid a lawyer $12,000 in total. The invoice breaks down as $2,000 for tax planning on the settlement, $4,000 for negotiating support, and $6,000 for the divorce itself and property issues. Only the first two lines — $6,000 — are even candidates for deduction, and whether they survive depends on your filing year, your country, and the nature of the support. The $6,000 for the divorce is gone either way. The lesson: the itemization on the invoice changes the answer more than the total ever does.

How to Get the Fees Paid by Your Spouse

If a deduction isn't available, the next best outcome is shifting the bill. Courts in many jurisdictions can order one party to contribute to the other's legal fees, especially where there's a large income gap, where one spouse controls the money, or where one side has behaved unreasonably — hiding assets, refusing to disclose documents, or running up costs with frivolous motions.

The mechanism is usually a costs award or a fee contribution motion decided by the judge. It's discretionary, so nobody can promise it. You typically need to show the disparity in resources and document the other party's conduct. Raising it early with your lawyer beats waiting until the final bill arrives, because courts respond better to a request made before the costs pile up rather than after.

There's also an indirect write-off hiding in the settlement itself. If your spouse agrees to pay your legal fees as part of the overall deal, that payment is generally not taxable income to you in the U.S. context, because it's a reimbursement rather than earnings. The practical effect is close to a deduction: the money arrives tax-free and offsets the bill.

Non-Tax Ways the Fees Pay for Themselves

Some legal spending genuinely earns its keep, and it's worth framing the budget around that. A lawyer who catches a hidden retirement account, corrects a support calculation, or negotiates a better property split can recover many times the fee. A $3,000 review that finds a $60,000 pension omission is an easy yes. A $10,000 fight over a $4,000 couch is not.

Run the arithmetic before authorizing each stage. Ask your lawyer for an estimate in writing and compare it to the value at stake. If the expected gain from a contested point is smaller than the projected fees to litigate it, settle that point and save the money for the issues that move the needle. This is the real write-off most divorcing people can control: choosing not to spend.

Fee structures differ too. Hourly billing rewards speed; flat fees reward scope discipline; unbundled or limited-scope arrangements let you pay for advice on specific tasks while handling the rest yourself. Ask which structure your lawyer uses and what the retainer covers before signing.

Where the Rules Differ Outside the U.S.

Tax treatment of divorce costs isn't universal, and the country you file in controls. Canada allows support-related legal fee deductions under CRA rules, which is broader than the current U.S. position on support. Other countries vary widely, and some don't allow any deduction for personal legal expenses at all.

Within federal systems, state or provincial rules can add their own layer on court costs, fee awards, and filing requirements. A Canadian reader in Ontario and a U.S. reader in California are answering different questions even when the sentence "can you write off lawyer fees for divorce" fits both. Identify your tax jurisdiction first, then check that jurisdiction's current guidance for the tax year in question. Rules that were accurate for a 2018 return may be irrelevant to the one you're filing now.

Common Mistakes That Cost Money

The costliest error is assuming the whole bill is deductible and skipping the itemization request. Ask your lawyer, at the start, to break invoices into categories: divorce proceedings, support negotiation, tax advice, and property matters. Firms can usually do this if you ask early; reconstructing it a year later is much harder.

The second mistake is claiming the deduction without checking the year. The suspension window and the 2019 alimony change interact, and filing a claim that was valid for an earlier tax year on a later return invites a correction letter. Confirm eligibility for the specific tax year before you file.

The third is missing the cost-shifting opportunity. If your spouse has far more income or is stonewalling discovery, raising a fee contribution request with the court is a legitimate step that many people never take because they don't know it exists. Ask your lawyer whether it applies to your facts.

Finally, don't confuse a deduction with a refund. A $6,000 deduction reduces taxable income by $6,000; at a 22% marginal rate that's roughly $1,320 in tax saved, not $6,000 back. Budget accordingly.

FAQ

Can I deduct my lawyer's fees if my divorce was finalized in 2017?

Your agreement follows the old alimony rules, so fees tied to securing taxable support were generally deductible for the recipient, subject to the itemized deduction rules in effect for the year you paid them. Confirm the specific tax year with a CPA.

Does it matter whether my lawyer bills hourly or flat fee?

The billing structure doesn't change deductibility — the nature of the work does. What matters is that the invoice separates support-related or tax-advice work from the divorce itself.

In the U.S., a fee payment made on your behalf as part of the divorce settlement is generally treated as a reimbursement rather than taxable income. Cross-border and self-employment situations can complicate this, so verify with a tax professional.

What if I can't afford a lawyer at all?

Ask about limited-scope representation, legal aid eligibility, and court fee waivers. Many jurisdictions offer self-help centers, and a single paid consultation can be enough to plan the rest yourself.

This article is general educational information, not legal or tax advice, and it can't account for your jurisdiction, filing year, or the specifics of your case. Divorce tax rules change and interact in ways that punish assumptions, so confirm your situation with a qualified family lawyer and a tax professional in your area before filing anything. If you're facing immediate danger or a mental health crisis, contact your local emergency services or crisis line right away.