Guides
Form 8889: How to Report HSA Contributions and Distributions
Form 8889 is the IRS form that reports Health Savings Account (HSA) contributions and distributions on your federal return. File it with Form 1040 if you or your employer put money into an HSA, if you took money out, or if you failed to keep HDHP coverage during a testing period. Part I handles contributions and your deduction, Part II handles distributions and any 20% penalty, and Part III handles the last-month rule true-up.
You attach one Form 8889 per spouse who owns an HSA. The deduction from Part I lowers your adjusted gross income directly, so you claim it even if you take the standard deduction.
Who must file Form 8889
You must file Form 8889 if any of four things happened during the tax year: you (or someone on your behalf) contributed to your HSA, your HSA made a distribution, you failed to stay HSA-eligible during a testing period, or you acquired an HSA because the account owner died. Filing is required even when every dollar you withdrew paid for qualified medical care.
Employer contributions and pre-tax payroll deferrals count as contributions for this test. They appear on your W-2 in Box 12 with Code W, and that activity alone triggers the filing requirement. Married couples who each own an HSA file a separate Form 8889 for each account, even on a joint return.
The HDHP requirement: you must be an eligible individual
To contribute to an HSA, you must be covered by a qualifying high-deductible health plan (HDHP), have no other disqualifying coverage, not be enrolled in Medicare, and not be claimed as a dependent. Eligibility is tested month by month on the first day of each month. Losing HDHP coverage or starting Medicare mid-year reduces the amount you can contribute.
An HDHP is defined by two numbers: a minimum annual deductible and a maximum out-of-pocket cap. For 2026, the minimum deductible is $1,700 for self-only coverage and $3,400 for family coverage. The out-of-pocket maximum cannot exceed $8,500 (self-only) or $17,000 (family). A plan that pays most costs before you hit the deductible, other than preventive care, generally will not qualify.
Disqualifying coverage can include a general-purpose FSA, a spouse’s non-HDHP plan that covers you, or TRICARE. A limited-purpose FSA (dental and vision only) does not disqualify you in most cases.
2026 HSA contribution and HDHP limits
For 2026, HSA holders can contribute up to $4,400 with self-only HDHP coverage and up to $8,750 with family coverage. Account owners age 55 or older by year end can add a $1,000 catch-up contribution. The table below sets out the 2026 thresholds that drive Form 8889 Part I and the underlying eligibility test.
| 2026 metric | Self-only | Family |
|---|---|---|
| HSA contribution limit | $4,400 | $8,750 |
| Age 55+ catch-up (per accountholder) | $1,000 | $1,000 |
| HDHP minimum annual deductible | $1,700 | $3,400 |
| HDHP maximum out-of-pocket | $8,500 | $17,000 |
The $1,000 catch-up is per HSA owner, not per household. If both spouses are 55 or older and want the full catch-up each, each spouse needs their own HSA, because a catch-up can only go into the account of the person it belongs to. You have until the filing deadline (April 15, 2027, for the 2026 tax year) to make prior-year contributions.
The triple tax advantage
The HSA is the only account in the U.S. tax code with three separate tax breaks stacked together. Contributions are deductible or pre-tax, the balance grows tax-free, and withdrawals for qualified medical expenses are tax-free. No other account, including a 401(k) or Roth IRA, offers all three at once.
- Deductible in: Direct contributions reduce AGI through Schedule 1. Payroll contributions through a Section 125 cafeteria plan avoid income tax and FICA (Social Security and Medicare) tax.
- Tax-free growth: Interest, dividends, and capital gains inside the HSA are not taxed while they stay in the account.
- Tax-free out: Distributions used for qualified medical expenses under IRC Section 213(d) are never taxed.
After age 65, the account softens further. Non-medical withdrawals are taxed as ordinary income but skip the 20% penalty, which makes the HSA function like a traditional IRA for non-medical use while staying fully tax-free for medical use.
Part I: reporting contributions
Part I (lines 1 through 13) reports contributions and produces your HSA deduction. Report your coverage type on line 1, your own after-tax contributions on line 2, your prorated limit on line 3, and employer contributions on line 9. Line 13 is the deduction that flows to Schedule 1 (Form 1040), Part II, line 13.
A common error is double-counting. Payroll contributions and employer contributions already sit in W-2 Box 12 Code W, so they belong on line 9, not line 2. Entering them again on line 2 overstates contributions and can create a phantom excess contribution.
If you were eligible for only part of the year, you generally prorate the limit by the number of qualifying months, unless you use the last-month rule (see Part III). Contributions above your allowed limit are excess contributions and may face a 6% excise tax on Form 5329 until you withdraw them. See our guide to Form 5329 and the additional taxes on retirement and savings plans for how that excise tax works.
Part II: reporting distributions and the 20% penalty
Part II (lines 14 through 17b) reports every dollar you took out and separates qualified from nonqualified use. Enter total distributions from Form 1099-SA Box 1 on line 14a, qualified medical expenses on line 15, and the taxable remainder on line 16. Taxable distributions flow to Schedule 1 as other income, and the 20% additional tax is computed on line 17b.
Qualified distributions pay for medical, dental, and vision care under IRC Section 213(d) that was incurred after the HSA was established and not reimbursed elsewhere. These are tax-free and penalty-free. There is no deadline to reimburse yourself, so an expense paid out of pocket years ago can back a tax-free withdrawal later if you kept the receipt.
Nonqualified distributions are different. The amount is added to taxable income, and if you are under 65 an extra 20% additional tax applies. The 20% penalty is waived if the account owner has died, is disabled, or has reached age 65. A withdrawal to fix an excess contribution before the filing deadline is also not treated as a taxable distribution.
| Distribution type | Income tax? | 20% penalty? |
|---|---|---|
| Qualified medical expense | No | No |
| Nonqualified, under age 65 | Yes | Yes |
| Nonqualified, age 65 or older | Yes | No |
| Nonqualified, disabled or after death | Yes | No |
Part III: the last-month rule and testing period
Part III (lines 18 and 19) applies only if you used the last-month rule and then lost eligibility. The last-month rule lets you contribute the full annual limit if you are HSA-eligible on December 1, even if you were not eligible earlier in the year. In exchange, you must stay eligible through a 13-month testing period that ends on December 31 of the following year.
If you break that testing period, for example by dropping HDHP coverage in the middle of the next year, the extra amount you were allowed to contribute becomes taxable income and is hit with a 10% additional tax on line 19. This recapture is separate from the 20% distribution penalty in Part II.
The mechanics matter most for people who become HSA-eligible late in the year. Using the last-month rule can front-load a full year of contributions, but only if your coverage plans are stable through the following December. For related account-eligibility timing, see our overview of Roth vs traditional IRA tax treatment.
How Form 8889 connects to the rest of your return
Form 8889 feeds two other places on your 1040. The deduction on line 13 moves to Schedule 1 (Form 1040), which reports additional income and adjustments, lowering your AGI. Taxable distributions and testing-period income move the other way, adding to income on Schedule 1, and the 20% or 10% additional taxes carry to Schedule 2.
You need three source documents to complete it accurately: your W-2 (Box 12 Code W for employer and payroll contributions), Form 5498-SA from your HSA custodian (total contributions), and Form 1099-SA (total distributions). Reconciling these three against your own records prevents most Form 8889 mistakes. If your withdrawals were taxable and you want a broader picture, see what counts as adjusted gross income.
Frequently asked questions
Do I have to file Form 8889 if all my HSA withdrawals were for medical expenses?
Yes. Form 8889 is required whenever your HSA has any contribution or distribution activity, even if every distribution paid for qualified medical care. The form is how you prove the withdrawals were qualified and therefore tax-free. Skipping it can cause the IRS to treat your Form 1099-SA distributions as fully taxable.
What is the 2026 HSA contribution limit?
For 2026, the HSA contribution limit is $4,400 for self-only HDHP coverage and $8,750 for family coverage. Account owners who are 55 or older by year end can add a $1,000 catch-up contribution. Employer and payroll contributions count toward these limits, and you have until April 15, 2027, to make 2026 contributions.
How is the 20% HSA penalty calculated on Form 8889?
The 20% additional tax applies to the taxable (nonqualified) portion of your distributions when the account owner is under 65. On Form 8889, line 16 is the taxable amount and line 17b is that amount multiplied by 20%. The penalty is waived entirely if the owner is 65 or older, disabled, or deceased. It is on top of regular income tax on the same amount.
Can both spouses make the $1,000 catch-up contribution?
Only if each spouse has their own HSA. The $1,000 age-55 catch-up is per account owner and must be deposited into the account of the person it belongs to. A couple with family coverage where both are 55 or older can contribute the $8,750 family limit plus $1,000 in each spouse’s separate HSA, for $10,750 total in 2026.
What is the last-month rule for HSAs?
The last-month rule lets you contribute the full annual HSA limit if you are HSA-eligible on December 1, even if you were not eligible for earlier months. In exchange, you must remain eligible through a testing period ending December 31 of the next year. Breaking the testing period adds the extra contribution to income and applies a 10% additional tax on Form 8889 Part III.
Which HSA tax documents do I need to fill out Form 8889?
You need three documents: your W-2 (Box 12, Code W shows employer and pre-tax payroll contributions), Form 5498-SA from your HSA custodian (total contributions for the year), and Form 1099-SA (total distributions). Match these against your own receipts for qualified medical expenses so you can separate tax-free withdrawals from taxable ones.
Does the HSA deduction require itemizing?
No. The HSA deduction from Form 8889 line 13 is an above-the-line adjustment reported on Schedule 1, Part II, line 13. It reduces adjusted gross income directly and is available whether you take the standard deduction or itemize. Payroll contributions made through a cafeteria plan are already pre-tax and are not deducted again on the return.
Reviewed by The Ledgerism Editorial Team. Last reviewed: July 2026.