You report HSA contributions and withdrawals on Form 8889, which reconciles what you put in, what you took out, and what the IRS expects you to have paid tax on
The IRS requires you to file Form 8889 (Health Savings Accounts) whenever you contribute to an HSA, receive distributions from it, or both. This form does three things: it tells the IRS how much you contributed (and whether your employer contributed), how much you withdrew, and whether any of those withdrawals were for non-medical expenses (which triggers tax and a penalty). Form 8889 attaches to your Form 1040 when you file your annual return.
You need Form 8889 even if your employer made all the contributions and you made no withdrawals. You also need it if you received distributions only for may have access to medical expenses and owe no additional tax. The form itself is not optional—it is how the IRS tracks HSA activity across the country.
Key Takeaways
- Form 8889 is filed with your annual tax return and reports all HSA contributions, distributions, and the fair market value of your account at year-end.
- Employer contributions reduce your taxable income and appear on your W-2 in box 12 with code W; you report them on Form 8889 Part I.
- Individual contributions you made yourself are reported on Form 8889 Part II and may be deductible on your tax return if you meet income limits.
- Distributions for may have access to medical expenses are not taxed; distributions for any other reason are taxed as ordinary income plus subject to a 20 percent penalty unless you are age 65 or older.
- Your HSA custodian (the bank or financial institution holding the account) sends you Form 5498-SA by May 31, which lists contributions and the account balance; use this to fill out Form 8889.
What goes in Part I: employer contributions and account value
Part I of Form 8889 captures what your employer put into your HSA during the year. Your employer reports this amount to you on your W-2 form in box 12 with code W. Copy that number directly onto Form 8889, Part I, line 1. If you had more than one employer during the year, add all the W-2 amounts together.
You also report the fair market value of your HSA on the last day of the tax year (December 31) in Part I. Your HSA custodian provides this figure on Form 5498-SA, which they mail to you by May 31 of the following year. The account value includes all cash, investments, and accrued interest in the account as of that date. This is not money you are withdrawing—it is straightforward the snapshot the IRS uses to track the account.
What goes in Part II: your own contributions and deduction
Part II is where you report money you contributed yourself from your paycheck or personal funds. If your employer offered a payroll deduction plan, you may have contributed pre-tax dollars directly from your salary. These contributions also appear on your W-2 in box 12 with code W, and you report them in Part II, line 2. Do not double-count: if the W-2 code W already includes both employer and employee contributions, separate them out and report only your portion here.
If you made contributions outside of payroll (for example, you deposited money directly into the account after the year began), report those on Part II, line 3. Your HSA custodian will list all contributions on Form 5498-SA. The total of lines 2 and 3 becomes your deduction, subject to annual limits set by the IRS. These limits vary by year and by whether your health plan covers only you or your family; your custodian or plan documents will state the limit for your situation.
Reporting distributions and identifying may have access to medical expenses
Part III of Form 8889 asks for the total amount you withdrew from your HSA during the year. Your custodian reports this on Form 5498-SA. You enter the total on line 9, regardless of whether the money went to medical expenses or not.
The critical distinction is between may have access to medical expenses and everything else. may have access to expenses are those allowed under IRS rules: copays, deductibles, prescription drugs, dental work, vision care, mental health treatment, and many other medical services. Non-may have access to expenses are anything else—groceries, rent, gym memberships, cosmetic procedures not related to injury or disease.
You do not list individual expenses on Form 8889. Instead, you calculate the total amount you withdrew for may have access to medical expenses and enter it on line 10. If all your withdrawals were for may have access to expenses, lines 9 and 10 are the same. If you withdrew money for both may have access to and non-may have access to expenses, you must separate them. Keep receipts and records to support the may have access to amount; the IRS does not require you to attach them, but you must have them if audited.
Tax and penalty on non-may have access to distributions
Any distribution that was not for a may have access to medical expense is taxed as ordinary income in the year you withdrew it. It also triggers a 20 percent penalty on top of the income tax. For example, if you withdrew $1,000 for a non-may have access to expense, you owe income tax on that $1,000 plus a $200 penalty.
The exception is age 65 and older. Once you reach 65, distributions for any reason are taxed as ordinary income, but the 20 percent penalty no longer applies. This makes the HSA function like a traditional IRA after age 65—you can use it for medical expenses tax-free, or for anything else and pay only income tax.
Form 8889 calculates this for you. If you had non-may have access to distributions, the form will show the taxable amount and the penalty. Both are reported on your Form 1040 when you file.
When your employer or custodian made an error
Sometimes your W-2 or Form 5498-SA contains a mistake: a contribution amount that is wrong, a duplicate entry, or a missing entry. Do not ignore it. Contact your HSA custodian or employer's benefits department when ready and ask them to issue a corrected form. If the error happened in a prior year, you may need to file an amended return (Form 1040-X) once the corrected form arrives.
If you contributed more than the IRS limit in a given year, you must withdraw the excess plus any earnings on it by the tax important date (usually April 15). Report this on Form 8889 as well. Your custodian can help you calculate the excess and the earnings.
Timing: when to file and what documents you need
You do not file Form 8889 until you file your full tax return, which is due April 15 (or the next business day if that falls on a weekend). However, you need the supporting documents before then. Your W-2 arrives by January 31, and Form 5498-SA arrives by May 31. If you file before May 31, you may not have Form 5498-SA yet. In that case, contact your custodian for the account balance and contribution information, or file an extension and wait for the form.
Gather these documents before you start: your W-2 (for employer contributions), Form 5498-SA (for account value and any contributions reported by the custodian), receipts or records of your own contributions if you made any outside payroll, and documentation of distributions (your custodian provides a year-end statement showing all withdrawals).
Frequently Asked Questions
Do I have to file Form 8889 if my employer contributed but I made no withdrawals?
Yes. The IRS requires Form 8889 whenever there is any HSA activity during the year, including employer contributions. Even if you withdrew nothing and made no personal contributions, you must file the form to report the employer contribution and the year-end account balance.
What if I do not know whether an expense is may have access to?
The IRS publishes a list of may have access to medical expenses in Publication 969. Common ones include doctor visits, prescriptions, dental, vision, and mental health care. Cosmetic procedures, gym memberships, and over-the-counter items (except certain ones like bandages and pain relievers) are not may have access to. When in doubt, keep the receipt and consult the publication or a tax professional before withdrawing the money.
Can I amend my return if I reported a non-may have access to distribution and later found out it was may have access to?
Yes, but only if you have documentation proving the expense was may have access to. File Form 1040-X (amended return) and attach a statement explaining the correction. You will need a receipt, invoice, or other proof from the medical provider. The IRS may request this documentation.
What happens if I withdraw money and do not report it on Form 8889?
The IRS will likely catch it when your custodian files Form 5498-SA, which reports all distributions. Unreported withdrawals can result in penalties and interest on unpaid taxes. If you made a mistake, file an amended return as soon as you notice it.
Do I need to report HSA contributions my spouse made if we file jointly?
Yes, if your spouse has their own HSA, they file their own Form 8889 and you attach both forms to your joint return. If you have a family HSA that both of you can contribute to, you report combined contributions on one Form 8889, but only one spouse files it (usually the one whose name is on the account). Confirm with your custodian whose name the account is under.