Medicare and HSA
TL:DR (AKA Too Long, Didn’t Read. As the kids say!)
You can still have an HSA while on Medicare
You can’t contribute to it while on Medicare
Learn about the retroactive rule
HSAs and Medicare sound like they should work together. They do not. At least not the way most people expect. The rules are simple once you strip away the jargon. An HSA is a Health Savings Account. It lets you put money away tax free as long as you have a qualifying high deductible health plan. Medicare is not a high deductible health plan. That fact drives everything.
You can contribute to an HSA only while you are covered by a qualifying high deductible plan and not enrolled in Medicare. Once you enroll in Medicare, HSA contributions must stop. This applies to Part A, Part B, and Medicare Advantage. Any Medicare enrollment shuts the contribution door. Many people get tripped up by Part A. Social Security often enrolls you automatically at 65. That automatic enrollment ends HSA contributions even if you did not realize it happened. You can keep the HSA. You just stop adding money.
Your HSA does not disappear. The money stays yours. You can use HSA funds to pay for qualified medical expenses after Medicare. This includes Medicare premiums for Part B, Part D, and Medicare Advantage. It does not include Medigap premiums. You can also use it for copays, deductibles, dental care, vision care, and hearing expenses. In many ways, an HSA becomes more useful after Medicare. Withdrawals for qualified medical expenses stay tax free.
Once Medicare starts, you cannot contribute new money to an HSA. Not even if you are still working. Employer contributions must stop too. Over contributions create tax penalties. This is why planning matters before turning 65.
Here is a rule most people never hear about.
When you enroll in Medicare Part A after age 65, Medicare coverage is retroactive up to six months. That retroactive coverage counts as Medicare enrollment. If you contributed to an HSA during that look back period, those contributions may become excess and taxable. People who delay Medicare to keep contributing to an HSA need to plan carefully and stop contributions early enough.
HSAs work well as a bridge. You build the account while working. You use it later to pay Medicare costs tax free. For people who saved aggressively, an HSA becomes a flexible healthcare fund in retirement. It is one of the few accounts that offers triple tax advantages if used correctly.
People keep contributing after Medicare starts. This creates penalties. People enroll in Social Security without realizing it enrolls them in Part A. This shuts down HSA eligibility. People assume they must spend the HSA before Medicare. That is not true. These mistakes are easy to avoid with awareness.
HSAs and Medicare do not mix at the contribution stage. They work well together at the spending stage. You stop funding the HSA when Medicare begins. You keep using the money after. If you understand this early, you avoid penalties and keep one of the best healthcare savings tools working for you instead of against you.