If you have a health savings account, there is one IRS form you will deal with every tax year. Form 8889 is the HSA tax form that ties your account activity to your federal tax return. The IRS expects it whether you put money in, took money out, or both.
The good news is that it is not as complicated as it looks. Once you understand what each section asks for and what paperwork you need, you can fill out Form 8889 pretty quickly. Here is a walkthrough.
You must file this form if any of the following applied during the tax year:
You or your employer made contributions to an HSA. You took withdrawals from your account, even if they went toward qualified medical expenses. You received a rollover or a qualified HSA funding distribution from an IRA to your HSA.
In short, if you had any activity at all in a health savings account during the year, this form goes with your Form 1040.
To be an eligible individual who can contribute, you need to be enrolled in a high-deductible health plan (HDHP) and not enrolled in Medicare or Medicare Advantage. You also cannot be claimed as a dependent on someone else's return.
One thing that catches people off guard: even if your employer contributed through payroll deduction and everything shows up on your W-2, you still need to file. Your wage statement reports what went in. The form is where you report all HSA contributions and figure out the write-off.
Part I is where you report contributions to your HSA and calculate the write-off.
Start by entering the total amount that went in during the year, including any employer contribution. If your employer contributes to your HSA, that amount shows up in Box 12 with code W. It covers both their share and any pre-tax dollars you contributed through payroll.
Next, enter the annual limit for your coverage type. The IRS sets limits based on whether you had self-only or family coverage under your high deductible health plan. If you were 55 or older, you can add a $1,000 catch-up amount. The limits change each year, so check the instructions for the 2025 tax year or the 2026 figures depending on which return you are preparing.
The form walks you through the math from there. Your HSA deduction equals your personal contributions (not the employer portion, since those are already excluded from income). This goes on Schedule 1 of your 1040, which reduces taxable income even if you do not itemize. That is one of the biggest tax benefits of contributing to an HSA: the tax savings hit whether you take the standard deduction or not.
Part II covers money you took out during the year. This is where you report total withdrawals and whether they went toward qualified medical expenses or something else.
You will need your IRS Form 1099-SA to complete this section. Your account custodian sends it after the end of the year, and it shows total distributions in Box 1 along with a code indicating the type.
If you used HSA funds to pay for qualified medical expenses (doctor visits, prescriptions, dental work, vision care), those withdrawals are tax-free. No income tax, no penalties.
If you used the money for something other than qualified health care expenses, the amount gets added to your taxable income. On top of that, you may owe an additional tax of 20%. There are exceptions to the penalty if you are 65 or older, disabled, or if the account holder has passed away, but the income tax still applies.
This section is where mistakes get expensive. Keep good records of what you spent the funds on, because the Internal Revenue Service can ask for proof. A tax professional or tax advisor can help if you are not sure whether a specific expense qualifies.
Part III applies when you were not an eligible individual for the entire year but still had contributions made on your behalf.
If you contributed during the year but then lost HDHP coverage partway through (say you switched to a Medicare Advantage plan or moved to a non-qualifying health plan), you may owe tax or penalties on the contributions that exceeded your prorated limit. This section walks through that calculation.
It also handles the health coverage tax credit interaction and a few other less common scenarios. For most filers, Part III either does not apply or involves a small adjustment.
Before you sit down, gather these:
Form 5498-SA. Your custodian sends this to confirm what went into your account for the tax year, including rollover contributions and any transfer from an IRA to an HSA. Use it to verify Part I.
Your 1099-SA. This covers money that came out. It tells you total withdrawals and the type. Use it for Part II. Your account custodian also sends this automatically.
Your W-2. If contributions went in through payroll, Box 12 (code W) has the combined total of what your employer contributed and your pre-tax share.
These are the core documents that feed into the filing. If you also did an IRA-to-HSA rollover (a qualified HSA funding distribution from your IRA to your HSA), keep records of that transfer too.
The completed form gets attached to your federal tax return. If you e-file, your software handles it automatically. If you file on paper, it goes with your 1040.
The deduction from Part I flows to Schedule 1, Line 13. Any taxable amounts from Parts II and III flow to the appropriate lines on Schedule 1 and Schedule 2.
If both you and your spouse each have your own savings accounts, you each file a separate form. HSAs are individual, so even on a joint return, contributions and distributions get reported separately for each person.
If your firm handles tax preparation for clients with health savings accounts, Madras Accountancy supports the workflow across individual and family returns.
1. What is Form 8889? It is the IRS form used to report HSA activity: contributions, withdrawals, and any deduction. You file it with your federal tax return.
2. Who needs to file it? Anyone who put money in, took money out, or had an employer that contributed on their behalf during the tax year must file.
3. What is the difference between Form 5498-SA and Form 1099-SA? The 5498-SA reports what went into your account. The 1099-SA reports what came out. Both feed into this filing, but only the 8889 itself goes with your return.
4. Can I deduct contributions even with the standard deduction? Yes. The HSA deduction is above-the-line, reported on Schedule 1 of Form 1040. You get the tax savings whether you itemize or not.
5. What happens if I use the funds for non-medical expenses? The amount is added to your taxable income and you may owe a 20% additional tax. Exceptions apply if you are 65 or older or disabled.
6. Do I still file even if my employer made all the contributions? Yes. Even if contributions came solely through payroll and are already reflected in your wage records, you still need to file to confirm eligibility and make contributions visible to the IRS.
7. Can I roll over funds from an IRA to an HSA? Yes, this is called a qualified HSA funding distribution. It is a one-time, tax-free transfer. It gets reported in Part I.
8. What is an Archer Medical Savings Account? An Archer medical savings account (Archer MSA) is an older type of tax-advantaged account that predates modern HSAs. It uses a separate form (Form 8853) and is not reported on Form 8889.

Section 4960's 21% excise tax now reaches far more nonprofit employees. See who is a covered employee in 2026 and what changed.

The Section 45S paid family leave credit is permanent for 2026 with new options. See who qualifies, the amounts, and how to claim it.

Opportunity zones become permanent in 2027 under the One Big Beautiful Bill. See the new deferral, rural bonus, and the 2026 handoff.