Form 8889: Health Savings Accounts (HSAs) - 2017 Tax Year Guide
What Form 8889 Is For
Form 8889 is the IRS form you attach to your federal tax return (Form 1040 or 1040-NR) to report all activity related to your Health Savings Account during the 2017 tax year. Think of it as your HSA's ""report card"" for the IRS—it tells the government how much you contributed to your HSA, how much you took out, and whether you used those withdrawals for qualified medical expenses.
The form serves three main purposes: First, it helps you calculate your HSA tax deduction (the amount you can subtract from your taxable income). Second, it reports any distributions you received from your HSA. Third, it figures out whether you owe any income tax or penalties if you didn't follow HSA rules properly. You must file Form 8889 if you or anyone on your behalf (including your employer) made contributions to your HSA in 2017, if you received any distributions from your HSA, or if you acquired an interest in an HSA because of someone's death.
Health Savings Accounts are special savings accounts that let you set aside pre-tax money for medical expenses. To qualify for an HSA, you must be covered by a High Deductible Health Plan (HDHP) and cannot have other health coverage (with certain exceptions like dental, vision, or accident insurance). For 2017, an HDHP means a plan with a minimum annual deductible of $1,300 for self-only coverage or $2,600 for family coverage, and maximum out-of-pocket expenses of $6,550 for self-only or $13,100 for family coverage.
When You'd Use It (Late/Amended Filings)
You should file Form 8889 with your original 2017 tax return by the April 2018 deadline (typically April 17, 2018, for most taxpayers). However, if you discover errors or omissions after filing your original return, you can—and should—file an amended return using Form 1040-X with a corrected Form 8889 attached.
Common reasons to file an amended return include: discovering you forgot to report HSA contributions or distributions on your original return; realizing you over-contributed to your HSA and need to correct the excess; finding out you incorrectly reported distributions as being used for qualified medical expenses when they weren't; or needing to correct eligibility status if your health coverage changed during the year in ways that affected your HSA eligibility.
The IRS typically allows you to amend your tax return within three years from the original filing deadline or within two years of paying the tax due for that year, whichever is later. If you owe additional tax, you should file the amended return and pay the tax as soon as possible to minimize interest and penalties. If you're claiming a refund due to excess contributions you later removed, you generally have up to six months after the original filing deadline to withdraw excess contributions without penalty. Write ""Filed pursuant to section 301.9100-2"" at the top of your amended return if you're withdrawing excess contributions beyond the original deadline but within the six-month window.
Key Rules for 2017
Understanding the contribution limits is crucial. For 2017, you could contribute up to $3,400 if you had self-only HDHP coverage or up to $6,750 if you had family coverage. If you were 55 or older by December 31, 2017, you could add an extra $1,000 ""catch-up"" contribution. These limits apply to the total of all contributions—yours, your employer's, and anyone else who contributed on your behalf. Employer contributions through a cafeteria plan count toward this limit but aren't reported as your contributions on line 2 of the form.
The ""last-month rule"" is an important concept that can work in your favor. If you were eligible for an HSA on December 1, 2017 (the first day of the last month of the tax year), you're considered eligible for the entire year and can make a full year's contribution, even if you weren't eligible earlier in the year. However, this comes with a catch: you must remain eligible during a ""testing period"" that runs from December 1, 2017, through December 31, 2018. If you fail to remain eligible during this period (unless you die or become disabled), you must include in your income the contributions that wouldn't have been made without the last-month rule, plus pay a 10% additional tax.
Only ""qualified medical expenses"" are tax-free when withdrawn from your HSA. These are generally unreimbursed medical expenses that would be deductible on Schedule A, including doctor visits, prescriptions, dental care, vision care, and many other health-related costs. Importantly, you can only use HSA funds tax-free for expenses incurred after you established your HSA—not for medical bills from before the account existed. Over-the-counter medicines must be prescribed by a doctor to qualify (insulin is an exception and doesn't require a prescription).
If you use HSA money for non-qualified expenses, that amount becomes taxable income, and you'll face an additional 20% penalty tax unless you're over 65, disabled, or deceased. Excess contributions that remain in your account at year-end are subject to a 6% penalty tax for each year they remain.
Step-by-Step (High Level)
Part I: HSA Contributions and Deductions
Part I: HSA Contributions and Deductions is where you report contributions and calculate your deduction. Start by checking the box indicating your coverage type (self-only or family) on line 1. On line 2, enter contributions you or others made on your behalf during 2017, including contributions made by April 17, 2018, designated for 2017. Don't include employer contributions here. Line 3 requires you to figure your contribution limit based on your coverage type and how many months you were eligible. If you were eligible all year with unchanged coverage, simply enter $3,400 for self-only or $6,750 for family coverage. If your situation was more complex, you'll use the Limitation Chart and Worksheet from the instructions to calculate a prorated amount. Lines 4 through 8 help you determine your actual contribution limit after accounting for factors like employer contributions, and line 13 shows your final HSA deduction.
Part II: HSA Distributions
Part II: HSA Distributions tracks money you took out of your HSA. On line 14a, report total distributions from all your HSAs during 2017 (this number comes from Form 1099-SA). Line 14b is for rollovers or withdrawn excess contributions. Line 15 is crucial—this is where you report distributions used exclusively for qualified medical expenses. The difference between your total distributions and qualified expenses becomes taxable income on line 16. Lines 17a and 17b calculate the 20% additional tax on non-qualified distributions, unless you qualify for an exception (age 65+, disabled, or deceased).
Part III: Income and Additional Tax
Part III: Income and Additional Tax applies if you failed to maintain HDHP coverage during the testing period after using the last-month rule or making a qualified HSA funding distribution. Most taxpayers won't need to complete this section, but if you do, it calculates the amount you must include in income and any 10% additional tax owed.
Common Mistakes and How to Avoid Them
Mistake #1: Not filing Form 8889 at all
Some people assume that because their HSA administrator reports information to the IRS on Form 5498-SA and Form 1099-SA, they don't need to file Form 8889. Wrong. You must file Form 8889 if you had any HSA activity, even if it seems minor. Without it, you can't claim your HSA deduction.
Mistake #2: Over-contributing beyond the annual limit
Many people forget that employer contributions count toward the annual limit. If your employer contributed $2,000 and you also contributed $3,400 thinking you could max out your individual contribution, you've exceeded the 2017 limit by $2,000. Always subtract employer contributions from the maximum limit to know how much you can personally contribute. Monitor contributions carefully if you switch jobs mid-year and both employers contribute to your HSA.
Mistake #3: Incorrectly reporting distributions as qualified medical expenses
The IRS doesn't monitor your HSA spending in real-time, but they can audit your expenses. Only expenses incurred after your HSA was established qualify, and you must have documentation (receipts, explanation of benefits) to prove expenses were medical. Insurance premiums generally don't qualify unless they're for COBRA, long-term care, health insurance while receiving unemployment, or Medicare (if you're over 65).
Mistake #4: Misunderstanding the last-month rule
Using the last-month rule to claim a full year's contribution when you only had HDHP coverage in December sounds great, but remember the testing period obligation. If you switch to a non-HDHP plan or get additional coverage (like a spouse's plan) during 2018, you'll have to pay back those extra contributions plus a penalty.
Mistake #5: Confusion when both spouses have HSAs
If you're married and both have HSAs with family coverage, you must each complete a separate Form 8889. The family contribution limit ($6,750) must be divided between you and your spouse. You can split it equally or agree on any allocation, but document your agreement. Attach both Forms 8889 to your joint return.
Mistake #6: Forgetting about excess contributions from prior years
Excess contributions carry forward and continue triggering the 6% penalty each year until corrected. If you made excess contributions in a previous year, you can deduct them in the current year if you have contribution room available. Don't let excess contributions linger.
What Happens After You File
Once you file Form 8889 with your tax return, the IRS processes your return and applies your HSA deduction to reduce your taxable income. If you reported only qualified medical expense distributions, you typically won't hear anything from the IRS—your return is accepted, and you've successfully completed your HSA reporting for 2017.
The IRS matches information from your Form 8889 with the forms your HSA administrator sent them (Form 5498-SA showing contributions and Form 1099-SA showing distributions). Discrepancies may trigger an IRS notice asking you to explain or correct the mismatch. Always keep your HSA records, receipts for medical expenses, and Form 8889 worksheets for at least three years—the IRS can audit returns within this timeframe. If you claimed very large medical expense deductions, the IRS might request documentation proving those expenses were legitimate and qualified.
If you had excess contributions, you'll need to file Form 5329 (Additional Taxes on Qualified Plans) along with your return or as a standalone form to calculate and pay the 6% excise tax. This tax applies for each year the excess remains in your account. Similarly, if you had non-qualified distributions, the 20% additional tax gets calculated on Form 8889 and flows through to your Form 1040, increasing your total tax liability.
Your HSA deduction reduces your Adjusted Gross Income (AGI), which can have positive ripple effects throughout your tax return—potentially qualifying you for credits and deductions that phase out at higher income levels. This ""above-the-line"" deduction is valuable because you get it even if you don't itemize deductions.
For future planning, review your 2017 Form 8889 to ensure you're maximizing HSA benefits. If you under-contributed, consider increasing contributions in future years. If you had issues with coverage or eligibility, plan ahead to avoid testing period problems. Your HSA is a powerful tax-advantaged tool—use it wisely.
FAQs
Do I need to file Form 8889 if my employer made all the contributions to my HSA and I took no distributions?
Yes, you must still file Form 8889 to report the employer contributions and calculate how they affect your tax situation, even if you personally contributed nothing and took nothing out.
Can I use HSA funds to pay for my spouse's or children's medical expenses?
Yes, HSA distributions used to pay qualified medical expenses for your spouse or dependents are tax-free, even if those dependents aren't covered by your HDHP.
What happens if I accidentally used my HSA debit card for a non-medical expense?
You must report it as a non-qualified distribution on line 16, pay income tax on the amount, and pay the 20% additional penalty (unless you're over 65, disabled, or deceased). You can ""correct"" this by reimbursing your HSA before year-end and then taking a proper distribution for a qualified expense, but consult a tax advisor for proper documentation.
I turned 65 in 2017. How does this affect my Form 8889?
Once you turn 65, you can withdraw HSA funds for any purpose without the 20% penalty (though non-medical withdrawals are still taxable income). You should also enroll in Medicare when eligible, which makes you ineligible for future HSA contributions—but you can still use existing HSA funds tax-free for medical expenses.
Can I make HSA contributions for 2017 after December 31, 2017?
Yes, you can make 2017 contributions up until the tax filing deadline (typically April 17, 2018). When making these contributions, tell your HSA administrator they're for tax year 2017 so they're reported correctly.
I changed jobs mid-year and had two different HDHPs. How do I handle this on Form 8889?
You'll need to track your eligible months and coverage type (self-only vs. family) for each month to calculate your contribution limit. Use the Line 3 Limitation Chart and Worksheet in the instructions. Each month you were covered by an HDHP counts toward your total contribution limit.
What's a ""qualified HSA funding distribution"" and should I consider one?
This is a one-time transfer from your IRA to your HSA, allowing you to move IRA money (up to the annual HSA contribution limit) into your HSA without paying taxes on the distribution. It counts toward your annual contribution limit and requires a testing period of 12 months. It's reported on line 10 of Form 8889.
For authoritative information and the official Form 8889 and instructions for 2017, visit:
- 2017 Form 8889 (PDF)
- 2017 Form 8889 Instructions (PDF)
- IRS Publication 969 - Health Savings Accounts
- About Form 8889 - IRS.gov
This guide provides general information and should not be considered tax advice. Consult a qualified tax professional for guidance specific to your situation.


