HSA Contributions After Medicare: The 6-Month Lookback
What This Means
A health savings account — an HSA — lets eligible people save for qualified medical expenses with tax advantages. Medicare enrollment reduces your annual HSA contribution limit. From your first Medicare month onward, you earn no additional monthly contribution allowance. A later deposit can still fund earlier eligible months, within the tax-year limit and contribution deadline.
The trouble is that people may learn this after Medicare has already started on a date in the past. Premium-free Part A can be backdated by up to six months, reducing the number of HSA-eligible months used to calculate that year’s limit.
Contributions allocated to a tax year above your allowed limit are excess contributions. The IRS generally charges a 6% excise tax for each tax year an uncorrected excess remains. The calculation compares the tax year’s total contributions with its limit, not each deposit with the month it arrived.
None of this is a punishment for doing something wrong. It is a problem about dates, and it has a fix.
Why This Happens
Two things combine, and neither is obvious.
Part A reaches backward. Premium-free Part A can start up to six months before the month you apply, but not before your first month of eligibility. For example, if you turn 65 during February and apply in March, Part A generally starts February 1: February still reduces your HSA contribution allowance. If your birthday is February 1, your earliest Medicare start is generally January 1. Confirm the actual effective date on your Medicare record.
Claiming Social Security switches Part A on by itself. If you start taking Social Security at or after 65, you are enrolled in Part A automatically. You do not apply for it, you are not asked, and nothing in the Social Security paperwork mentions your health savings account. Plenty of people discover the connection a year later, from their tax preparer.
For example, if Part A starts in March, only January and February can count toward that year’s HSA limit, assuming you met the other HSA eligibility requirements then. Compare all contributions allocated to that tax year with the reduced limit. Deposits made after March are not automatically excess, and deposits made before March are not automatically safe.
Dropping Part A Is Difficult — Calculate the HSA Limit First
The first thing most people try is turning Part A off. Here is why that is usually not possible — and why it would not fix the past even if it were.
If you are drawing Social Security, you cannot. Social Security’s own operating rules say it outright: people entitled to monthly benefits that confer eligibility for hospital insurance “may not waive HI entitlement.” The only route out is to withdraw your Social Security application altogether — and withdrawal “requires repayment of all RSDI and HI benefit payments made.” Every Social Security payment back, and everything Medicare has paid on your behalf back.
For nearly everyone that is a far worse outcome than the tax. And for most readers of this page it is not even possible. Social Security accepts a withdrawal of a retirement application only within 12 months of your first month of entitlement, and only once in your lifetime. If you have been drawing benefits for more than a year, there is no route out of Part A at all. And if you are finding this out from a tax preparer, you have almost certainly been drawing them longer than that.
Where Part A can be terminated prospectively, it does not restore HSA eligibility for earlier Medicare-covered months. But whether contributions are excess depends on the full tax-year limit, including any later months when you are again HSA-eligible. A withdrawal of Social Security benefits has different effects and requires individual advice.
So the fix is on the HSA side, not the Medicare side.
What To Do Next
Find the real start date of your Part A. It is on your Medicare card and in your Medicare account at medicare.gov. Do not assume it is the date you applied.
Calculate the annual limit, then compare the annual contributions. Use the HSA-eligible months before Medicare started, your self-only or family coverage, and any applicable catch-up allowance. Add all employee, employer and other contributions allocated to that tax year, including any made later for that year. A deposit made after Medicare starts can still fund earlier eligible months through the tax-year contribution deadline. Use Form 8889 or ask a tax preparer to calculate the permitted total before requesting a withdrawal.
One case is worse than this, so check it. If you used the “last-month rule” to put in a full year’s contribution on the strength of being covered on December 1, you also agreed to stay eligible through the following year — the testing period. Going onto Medicare breaks that. The failed portion is then taxed as income, with an additional 10% tax on top — a different and larger problem than the 6% tax. If any of that sounds like you, take it to a tax preparer rather than working it out from this page.
If you are within the correction window, request a return of excess. First compare the tax year’s total contributions with its reduced limit. The IRS generally lets you avoid the 6% excise tax on an excess amount removed by the due date of the return for that contribution year, including extensions, if you also withdraw attributable earnings and report those earnings as income. Ask your HSA custodian for its return-of-excess procedure; an ordinary distribution is not the same correction. If you filed on time without removing the excess, IRS Form 5329 instructions describe limited additional relief within six months after the original return due date, with an amended return. Ask a tax preparer before relying on that relief.
If the correction window has passed, get tax help before taking money out. Form 5329 tracks excess contributions and the 6% tax for each year an excess remains. Unused contribution limit in a later HSA-eligible year can sometimes absorb a carried excess. Otherwise, a taxable HSA distribution may reduce the carried excess for future years, but it may create income tax and, if you are under 65, an additional 20% tax unless an exception applies. A qualified medical distribution does not reduce the carried excess on Form 5329 in the same way. Ask a tax preparer how to report a later correction; do not assume a late withdrawal is a tax-free return of excess.
Review your payroll deduction today if you are still working. Stop or adjust future deposits so that all contributions allocated to the tax year stay within your recalculated limit.
Get the tax part checked by a person. This page explains the rule; it is not tax advice, and the numbers depend on your own filing position. A tax preparer will do that sum in ten minutes.
Then go back to using the account. Nothing here stops you spending it. Once you are 65 the HSA can pay your Part B, Part D and Medicare Advantage premiums, which for most people is the largest recurring medical bill they now have.
Sources
- IRS Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans — annual HSA limits, Medicare enrollment, excess contributions and timely corrections. See also Instructions for Form 8889 for the annual limit and Instructions for Form 5329 for carried excess, taxable distributions and limited post-filing correction relief.
- 42 CFR 406.6(d)(4) — an application “validly filed within 6 months after the first month of eligibility is retroactive to that first month. If filed more than 6 months after that first month, it is retroactive to the 6th month before the month of filing.”
- SSA POMS HI 00801.002 — “Individuals entitled to monthly benefits which confer eligibility for HI may not waive HI entitlement”; “The only way to avoid HI entitlement is through withdrawal of the monthly benefit application”; and withdrawal “requires repayment of all RSDI and HI benefit payments made.”
- SSA POMS GN 00206.005 — the limits on that withdrawal, which are what close the route for most readers: the request must be submitted “within 12 months of the first month of entitlement”, and a claimant “is limited to one approved RIB withdrawal in their lifetime.”
- Medicare.gov: Working past 65 — how Part A entitlement follows from claiming Social Security at or after 65.
- Medicare.gov: When does Medicare coverage start? — premium-free Part A backdating and the first-of-month birthday rule.
We'll tell you when these rules change
Medicare resets these penalty amounts, deadlines and income limits every year — and not all on the same date. Leave your email and we'll send one note when the figures on this page change.
Barley checks Medicare bills for mistakes. We can't enrol you, change your coverage, or get a penalty removed — the free help listed above can. Finding errors on a bill is free; disputing one is paid.
That's done
We'll write to when the figures on this page change. Nothing else will come from us.
Nothing to wait for — the steps on this page are the ones to take now.
Frequently Asked Questions
This information is for educational purposes only and is not legal or medical advice. Always verify with your doctor's office and insurance company.