What Is IRS Form 8889? Contributions, Distributions, and Limits

IRS Form 8889 is the tax form you attach to your Form 1040 whenever you have a Health Savings Account. It does three jobs: it calculates your deduction for personal HSA contributions, it accounts for employer contributions so they stay out of your taxable income, and it sorts your withdrawals into tax-free medical distributions and taxable ones (with any 20% penalty). If money went into or out of an HSA in your name during the year, this form goes with your return.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans

Who Has to File Form 8889

The filing triggers are broad. You need to include Form 8889 with your return if any of the following happened during the tax year:

  • Contributions were made to your HSA, whether by you, your employer, or both. Even if your employer made the only deposit, you still file.
  • You took a distribution of any size, regardless of what you spent it on.
  • You failed a testing period after using the last-month rule or a qualified HSA funding distribution.
  • You acquired an HSA as a beneficiary after the account holder’s death.

If you or your spouse received HSA distributions, you must file Form 8889 even if you would otherwise not need to file a tax return at all.2Internal Revenue Service. Instructions for Form 8889p>

Married Couples Filing Jointly

When both spouses have their own HSAs, each spouse completes a separate Form 8889. You combine the deduction amounts and enter the total on Schedule 1 of your joint Form 1040, and both completed forms get attached.2Internal Revenue Service. Instructions for Form 8889 If only one spouse has an HSA, you file just one Form 8889.

Coverage type matters here. If either spouse has family HDHP coverage, both spouses are treated as having family coverage for purposes of the contribution limit, and you must split the family limit between you. It catches people off guard when they assume each spouse can contribute up to a separate individual limit.

Documents to Gather Before You Start

Have these in hand:

Qualified medical expenses generally include costs for diagnosis, treatment, and prevention of disease, along with prescription medications, medical equipment, and dental and vision care. Cosmetic procedures, gym memberships, and general wellness supplements do not qualify. IRS Publication 502 has the full list.

Walking Through the Three Parts of the Form

Part I: Contributions and Deduction

Part I figures out how much you can deduct. You enter your personal contributions, your coverage type (self-only or family), and the number of months you were an eligible individual. The form subtracts any employer contributions reported on your W-2, since those are already excluded from your income and cannot be double-counted. Whatever room remains under the statutory limit is the maximum additional amount you can deduct from your gross income.2Internal Revenue Service. Instructions for Form 8889

If you were eligible for fewer than 12 months, your contribution limit is prorated by month. Someone who gained HDHP coverage in September can contribute only 4/12 of the annual limit. The exception is the last-month rule, discussed below.

Part II: Distributions

Here you report total withdrawals from Line 14a and compare them to the qualified medical expenses you actually paid. If your medical costs equal or exceed your distributions, nothing is taxable and no penalty applies. If distributions exceeded your qualified medical expenses, the difference is included in your income and may be hit with a 20% additional tax.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans The 20% penalty disappears once you reach 65, become disabled, or die, though non-medical withdrawals after 65 are still taxed as ordinary income.

Part III: Testing Period Failures

Part III applies only if you used the last-month rule or a qualified HSA funding distribution (a one-time IRA-to-HSA transfer) and then failed to stay eligible through the required testing period. If that happened, the contributions that exceeded your prorated limit get added back to your income, and you owe an additional 10% tax on that amount.2Internal Revenue Service. Instructions for Form 8889 Most people never touch Part III, but when it applies, the tax hit is real.

2026 Contribution Limits and HDHP Thresholds

Your HSA contribution limit depends on whether your high-deductible health plan covers just you or your family. For 2026:6Internal Revenue Service. Expanded Availability of Health Savings Accounts Under the One, Big, Beautiful Bill Act

  • Self-only coverage: $4,400
  • Family coverage: $8,750
  • Catch-up contribution for age 55 or older: an additional $1,000

The catch-up amount is set by statute and does not adjust for inflation.7Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts To qualify for any HSA contribution, your health plan must meet the 2026 HDHP thresholds:

  • Minimum annual deductible: $1,700 self-only, $3,400 family
  • Maximum out-of-pocket: $8,500 self-only, $17,000 family

Out-of-pocket limits exclude premiums and apply to in-network costs. If your plan falls outside these ranges, you cannot contribute to an HSA for the months you were enrolled in it. You also cannot contribute if you are enrolled in Medicare, claimed as a dependent on someone else’s return, or covered by a non-HDHP health plan (other than permitted coverage like dental, vision, or specific-disease insurance).

The Last-Month Rule and Its Testing Period

If you become an eligible individual on or before December 1 of the tax year, the last-month rule lets you contribute the full annual amount as if you had been eligible all 12 months. That’s a real benefit if you switched to an HDHP late in the year.

The condition: you must remain eligible through the entire testing period, which runs from December 1 of the contribution year through December 31 of the following year. If you drop your HDHP during that window for any reason other than death or disability, the contributions that exceeded your prorated limit get added back to your taxable income and hit with a 10% additional tax.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans If there’s any chance you’ll lose HDHP coverage in the next 13 months, contribute at the prorated amount instead.

Fixing Excess Contributions

If total contributions (yours plus your employer’s) exceed the annual limit, you owe a 6% excise tax on the excess for every year it remains in the account.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans The 6% compounds annually until you fix it, so speed matters.

You have two ways to correct an excess:

  • Withdraw the excess, plus any earnings on it, by April 15 of the following year (or your extended filing deadline if you requested an extension). Doing this avoids the excise tax. You include the earnings in your income for the year of withdrawal and do not claim a deduction for the removed contributions.
  • If you already filed without correcting, you can still withdraw within six months of your original due date (without extensions). File an amended return with “Filed pursuant to section 301.9100-2” written at the top.2Internal Revenue Service. Instructions for Form 8889

You can also leave the excess in the account and apply it to a future year when you have unused capacity, but you owe the 6% for every year the excess sits uncorrected.

Medicare Enrollment Ends Contributions

Once you enroll in any part of Medicare, you can no longer contribute to an HSA. This trips up people turning 65 who are still working under an employer HDHP. Your contribution limit for the final year of eligibility is prorated by the number of months before Medicare began. If you enroll effective July 1, you have six months of eligibility, so your maximum is 6/12 of the annual limit (and 6/12 of any catch-up).

You can still take tax-free distributions from an existing HSA after enrolling in Medicare. You just can’t put new money in. Form 8889 remains required for any year in which you take distributions, even years with zero contributions.

Deadlines and How to Submit It

Form 8889 attaches to your Form 1040, 1040-SR, or 1040-NR and follows the same deadline, April 15 of the year after the tax year, unless that date falls on a weekend or holiday.8Internal Revenue Service. Due Dates and Extension Dates for E-file Filing Form 4868 for an extension gives you until October 15.

One important quirk: you can make prior-year HSA contributions until April 15, but a filing extension does not extend that contribution deadline. If you file for an October extension, you still cannot make 2026 contributions after April 15, 2027.2Internal Revenue Service. Instructions for Form 8889

Electronic filing software handles Form 8889 automatically once you enter your HSA information. If you file on paper, attach the completed form behind your 1040. After submission, the IRS cross-references your reported contributions and distributions against the data your HSA trustee filed on Forms 1099-SA and 5498-SA. Mismatches are a common trigger for automated adjustment notices.

Keeping Records for Distributions

The IRS requires you to keep documentation showing that each distribution went to a qualified medical expense, that the expense was not reimbursed by insurance or another source, and that you did not also claim it as an itemized deduction.1Internal Revenue Service. Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans You don’t submit these with the return, but you need them if the IRS asks. A folder of scanned receipts organized by tax year is usually enough.