Is Rehab Tax Deductible? How the Medical Expense Deduction, HSAs and FSAs Treat Addiction Treatment

Updated November 2026 • ClearCostRecovery Editorial Team

People searching “is rehab tax deductible” usually have a bill in hand or a quote on the table and want to know whether the IRS will share any of the cost. The short answer is yes: federal tax rules treat drug and alcohol treatment as medical care. But “deductible” has limits that matter a lot. Only the part of your medical spending above 7.5% of your income counts, you have to itemize to use it, and you can’t count anything insurance or a tax-free account already paid. This guide walks through the rules using the IRS’s own publications and the 2026–2027 figures, so you can see whether the deduction, a Health Savings Account (HSA) or a Flexible Spending Account (FSA) will lower what treatment actually costs you.

Definition: A tax-deductible rehab expense is an amount you personally paid during the year for treatment of a substance use disorder (SUD), such as inpatient care at a treatment center, psychiatric care or therapy, that the IRS allows you to include in the itemized medical expense deduction on Schedule A (Form 1040), or to pay tax-free from an HSA or health FSA.

This page explains federal tax rules in plain language. It is not tax advice. A tax professional can tell you how these rules apply to your return.

The Short Answer

QuestionAnswerSource
Does inpatient drug or alcohol rehab count as a medical expense?Yes, including meals and lodging the center provides during treatmentIRS Publication 502
How much can you deduct?Only total unreimbursed medical expenses above 7.5% of adjusted gross income (AGI)IRS Publication 502
Do you have to itemize?Yes. It only helps if your itemized deductions beat the standard deduction ($16,100 single / $32,200 married filing jointly in 2026)Rev. Proc. 2025-32
Can an HSA pay for rehab?Yes, tax-free, as a qualified medical expenseIRS Publication 969
2027 HSA contribution limit$4,500 self-only / $9,000 family (+$1,000 if 55 or older)Rev. Proc. 2026-24; Publication 969
2026 health FSA limit$3,400 (carryover up to $680 if your plan allows)Rev. Proc. 2025-32
Can you deduct what insurance paid?No. Only what you paid and weren’t reimbursed forIRS Publication 502

What the IRS Says About Rehab Costs

IRS Publication 502, Medical and Dental Expenses, is the IRS’s list of what counts. Medical expenses are defined as the costs of diagnosing, treating, mitigating or preventing disease. Addiction treatment appears by name in two entries:

  • Alcoholism: “amounts you pay for an inpatient’s treatment at a therapeutic center for alcohol addiction. This includes meals and lodging provided by the center during treatment.”
  • Drug addiction: “amounts you pay for an inpatient’s treatment at a therapeutic center for drug addiction,” again including meals and lodging the center provides during treatment.

That second half matters for residential rehab. A large share of a residential program’s price is room and board, and the IRS lets you count it because it is provided by the center as part of inpatient treatment.

Other entries in Publication 502 cover the rest of a typical treatment path:

ExpenseCounts?What Publication 502 says
Inpatient (residential) treatment at a therapeutic centerYesIncludes meals and lodging provided by the center during treatment
Psychiatric careYes”You can include in medical expenses amounts you pay for psychiatric care.”
PsychologistYesAmounts you pay to a psychologist for medical care
TherapyYesTherapy received as medical treatment
Transportation to recovery support meetings (for example, Alcoholics Anonymous)Yes, with a conditionAttendance must be pursuant to competent medical advice
Prescription drugs (such as medications for opioid or alcohol use disorder; see naltrexone and Vivitrol cost)YesPrescribed drugs count; non-prescribed drugs don’t, except insulin
Meals that aren’t part of inpatient careNo”You can’t include in medical expenses the cost of meals that aren’t part of inpatient care.”
Anything paid by insurance or another sourceNoOnly unreimbursed amounts count
Anything paid with tax-free HSA moneyNoYou can’t deduct expenses paid by a tax-free HSA distribution

Because outpatient services such as psychiatric care, psychologist visits and therapy are listed too, the deduction isn’t limited to residential programs. Payments you make for detox, partial hospitalization, intensive outpatient programs or ongoing counseling are medical care as well, as long as they are treatment you received and paid for. For what those levels of care usually cost, see our guide to medical detox cost and the full rehab cost breakdown.

The 7.5% Rule: Why Many People Deduct Less Than They Expect

The medical expense deduction has a floor. Publication 502 allows you to deduct “only the amount of your medical and dental expenses that is more than 7.5% of your AGI.” Everything below that line is yours to absorb.

Then there’s a second gate: the deduction is an itemized deduction on Schedule A. It only lowers your tax if your itemized deductions in total (medical expenses above the floor, plus state and local taxes, mortgage interest, charitable gifts and so on) are larger than the standard deduction. For tax year 2026, the IRS set the standard deduction at $16,100 for single filers and married people filing separately, and $32,200 for married couples filing jointly (Rev. Proc. 2025-32).

A worked example (illustration only)

These figures are hypothetical, chosen to show the math. They are not a quote or tax advice.

StepSingle filer, AGI $80,000
Out-of-pocket rehab costs paid this year (no insurance, residential program)$28,000
Other unreimbursed medical costs$1,000
Total unreimbursed medical expenses$29,000
7.5% floor (7.5% × $80,000)$6,000
Deductible medical expenses$23,000
Plus other itemized deductions (example)$6,000
Total itemized deductions$29,000
2026 standard deduction (single)$16,100
Extra deduction from itemizing$12,900

In this example, itemizing gives the person $12,900 more in deductions than the standard deduction. What that saves in tax depends on their tax bracket, so a deduction of that size reduces the bill but doesn’t come close to refunding it.

Now compare the same person with insurance. Suppose a plan’s out-of-pocket maximum is reached at $8,700. Their total medical expenses would be $9,700 ($8,700 plus $1,000 of other costs), only $3,700 above the $6,000 floor. Add $6,000 of other itemized deductions and the total is $9,700, well below the $16,100 standard deduction, so the medical deduction would give them nothing at all. That’s the pattern for most insured people: coverage does the heavy lifting, and the tax deduction mostly matters for large self-pay bills.

How Insurance and the Deduction Work Together

If you have coverage, the amounts you pay through your plan (your deductible, coinsurance, copays and any charges for services the plan doesn’t cover) are your unreimbursed medical expenses. Publication 502 is explicit that you “can’t include medical expenses that were paid by insurance companies or other sources,” and you can include only expenses you paid during the tax year.

Federal law also caps how high those in-network payments can go on ACA-compliant plans. HealthCare.gov lists the in-network out-of-pocket maximum at $10,600 for an individual and $21,200 for a family in 2026, rising to $12,000 and $24,000 in 2027. Your plan’s own maximum may be lower. Out-of-network care, non-covered services and charges above the plan’s allowed amount don’t count toward that limit, but if you paid them, they can still count as medical expenses on your tax return when they are for medical care.

Substance use disorder treatment is a required benefit on Marketplace plans, and parity rules mean deductibles, coinsurance, day limits and prior authorization for SUD care can’t be more restrictive than for medical and surgical care. For the coverage side of the picture, read does insurance cover rehab and how inpatient rehab is billed.

Publication 502 also lets you include insurance premiums you pay for policies that cover medical care, subject to its rules on which premiums qualify. For someone already near the 7.5% floor because of a treatment stay, qualifying premiums you paid can add to the total.

Using an HSA to Pay for Rehab

A Health Savings Account is often the most valuable tax tool for treatment costs, because it doesn’t depend on the 7.5% floor or on itemizing. Money goes in before tax (or is deductible), grows tax-free, and comes out tax-free when it is spent on qualified medical expenses. IRS Publication 969 defines those as amounts paid for medical care as defined in Internal Revenue Code section 213(d), the same definition that makes addiction treatment a deductible medical expense.

HSA rule20262027
Contribution limit, self-only coverage$4,400$4,500
Contribution limit, family coverage$8,750$9,000
Extra catch-up contribution, age 55+$1,000$1,000
Minimum HDHP deductible (self-only / family)—$1,750 / $3,500
HDHP out-of-pocket maximum (self-only / family)—$8,700 / $17,400

Sources: IRS Publication 969 (2026 limits, catch-up); Rev. Proc. 2026-24 (2027 limits and HDHP thresholds).

Three rules to keep in mind:

  1. No double benefit. Publication 502 says you can’t deduct expenses you paid with a tax-free HSA distribution. Pick one tax break per dollar.
  2. Spend it on medical care. Publication 969 adds an extra 20% tax on distributions that aren’t used for qualified medical expenses, on top of regular income tax.
  3. You need HSA-eligible coverage to contribute. As of January 1, 2026, bronze and catastrophic plans available through an Exchange are treated as HSA-compatible (IRS Notice 2026-5). That opened HSAs to many people who buy their own coverage.

An HSA that already has money in it can pay a treatment deductible and coinsurance immediately. Because the account belongs to you, the balance carries over from year to year.

Using a Health FSA

A health Flexible Spending Arrangement through an employer works on a similar idea: you set aside pre-tax pay and use it for medical care. For 2026 the IRS limit on salary reductions to a health FSA is $3,400, and plans that allow carryovers can let up to $680 roll into the next year (Rev. Proc. 2025-32). FSAs are usually “use it or lose it” beyond any carryover, so they fit best when treatment is planned within the plan year, such as a scheduled step-down to intensive outpatient care or ongoing therapy. As with an HSA, you can’t also deduct what the FSA reimbursed.

Paying for a Family Member’s Treatment

Many treatment bills are paid by a parent or spouse. Publication 502 lets you include medical expenses you pay for yourself and for a person who was your spouse or dependent either when the services were provided or when you paid for them. Those payments go into your total and face the same 7.5% floor based on your AGI.

An HSA can also pay for a spouse’s or dependent’s medical care. If the person in treatment isn’t your dependent for tax purposes, a tax professional can tell you whether any of the payments qualify on your return.

Records to Keep

If you plan to itemize, keep a folder for the year with:

  • Itemized facility bills showing dates of service and level of care (detox, residential, PHP, IOP)
  • Explanation of Benefits (EOB) statements from your plan showing the allowed amount, what the plan paid, and your share
  • Payment receipts (card statements, canceled checks, financing statements) showing what you actually paid and when
  • Pharmacy receipts for prescribed medications
  • A note of medical advice if you are counting travel to recovery support meetings
  • HSA and FSA statements so you don’t count reimbursed amounts twice

Separate physician, lab and pharmacy bills often arrive weeks after discharge. Our guide to the hidden costs of rehab lists the charges that usually sit outside a program’s quoted price.

Tax Breaks vs. Coverage: What Actually Lowers the Bill More

Tax rules help at the edges, but they don’t change the price of care. The deduction returns only a fraction of what you spend above the floor, and only if you itemize. Insurance changes the bill itself. It replaces the facility’s list price with a negotiated rate, and on ACA-compliant plans it caps your in-network share for the year.

That’s why the order of steps usually matters more than the tax return:

  1. If you have insurance, verify your behavioral health benefits and in-network options first. Then use HSA or FSA money for your deductible and coinsurance.
  2. If you don’t have insurance, compare a self-pay quote with the cost of getting coverage first. A plan’s out-of-pocket maximum puts a ceiling on in-network costs that a self-pay quote doesn’t have. Our guide to rehab cost without insurance walks through that comparison.
  3. At tax time, add up what you actually paid and weren’t reimbursed for, and check whether itemizing beats the standard deduction.

Use our rehab cost calculator to estimate your out-of-pocket cost with and without coverage before you decide.

Sources

Your Plan May Not Cover Inpatient Treatment.

Even with insurance, many people discover their plan doesn't cover residential treatment at the level they need. A broker who specializes in behavioral health coverage can review your situation and find a plan that works.

Call 1-866-454-9577

Free Consultation · No Obligation

Prodest Insurance Group is a licensed, independent health insurance brokerage. Calling the number above connects you with a licensed insurance agent, not a treatment facility. Insurance placement is a separate service from treatment referral.

ClearCostRecovery.com is an educational resource. We are not a treatment facility. Cost estimates are for informational purposes only and may vary. Treatment outcomes vary by individual.

Frequently Asked Questions

Is drug rehab tax deductible?

Yes, as an itemized medical expense. IRS Publication 502 lets you include amounts you pay for an inpatient's treatment at a therapeutic center for drug addiction, including meals and lodging the center provides during treatment. You can deduct only the part of your total unreimbursed medical expenses that is more than 7.5% of your adjusted gross income, and only if you itemize on Schedule A instead of taking the standard deduction ($16,100 single or $32,200 married filing jointly for 2026).

Is alcohol rehab tax deductible?

Yes. Publication 502 lists alcoholism treatment separately: inpatient treatment at a therapeutic center for alcohol addiction counts as a medical expense, including the center's meals and lodging, and so does transportation to and from recovery support meetings such as Alcoholics Anonymous when you attend on competent medical advice. The same 7.5%-of-AGI floor and itemizing rules apply.

Can I use my HSA to pay for rehab?

Yes. HSA money can be spent tax-free on qualified medical expenses, which IRS Publication 969 defines as medical care under Internal Revenue Code section 213(d), the same definition behind the medical expense deduction that covers addiction treatment. For 2027 you can contribute up to $4,500 with self-only coverage or $9,000 with family coverage (Rev. Proc. 2026-24), plus $1,000 if you are 55 or older. You can't also deduct expenses you paid with tax-free HSA money.

Can you claim rehab on your taxes if insurance paid part of it?

You can claim only the part you paid yourself. Publication 502 says you can't include medical expenses paid by insurance companies or other sources. Your deductible, coinsurance, copays and any non-covered charges you paid out of pocket during the year can be included, and your Explanation of Benefits shows exactly which amounts were yours.

Can I deduct rehab I paid for my spouse or child?

Generally yes. IRS Publication 502 lets you include medical expenses you pay for yourself and for a person who was your spouse or your dependent either when the services were provided or when you paid for them. The expenses still go into your total, which is then reduced by 7.5% of your adjusted gross income.

Does rehab count as a medical expense for taxes?

Yes, when it is treatment. The IRS defines medical expenses as the costs of diagnosing, treating, mitigating or preventing disease, and Publication 502 names inpatient alcohol and drug addiction treatment, psychiatric care, psychologist fees and therapy received as medical treatment as includible. Meals that aren't part of inpatient care and nonprescription drugs (other than insulin) don't count.

Ready to Find Out What Treatment Costs?

Get your personalized estimate in 2 minutes. Free, confidential, no obligation.

Calculate Your Treatment Costs

Or call us now: 1-866-352-6272