Direct answer: Medicare.gov says you and your employer should stop HSA contributions six months before you retire or apply for Social Security benefits, because Part A can be retroactive and extra contributions can create a tax problem. After you are enrolled in Medicare, new HSA contributions are generally not allowed. Existing HSA funds can still be used under IRS Publication 969 rules. Confirm contribution eligibility with a tax professional.
Why does Medicare enrollment stop new contributions?
HSA contribution eligibility is an IRS rule, not a carrier extra. IRS Publication 969 is the reference for who may contribute. Medicare is disqualifying coverage for HSA contributions once you are enrolled. Part A is still Medicare even when you pay no Part A premium. That is why people who delay Part B but take Part A can still lose HSA contribution eligibility.
Why does Medicare.gov mention six months?
The working past 65 page says to stop contributions six months before you retire or apply for Social Security or Railroad Retirement Board benefits. Part A can be retroactive. Contributions made for months you were actually enrolled in Medicare can create a tax issue. This is a timing warning, not a contribution-limit table. Use current IRS instructions for any dollar limits, which change by year.
Can I spend HSA money after I go on Medicare?
Publication 969 describes qualified medical expenses. After you enroll in Medicare, you generally may still use existing HSA funds for qualified expenses, including some Medicare premiums in situations the IRS lists. Do not spend HSA money on non-qualified items without checking the publication. A tax professional should review your case.
What if I am still working with an HSA plan at 65?
Ask the employer whether you can stay on the HSA-eligible group plan without Medicare enrollment, and whether the employer will continue contributing. Then compare that advice with Medicare.gov and IRS rules. See signing up while still working and Part B with employer insurance. Marketplace HSA-eligible plans are a separate product; they do not change Medicare contribution rules once Medicare starts.
What if my employer keeps depositing after I enroll?
Tell payroll as soon as Medicare enrollment is planned. Employer contributions made for months you are enrolled in Medicare can create the same tax problem as your own deposits. Keep paystubs showing the last HSA amount. Give those to the tax professional.
If you are the account holder and a spouse has a separate HSA, eligibility is still individual. One spouse on Medicare does not automatically answer the other spouse's contribution question. Publication 969 is the reference.
Using HSA funds for qualified expenses after Medicare starts is a separate decision from contributing. Coverage reviews and tax reviews should stay distinct so neither is skipped.
Can I still spend HSA money after Medicare starts?
IRS rules still allow qualified medical expense withdrawals from money already in the account, including some Medicare premiums in situations Publication 969 describes. Contribution eligibility is the part that generally ends. Do not mix those two ideas.
Keep receipts. An HSA distribution that is not a qualified medical expense can create tax consequences. That is a tax-professional question. See IRS Publication 969.
If you are comparing Medicare Advantage and Medigap later, HSA funds do not change which path you may enroll in. They only change how you might pay eligible expenses.
What to do next
If Medicare is approaching, ask payroll when employer HSA deposits will stop and talk with a tax professional before Social Security filing. David Huff, a licensed Florida health agent, can review health coverage timing. He does not prepare tax returns. Call (863) 640-3102 or use Get Help.
Align HSA deposits with Medicare enrollment months
Bring the HSA plan type and your expected Social Security or retirement month. This review is not tax advice.
Request a Plan Review Call (863) 640-3102We do not offer every plan available in your area. Currently we represent 10 organizations which offer 73 products in your area. Please contact Medicare.gov or 1-800-MEDICARE to get information on all of your options.
Sources
HSA contribution eligibility is an IRS determination. This page is educational and is not tax advice. It is not connected with or endorsed by the U.S. government or the federal Medicare program.
We do not offer every plan available in your area. Currently we represent 10 organizations which offer 73 products in your area. Please contact Medicare.gov or 1-800-MEDICARE to get information on all of your options.
Company inventory note: The 10 organizations and 73 products referenced above reflect the plans available for the 2026 plan year in the Lakeland/Polk County service area as of August 17, 2026. They are not CMS counts or statewide Florida totals. Counts and available products vary by ZIP code, service area, plan year, and current company authorization. Confirm the ZIP code and current approved platform inventory before relying on these figures. Plan availability, benefits, networks, formularies, pharmacies, and costs are subject to the applicable plan documents and service area.