The HSA Tax Deduction: How It Works
You can deduct HSA contributions you make yourself on Form 8889, even if you don't itemize. Employer contributions are already pre-tax, so you never deduct them again.
7 minute read

Short answer
Yes. You can claim a tax deduction for contributions you make to your HSA, even if you don't itemize. You claim it on Form 8889.
Your employer's contributions are already excluded from your gross income on your W-2, so you don't deduct them again. But contributions you make yourself, or that a family member or friend makes on your behalf, reduce your taxable income. You report the deduction on Form 8889 and enter it on Schedule 1 (Form 1040). Publication 969 says you can claim a tax deduction for contributions you or someone other than your employer make to your HSA even if you don’t itemize your deductions on Schedule A (Form 1040).
The HSA deduction rule and Form 8889
An HSA is a tax-advantaged savings account, and the tax treatment of a contribution depends on who made it.
Contributions you make yourself are deductible on your tax return. That means the standard deduction doesn’t block it: you can claim a tax deduction for contributions you or someone other than your employer make to your HSA even if you don’t itemize your deductions on Schedule A (Form 1040).
The deduction goes on Form 8889, Health Savings Accounts (HSAs). You complete this form to report your contributions and distributions, then carry the amount over. The instructions say to enter the smaller of line 2 or line 12 on line 13 and on Schedule 1 (Form 1040), Part II, line 13.
Your employer's HSA contributions are pre-tax. Contributions made by your employer (including contributions made through a cafeteria plan) may be excluded from your gross income. Your employer’s contributions will also be shown on Form W-2, box 12, code W. You don't deduct employer contributions a second time on Form 8889, because they were already excluded from your wages.
Worked example
Here's how the deduction works in practice. Assume you earn $65,000 in gross wages and your income tax rate is 22%.
Scenario | Amount | Effect on taxes |
|---|---|---|
Your gross wages | $65,000 | |
You contribute to your HSA yourself | $2,000 | |
Taxable income (after HSA deduction) | $63,000 | Reduced by $2,000 |
Tax savings at 22% rate | $440 saved |
That $2,000 contribution reduces your taxable income by $2,000. At a 22% federal tax bracket, you save $440 in federal income tax. The HSA balance stays in the account to pay or reimburse qualified medical expenses, and the growth on that balance is always tax-free.
Edge cases and limits
Catch-up contributions for age 55 and up
If you're age 55 or older by the end of your tax year, you can contribute an extra $1,000 per year above the standard limit. This is called a catch-up contribution and is fixed by statute at $1,000 (it doesn’t change with inflation). The catch-up amount is fully deductible on your tax return.
Prior-year contributions
You can make a contribution for the prior tax year until your tax return is due, usually April 15 of the following year. A filing extension does not extend this date. For example, you could contribute in April 2027 for tax year 2026 and claim the deduction on your 2026 return filed in 2027. Your HSA trustee may set its own cutoff, so tell it which tax year the deposit is for.
Excess contributions
Contributions over the annual limit (including employer contributions and catch-up) are excess contributions. You can't deduct the excess amount. If you contribute more than the limit, you must withdraw the excess and any earnings on it by the tax filing deadline to avoid the 6% excise tax. The Form 8889 instructions say Code section 4973 imposes a 6% tax on excess contributions to an HSA, and it repeats each year the excess stays in the account. The excess contributions guide walks through the withdrawal.
Employer contributions on your W-2
If your employer contributes to your HSA through payroll, the contribution appears in box 12 of your W-2 with code W. These contributions are already excluded from your gross income, so they aren't deductible. You only deduct contributions you made yourself or contributions others made on your behalf.
Medicare enrollment
Once you enroll in Medicare, your contribution limit for HSA purposes becomes zero for that month and all following months. The Form 8889 instructions put it flatly: you cannot deduct any contributions for any month in which you were enrolled in Medicare. If your Medicare coverage started earlier than your enrollment date, check your start date with Social Security to confirm when contributions became non-deductible.
State income tax
State tax rules for HSA deductions vary. Some states conform to the federal deduction, others don’t. Check your state tax guidance or consult a tax professional for how your state treats HSA deductions.
Where HSA reimbursement fits
The tax deduction applies to contributions you make to the HSA account. Once money is in the account, you use it to pay or reimburse qualified medical expenses tax-free. When you buy something and request reimbursement with a letter of medical necessity, Burst files the reimbursement claim with your administrator. The administrator pays you out of your HSA balance. Taking money out for a qualified expense doesn't create a second deduction.
In other words, you deduct the contribution once (when you fund the account), then use the money tax-free (when you pay or reimburse medical expenses). The administrator reviews the letter when it decides the claim, and the letter doesn’t affect the tax deduction on the contribution. The deduction applies to the year you made the contribution, not to the year you spent the money.
The HSA deduction and the HSA balance are separate tax questions. Your deduction reduces your taxable income in the year you contribute. Your spending from the account stays tax-free as long as you spend on qualified medical expenses. That's why funding your HSA is double-advantaged: you get the deduction on the contribution, and the growth and spending are both tax-free.
Learn more about what qualifies: HSA benefits explains qualified expenses, and contribution limits shows how much you can contribute each year.
Where Burst fits
Some purchases are only reimbursable with a letter of medical necessity: gym memberships, massage, fitness equipment, sleep and recovery products, and similar. Burst writes the letter and files the claim for $35, refunded if no letter is issued or the claim is denied. See how a letter works.
Frequently asked questions
Can I claim the HSA deduction if I don't itemize deductions?
Yes. You can claim the deduction on Form 8889 whether you use the standard deduction or itemize. According to IRS Publication 969, the deduction is available even if you don't itemize your deductions on Schedule A (Form 1040).
Do my employer's HSA contributions count toward the deduction?
No. Employer contributions are pre-tax and already excluded from your W-2 income. They appear in box 12 with code W. You only deduct contributions you made yourself or that someone other than your employer made for you.
Can I deduct contributions I made after the year ended?
Yes, if you make the contribution by the return due date, usually April 15. A filing extension does not extend it. Contributions made in April for the prior tax year can be deducted on that prior year's return.
What if I exceed the annual HSA contribution limit?
Excess contributions can't be deducted. If you contribute more than the limit, you must withdraw the excess and any earnings by the filing deadline to avoid a 6% excise tax on the amount each year it stays in the account.
Can I still deduct HSA contributions after I turn 65?
No. Once you enroll in Medicare (typically at 65), your contribution limit becomes zero and you can't deduct contributions for that month and beyond. The funds already in your HSA stay there and can be used for qualified expenses or Medicare premiums.
Does the state tax my HSA contributions?
It depends on your state. Some states conform to the federal HSA deduction, others don’t. Check your state's tax guidance or speak with a tax professional about how your state treats HSA contributions.
Keep reading: See how much you can contribute each year, Learn which medical expenses you can pay with HSA funds, Browse all eligible health and wellness items, and all guides on this topic.
Sources
IRS Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans (HSA deduction for contributions, deduction without itemizing, Form 8889 reporting, employer contributions excluded from income, catch-up contributions, Medicare enrollment rule, employer contributions excluded from income and shown in W-2 box 12 code W)
Instructions for Form 8889, Health Savings Accounts (HSAs) (Form 8889 line 13 deduction, Schedule 1 (Form 1040) reporting, Medicare enrollment bars deduction, excess contributions)
Rev. Proc. 2025-19 (2026 HSA contribution limits and catch-up contribution amount)
