How to Fill Out IRS Form 8889
Required for anyone who contributed to or received distributions from a Health Savings Account. This step-by-step guide walks you through every line.
April 15 is your HSA contribution deadline for 2025
You can still make HSA contributions for the 2025 tax year until April 15, 2026. Your 1099-SA from your HSA provider shows your 2025 distributions - you need it for Part II below.
Quick Facts
Who must file
Anyone who contributed to or received distributions from an HSA
When to file
With your Form 1040 by April 15
Where to get it
Time to complete
15-30 minutes
Part I: HSA Contributions
Lines 1-13
Part I calculates your HSA deduction - the amount that reduces your taxable income. You need your W-2 (Box 12, Code W) and records of any direct contributions you made.
Line 2: Contributions you made for 2026
Enter total contributions you made directly (not through payroll). This includes contributions made between January 1 and April 15 of the following year that you designate for 2026. The 2026 limits are $4,400 (self-only) and $8,750 (family).
Line 9: Employer contributions
Enter the amount from your W-2, Box 12, Code W. This includes both your employer's contributions and any pre-tax payroll deductions. Don't add these to Line 2 - that would double-count them.
Line 13: HSA deduction
This is your actual tax deduction - the smaller of your contributions or the annual limit, minus employer contributions. This amount flows to Schedule 1 (Form 1040), Line 13, reducing your AGI.
Tip: Not sure about 2026 limits? View 2026 HSA contribution limits including catch-up amounts for those 55 and older ($1,000 extra). Need prior year limits? See the complete history back to 2004.
Part II: HSA Distributions
Lines 14a-17b
Part II reports how you used HSA funds. You need your Form 1099-SA (sent by your HSA provider) and records of qualified medical expenses.
Line 14a: Total distributions
Enter the total distributions from your 1099-SA (Box 1). This includes all withdrawals - qualified, non-qualified, and rollovers.
Line 14c: Qualified medical expenses
Enter the total qualified medical expenses you paid with HSA funds. These must be expenses not reimbursed by insurance and incurred after your HSA was established.
Line 15: Taxable HSA distributions
Line 14a minus Line 14c (and any rollovers on Line 14b). If this number is greater than zero, you used HSA funds for non-qualified expenses and owe income tax on that amount.
Line 17a: Additional tax (20% penalty)
If you're under 65 and have taxable distributions (Line 15 > 0), you owe a 20% additional tax on top of regular income tax. This penalty does not apply if you're 65+, disabled, or the distribution was made after death.
Tip: Not sure what counts as a qualified expense? Browse the full list of HSA-eligible expenses.
Part III: Income and Additional Tax for Failure to Maintain HDHP Coverage
Lines 18-21
Part III only applies if you used the last-month rule or changed your HDHP coverage mid-year. Most filers can skip this section.
When does Part III apply?
If you contributed the full annual limit using the last-month rule (eligible on December 1) but didn't maintain HDHP coverage through December 31 of the following year, you must report the excess as income and pay a 10% additional tax.
The testing period explained
The "testing period" runs from December 1 of the contribution year through December 31 of the following year (13 months). If you lose HDHP eligibility during this window - for example, by switching to a traditional health plan - the extra contribution amount is included in your income for the year you failed the test.
Form 8889 Calculator
Enter your numbers to preview your deduction and taxable distributions
Your contribution limit: $4,400
Contributions you made directly (not through payroll)
Includes employer match + your pre-tax payroll deductions
$0
Flows to Schedule 1 (Form 1040), Line 13
$0
This calculator provides estimates for educational purposes only. It does not account for all Form 8889 scenarios (last-month rule, mid-year coverage changes, inherited HSAs). Consult a tax professional for your specific situation.
Common Mistakes to Avoid
These are the errors the IRS sees most often on Form 8889. Each one can trigger a notice or additional tax.
Forgetting employer contributions
Employer contributions are listed on your W-2, Box 12, Code W. This amount includes both employer and pre-tax payroll contributions. Don't count them twice - they go on Line 9, not Line 2.
Double-counting payroll deductions
If you contribute through payroll, those amounts are already included in the W-2 Box 12 Code W figure. Entering them again on Line 2 inflates your total and creates an excess contribution.
Not filing when you only have distributions
Even if every HSA distribution went to qualified medical expenses, you must still file Form 8889 to report them. The IRS uses this form to verify your distributions were legitimate.
Miscalculating the last-month rule
If you weren't HSA-eligible for the full year but were eligible on December 1, the last-month rule lets you contribute the full annual amount. But you must stay eligible through December 31 of the following year or face taxes and penalties.
Not reporting catch-up contributions separately
If you're 55 or older, catch-up contributions ($1,000 extra) go on Line 3 for yourself. If your spouse is 55+, they need their own HSA and their own Form 8889.
Frequently Asked Questions
Am I required to file Form 8889?▼
Who fills out Form 8889?▼
How do I report HSA contributions on my tax return?▼
What if I didn't use my HSA at all?▼
Can I file Form 8889 without a 1099-SA?▼
What if I over-contributed to my HSA?▼
Related Resources
2026 Contribution Limits
Current year HSA and HDHP limits including catch-up amounts.
Contribution Limit Calculator
Calculate your personal HSA contribution limit based on your coverage and age.
Eligible Expenses
Full list of qualified medical expenses you can pay with HSA funds.
Why Open an HSA?
Triple tax advantage, investment growth, and the shoebox strategy explained.
More HSA Resources
What Is an HSA?
Complete guide to Health Savings Accounts and how they work
HSA Dental Guide
Every dental expense - what qualifies, what does not
HSA Mental Health Guide
Therapy, psychiatry, medications, and treatment programs
HSA GLP-1 & Weight Loss Guide
Ozempic, Wegovy, Mounjaro - cost savings and eligibility
HSA Gym Membership Guide
How to use HSA for gym memberships with Truemed or Flex
FSA vs HSA
Side-by-side comparison of tax-advantaged health accounts
2026 Contribution Limits
How much you can contribute this year
HSA-Eligible Expenses
Browse the full list of qualified medical expenses
Track your HSA expenses year-round so Form 8889 fills itself
Every receipt you log in HSA Trackr is one less line you have to worry about at tax time. Free forever.
Get Started Free