If you overcontribute to your HSA, the IRS charges a 6% excise tax on the excess amount, and that penalty repeats every year the extra money stays in the account. You can avoid the penalty entirely by asking your HSA custodian to return the excess (and its earnings) before your tax filing deadline. If you miss that window, you can either keep paying the 6% each year or absorb the excess by contributing less in a future year.
First, Confirm You Actually Went Over
For the 2026 tax year, the IRS caps HSA contributions at $4,400 for self-only HDHP coverage and $8,750 for family coverage.1Internal Revenue Service. Revenue Procedure 2025-19 If you’re 55 or older and not enrolled in Medicare, you can add a $1,000 catch-up contribution, which is fixed by statute and doesn’t adjust for inflation.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts Each spouse’s catch-up has to go into that spouse’s own HSA.
These limits include every dollar from every source: your payroll deductions, after-tax deposits, employer contributions, and anyone else putting money in on your behalf. Forgetting to count the employer share is one of the easiest ways to go over without realizing it. If you were HDHP-eligible for only part of the year, your limit is also prorated at 1/12 of the annual amount for each month you had qualifying coverage on the first day.1Internal Revenue Service. Revenue Procedure 2025-19 Someone with self-only coverage who was eligible for only six months has a limit of $2,200, not $4,400.
What the 6% Excise Tax Actually Costs
The core penalty is a 6% excise tax on whatever excess is sitting in your HSA at the end of the tax year.3Office of the Law Revision Counsel. 26 USC 4973 – Tax on Excess Contributions to Certain Tax-Favored Accounts It isn’t a one-time hit. The IRS charges the same 6% again at the end of every year the excess remains. A $1,000 overcontribution left alone for five years costs $300 in excise taxes before you count anything else.
You also lose the deduction on the excess amount. It gets added back to your gross income, so you pay regular income tax on those dollars and the 6% penalty on the same dollars. The excise tax itself is calculated on Form 5329, which attaches to your Form 1040.4Internal Revenue Service. Form 5329 – Additional Taxes on Qualified Plans (Including IRAs) and Other Tax-Favored Accounts If you don’t otherwise need to file a return, you can file Form 5329 on its own, though it can’t be e-filed by itself.5Internal Revenue Service. Instructions for Form 5329
Fix It Before the Filing Deadline
The clean fix is to contact your HSA custodian and request a “return of excess contribution” before your tax filing deadline, including extensions. For a 2026 excess, that’s generally April 15, 2027, or October 15, 2027, with an extension.
You can’t just pull the principal. Your custodian also calculates and removes the net income attributable (NIA) to the excess, which is the investment gain or loss the extra money earned while it sat in the account. If your HSA investments lost value, the NIA can be negative, and you’ll withdraw slightly less than you put in.
The tax treatment splits in two:
- The excess principal goes into your gross income for the tax year the contribution was made. If you overcontributed in 2026, it shows up on your 2026 return no matter when you withdraw it.
- The NIA is ordinary income in the year you actually receive the distribution. Pull the excess out in early 2027 and the earnings are taxable on your 2027 return.6Internal Revenue Service. Form 1099-SA – Distributions From an HSA, Archer MSA, or Medicare Advantage MSA
Beat the deadline and you dodge the 6% excise tax entirely for that year. The excess principal is still taxable (you never earned the deduction), but you avoid the penalty on top. Your custodian reports the withdrawal on Form 1099-SA using distribution code 2, which flags it as a return of excess contributions rather than a regular distribution.7Internal Revenue Service. Instructions for Forms 1099-SA and 5498-SA
Fix It After the Deadline by Absorbing It
If you miss the filing deadline and the excess is stuck in your account, you still have a path. Instead of withdrawing, undercontribute in a future year and let the gap absorb the prior excess. The IRS lets you deduct prior-year excess contributions that remain in your HSA, up to the lesser of your current-year contribution limit minus what you actually contributed, or the total excess sitting in the account at the start of the year.8Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
The catch: you still owe 6% for every year the excess sits in the account at year-end. Overcontribute by $2,000 in 2026 and absorb it by contributing $2,000 less in 2027, and you pay 6% ($120) for 2026 but avoid it for 2027 and after. This approach makes sense when the overage is small, the penalty is manageable, and you’d rather not deal with the custodian withdrawal paperwork.
The Last-Month Rule Can Trigger a Separate 10% Penalty
The last-month rule is a shortcut letting you contribute the full annual amount even if you only became HDHP-eligible partway through the year. Have qualifying coverage on December 1 and the IRS treats you as eligible all year.2Office of the Law Revision Counsel. 26 USC 223 – Health Savings Accounts
The trade-off is a testing period. You must stay in an HDHP from December of the contribution year through December 31 of the following year. Use the last-month rule for 2026 and you need HDHP coverage through December 31, 2027.8Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
Fail the testing period and the contributions that only qualified because of the last-month rule get added back to your gross income, and you owe a 10% additional tax on that amount, reported on Part III of Form 8889.9Internal Revenue Service. Instructions for Form 8889 The only exceptions are losing eligibility because of death or disability. This 10% is separate from the 6% excise tax, and both can stack if your facts also create an excess under the regular rules. If there’s any chance you won’t keep HDHP coverage through the end of the testing period, contributing only the prorated amount is the safer play.
Medicare Can Make Past Contributions Excess
Medicare creates a particularly nasty version of this problem. Once any part of Medicare is effective, your HSA contribution limit drops to zero, even if you still have HDHP coverage through an employer. Medicare Part A can be backdated up to six months when you enroll after age 65. That retroactive effective date turns contributions you thought were legitimate into excess contributions overnight.
If you turned 65 in March 2026, kept working with HDHP coverage, and contributed to your HSA through September, then enrolled in Part A in October with a backdate to April, every contribution from April through September becomes excess. Both your deposits and any employer contributions during those months count.
The fix is the same return-of-excess process, with the same deadline: file by your tax deadline, including extensions, to avoid the 6% penalty.8Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans If you’re approaching 65 and plan to delay Medicare, stop HSA contributions at least six months before you expect Medicare to start. That buffer protects you from the retroactive reach.
When Your Employer Caused the Overcontribution
If your employer pushed too much into your HSA through payroll, you are still the one responsible to the IRS. The account holder pays the excise tax, not the employer. The correction path depends on who caused the error.
If it was clearly an administrative or payroll processing mistake (duplicate payroll files, decimal-point errors, amounts that don’t match your salary reduction election), the employer can ask your HSA custodian to return the mistaken contribution directly to the employer. This correction ideally happens before the end of the calendar year the contribution was made.
If the employer won’t reverse it, contact your custodian and request a return of excess yourself. The custodian processes it as your withdrawal and issues a Form 1099-SA with distribution code 2. Employer contributions appear in Box 12 of your W-2 with code W, and any excess employer contributions that aren’t corrected must be included in your gross income.8Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans
The Forms Involved
Every HSA owner files Form 8889 with their tax return. This is where you reconcile total contributions against your limit and report any excess. If you used the last-month rule and failed the testing period, Part III of Form 8889 is where the 10% additional tax gets calculated.10Internal Revenue Service. Instructions for Form 8889
Form 5329 is where you calculate and pay the 6% excise tax when the excess wasn’t removed in time. Part VII covers HSA excess contributions specifically. Withdraw the excess by the deadline and you generally don’t need to complete this part.11Internal Revenue Service. Instructions for Form 5329
Form 1099-SA comes from your HSA custodian and reports the corrective distribution, with the earnings portion broken out separately and distribution code 2 identifying it as a return of excess.6Internal Revenue Service. Form 1099-SA – Distributions From an HSA, Archer MSA, or Medicare Advantage MSA You report the NIA as income on your Form 1040 for the year you received the distribution. The excess contribution itself, if removed by the deadline, goes on your Form 1040 as other income for the year the contribution was made. If your employer made the excess and it wasn’t included in Box 1 of your W-2, you report it as other income yourself.8Internal Revenue Service. Publication 969 – Health Savings Accounts and Other Tax-Favored Health Plans