People often ask whether contributions to a Health Savings Account (HSA) are tax deductible. The short answer is yes. How you get the tax break depends on how the money goes in, and the two routes aren’t taxed in quite the same way. This guide covers who qualifies, the limits for 2025 through 2027, and where the deduction shows up on your return.
Quick Answer
Yes. Your HSA contributions are tax deductible, or made pre-tax, as long as you’re eligible and you stay within the annual limit.
- If the money comes out of your paycheck through your employer’s plan, it’s left out of your taxable wages. There’s nothing more to deduct.
- If you contribute on your own, you deduct the amount on your tax return, even if you don’t itemize. IRS
Why It Matters
An HSA offers what many call a “triple tax benefit”:
- Pre-tax or deductible contributions reduce your taxable income today.
- Tax-free growth. Interest and investment earnings in the account aren’t taxed by the IRS.
- Tax-free withdrawals when the money pays for qualified medical expenses.
Who Can Contribute
To contribute and get the tax break, you have to be what the IRS calls an eligible individual. Publication 969 lists four requirements:
- You’re covered by a high-deductible health plan (HDHP) on the first day of the month.
- You have no other health coverage, apart from the kinds the IRS permits, such as dental, vision, and telehealth.
- You aren’t enrolled in Medicare. Our HSA and Medicare guide covers what changes once you are.
- You can’t be claimed as a dependent on someone else’s tax return.
Since January 1, 2026, bronze and catastrophic plans that are available as individual coverage through an Exchange count as HDHPs, even when they don’t meet the usual deductible rules. The rule is for individual coverage, so a bronze-level plan from an employer generally doesn’t qualify this way. See the IRS announcement and Notice 2026-5.
The last-month rule
If you’re eligible on the first day of the last month of your tax year, which is December 1 for most people, you’re treated as eligible for the whole year. The catch is a testing period that runs through the end of the following year. If you stop being eligible during it for a reason other than death or disability, the contributions you could only make because of this rule become income, with a 10% additional tax on top.
Contribution Limits
Your tax break only covers contributions up to the annual limit:
| Coverage Type | 2025 | 2026 | 2027 |
|---|---|---|---|
| Self-only coverage | $4,300 | $4,400 | $4,500 |
| Family coverage | $8,550 | $8,750 | $9,000 |
| Catch-up (55 & over) | $1,000 | $1,000 | $1,000 |
The limit covers everything that goes into your HSA for the year, including what your employer puts in. See our posts on the 2026 limits and 2027 limits for more. The 2027 post also has the HDHP deductible and out-of-pocket figures for both years.
How Each Kind of Contribution Is Taxed
Payroll contributions through your employer
Contributions you make through your employer’s cafeteria plan are treated as employer contributions. They’re left out of your income, and they generally aren’t subject to Social Security and Medicare taxes either. IRS They appear on your Form W-2 in box 12 with code W. You don’t deduct them on your return, because they were never taxed.
Contributions you make yourself
Money you put in directly, from your bank account for example, is deductible on your federal return whether or not you itemize. The deduction lowers your income tax. It doesn’t give back the Social Security and Medicare taxes already taken out of that pay, which is why payroll contributions usually save a little more when your employer offers them.
Contributions from someone else
A family member, or anyone else, can contribute to your HSA. You take the deduction, not the person who gave the money. IRS
Where the Deduction Goes on Your Return
You report HSA activity on Form 8889. It totals the year’s contributions, figures your deduction, and carries it to Schedule 1 (Form 1040), line 13. You file Form 8889 if anyone contributed to your HSA during the year, including your employer, or if you took any money out.
The Contribution Deadline
You can contribute for a tax year until the filing deadline for that year’s return. For 2025 contributions, that was April 15, 2026. Getting an extension to file doesn’t move the date.
Excess Contributions
If more than your limit goes in, the excess isn’t deductible, and there’s generally a 6% excise tax on it for each year it stays in the account. You can avoid that tax by withdrawing the excess, and any earnings on it, by the due date of your return, including extensions. The earnings count as income for the year you take them out. IRS
State Income Tax
Federal rules don’t always carry over to your state return. California, for example, doesn’t allow the HSA deduction, adds employer HSA contributions back into wages, and taxes interest and investment gains inside the account each year. California FTB Check your own state’s instructions.
How to Get the Full Benefit
- Use payroll contributions if your employer offers them. They skip Social Security and Medicare taxes as well as income tax.
- Count your employer’s money toward your limit. Employer contributions and your own share one limit.
- Recheck your eligibility when your coverage changes. Your limit can be lower if you weren’t eligible for the whole year.
- Contribute earlier in the year if you can. The money has longer to grow tax-free.
- Keep your receipts. You need them to show a withdrawal paid for a qualified expense, especially if you reimburse yourself years later. Our guide to HSA reimbursement records lists what to keep.
- Avoid withdrawals for anything else. They’re taxed as income, with an additional 20% tax unless you’re 65 or older or disabled.
Summary Table
| Scenario | Tax Treatment | Notes |
|---|---|---|
| Payroll contribution through your employer’s plan | Left out of taxable wages | Nothing to deduct; shown on Form W-2, box 12, code W |
| Contribution you make yourself | Deductible | Claimed on Form 8889, even if you don’t itemize |
| Contribution from your employer | Not included in income | Counts toward your limit |
| Contribution over the limit | Not deductible | 6% excise tax for each year it stays in |
Final Thoughts
Yes, HSA contributions are tax deductible if you’re eligible and stay within the limit. Payroll contributions get the break up front and skip payroll taxes. Contributions you make yourself get it as a deduction on your return.
Sources
- IRS Publication 969: Health Savings Accounts and Other Tax-Favored Health Plans
- Instructions for Form 8889
- IRS Publication 15-B: Employer’s Tax Guide to Fringe Benefits
- IRS Notice 2026-5: Expanded Availability of Health Savings Accounts
- Rev. Proc. 2025-19: 2026 inflation-adjusted amounts for HSAs
- Rev. Proc. 2026-24: 2027 inflation-adjusted amounts for HSAs
- California FTB: 2025 Instructions for Schedule CA (540)
This article is for informational purposes only and does not constitute tax or legal advice. Consult a licensed tax professional for advice specific to your situation.


