HSA Tax Guide 2026

A clear, step-by-step guide to filing taxes with your HSA, covering forms, limits, rules, and what's changing.

Managing the tax side of a Health Savings Account (HSA) is the key to maximizing your financial savings. This guide covers filing your 2026 federal tax return in 2027 and planning your 2027 contributions. It provides a deep dive into reporting requirements, the critical forms you must gather, and how the One Big Beautiful Bill (OBBB) Act has shifted the tax rules.


The financial power of the triple tax advantage

The HSA is a unique financial tool because it offers three distinct layers of federal tax protection. Contributions, investment growth, and qualified withdrawals can all be free from federal tax.

Tax Advantage

How It Works

Financial Benefit

Deductible Contributions

Lower your gross income on your tax return

Reduces your current year tax bill

Tax-Free Growth

Earnings and interest are not taxed

Maximizes long-term savings growth

Tax-Free Withdrawals

No tax on qualified medical spending

Pays for qualified care with untaxed dollars

Why these advantages matter for your 2026 planning:Because growth is tax-free, you can invest your HSA funds for the long term and use the account as a savings vehicle for healthcare costs in retirement. If you want to learn more about the long-term growth potential of these accounts, our HSA Guide explains how to move from basic saving to strategic investing.


Key tax deadlines and contribution limits

When managing your taxes, timing is everything. For the HSA, there is a specific window of time where you can influence your tax bill for the previous year.

The April 15 prior-year window

The most important date for HSA owners is the federal tax filing deadline, which is April 15, 2027. You have until this date to make "prior-year" contributions. This means that in the early months of 2027, you can still add money to your account and count it toward your 2026 tax return.

Contribution limits for 2026 and 2027

The IRS sets a limit on how much can be contributed to an HSA each year. These limits include all money put into the account, whether it comes from you or your employer.

Coverage Type

2026 Limit (Filing Now)

2027 Limit (Planning Now)

Individual (Self-Only)

$4,400

$4,500

Family

$8,750

$9,000

Age 55+ Catch-up

$1,000

$1,000

Managing your limits before you file: As you prepare your filing, double-check your total deposits for 2026. If you haven't hit the limit shown in the table above, you still have time to contribute. However, you must be careful not to "over-fund" the account. If you accidentally go over these limits, you may face a tax penalty. We will explain how to fix an over-contribution later in this guide.


Is an HSA pre-tax or tax-deductible?

One of the most common questions is whether an HSA is "pre-tax" or "tax-deductible." The answer depends on how the money enters your account. While both methods lower your income tax, one offers a "hidden" fourth advantage.

FICA tax savings through payroll

Contributions made through your employer's payroll also avoid FICA taxes.

Contribution Method

Saves Income Tax?

Saves FICA Tax (7.65%)?

Payroll Deduction

Yes

Yes

Direct Bank Transfer

Yes

No

Choosing the right method for you: As the table shows, payroll deductions are the most tax-efficient way to save. For example, by avoiding FICA taxes, you keep an extra $76.50 for every $1,000 you contribute. If your employer offers this option, it is generally the best way to fund your account. If you are self-employed or your company doesn't offer payroll HSA options, you still get the full income tax deduction by claiming it on your tax return.


Deep dive into HSA tax forms

To keep your tax benefits, the IRS requires you to report your account activity. Filing your taxes correctly requires matching your return to the official forms sent to the IRS by your employer and your account custodian. If you fail to report these, the IRS may flag your return for an audit.

IRS Form

Who Provides It

Why It Matters For Your Taxes

W-2 (Box 12)

Your Employer

Shows "Code W" payroll contributions

1099-SA

Your HSA Custodian

Reports all money you spent or withdrew

5498-SA

Your HSA Custodian

Confirms your total annual deposits

8889

You (The Taxpayer)

Required form to claim your tax deduction

1. Form W-2 (Box 12, Code W)

If you contribute to your HSA through payroll deductions, that total amount is reported in Box 12 using Code W. This number includes both your personal contributions and any money your employer contributed on your behalf.

  • Tax Impact: Because these funds were never included in your reported wages, you do not deduct them again on your tax return.

  • The FICA Advantage: A major advantage of this method is the FICA tax savings. You do not pay Social Security or Medicare taxes on money contributed through payroll, which saves you an additional 7.65%.

  • IRS Resource: About Form W-2

2. Form 1099-SA (distributions from an HSA)

Your account custodian provides this form if you took any money out of your HSA during the year. It reports the total amount of withdrawals in Box 1. It also includes a Distribution Code in Box 3.

  • Code 1: Normal withdrawal for medical expenses.

  • Code 2: Removal of excess contributions.

  • Filing Tip: You must report the amount from this form on your tax return. If you spent HSA money on something that was not a medical expense, this form provides the paper trail for the IRS to apply taxes and a 20% penalty.

  • IRS Resource: About Form 1099-SA

3. Form 5498-SA (HSA contribution information)

This form reports every dollar put into your account for a specific tax year. It is unique because it often arrives in May, after the tax filing deadline. This is because the IRS allows you to make contributions right up until April 15.

  • Filing Tip: Use your year-end account statement, plus any prior-year contributions you made between January 1 and April 15, to file your taxes. Keep the 5498-SA for your permanent records once it arrives to prove you stayed within the legal limits.

  • IRS Resource: About Form 5498-SA

4. Form 8889 (health savings accounts)

This is the most important form for your HSA taxes. You must fill this out yourself and attach it to your Form 1040. It serves as the official report of your contributions and your spending.

  • Part I: This section is for contributions. It combines your personal deposits and your employer's deposits to ensure you stayed within the legal limits.

  • Part II: This section is for distributions. You use this to declare that your withdrawals were for qualified medical expenses.

  • IRS Resource: About Form 8889

Why accuracy matters for your 2026 return: The IRS receives copies of your W-2, 1099-SA, and 5498-SA. If the numbers you enter on Form 8889 do not match these official records, it can trigger automatic notices or penalties. For a complete look at all IRS rules regarding HSAs, you can refer to the primary federal resource: IRS Publication 969.

Now that you know which forms report the money leaving your account, let’s look at how to ensure those withdrawals stay tax-free according to IRS rules


Tax-free withdrawals: spending your HSA funds

The most powerful feature of your HSA is that you pay zero federal taxes on withdrawals, provided the money is used for qualified medical expenses. Unlike other accounts, there is no deadline for when you must reimburse yourself, as long as the expense occurred after your account was established.

Withdrawal Category

Federal Tax Treatment

2026 Specific Rule (OBBB)

Standard Medical

100% Tax-Free

No change

Telehealth

100% Tax-Free

Permanently covered before deductible

Direct Primary Care

100% Tax-Free

Qualified up to $150/mo (individual) or $300/mo (family)

Over-the-Counter

100% Tax-Free

Permanent (No prescription needed)

Why reporting these withdrawals matters: Even if every dollar you spend is for a qualified expense, the IRS requires you to report the total on Form 8889. If you receive a Form 1099-SA and do not report it on Form 8889, the IRS may assume the withdrawal was for non-medical reasons and apply a 20% penalty plus income tax. For a deep dive into specific eligible items, you can consult our guide on what's HSA eligible.

2026 legislative changes (the OBBB Act)

The One Big Beautiful Bill (OBBB) Act changed several HSA rules. The telehealth change applies to plan years starting in 2025, and the bronze, catastrophic, and direct primary care changes started January 1, 2026. These updates affect how you file your taxes and who is eligible to claim a deduction.

Tax impact of expanded eligibility

Under IRS Notice 2026-5, Bronze and Catastrophic plans are now officially "deemed" HSA-eligible.

Feature

Before 2026

New 2026 OBBB Rules

Marketplace Eligibility

Limited to specific plans

Expanded to Bronze and Catastrophic plans

Telehealth Spending

Coverage before deductible was temporary

Permanently covered before the deductible

DPC Fees

Monthly fees usually not eligible

Qualified up to $150 a month (Individual)

What this means for your tax return: If you buy a Bronze or Catastrophic plan on the Marketplace, you can now open an HSA and deduct your 2026 contributions on your federal tax return. This allows you to lower your taxable income in a way that was previously unavailable to you. To see a full technical breakdown of why these plans now qualify, our OBBB guide provides the legislative details.


Avoiding HSA tax traps

The IRS has strict rules regarding who can use an HSA. If you break these rules, you may owe back-taxes and a 20% penalty.

Penalty Type

Cause

Tax Consequence

Non-Medical Use

Spending HSA money on ineligible items

Income tax + 20% Penalty

Excess Contribution

Putting in more than the annual limit

6% Excise tax every year

Testing Period Failure

Losing eligibility after using Last-Month Rule

Income tax + 10% Penalty

The testing period

If you used the Last-Month Rule to contribute the full annual limit for 2026, you must remain HSA-eligible from December 1, 2026 through December 31, 2027. This is called the testing period.

If you lose eligibility (by switching to a non-eligible plan or enrolling in Medicare)before the end of 2027, the "extra" money you deducted for 2026 becomes taxable income. You will also owe a 10% penalty. Before using the last-month rule, ensure your health insurance will remain the same for the next year.

Correcting excess contributions

If you contribute more than the annual limit, the IRS applies a 6% excise tax. This tax is applied every year until you remove the extra money. If you discover an over-payment for 2026, you have until April 15, 2027, to withdraw the excess funds and any earnings they made. This will clear the penalty and ensure your account remains in good standing.

Advanced HSA tax pitfalls

While basic errors like over-contributing are common, these three specific scenarios often trigger unexpected IRS penalties for even savvy taxpayers.

The Medicare retroactive coverage trap

Turning 65 affects HSA eligibility for anyone who delays Social Security.

  • The Pitfall:If you enroll in Social Security or Medicare after age 65, your Medicare Part A coverage is back-dated up to six months, but not earlier than the month you turned 65.

  • The Tax Consequence: Any HSA contributions made during that six-month retroactive period are considered "excess" and subject to a 6% excise tax unless removed before the tax deadline.

  • Expert Tip: Stop all HSA contributions exactly six months before you plan to apply for Social Security or Medicare to avoid this overlap.

Adult children: insurance versus tax reality

A common point of confusion is how the IRS defines "family" for medical spending.

  • The Pitfall: Under the ACA, you can keep your children on your health plan until age 26. However, the IRS only allows you to use HSA funds tax-free for legal tax dependents.

  • The Tax Consequence: If you pay for the medical expenses of a 24-year-old child who is not your tax dependent, that withdrawal is taxable and subject to a 20% penalty.

  • The Opportunity: Your non-dependent adult child on your family plan can actually open their own HSA and contribute up to the full $8,750 family limit for 2026 into their own account.

Fixing mistaken distributions

If you use your HSA card for a non-medical purchase by mistake, such as at a restaurant or grocery store, the IRS allows you to repay it without penalty when there is clear evidence it was a mistake.

  • The Pitfall: Many people assume they just have to pay the tax on the error.

  • The Fix: The IRS allows you to repay "mistaken distributions" without penalty if there is clear evidence it was a mistake.

  • Action Item: You must return the money to your HSA by April 15 following the year you discovered the mistake. Check with your custodian first, as they are not legally required to accept these repayments, though most do.


State tax exceptions

While the HSA is tax-advantaged at the federal level, not all states follow the same rules.

State

Treatment of HSA Contributions

Treatment of Earnings

California

Taxed as standard income

Taxed annually

New Jersey

Taxed as standard income

Taxed annually

Most Other States

Tax-free (follows federal rules)

Tax-free (follows federal rules)

Protecting your state return: If you live in California or New Jersey, your state government treats your HSA like a standard savings account. This means you may have to pay state income tax on your contributions and your investment growth. You must manually add these amounts back to your state income when filing. Always check with a local tax professional if you live in these states to ensure you are meeting local requirements.


Final summary for the 2026 tax season

: The OBBB Act expanded HSA eligibility to more health plans for 2026. By keeping your receipts, tracking your forms, and staying within the contribution limits, you can get the full tax value of your account.

Managing your HSA taxes does not have to be difficult. With the right documentation and an understanding of the 2026 changes, you can focus on your health and your financial security. For more information on how these accounts operate daily, please visit our HSA Guide. For a complete look at all IRS rules regarding HSAs, you can also refer to IRS Publication 969.

Disclaimer: the content presented in this article is for informational purposes only, and is not, and must not be considered tax, investment, legal, accounting or financial planning advice, nor a recommendation as to a specific course of action. Investors should consult all available information, including fund prospectuses, and consult with appropriate tax, investment, accounting, legal, and accounting professionals, as appropriate, before making any investment or utilizing any financial planning strategy.

Frequently Asked Questions

How does an HSA affect my taxes?

HSA contributions are tax-deductible, growth is tax-free, and withdrawals for qualified medical expenses aren't taxed. This lowers your taxable income and allows your savings to grow without owing taxes on earnings or eligible withdrawals.

You'll need Form 8889 to report contributions and withdrawals, Form W-2 (Box 12, Code W) for employer contributions, and Form 1099-SA for distributions. Keep Form 5498-SA for your records, and use Form 5329 only if you owe penalties.

Report employer payroll contributions from your W-2 (Box 12, Code W) on Form 8889 without deducting them again. For personal contributions made outside payroll, claim an above-the-line deduction on Form 8889.

If you're under 65, non-qualified withdrawals are taxable as income and incur a 20% penalty. After age 65, you'll owe income tax only, with no penalty.

Excess contributions are not tax-deductible and may trigger a 6% excise tax. You can withdraw the excess plus any earnings before the April tax deadline to avoid the penalty, or apply it to next year's limit while paying the 6% penalty for the current year. See IRS Form 5329for details on reporting and penalties.

Yes; when you contribute through your employer, you don't pay federal income tax or the 7.65% FICA tax (Social Security and Medicare), which gives you a bigger tax break than contributing on your own.

Yes. The HSA deduction is an adjustment to income, so you can claim it whether you take the standard deduction or itemize. You report your contributions on Form 8889 and carry the deduction to Schedule 1 of your Form 1040. Contributions made through payroll are already excluded from your taxable wages on your W-2, so you only deduct contributions you made directly to your HSA.

It depends on how the money goes in. Payroll contributions are pre-tax for both income tax and FICA (7.65%), which keeps an extra $76.50 for every $1,000 you contribute. Contributions made directly from a bank account are not pre-tax, but you can deduct them on Form 8889. That saves income tax but not FICA.

At the federal level, yes, when three conditions are met. Contributions are deducted or made through payroll, earnings grow without being taxed, and withdrawals are used for qualified medical expenses. Withdrawals for non-medical expenses are taxed as income and carry a 20% penalty. Some states, including California and New Jersey, tax HSAs differently.

Your HSA custodian provides Form 1099-SA, which reports withdrawals, and Form 5498-SA, which reports contributions. The 5498-SA usually arrives in May because you can contribute until April 15. Payroll contributions appear on your W-2 in Box 12 with Code W.

The most common causes are spending HSA money on non-medical items, contributing more than the annual limit, losing eligibility during the testing period after using the last-month rule, and living in California or New Jersey. Non-medical spending triggers income tax plus a 20% penalty. Excess contributions trigger a 6% excise tax each year until you remove them. Each case is covered in the "Avoiding HSA tax traps" section above.

The savings come from two places. The income tax deduction depends on your tax bracket, and this guide estimates 15% to 35% savings on qualified healthcare costs. Payroll contributions also avoid 7.65% in FICA taxes. Use the Lively HSA calculator to estimate your own numbers.

Get started with Lively

Sign up for a top-rated HSA

  • Simple to use

  • No hidden fees

  • Open an account in 5 minutes

istock-1331969222