Skip to main content

Got a 1099-SA for Your HSA? What the Distribution Codes Mean, How Form 8889 Reports Withdrawals, and When the 20% Penalty Hits

Published 13 min readMike ThriftMike Thrift
Got a 1099-SA for Your HSA? What the Distribution Codes Mean, How Form 8889 Reports Withdrawals, and When the 20% Penalty Hits
On this page

You paid for a dentist visit with your HSA debit card, reimbursed yourself for last year's prescriptions, maybe pulled cash for something that wasn't medical at all. Then January arrives and your HSA custodian sends a Form 1099-SA showing thousands of dollars in "gross distributions." Your first thought: do I owe tax on all of this?

Probably not — but you can't ignore the form either. The 1099-SA reports every dollar that left your account, and the IRS gets a copy. Even if every cent went to qualified medical expenses, you must account for it on Form 8889 with your tax return. This guide walks through each box on the 1099-SA, decodes the distribution codes, shows how Form 8889 turns the numbers into tax (or no tax), and explains exactly when the 20% additional tax applies.

What Form 1099-SA Is — and What It Isn't

Form 1099-SA, Distributions From an HSA, Archer MSA, or Medicare Advantage MSA, is the information return your custodian or trustee files to report money distributed from your account during the calendar year. Your custodian must furnish your copy by January 31, and the IRS receives one too.

Here is the critical thing to understand: your custodian does not know why you took the money out. It reports the gross outflow. It has no idea whether you paid a surgeon, reimbursed yourself for 2022 contact lenses, or bought a television. That determination — qualified medical expense or taxable distribution — happens on your tax return, on Form 8889 for an HSA (or Form 8853 for an Archer or Medicare Advantage MSA).

So a big number in Box 1 is not a tax bill. It is the starting point of a calculation where your qualified medical expenses cancel out the distribution, dollar for dollar.

One more scope note: although the form covers three account types, this guide focuses on HSAs, which account for the overwhelming majority of 1099-SA filings. The box mechanics are the same for Archer MSAs and Medicare Advantage MSAs; only the reporting form differs.

Box by Box: Reading Your 1099-SA

Box 1: Gross distribution

The total amount distributed from your account during the year. This includes:

  • Payments made directly to doctors, pharmacies, and other providers
  • Reimbursements paid to you, whether for this year's expenses or prior years'
  • Amounts you withdrew and rolled over to another HSA within 60 days (still reported here; you back it out on Form 8889)
  • Excess contributions you withdrew, plus any earnings on them

It does not include trustee-to-trustee transfers, where money moves directly between custodians without passing through your hands. Those are neither distributions nor rollovers, and no 1099-SA is issued for them. HSA administration and maintenance fees withdrawn by the trustee are not reported as distributions either.

Box 2: Earnings on excess contributions

If you contributed more than the annual limit and withdrew the excess, any earnings attributable to that excess appear here. Those earnings are taxable income in the year you receive them. Box 1 will typically show the excess principal as well, but the principal itself is handled through the excess-contribution rules rather than as an ordinary distribution.

For reference, the 2026 HSA contribution limits are $4,400 for self-only HDHP coverage and $8,750 for family coverage, plus a $1,000 catch-up contribution if you are 55 or older and not enrolled in Medicare. The most common accidental excess comes from staying on autopilot after enrolling in Medicare — Medicare enrollment ends HSA eligibility, but payroll deductions sometimes keep flowing.

Box 3: Distribution code

A one-digit code describing the nature of the distribution. This is the box people puzzle over most, so each code gets its own section below.

Box 4: Fair market value on date of death

Used only for death distributions. It shows the account's fair market value as of the date of the account holder's death, which sets the taxable amount for a non-spouse beneficiary.

Box 5: Account type checkbox

Indicates whether the distribution came from an HSA, an Archer MSA, or a Medicare Advantage MSA. Confirm it says HSA if that is what you hold — a wrong checkbox means the custodian has your account mistyped, and you should request a correction before filing.

The Distribution Codes, Decoded

Code 1: Normal distribution

The code nearly everyone sees. "Normal" does not mean "tax-free" — it means an ordinary distribution to the account beneficiary during life. It covers qualified medical-expense reimbursements, nonqualified withdrawals, and amounts you rolled over to another HSA. The tax consequences are sorted out entirely on Form 8889.

If you took money out and put it back within 60 days as a rollover, you will still receive a 1099-SA with Code 1. Report the full Box 1 amount on Form 8889, then exclude the rolled-over portion on the rollover line. Note the once-per-12-months limit: only one HSA-to-HSA rollover is allowed in any 12-month period. Trustee-to-trustee transfers have no such limit, which is why they are the better way to move an HSA between custodians.

Code 2: Excess contributions

Issued when you withdraw contributions that exceeded the annual limit. Withdraw the excess (plus attributable earnings) by your tax return due date, including extensions, and the principal escapes the 6% excise tax on excess contributions. The earnings in Box 2 are taxable income in the year you receive them, reported as Other income.

Leave the excess in the account past the deadline and it draws a 6% excise tax every year it remains, reported on Form 5329. If you discover an old excess, you can still withdraw it — the excise stops accruing once it is out — but the earnings treatment depends on the year involved, so this is worth a conversation with your tax preparer.

Code 3: Disability

Distributions made after you become disabled. The practical significance is the exception to the 20% additional tax: nonqualified distributions taken after disability are still ordinary income, but the extra 20% does not apply. Disability here follows the tax-law meaning — generally, unable to engage in any substantial gainful activity due to a medically determinable condition expected to result in death or to last continuously for at least 12 months.

Code 4: Death distribution other than Code 6

A distribution made after the account holder's death that is not described by Code 6 — typically a distribution to the estate or a beneficiary in the year of death. What happens next depends on who inherits:

  • Surviving spouse beneficiary: the HSA becomes the spouse's own HSA. No taxable event, no 1099-SA consequence to manage — the account simply continues under the spouse's name.
  • Non-spouse beneficiary: the account stops being an HSA as of the date of death. The fair market value on that date (Box 4) is taxable income to the beneficiary in the year of death, reduced by any of the decedent's qualified medical expenses paid within one year after death.

Code 5: Prohibited transaction

The rare and serious one. If you engage in a prohibited transaction — using the HSA as security for a loan is the classic example — the account ceases to be an HSA as of the first day of the year, and the entire balance is treated as distributed. Everything becomes taxable income at once, plus the 20% additional tax if no exception applies. Never pledge your HSA as loan collateral.

Code 6: Death distribution after year of death to a nonspouse beneficiary

Used when a distribution to a non-spouse beneficiary (including an estate) occurs after the calendar year of death. The income was already taxable to the beneficiary based on the date-of-death value, so this code helps the IRS match the distribution to the earlier taxable event rather than treating it as fresh income.

How Form 8889 Turns the 1099-SA Into Tax (or No Tax)

Form 8889, Health Savings Accounts, is where your 1099-SA meets your medical receipts. Part I covers contributions and deductions; Part II covers distributions. The logic runs in four steps:

  1. Total distributions (Line 14a). Enter the Box 1 amount from all Forms 1099-SA.
  2. Subtract amounts that are not really distributions (Line 14b). Rollovers you completed within 60 days, withdrawn excess contributions, and qualifying mistaken distributions you repaid go here.
  3. Subtract qualified medical expenses (Line 15). Enter the medical expenses you paid with HSA funds. These must be unreimbursed, uncompensated expenses for you, your spouse, or your dependents — and the expense must have been incurred after the HSA was established. There is no deadline for reimbursing yourself: a 2026 withdrawal for a 2021 surgery is perfectly valid as long as the HSA existed in 2021 and you kept the records. This is the "shoebox" strategy that lets some account holders pay medical bills out of pocket, leave the HSA invested, and reimburse themselves years later.
  4. The remainder is taxable (Line 16). Whatever is left after qualified expenses flows to your Form 1040 as ordinary income — and then faces the 20% additional tax test.

Even when the math nets to zero, you must still file Form 8889 for any year you received a distribution. The IRS matches every 1099-SA against a return. A missing Form 8889 routinely triggers a notice proposing tax on the entire Box 1 amount, and untangling that costs far more time than filing the form.

Two related traps: you cannot also claim an itemized medical-expense deduction on Schedule A for amounts paid with HSA funds — no double benefit. And expenses incurred before your HSA was established can never be qualified, no matter when you reimburse yourself.

The 20% Additional Tax and Its Three Off-Ramps

Nonqualified HSA distributions included in income face an additional 20% tax, computed on Form 8889 and carried to your return. On a $5,000 nonmedical withdrawal in the 22% bracket, that means $1,100 of income tax plus $1,000 of additional tax — a 42% combined hit. Three exceptions switch off the extra 20%:

  1. You are 65 or older. Distributions after you turn 65 escape the additional tax entirely. Nonmedical withdrawals are still ordinary income — at that point the HSA functions much like a traditional IRA — but the penalty is gone. Note that Medicare premiums (Parts A, B, D, and Medicare Advantage) count as qualified medical expenses once you are 65, though Medigap premiums do not.
  2. You are disabled. As with Code 3 above, post-disability distributions skip the additional tax.
  3. Death. Distributions after death are not subject to the additional tax.

There is no hardship exception, no first-home exception, and no education exception for HSAs. Those belong to IRAs. If you are under 65 and take HSA money for a nonmedical purpose, the 20% applies, full stop.

Special Situations Worth Knowing

Mistaken distributions can be repaid

If you reasonably but mistakenly believed an expense was qualified — the classic example is paying for something you later learn is not a qualified expense — IRS guidance allows you to repay the distribution to the HSA no later than April 15 following the first year you knew or should have known of the mistake. The custodian may rely on your statement that it was a mistake, and a timely repayment is treated as if the distribution never happened. Custodians are not required to accept repayments, so call yours promptly rather than assuming.

The 60-day rollover window is strict

Miss the 60-day deadline and the distribution becomes permanent: taxable to the extent it exceeds qualified expenses, plus the 20% tax if you are under 65. The IRS can waive the deadline for hardship or error under limited circumstances, but this is discretionary relief you do not want to need. Trustee-to-trustee transfers avoid the window entirely.

Death rules reward planning

Because a spouse inherits the HSA intact while a non-spouse faces immediate taxation on the full date-of-death value, beneficiary designations matter. Name your spouse if that fits your plan, and make sure non-spouse beneficiaries know about the one-year window to pay the decedent's outstanding qualified medical expenses from the account — each dollar paid that way reduces their taxable amount.

Watch for a wrong 1099-SA

Custodians do make errors: trustee-to-trustee transfers misreported as distributions, wrong distribution codes, wrong years. If your 1099-SA shows a distribution you never took — especially a direct transfer — contact the custodian for a corrected form showing zero. Do not just omit it; the IRS has the original, and a missing Form 8889 against a filed 1099-SA invites a notice.

Common 1099-SA Mistakes to Avoid

  • Ignoring the form because everything was qualified. File Form 8889 anyway. Every distribution must be reported.
  • Reimbursing pre-HSA expenses. Only expenses incurred after the HSA was established qualify. Opening the account a week after surgery does not make the surgery reimbursable.
  • Double-dipping on Schedule A. Expenses paid from the HSA cannot also be itemized.
  • Contributing after Medicare enrollment. This creates excess contributions that surface as Code 2 distributions — or 6% excise taxes if left in.
  • Forgetting the 12-month rollover limit. Two 60-day rollovers within a year means the second one fails, even if both met the 60-day window.
  • Losing receipts for the shoebox strategy. Years-later reimbursements are legal but unauditable without records. Keep the receipt, the explanation of benefits, and proof the expense was never reimbursed or deducted.

Keep Your HSA Paper Trail Audit-Ready

The 1099-SA is only one leg of a three-form stool: the 1099-SA reports what left, Form 5498-SA reports what went in, and Form 8889 reconciles the two against your medical spending. The taxpayers who sail through HSA questions are the ones who can produce, for any year, all three forms plus receipts tying each distribution to a qualified expense incurred after the account opened.

That means keeping a running ledger: every contribution, every distribution, every medical receipt, and the explanation of benefits showing what insurance did not cover. Store it where you will still find it in a decade — the shoebox strategy only works if the shoebox survives. A plain-text ledger you control beats a custodian portal that redesigns itself every two years and purges old statements.

Simplify Your Financial Management

An HSA is one of the best tax deals in the code — deductible going in, tax-free growth, tax-free coming out for medical costs — but the paperwork is unforgiving, and a missing Form 8889 can turn qualified withdrawals into a proposed tax bill. Keeping contributions, distributions, and medical receipts reconciled in one place is what makes the triple tax advantage real. Beancount.io provides plain-text accounting that gives you complete transparency and control over your financial data — no black boxes, no vendor lock-in. Get started for free and see why developers and finance professionals are switching to plain-text accounting.

Share this article

Source: https://beancount.io/blog/2026/09/17/got-1099-sa-hsa-distribution-codes-form-8889-20-percent-penalty-guide

Published: September 17, 2026