Rehab is tax deductible. The IRS treats inpatient and outpatient treatment for drug addiction and alcohol dependency as a qualified medical expense, so what you pay out of pocket for detox, residential programs, therapy, and prescribed medications can reduce your taxable income. Two conditions decide whether the deduction actually helps you: only the portion of your total medical spending above 7.5% of your adjusted gross income counts, and you have to itemize on Schedule A instead of taking the standard deduction.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
What Rehab Costs Qualify
Inpatient treatment at a therapeutic center for alcohol or drug addiction is explicitly deductible, including the meals and lodging the facility provides during your stay.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses That covers counseling with licensed therapists, medications administered during treatment, psychiatric evaluations, and medical supervision during detox. When a residential facility bundles room and board into its treatment fees, the full amount qualifies because the controlled environment is considered part of the medical care.
Outpatient care qualifies too. The underlying statute allows a deduction for any amount paid for the “diagnosis, cure, mitigation, treatment, or prevention of disease,” which reaches outpatient therapy, partial hospitalization, and intensive outpatient programs for substance abuse.2Office of the Law Revision Counsel. 26 U.S. Code 213 – Medical, Dental, Etc., Expenses Smoking cessation programs also count.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
One item many people miss: transportation to and from recovery support meetings such as Alcoholics Anonymous or Narcotics Anonymous is deductible when a doctor has recommended attendance as part of treatment.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses Over months of regular meetings, those miles add up.
The 7.5% AGI Floor and Why It Matters
You cannot deduct the first dollar you spend. Federal law only allows a deduction for medical expenses above 7.5% of your adjusted gross income.2Office of the Law Revision Counsel. 26 U.S. Code 213 – Medical, Dental, Etc., Expenses Your AGI is your total income minus certain above-the-line adjustments such as student loan interest.3Internal Revenue Service. Adjusted Gross Income
The math in practice: if your AGI is $80,000, the 7.5% floor is $6,000. Spend $25,000 on a residential program that year and $19,000 is deductible. Spend only $5,000 on medical costs total and you get nothing, because you never clear the floor. Rehab is expensive enough that many people do clear it, especially with an inpatient stay.
You also have to itemize on Schedule A instead of taking the standard deduction.4Internal Revenue Service. Instructions for Schedule A (Form 1040) (2025) For 2026, the standard deduction is $16,100 for single filers and $32,200 for married couples filing jointly.5Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Itemizing only saves money when your itemized deductions together (medical, state and local taxes, mortgage interest, charitable gifts) exceed that amount. A $30,000 residential stay clears the bar for most single filers on its own. A $5,000 outpatient bill probably will not, unless other deductions carry it.
Insurance, HSAs, and FSAs Reduce What You Can Deduct
Only what you actually paid out of pocket counts. Any amount covered by health insurance, Medicare, or another reimbursement source has to come off your total before you calculate the deduction.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses If your insurer covered $15,000 of a $30,000 stay, your starting number is $15,000.
Health Savings Accounts, Flexible Spending Accounts, and Health Reimbursement Arrangements work the same way. Addiction treatment and drug counseling are qualified expenses under all three, so you can pay for rehab with those funds. But you cannot deduct the same dollar twice. Anything reimbursed by an HSA or FSA is excluded from your itemized medical deduction.6Internal Revenue Service. Frequently Asked Questions About Medical Expenses Related to Nutrition, Wellness and General Health If you have both options, weigh whether paying with pretax HSA dollars now beats paying out of pocket and claiming a deduction later, given your total medical spending and the 7.5% floor.
Paying for a Spouse, Dependent, or Child
Costs you paid for a family member’s treatment can go on your return. You can include rehab expenses for your spouse (as long as you were married when the services were provided or when you paid) and for anyone who qualifies as your dependent.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses A qualifying dependent generally has to be a relative for whom you provided more than half of financial support during the year.
Divorced or separated parents get a useful exception. Either parent can deduct medical expenses they personally paid for a child’s treatment, regardless of which parent claims the child as a dependent, as long as the child was in the custody of one or both parents for more than half the year and received over half of their support from the parents combined.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses A non-custodial parent who writes the check for a teenager’s program can include the cost on their own return.
Travel and Lodging
Getting to treatment counts. Bus, train, and plane tickets to reach a rehab facility are deductible, along with tolls and parking. If you drive your own car, you can deduct either your actual gas and oil costs or the standard medical mileage rate, which is 20.5 cents per mile for 2026.7Internal Revenue Service. Notice 2026-10 The mileage rate is simpler and skips gas receipts, but you still need a log of the trips and distances.
Traveling away from home for outpatient care lets you deduct lodging up to $50 per night per person. When a parent travels with a child receiving care, the combined limit is $100 per night.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses The lodging cannot be lavish, and the trip cannot involve any meaningful element of personal recreation. A basic hotel near the treatment center passes. An oceanfront resort an hour away does not.
Costs That Don’t Qualify
The IRS draws a firm line between medical care and personal comfort, which is where high-end treatment centers cause confusion. Luxury amenities, recreational activities, gym access, spa services, and anything that is “general improvement of health” rather than treatment of a specific condition are not deductible.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Other common exclusions:
- Vacations or retreats taken for a change in environment or improvement of morale, even when a doctor suggests them.
- Health club dues, even at a facility that folds fitness into recovery.
- Vitamins, dietary supplements, and health foods, unless a physician prescribes them to treat a diagnosed condition.
- Cosmetic procedures, which must be separated out if a facility offers them alongside addiction care.
If your treatment center bills a flat rate that mixes clinical care with resort-style amenities, ask for an itemized statement that breaks out the medical costs. The IRS can challenge vague billing, and proving a cost was medically necessary is on you.
When You Pay Determines the Tax Year
Medical expenses land on the return for the year you paid them, not the year you received treatment. If you entered rehab in December 2025 but paid the bill in January 2026, the deduction belongs on your 2026 return.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses
Credit cards trip people up. A charge is deductible in the year you make it, not the year you pay off the balance.1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses A $20,000 rehab charge on your card in November 2026 goes on your 2026 return, even if you spend all of 2027 paying it down. That can actually help you concentrate expenses into one tax year to clear the 7.5% floor.
Documentation to Keep
You do not send receipts with your return, but you need them if the IRS asks. For rehab specifically, hold on to:
- A written letter of medical necessity from a licensed physician stating that treatment was medically required. This is the most important document.
- Itemized facility bills that separate clinical services, medications, room and board, and any non-medical charges.
- Pharmacy receipts for prescribed medications tied to your treatment.
- Insurance explanations of benefits showing what the insurer paid and what remained your responsibility.
- A travel log of dates, destinations, miles, tolls, and parking for trips related to treatment.
Keep the records for at least three years from the date you file the return.8Internal Revenue Service. How Long Should I Keep Records? A folder organized by expense type will make an IRS notice far less painful than a shoebox of unsorted paper.
How to Claim It
The mechanics are straightforward. Add up all qualifying medical expenses you paid during the year. Subtract insurance reimbursements and any HSA or FSA distributions. Subtract 7.5% of your AGI. What remains goes on the medical and dental expenses line of Schedule A (Form 1040).1Internal Revenue Service. Publication 502 (2025), Medical and Dental Expenses You can file electronically through tax software or mail a paper return.
If you already filed and forgot to include rehab costs, amend the return with Form 1040-X. You have three years from the date you filed the original return, or two years from the date you paid the tax, whichever is later, to claim a refund.9Internal Revenue Service. Time You Can Claim a Credit or Refund Because rehab costs are often large enough to shift whether itemizing pays off, an amended return is worth the effort when the deduction was missed the first time.