What Should You Do With an HSA After Medicare Begins?
Medicare enrollment can make an HSA feel as though it has reached its expiration date. Payroll contributions stop, the employer health plan may end, and a card that once paid current medical bills may still hold years of accumulated savings.
The account does not disappear when Medicare begins. What changes is your eligibility to add new contributions. What remains is the ability to own the HSA, choose how its balance is invested, and use it for qualified medical expenses. Keeping those two rules separate can prevent an unnecessary withdrawal—or an unintended tax problem.
What changes when Medicare coverage starts?
Once you are enrolled in any part of Medicare, you are no longer eligible to contribute to an HSA. That applies to your contributions and to contributions made for you by an employer or someone else. Eligibility is determined month by month, so the annual limit may need to be prorated for the year Medicare begins.[1]
That contribution rule does not force a distribution, rollover, or liquidation. The HSA remains yours. There are no required annual withdrawals, and qualified distributions remain tax-free when the expense was incurred after the HSA was established, was not reimbursed elsewhere, and was not also claimed as an itemized deduction.[2]
Medicare changes the entrance to the HSA—not the account beyond it.
The contribution gate closes
No new HSA contributions for months covered by Medicare.
The account runway continues
Hold the accumulated balance.
Invest it under the custodian’s available choices.
Spend it tax-free for qualified medical expenses.
Which Medicare costs can the HSA pay?
After age 65, HSA funds can pay many costs that become part of ordinary retirement cash flow: deductibles, copayments, coinsurance, dental and vision expenses, and eligible prescriptions. The account can also pay Medicare Part B and Part D premiums, Medicare Advantage premiums, and Part A premiums when someone owes them. Medigap premiums are the important exception; they are not qualified HSA expenses.[3]
If a Medicare premium is deducted from Social Security, you can reimburse yourself from the HSA. An HSA may also pay qualified expenses for your spouse and tax dependents even when they have different insurance coverage.[4] Keep statements and receipts showing the expense, date, person, and amount. The custodian reports the distribution, but you are responsible for establishing that it was qualified.
You do not have to spend the balance quickly. Leaving part of it invested may preserve tax-free growth for later health costs. Keeping enough cash in the HSA for near-term reimbursements can help you avoid selling investments at an inconvenient time. The right split depends on your balance, expected spending, other available cash, and the account's investment choices and fees.
Dovetail Principle: Timing Can Change Which Options Remain
Medicare ends one HSA benefit: adding new tax-advantaged dollars. The accumulated balance can still support the years ahead. Treating the HSA as a continuing health-care resource—rather than an account that must be emptied—keeps its role connected to retirement spending and investment decisions.
Why can delayed Medicare enrollment create a lookback problem?
Someone working after 65 may delay Medicare while covered by a qualifying employer plan and continue making HSA contributions. The risk appears when the Medicare application is finally filed. Premium-free Part A may begin retroactively for as many as six months, but not before the first month the person was eligible for Medicare.[5]
That retroactive coverage can turn apparently valid recent HSA deposits into excess contributions. Excess amounts left in the HSA can trigger a 6% excise tax for each year they remain uncorrected.[6] The commonly used six-month stopping rule is therefore a planning safeguard, not a complete substitute for reviewing the actual Medicare effective date. A person enrolling fewer than six months after first becoming eligible may have a shorter lookback.
Before applying, coordinate the planned application date, Social Security status, payroll deductions, employer contributions, and the HSA contribution made for each month. Applying for Social Security can also cause enrollment in premium-free Part A, so the HSA timeline and the benefit timeline should not be handled separately.[7]
What should your HSA do after the transition?
First, confirm that contributions stopped for every month Medicare coverage applies and correct any excess promptly with the custodian and tax professional. Then decide what job the existing balance should perform. It may reimburse current Medicare premiums and out-of-pocket costs, remain invested for later health expenses, or combine both roles.
The useful decision is not whether Medicare makes the HSA obsolete. It is how much of the account should remain available now, how much can stay invested for later, and which expenses will qualify for tax-free reimbursement. That turns the Medicare date from an ending into a clean handoff.
Related Reading: Turning 65 While You or Your Spouse Is Still Working explains how employer coverage, Medicare timing, and HSA contributions fit together before enrollment.