HSA Tax Form 8889 is the IRS form you attach to your Form 1040 to report Health Savings Account contributions, claim your HSA deduction, and account for any distributions you took during the year. You file one Form 8889 per account holder, and you file it whenever money moved into or out of your HSA, even if your employer handled the contributions through payroll. For 2026, the contribution ceilings are $4,400 for self-only HDHP coverage and $8,750 for family coverage, with an extra $1,000 catch-up if you are 55 or older.1Internal Revenue Service. Revenue Procedure 2025-19
When You Have to File Form 8889
The filing trigger is broader than most people realize. You must attach Form 8889 to your return if any of these happened during the tax year: you or your employer contributed to your HSA, you took any distribution from the account, you inherited an HSA, or you failed to maintain HDHP coverage during a testing period after using the last-month rule.2Internal Revenue Service. Instructions for Form 8889
Employer-only contributions count. Even if the money that went into your HSA came entirely through payroll and was already excluded from your W-2 wages, you still owe the IRS a Form 8889 that reconciles those contributions against your annual limit. Skipping the form when it’s required can produce IRS notices and refund delays.
Documents to Pull Together First
Two forms from your HSA custodian do most of the work for you.
Form 1099-SA reports distributions. Box 1 shows the total you withdrew during the year. Box 3 carries a distribution code: code 1 for a normal distribution, code 2 for a corrective withdrawal of an excess contribution, and separate codes for distributions caused by disability or death.3Internal Revenue Service. Form 1099-SA – Distributions From an HSA, Archer MSA, or Medicare Advantage MSA The code does not decide whether the distribution is taxable. That turns on whether you actually spent the money on qualified medical expenses, and the burden of proof is on you. Keep receipts; you do not mail them with the return, but you need them if the IRS asks.
Form 5498-SA reports contributions. Box 2 shows the combined total contributed by you and your employer during the calendar year.4Internal Revenue Service. Form 5498-SA – HSA, Archer MSA, or Medicare Advantage MSA Information This form often arrives after you’ve received your other tax paperwork because contributions for the prior year can be made up to the filing deadline. If you file before the 5498-SA arrives, use your own records.
Your W-2. Employer and cafeteria-plan contributions appear in Box 12 with code W.5Internal Revenue Service. Form W-2 Reporting of Employer-Sponsored Health Coverage You’ll need that figure for Part I.
Part I: Contributions and the Deduction
Part I calculates how much of your HSA contributions you can deduct.
Start with Your Limit
For 2026, the annual contribution ceiling is $4,400 for self-only HDHP coverage and $8,750 for family coverage.1Internal Revenue Service. Revenue Procedure 2025-19 If you were 55 or older at year-end and not enrolled in Medicare, you can add $1,000 as a catch-up contribution. That $1,000 figure is set by statute and does not adjust for inflation.
Spouses who are both 55 or older cannot pool catch-ups into one account. Each spouse’s catch-up has to go into an HSA in that spouse’s name, which means two separate HSAs to capture the full $2,000.
Proration if You Weren’t Covered All Year
If you were not HDHP-covered for the full year, your limit is generally prorated. Count the months in which you were an eligible individual on the first day of the month, divide by 12, and multiply by the annual limit. Someone who enrolled in an HDHP on March 15 counts April through December, because they were not covered on March 1.
The last-month rule is the exception. If you were an eligible individual on December 1, the IRS treats you as eligible for the entire year and lets you contribute the full annual amount.6Internal Revenue Service. IRS Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans The price of using it is a 13-month testing period: you have to stay an eligible individual through December 31 of the following year. If you lose HDHP coverage during that window, the extra amount above the prorated limit is added to your taxable income for the year coverage ends, plus a 10% additional tax.2Internal Revenue Service. Instructions for Form 8889 That penalty is calculated in Part III of Form 8889.
Separate Employer Contributions From Your Own
How the money reached the HSA controls the deduction. Employer contributions, including anything you funneled in through a Section 125 cafeteria plan via payroll, were already excluded from your taxable wages. You report them on Form 8889 so they count against your annual limit, but they do not produce a deduction on line 2. You already got the tax benefit on your W-2.
Contributions you made directly, from after-tax funds outside of payroll, go on line 2 and are what generate the deduction.2Internal Revenue Service. Instructions for Form 8889 As long as the combined total from every source stays within your limit, your direct contributions are fully deductible.
Where the Deduction Goes on Your 1040
The deductible figure from line 13 of Form 8889 flows to Schedule 1 of Form 1040 as an adjustment to income.2Internal Revenue Service. Instructions for Form 8889 It’s an above-the-line deduction, which means it reduces your AGI whether or not you itemize. A lower AGI can help with other tax benefits that phase out at higher incomes.
Part II: Reporting Distributions
Part II reconciles the money you took out of the HSA against what you spent on qualified medical care.
What Counts as a Qualified Medical Expense
Qualified medical expenses are generally the same costs that would be deductible on Schedule A: doctor visits, prescriptions, dental and vision care, lab work, and similar out-of-pocket medical costs.7Internal Revenue Service. IRS Publication 502 – Medical and Dental Expenses Health insurance premiums are excluded in most cases, with narrow exceptions for COBRA, long-term care insurance, and Medicare premiums paid after age 65. General wellness items like gym memberships and ordinary vitamins do not qualify.
The Math
Add every distribution reported on your Form 1099-SA. Compare that total against your qualified medical expenses for the year.
If qualified expenses equal or exceed distributions, the entire withdrawal is tax-free. The amount lands on line 15 of Form 8889, and nothing flows to your taxable income.2Internal Revenue Service. Instructions for Form 8889
If distributions exceed qualified expenses, the excess goes on line 16 and gets added to taxable income on Form 1040.
The 20% Additional Tax
A non-qualified distribution does not stop at income tax. It also carries a 20% additional tax, calculated on line 17b of Form 8889 and carried to Schedule 2 of Form 1040.8Office of the Law Revision Counsel. 26 U.S. Code 223 – Health Savings Accounts Three situations exempt you from the 20%: reaching age 65, becoming disabled under the federal tax definition, or distributions made after the account holder’s death. In all three cases the amount can still be taxable as ordinary income; only the extra 20% drops away.
Excess Contributions Live on a Different Form
If total contributions pushed past your allowable limit, the excess is subject to a 6% excise tax for every year it stays in the account.9Office of the Law Revision Counsel. 26 U.S. Code 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities The 6% tax is not calculated on Form 8889. It lives on Part VII of Form 5329.10Internal Revenue Service. Instructions for Form 5329 Form 8889 identifies the excess; Form 5329 taxes it.
You can avoid the 6% entirely by withdrawing the excess, plus any earnings attributable to it, before your filing deadline including extensions. For most taxpayers who extend, that’s October 15. The custodian will issue a corrected 1099-SA, the earnings that come out with the excess are taxable in the year of withdrawal, but the 6% penalty for that year disappears.
Miss the deadline, and the 6% applies. The excess then carries forward and keeps generating 6% each year until you withdraw it or absorb it with unused contribution room in a later year.9Office of the Law Revision Counsel. 26 U.S. Code 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities
Medicare Enrollment and the Six-Month Lookback
The most common reason an unsuspecting filer ends up with excess contributions is Medicare. Once you enroll in Medicare Part A or Part B, you are no longer eligible to contribute to an HSA, starting the month your Medicare coverage begins.
The trap is retroactivity. If you qualify for premium-free Part A (most people with 10 or more years of work history do) and you delay enrollment past 65, your Part A coverage is backdated by up to six months when you finally enroll. Those backdated months can turn contributions you thought were valid into excess contributions subject to the 6% excise tax. If you plan to enroll after 65, stop HSA contributions at least six months before your enrollment date.
You can keep spending the money already in the HSA after Medicare starts. Distributions for qualified medical expenses, including Medicare premiums, deductibles, and copayments, remain tax-free. You just cannot contribute new money.