An HSA can remain useful after you start Medicare, but contributing to it and spending existing funds are different questions. The transition deserves attention before you apply, especially if your employer contributes or you are enrolling after 65.
Medicare changes contribution eligibility
Your HSA contribution limit is zero for months you are enrolled in Medicare. This includes Part A alone. Employer deposits and payroll contributions count too. Merely reaching 65 does not automatically end HSA contribution eligibility if you remain otherwise eligible and have not enrolled in Medicare.
Why the application date can be misleading
When someone applies for premium-free Part A after 65, coverage can be retroactive by up to six months, but not before initial eligibility. Applying for Social Security benefits can also trigger Part A. Contributions for retroactively covered months can become excess contributions even though you did not have a Medicare card when the deposits were made.
Medicare advises people in this situation to plan to stop HSA contributions six months before retiring or applying for Social Security benefits. The exact calculation depends on your actual Medicare effective date and eligibility months. Do not blindly subtract six months from every 65th birthday.
Two different timelines
A person enrolling when first eligible at 65 has a different contribution timeline from someone applying at 68 with retroactive Part A. Both need to stop contributions for Medicare-covered months, but the second person must look backward as well as forward. Ask a tax professional to calculate the permitted annual amount rather than using the annual maximum by habit.
Existing HSA money does not disappear
You can continue using existing funds for qualified expenses under the tax rules. After 65, certain Medicare premiums can qualify, but Medigap premiums generally do not. Rules for whose expenses qualify and documentation still apply. Keep receipts and confirm treatment with your tax adviser.
Coordinate three records
- Social Security: confirm expected Part A and B effective dates.
- Payroll: stop your deductions and employer contributions at the appropriate time.
- HSA custodian and tax professional: calculate allowed contributions and address any excess amounts through the proper process.
Common question: Can I continue contributing if I decline Part B but keep Part A? No. Enrollment in Medicare, including Part A, changes HSA contribution eligibility. Delaying Part B alone does not solve the issue.
Employer contributions need a separate check
Stopping your own payroll deduction may not stop a scheduled employer contribution. Ask payroll about deposits already scheduled, including a lump-sum contribution. Give your tax professional a record of both sources and the Medicare effective date. The amount eligible for the year may need to be prorated.
If contributions overlap Medicare
Do not simply spend the amount and assume the problem is fixed. Excess-contribution corrections have tax and timing rules, and earnings may need to be addressed. Contact the HSA custodian and tax professional about the appropriate correction process and tax reporting. Keep written confirmation of any correction.
Couples need individual records
One spouse’s Medicare enrollment does not mean every HSA question for the household has the same answer. Account ownership, the other spouse’s coverage and remaining HSA eligibility all matter. Ask for a calculation that identifies each person’s eligible months and deposits. Avoid moving contributions between accounts based on a general rule of thumb.
Questions to settle before applying
- Will my Part A start retroactively?
- Could my Social Security application trigger Medicare earlier than I planned?
- What is my allowed contribution for the actual eligible months?
- Have both payroll and employer deposits been stopped?
- Do any prior deposits need correction?
The goal is a coordinated timeline, not delaying necessary health coverage solely to preserve an HSA contribution. Review who would pay medical claims during a delay alongside the tax implications.
Sources and update notes
Published by My Coverage Relay. Updated September 24, 2026. This guide explains general rules; individual eligibility, plan terms and state protections require a specific review.