IRS Forms

Form 8889 Explained: Reporting HSA Contributions and Distributions in 2026

The short answer: Form 8889 is the IRS form that reports all Health Savings Account activity for the year — contributions (yours and your employer's), your HSA deduction, and every distribution. You must file it with your Form 1040 any year money moved into or out of your HSA, even if your employer made the only contribution.

This guide covers Form 8889 for the year an HSA stopped being simple: who must file it, what feeds each of its three parts, how a non-medical withdrawal becomes taxable, what the IRS does when the form is missing, and how to pull an over-contribution back out before it starts compounding. The image below shows what Form 8889 looks like and which of its three parts your situation lands in.

If a Form 1099-SA arrived and the withdrawal on it was not for a doctor's bill, this is the form where that gets sorted out. Handled correctly, it usually costs far less than handled late.

⏱ The clock that matters: Form 8889 has no deadline of its own. It files with your tax return. But an excess HSA contribution generally must come out of the account, along with its earnings, by your return's due date, including extensions. Miss that window and Form 5329's excise tax generally applies for every year the excess stays in the account.

A person reviewing an IRS Form 8889 at home.

Who has to file Form 8889, even if the employer made every contribution?

You must file Form 8889 for any year money moved into or out of your HSA, including years when your employer made every contribution. The IRS's own filing triggers are broad: file it to report HSA contributions (including those made on your behalf and employer contributions), to figure your HSA deduction, to report distributions, and to figure income and additional tax if you failed to remain an eligible individual.

That surprises a lot of W-2 employees. If box 12 of your W-2 shows code W, your employer or payroll system put money into an HSA for you, and Form 8889 is what certifies you were eligible to receive those dollars tax-free. No form, and the IRS can treat that money as taxable wages.

For a 1099 contractor, the trigger is usually one of the other two. You made contributions directly, which become your deduction in Part I. Or you took money out, which the custodian reported to the IRS on Form 1099-SA. Either one means the form is required. Form 8889 attaches to Form 1040 or 1040-NR as a schedule rather than a standalone filing.

Infographic: key facts and deadlines for the IRS Form 8889.
Key facts and deadlines, at a glance.

What are the three parts of Form 8889 and where does each number come from?

Form 8889 has three parts: Part I for contributions and your deduction, Part II for distributions, and Part III for income and additional tax when you fail to remain an eligible individual. Almost every figure comes from one of three documents already in your mail pile. The form image on this page shows how the parts stack, so you can see where each document feeds in.

Form 8889 by part: what each part reports and where the numbers come from
Part What it asks for Where the figure comes from
Part I (contributions and deduction) Every contribution for the year: yours, anyone's made on your behalf, and your employer's, then your allowed deduction based on your coverage type and months of eligibility Your own deposit records; Form 5498-SA from the custodian; W-2 box 12, code W for employer and payroll contributions; Publication 969 for the current-year limit
Part II (distributions) Total money taken out, how much went to unreimbursed qualified medical expenses, and the taxable remainder plus any additional tax Form 1099-SA, box 1 (gross distribution); your medical receipts; Publication 502 for what counts as a qualified expense
Part III (failure to stay eligible) Income and additional tax you owe if you used the last-month rule and then lost eligibility during the testing period Your own coverage dates (when HDHP coverage started or ended, when Medicare began); the Form 8889 instructions walk the calculation

Two details trip people up in Part I. First, employer contributions are never your deduction. They were already excluded from your wages through payroll, so deducting them again double-dips, and the IRS's matching systems will flag it. Second, your limit depends on coverage type (self-only vs. family) and how many months you were eligible. The current dollar limits are in Publication 969, and they change with inflation, so don't rely on last year's number.

In Part II, the taxable amount is total distributions minus unreimbursed qualified medical expenses. One rule works strongly in your favor here. Qualified expenses generally count even if they happened in an earlier year, as long as they came after the HSA was established and were never reimbursed or deducted elsewhere. Old receipts can shrink this year's taxable number.

An exact sample of the IRS Form 8889 with the key parts highlighted.
A real IRS Form 8889 sample - the parts that matter, highlighted. Your own will show your details.

What happens if you don't file Form 8889?

Your HSA custodian sends Form 1099-SA and Form 5498-SA to the IRS whether or not you file Form 8889. A missing form is therefore a mismatch the IRS's computers catch on their own. The sequence that follows is automated, and it defaults to the worst-case reading of your account:

  1. The mismatch sits in the system. Your return goes in without Form 8889 while the custodian's copies of your 1099-SA and 5498-SA are already in IRS records.
  2. Automated matching flags the gap. With no form showing qualified expenses, the underreporter program treats your entire distribution as taxable. It has no way to know any of it was medical.
  3. A CP2000 notice arrives, proposing income tax on the full distribution, the additional tax on top, interest, and potentially an accuracy-related penalty. If employer contributions were involved, those can be added back as wages too.
  4. Ignore the CP2000 and the IRS can issue a statutory notice of deficiency. After that window closes, the proposed amount gets assessed as a legal debt.
  5. Assessment starts the collection sequence: balance-due notices, then escalating collection letters, with interest and the late-payment penalty accruing monthly the whole way.

The frustrating part is that most of a proposed CP2000 balance on an HSA distribution is often wrong. The IRS assumed zero medical expenses because you never told it otherwise. A late-filed Form 8889, or an amended return on Form 1040-X with the form attached, frequently cuts the proposed amount dramatically. If a balance does stand, you can estimate how fast it grows with our IRS Penalty & Interest Calculator.

Over-contributed or took a non-medical HSA withdrawal?

Get your Form 8889 numbers reviewed free before you file. An excess contribution left in the account keeps generating excise tax year after year, and an unreported 1099-SA is a matching notice waiting to happen. An experienced tax professional will map what's taxable, what isn't, and what to fix first.

Get My Free Case Review Call (888) 825-7779

How is each HSA outcome taxed?

Only one HSA outcome is fully tax-free: a distribution matched dollar-for-dollar by unreimbursed qualified medical expenses. Every other path (non-medical spending, over-contributing, losing eligibility) creates a tax consequence, and each lands on a different part of a different form:

HSA outcomes on Form 8889: what's taxable, what carries an extra charge, and where it's reported
Situation Taxable? Extra charge? Reported on
Distribution spent on qualified medical expenses No No Form 8889, Part II (distributions offset by qualified expenses)
Non-qualified (non-medical) distribution Yes, added to your income Yes, an additional tax figured in Part II (current rate in the form's instructions); generally waived after age 65, on disability, or at death Form 8889, Part II, then flows to Form 1040
Excess contribution left in the account The excess isn't deductible (and payroll excess can become wages) Yes, an excise tax for each year the excess remains, figured on Form 5329 Form 8889, Part I caps the deduction; Form 5329 figures the excise
Lost eligibility mid-year (Medicare, non-HDHP coverage) Contributions above your prorated limit become excess; a failed last-month-rule testing period becomes income Yes, additional tax on the Part III income amount; excise on any excess left in Form 8889, Part III (plus Form 5329 for the excess)

Note what is missing from this table: an HSA levy. If your worry is the IRS taking the account itself over existing back taxes, that is a collection question rather than a filing question. See can the IRS take your HSA. This page covers how the account gets reported and taxed on your return.

What happens if you lose HSA eligibility mid-year?

HSA eligibility is measured month by month. Enrolling in Medicare or switching to non-HDHP coverage ends it, though only on the contribution side. You can keep spending the balance tax-free on qualified medical expenses forever; you just can't add new money for ineligible months.

When eligibility ends mid-year, your contribution limit is generally prorated for the months you were eligible. Keep contributing at the full-year pace after the switch and the overage becomes an excess contribution, the same Form 5329 problem as any other over-funding. Two traps to check:

Part III exists for a narrower situation. You used the last-month rule to contribute a full-year amount based on December coverage, then failed to stay eligible through the testing period. The shortfall becomes income plus an additional tax, both figured in Part III using the worksheet in the form's instructions. Don't estimate this one by hand.

A worked example: $4,150 out of the HSA for a non-medical expense

Say you're a self-employed drywall contractor with self-only HDHP coverage. In a cash crunch mid-year, you pulled $4,150 out of your HSA to replace a transmission, with no medical bills involved. You also discover, doing your return, that you deposited $700 more than your Publication 969 limit allowed. In January, the custodian's Form 1099-SA arrives showing $4,150 in box 1. Here's the math (this is a hypothetical, not a client case):

If the combined bill lands bigger than you can pay with the return, that's a payment problem with its own solutions. Start with filed taxes and owe more than expected. Filing the accurate Form 8889 on time is still the right move; the failure-to-file penalty is far worse than the failure-to-pay penalty.

How to fill out Form 8889, step by step

  1. Gather the three source documents: your W-2 (box 12, code W), Form 5498-SA from your custodian, and Form 1099-SA if you took any money out.
  2. Complete Part I: report every contribution (yours, anyone's made on your behalf, and your employer's) and figure your deduction against the Publication 969 limit for your coverage type.
  3. Complete Part II: enter your total distributions from Form 1099-SA, then your unreimbursed qualified medical expenses. Any difference is taxable income and may carry the additional tax.
  4. Complete Part III only if you lost eligibility: if you used the last-month rule and then failed the testing period, figure the income and additional tax here using the form's instructions.
  5. Attach Form 8889 to your Form 1040 and file. Then, if you over-contributed, arrange the excess withdrawal with your custodian before your filing deadline, including extensions.

Red flags to check before you file

Can you handle Form 8889 yourself?

Most people with routine HSA activity can complete Form 8889 themselves in under an hour. If your contributions all ran through payroll, every withdrawal went to medical bills you have receipts for, and your coverage didn't change mid-year, tax software fills the form correctly from your W-2 and 1099-SA. File it and move on.

Experienced help changes the outcome in a handful of situations: a non-medical withdrawal and an excess contribution in the same year (where the order and coding of fixes determines what you owe), a CP2000 that has already proposed tax on the full distribution, multiple years of unfiled Form 8889s stacking up, or a retroactive-Medicare mess where the eligible-month count itself is in dispute. In those cases, the fee for an hour of review is routinely smaller than the excise tax a missed correction window locks in.

Terms on Form 8889, decoded

The authoritative references are the IRS's own pages: About Form 8889 for the current form and instructions (including the year's contribution limits, the additional-tax percentage, and the excise rate) and Publication 969 for the eligibility and coverage rules. If a completed form leaves you with a balance due, payment options are at IRS.gov/payments.

The bottom line on Form 8889

File the form for any year money moved in or out of the HSA, even if payroll did all the contributing. Put every unreimbursed medical receipt since the account opened against a non-medical withdrawal before you accept a taxable number. Pull any excess out, through the custodian and coded as a return of excess, before the filing deadline with extensions. Skip the form and the IRS will tax the whole 1099-SA as if none of it was medical, which is a far more expensive version of the same paperwork.

Form 8889 FAQs

Do I have to file Form 8889 if only my employer contributed to my HSA?

Yes. Employer contributions show up in box 12 of your W-2 with code W, and reporting them on Form 8889 Part I is what certifies you were eligible to receive them tax-free. If you skip the form, the IRS can treat those employer dollars as taxable wages. You must file it even if you personally deposited nothing and took nothing out.

What happens if I forget to file Form 8889?

The IRS usually catches it through document matching, because your custodian sends copies of Form 1099-SA and Form 5498-SA directly to the IRS. With no Form 8889 showing qualified expenses, the automated system can treat your entire distribution as taxable and propose tax, additional tax, and interest on a CP2000 notice. The fix is filing an amended return (Form 1040-X) with a completed Form 8889 — before the notice arrives, or in response to it.

Do I owe tax on HSA withdrawals I spent on medical bills?

No — distributions spent on qualified medical expenses are tax-free, but you still must report them. Form 8889 Part II lists your total distributions from Form 1099-SA and subtracts your unreimbursed qualified expenses; if they match, nothing is taxable. Keep receipts, because the IRS can ask you to prove the expenses were qualified. Publication 502 defines what counts.

How do I fix an excess HSA contribution?

Withdraw the excess amount plus any earnings on it before your tax filing deadline, including extensions, and ask the custodian to process it specifically as a return of excess contribution. Do that and there is generally no excise tax — you only pay income tax on the earnings. Leave the excess in the account and Form 5329 generally applies an excise tax for every year it stays there.

Is Form 8889 the same as Form 5329?

No — they work together. Form 8889 reports your HSA contributions, deduction, and distributions, and computes the additional tax on non-qualified withdrawals. Form 5329 handles a different charge: the recurring excise tax on excess contributions you leave in the account. Someone who over-contributed and also took a non-medical withdrawal may need both forms in the same year.

Can I still contribute to my HSA after enrolling in Medicare?

No. Enrolling in Medicare ends your eligibility to contribute, and your contribution limit for that final year is generally prorated for the months before your Medicare coverage began. Contributions above the prorated amount become excess contributions. You can still spend the money already in the HSA tax-free on qualified medical expenses — spending is never cut off, only contributing.

Does the IRS know about my HSA withdrawals?

Yes. Your HSA custodian files Form 1099-SA for distributions and Form 5498-SA for contributions with the IRS every year, so the IRS sees the money moving whether or not you report it. What the IRS cannot see is what you spent it on — that is exactly what Form 8889 Part II tells them. Silence gets read as none of it being medical.

Your next 24 hours

  1. Find the two numbers that drive the form: box 1 on your Form 1099-SA (total distributions) and box 12, code W on your W-2 (employer contributions). Those feed Part II and Part I respectively.
  2. Gather your offsets: Form 5498-SA plus every unreimbursed medical receipt dated after the HSA was opened: copays, prescriptions, dental work. Each receipt directly reduces the taxable amount in Part II.
  3. Get a free case review if you took a non-medical withdrawal, over-contributed, or already have a CP2000 in hand. Use the 2-minute form or call (888) 825-7779. An excess left in the account keeps generating excise tax each year it sits, and interest runs on any balance the return gets wrong.

This guide is general information, not tax or legal advice for your specific situation. Eligibility for IRS programs depends on individual facts and circumstances; no outcome is guaranteed.

Related guides: Form 8949 in 2026: How to Report Every Sale, Fix Missing Basis, and Avoid a CP2000 · Form 941 Explained: What It Reports, 2026 Due Dates, and Schedules B, D, and R · How to Contact the Taxpayer Advocate Service: When and How · How Does an Offer in Compromise Work? A Plain-English Guide · How Many Allowances Should I Claim in 2026? None — Here's What Replaced Them

📞 Free Consultation — (888) 825-7779
💬Get My Free Case Review