Correcting Ineligible HSA Contributions: Deadlines, Excise Tax, and Forms

If money went into your health savings account that shouldn’t have, correcting ineligible HSA contributions comes down to timing: pull the money out (with any earnings it generated) before your tax-filing deadline and you owe nothing but income tax on the earnings; leave it in past that deadline and a 6% excise tax applies for every year the excess stays in the account.

Ineligible vs. Excess: Which Problem You Have

Two different mistakes get corrected the same way, but knowing which one you made helps you spot how much came in wrongly.

An ineligible contribution happens when someone who doesn’t qualify for an HSA funds one anyway. The usual cause is losing HDHP coverage mid-year (switching jobs, enrolling in Medicare, or picking up disqualifying coverage such as a general-purpose FSA) while payroll contributions keep flowing. Every dollar contributed after eligibility ended is ineligible.

An excess contribution happens when an eligible person puts in more than the annual cap. This is easy to do after a job change where two employers both run HSA payroll deductions, or when direct contributions get stacked on top of payroll ones without tracking the combined total. For 2026 the ceilings are $4,400 for self-only HDHP coverage and $8,750 for family coverage, plus a $1,000 catch-up if you’re 55 or older and not on Medicare.1Internal Revenue Service. Rev. Proc. 2025-192Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

For the correction, the IRS treats both the same. The money has to come out, and the 6% excise tax under IRC 4973 applies for each year the excess remains in the account.3Office of the Law Revision Counsel. 26 USC 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts and Annuities

Removing the Contribution Before Your Tax Deadline

The clean fix is a return of excess contribution before your return is due, including extensions. For the 2025 tax year that means April 15, 2026, or October 15, 2026 if you extended. Contact your HSA custodian, request a “return of excess contribution,” and specify the exact dollar amount to withdraw.4Internal Revenue Service. Instructions for Form 8889 (2025)

You can’t stop at the principal. Any earnings the excess produced while sitting in the account have to come out too. The custodian calculates that figure, called the Net Income Attributable, using a formula in the Treasury regulations that compares the account’s opening and closing balances during the period the excess was invested.5eCFR. 26 CFR 1.408-11 – Net Income Calculation for Returned or Recharacterized IRA Contributions If the account lost value, the NIA can be negative, and you withdraw less than you put in.

When the principal and its earnings both leave on time, the principal is treated as though it was never contributed. No income tax on it, no penalty, and no 6% excise. The earnings, however, are ordinary income on the return for the year you withdrew them.4Internal Revenue Service. Instructions for Form 8889 (2025)

The Six-Month Amended Return Window

Filed on time but forgot to pull the excess first? The IRS gives you an additional six months from the original filing deadline (not the extended one) to withdraw the excess and its earnings. For a return due April 15, that runs through October 15. File an amended return with “Filed pursuant to section 301.9100-2” written at the top, attach a corrected Form 8889, and explain the withdrawal.4Internal Revenue Service. Instructions for Form 8889 (2025) This second-chance window is genuinely generous, and a lot of people don’t know it exists.

After the Deadline: The 6% Excise Tax and How to Stop It

Once the filing deadline and the amended-return window both pass with the excess still in the account, the 6% excise tax attaches. It’s calculated on the excess remaining on the last day of each tax year and it applies every year until the excess is gone. You report and pay it on Form 5329.6Internal Revenue Service. Instructions for Form 5329 (2025)

Two ways to stop it from repeating:

  • Absorb the excess into a future year’s limit. If you’re still HSA-eligible and this year’s contributions come in below the maximum, last year’s excess can be counted toward this year’s limit. Over-contributed by $500 in 2025? Contribute $500 less in 2026 and the carryover fills the gap. This ends the 6% tax going forward but doesn’t erase the tax owed for the year the excess first showed up.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans
  • Withdraw the excess as a late distribution. The money can leave the account after the deadline, but the tax treatment is harder. The distribution is taxable income even if you use it for qualified medical expenses, and if you’re under 65 and not disabled, a 20% additional tax applies to the amount included in gross income. It does stop the 6% from compounding.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans7Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts

The math argues for catching things early. A $1,000 excess left uncorrected for two years costs $60 in excise tax each year, plus income tax and possibly a 20% penalty when the money finally comes out. Fixed before the deadline, the same excess costs only the tax on whatever small earnings it generated.

Common Triggers Worth Watching

Retroactive Medicare Enrollment

Once Medicare Part A coverage begins, your HSA contribution limit drops to zero, and the IRS applies that rule to periods of retroactive coverage. Contributions made during months you didn’t yet know you were covered become excess after the fact.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans The trap springs when you file for Social Security after age 65: premium-free Part A is backdated up to six months before the month you apply, though not earlier than the month you first became eligible.8Social Security Administration. Medicare Any HSA contributions made during those six months are now excess.

To avoid this, stop HSA contributions at least six months before applying for Social Security or Medicare.8Social Security Administration. Medicare If retroactive coverage has already caught you, correct the excess using the same timely or late-removal procedures above.

Failing the Last-Month Rule Testing Period

The last-month rule lets you contribute the full annual amount if you’re HSA-eligible on December 1, even if you weren’t eligible all twelve months. The catch: you must stay eligible through the entire testing period, which runs from December of the contribution year through December 31 of the following year.2Internal Revenue Service. Publication 969 (2025), Health Savings Accounts and Other Tax-Favored Health Plans

Failing that testing period (by dropping your HDHP, enrolling in Medicare, or picking up disqualifying coverage) forces you to include the excess contributions in that year’s income. The excess is the difference between what you actually contributed and what you would have been allowed to contribute without the last-month rule. On top of the income tax, a 10% additional tax applies. Death and disability are the only exceptions.4Internal Revenue Service. Instructions for Form 8889 (2025) Report the failure on Part III of Form 8889, with the additional tax on Schedule 2 of Form 1040.

Employer Payroll Errors

Sometimes the mistake starts with the employer. Payroll glitches, misconfigured elections, and incorrect matching contributions can push you past the limit without any action on your part. If the employer catches it, they can request the return of the excess from the custodian and issue a corrected W-2 (Form W-2c) adjusting the Box 12 Code W amount to the actual net contribution. Corrected before you file, the excess is treated as though it never happened, with no Form 5329 and no 6% excise.

If the employer won’t or can’t correct the W-2, the responsibility shifts back to you. Treat the employer-caused excess as your own and follow the standard removal procedures, including any excise tax that applies. When an employer refuses to issue a W-2c, you can file Form 4852 (Substitute for Form W-2) with your return, report the correct amounts on Form 8889, and keep your HSA statements as backup.

Forms That Carry the Correction

Getting the money right is only half the job; the reporting has to match. Four forms do the work:

  • Form 8889 is filed with your 1040. Part I calculates the allowable deduction, Part II reports distributions (including timely removals of excess contributions), and Part III handles testing-period failures and the associated 10% additional tax.4Internal Revenue Service. Instructions for Form 8889 (2025)
  • Form 5329 is required whenever the 6% excise tax applies. You calculate the tax on the excess remaining at year-end and file it with your 1040.6Internal Revenue Service. Instructions for Form 5329 (2025)
  • Form 1099-SA comes from your HSA custodian and reports distributions made during the year, including excess-contribution removals and their earnings.9Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA (12/2026)
  • Form 5498-SA also comes from the custodian and reports total contributions made during the calendar year, including any made for the prior year.10Internal Revenue Service. About Form 5498-SA, HSA, Archer MSA, or Medicare Advantage MSA Information

When the removal is timely, the withdrawn principal doesn’t appear as taxable income, but the earnings do; report the NIA as “Other income” on your 1040 for the year of withdrawal. When the removal is late, the full distribution is taxable and the 20% additional tax applies to holders under 65 who aren’t disabled.7Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts The 20% additional tax disappears at Medicare-eligibility age, though the income tax still applies.

Save every document the custodian gives you: the removal request, the withdrawal confirmation, and all the tax forms. If the IRS ever questions the correction, those records are your proof you followed the procedure.