A 66-year-old software engineer decides to work one more year. He keeps his high-deductible health plan, keeps maxing out his HSA, including the catch-up contribution, and defers Social Security. When he finally retires in July and applies for Medicare, the enrollment specialist tells him something he did not expect: his Part A coverage is backdated six months. Every HSA contribution he made in the first half of the year is now an excess contribution unless he corrects it by the tax deadline. Otherwise, the IRS can impose a 6% excise tax every year the excess remains.
This is the trap that catches people who work past 65 and think they are doing everything right. If you enrolled in Medicare at 65 or are nowhere near an HSA, this one does not touch you. If you are still contributing to an HSA after 65 while delaying Medicare, stay with us.
The Six-Month Retroactive Rule Nobody Warns You About
Once you enroll in premium-free Medicare Part A after 65, coverage generally does not start the month you apply. It reaches back up to six months, but never earlier than your first month of Medicare eligibility. Social Security treats this as a courtesy: you get hospital coverage for months you could have had it. The IRS treats it as a disqualifying event.
Publication 969 is blunt about the mechanic: “Beginning with the first month you are enrolled in Medicare, your contribution limit is zero.” Because Part A is retroactive, the HSA limit can also fall retroactively. Contributions made during the affected months, including employer contributions, become excess.
The penalty compounds if the mistake is not corrected. It is a 6% excise tax on the excess amount every year it remains in the HSA. Leave a $4,000 excess untouched for five years and the penalties reach $1,200.
How People Walk Into It
Three paths lead here:
- Path 1: You claim Social Security after 65. Starting retirement benefits generally enrolls you in premium-free Part A, which can reach back six months. You cannot simply decline Part A while keeping Social Security. Withdrawing from Part A generally means withdrawing the benefit application and repaying benefits already received.
- Path 2: You delay Medicare because you have employer coverage, then apply midyear. The retroactive coverage begins when you enroll. Contributions made during the months Part A ultimately covers become excess, even though they looked perfectly legal when payroll deposited them.
- Path 3: You plan to work past 65 and never adjust your HSA deduction. Payroll keeps depositing. You keep collecting the tax break. Medicare eventually reaches backward, and the cleanup lands in your lap.
What the Fix Actually Costs
The tax-return deadline divides a correctable mistake from a recurring penalty.
- If you catch it before the deadline: Ask the HSA custodian to return the excess contribution and any earnings attributable to it by the due date of that year’s tax return, including extensions. You cannot deduct the returned contribution. Excess employer contributions not already included in taxable wages may need to be reported as income, and the returned earnings are taxable in the year withdrawn. If the return was already filed, an amended return may be necessary. Correct it on time, and the 6% excise tax generally does not attach.
- If you miss the deadline: The 6% tax applies each year the excess remains. An old excess can ordinarily be absorbed by contributing less in a future eligible year. Once you are on Medicare, however, there may be no future HSA limit available to absorb it.
One reassuring point often gets lost: Medicare does not close or confiscate the HSA. The balance remains yours and can still pay qualified medical expenses tax-free. Medicare ends the right to add new money, not the right to spend what is already there.
Three Steps to Take Sooner Than Later
- End contributions at least six months before applying for Medicare, Social Security, or Railroad Retirement benefits after age 65. Payroll deductions continue until someone changes them. Also ask payroll to calculate your prorated annual limit. Cutting off future deposits may not correct an account funded heavily earlier in the year.
- If you already contributed too much, request a “return of excess contribution” from the custodian before your tax-return deadline, including extensions. Ask for the earnings calculation in writing. Use Form 8889 to reconcile the HSA; Form 5329 is generally needed if an excess remains and the 6% tax applies.
- If you are past 65 and unsure whether Part A has started, check your Medicare card or online Medicare account. Do not rely solely on your Social Security screen. The effective date of Part A decides whether this year’s HSA contributions are allowed.
The safest calendar is not built around the retirement date. It is built backward from the day the Medicare or Social Security application will be filed.
Contact [email protected] for any questions or corrections.