Medicare and HSA Contributions: What Changes When You Work Past 65
You are still working, your employer’s high-deductible plan has been fine, and the health savings account attached to it has been growing every payday. Then 65 arrives and the questions start: do you have to take Medicare, does the HSA have to stop, and what happens to the balance? The short version on Medicare and HSA accounts is that turning 65 does not end your contributions, but enrolling in any part of Medicare does, and the date that counts can reach further back than most people expect.
With a little planning, you can keep funding the account for as long as the rules allow, avoid a tax mess on the way out, and then use the money for health costs in retirement.
Medicare and HSA Eligibility: Enrollment Is What Counts
To contribute to an HSA for a given month, you need to be covered by a qualified high-deductible health plan, have no other disqualifying coverage, not be enrolled in Medicare, and not be claimed as someone else’s dependent. Age is not on that list. Being eligible for Medicare is different from being enrolled, and only enrollment stops your deposits.
Enrollment in any part does it. Premium-free Part A on its own is enough, which surprises people who signed up for Part A at 65 as a harmless formality while staying on their employer’s plan. If you want to keep funding the HSA, that step ends it.
The year you enroll
In the year Medicare starts, your limit is prorated by the months you were eligible. For 2026, the annual limits are $4,400 for self-only coverage and $8,750 for family coverage, plus a $1,000 catch-up contribution for people 55 and older, and the 2027 limits rise to $4,500 and $9,000. If your Medicare starts July 1, 2026 and you have self-only coverage, you were eligible for six months: half of $4,400 plus half of the $1,000 catch-up, or $2,700 in total. IRS Publication 969 has the full rules and worked examples.
The Six-Month Lookback
This is the rule that catches people. When you apply for premium-free Part A after you turn 65, your Part A coverage can start up to six months before the month you apply, though never earlier than the month you first became eligible. For HSA purposes, you are treated as enrolled in Medicare for those backdated months, and anything deposited for them becomes an excess contribution.
That is why Social Security and CMS both advise stopping HSA contributions six months before you apply for Medicare. Say you are 67, still working, and plan to retire and apply for Medicare in October. Part A could reach back to April, so your last deposit should be for March. If you apply right around 65, the lookback can only reach your 65th birthday month, so stop deposits before that month.
Social Security also turns on Part A
If you are 65 or older and start Social Security retirement benefits, you are enrolled in premium-free Part A. Applying for benefits after 65 brings the same six-month lookback. So if your plan is to keep funding the HSA while you work, treat your Social Security filing date as a Medicare date too, and coordinate the two. How that affects your overall retirement income is a question for a financial or tax professional.
When Delaying Medicare Makes Sense
Holding off on Medicare to keep your HSA open only works when your employer coverage stays primary. A CMS fact sheet on deciding whether to enroll at 65 sets out the rule by employer size.
Employers with 20 or more employees
If you or your spouse are covered through current work at an employer with 20 or more employees and you have an HSA-qualified plan, you can delay both Part A and Part B until the job or the coverage ends. When that happens, you have an eight-month Special Enrollment Period to sign up without a late penalty. Many people apply a month or two before their last day so Part B begins as the employer plan ends. COBRA and retiree coverage do not extend that eight-month clock.
Employers with fewer than 20 employees
At a smaller employer, Medicare is the primary payer once you are 65, and the work plan pays second. Skipping Medicare in that setup can leave large bills unpaid, because the plan expects Medicare to pay first. In most cases, people at small employers should enroll at 65, which means HSA contributions stop. Ask your benefits office to confirm in writing how the plan coordinates with Medicare. If you own a small business and are thinking about how your plan treats older employees, our overview of HSA contributionsin Florida is a useful place to start.
Getting these dates right takes coordination between payroll, Social Security and your health coverage. Assured Insurance Services can sit down with you, look at your employer plan details and your retirement timeline, and help you pick a Medicare start date that keeps the handoff smooth. You can reach the Stuart office at 772-220-7600.
Stopping Deposits Cleanly
Employer money counts too
Every dollar counts toward your limit, whoever deposits it. Payroll deductions, an employer seed or match, and money you add yourself all add up to one total. A common slip is stopping your own deduction on time while a scheduled employer deposit still lands the next quarter. Give HR the exact month your eligibility ends and ask them to stop both.
Fixing an excess contribution
If money went in for months you had Medicare, you can usually fix it without the excise tax. Ask your HSA custodian for a removal of excess contribution, including the earnings on it, before your tax return due date, including extensions. The earnings you take out are reported as income. An excess that stays in the account faces a 6% excise tax for every year it remains.
Contributions and withdrawals are reported on Form 8889 with your tax return. Because backdated Medicare dates, W-2 amounts and corrective withdrawals all have to line up, the year you enroll in Medicare is a good year to have a tax professional review your return.
Spending Your HSA After Medicare Starts
The account stays yours. You can keep the balance invested and use it tax free for qualified medical expenses for the rest of your life.
What it can pay for
Once you are 65, HSA money can pay Medicare premiums: the Part B premium, Part D premiums, Medicare Advantage premiums and Part A if you pay one. It also covers deductibles, copays, coinsurance and prescriptions, plus care that Original Medicare generally does not cover, such as most dental work, eyeglasses and hearing aids. Premiums for a tax-qualified long-term care policy can be paid too, up to an age-based yearly limit set by the IRS.
If your Part B premium comes straight out of your Social Security check, you can reimburse yourself from the HSA for the same amount. Keep the annual benefit statement that shows what was deducted.
The one big exception
Medicare Supplement (Medigap) premiums cannot be paid tax free from an HSA. If you choose Original Medicare with a Medigap policy, plan to pay that premium from other savings and use the HSA for Part B, Part D and out-of-pocket costs. If you are still deciding which path fits, our comparison of Original Medicare and Medicare Advantage in Florida lays out how the two differ on doctors, costs and travel.
Line Up Your Dates With Someone Who Knows the Rules
As your last day at work gets closer, Assured Insurance Services can hear your plans, line up the end of your employer coverage against your Medicare and Social Security dates, and compare Medicare options from the carriers they represent, in English or Spanish. They do not offer every plan available in every area, and Medicare.gov or Florida SHINE at 1-800-963-5337 can show you all of your choices. Take a look at the Medicare options we help with or contact the office to set up a time.
Frequently Asked Questions
Can I keep contributing if only my spouse enrolls in Medicare?
Yes. Your spouse’s Medicare enrollment does not end your own eligibility, as long as you stay on a qualified high-deductible plan and are not enrolled in Medicare yourself. You can also use your HSA to pay your spouse’s qualified medical expenses.
Can I still make a contribution for last year after I enroll in Medicare?
Generally yes, for months when you were still eligible. You can make a prior-year contribution up to your tax filing deadline, as long as it stays within the prorated limit for the months before your Medicare coverage began, counting any backdated months.
What if I use HSA money for something that is not medical after 65?
You pay ordinary income tax on that withdrawal, but the extra 20% tax that applies to non-medical withdrawals before 65 no longer applies. Medical withdrawals stay tax free.
Do I need to close my HSA when I go on Medicare?
No. You simply stop adding to it. The balance can stay invested and be spent on qualified expenses whenever you need it, with no deadline to use it up.




Leave a Reply
Want to join the discussion?Feel free to contribute!