Using an HSA as a Stealth Retirement Account: Paying Medicare-Era Costs Tax-Free

Oct 31, 2026 - 10:00
0
Using an HSA as a Stealth Retirement Account: Paying Medicare-Era Costs Tax-Free

Picture a 66-year-old who retired last spring with about $60,000 sitting in a health savings account she funded through her old employer for more than a decade. Her first Medicare premium notice arrives, and so does a question she never thought about while she was working: can that HSA money pay for Medicare itself, and what happens if she uses it for something else entirely?

Advertisement
End of Advertisement
Advertisement
End of Advertisement

The answer shapes how useful an HSA becomes after the paychecks stop. The rules change at 65 and again at Medicare enrollment, and several of those changes work in the saver's favor if they are understood in advance. This article covers only that later-life stage. It is general information, not tax advice, and figures cited are for the years noted.

Which Medicare premiums an HSA can pay

While you are working, health insurance premiums are generally not a qualified HSA expense. IRS Publication 969 lists a short set of exceptions, and one of them matters a great deal in retirement: once you are 65 or older, premiums for Medicare and other health care coverage can be paid from the HSA tax free, with one notable carve out.

Advertisement
End of Advertisement
Advertisement
End of Advertisement

In practice, that covers Medicare Part B premiums, Part D prescription drug premiums, and premiums for Medicare Advantage plans. It can also cover Part A premiums for the minority of people who must pay for Part A. These are recurring bills, so they can draw down an HSA steadily and predictably.

For scale, the Centers for Medicare and Medicaid Services set the 2026 standard Part B premium at $202.90 a month. Over a full year, that is $2,434.80 for one person at the standard rate. Higher-income beneficiaries pay more through income-related adjustments, which for 2026 begin above $109,000 of income for individual filers and above $218,000 for joint filers. Those surcharges are part of the premium, so they are paid the same way.

Ask your HSA custodian how it handles reimbursement when premiums are deducted directly from Social Security benefits, and keep the benefit statements that show the amounts withheld.

The Medigap exception

Advertisement
End of Advertisement
Advertisement
End of Advertisement

The carve out is Medicare supplement insurance, often called Medigap. Publication 969 excludes premiums for a Medicare supplemental policy from the list of qualified premiums, even after 65. Paying a Medigap premium from the HSA would be a non-qualified distribution, taxed as income.

This matters when choosing between Medicare paths. Someone who picks Original Medicare with a Medigap policy can still use the HSA for Part B and Part D premiums and for out-of-pocket costs, but not for the Medigap premium itself. Someone in a Medicare Advantage plan can generally pay that plan's premium from the account. That difference should not drive the coverage decision on its own, since networks, costs, and benefits matter far more, but it is worth knowing when budgeting.

Long-term care insurance, within limits

Advertisement
End of Advertisement
Advertisement
End of Advertisement

Premiums for a qualified long-term care insurance contract are also on the exception list, but only up to an age-based cap that the IRS adjusts each year. Anything above the cap is not a qualified expense.

For 2026, Revenue Procedure 2025-32 sets the limits per person at $500 for those 40 or younger, $930 for ages 41 to 50, $1,860 for ages 51 to 60, $4,960 for ages 61 to 70, and $6,200 for those over 70. A 67-year-old paying $4,000 a year for a qualified policy, as an example, could cover the whole premium from the HSA in 2026. A 67-year-old paying $6,000 could cover only $4,960 of it tax free.

The policy must be a qualified long-term care contract under the tax code. Hybrid life and long-term care policies vary, so confirm the qualified status and the premium allocation with the insurer before you reimburse yourself.

Spending on anything after 65

Advertisement
End of Advertisement
Advertisement
End of Advertisement

The second big shift at 65 involves money spent on things that are not medical at all. Before 65, a non-qualified HSA withdrawal is included in income and also faces an additional 20% tax. Publication 969 lists reaching age 65 as an exception to that additional tax.

After 65, a non-medical withdrawal is simply taxed as ordinary income, much like a withdrawal from a traditional IRA or 401(k). That is why HSAs are sometimes described as a backup retirement account. If medical costs turn out lower than expected, the money is not trapped. It just loses its tax-free treatment when used for something else.

That comparison has a practical edge. Spending HSA money on medical costs keeps it tax free, while spending it on groceries costs income tax. So in most cases, it makes sense to route medical bills to the HSA first and pay everyday expenses from other accounts, rather than the reverse.

There is a knock-on effect as well. A large non-medical withdrawal raises taxable income for the year, and income is what Medicare uses to decide whether a beneficiary owes the income-related premium surcharges described above. Spreading taxable withdrawals over several years, or keeping HSA dollars for medical bills, can help avoid pushing income over a threshold by accident.

Out-of-pocket costs Medicare leaves behind

Advertisement
End of Advertisement
Advertisement
End of Advertisement

Premiums are only part of the picture. Medicare comes with deductibles, coinsurance, and copays, and those amounts are qualified medical expenses that an HSA can pay at any age.

For 2026, CMS set the Part B annual deductible at $283 and the Part A inpatient hospital deductible at $1,736 per benefit period. After the Part B deductible, Original Medicare generally leaves a share of approved costs to the beneficiary. Prescription copays under Part D add another layer.

Original Medicare also does not cover most routine dental care, eyeglasses, or hearing aids. Those services can still be qualified medical expenses under the tax rules, which makes them natural candidates for HSA dollars. A retiree who expects a new set of hearing aids or major dental work in the next few years may want to keep part of the balance in cash so it is ready when the bill arrives.

The shoebox of receipts

Advertisement
End of Advertisement
Advertisement
End of Advertisement

One feature of HSAs gets less attention than it deserves: current rules are generally understood not to set a deadline for reimbursing yourself. If you paid a qualified medical expense out of pocket years ago, after the HSA was established, you can generally withdraw the same amount tax free later, as long as you were not reimbursed elsewhere and did not deduct the expense.

The catch is proof. Publication 969 says you must keep records sufficient to show that distributions were for qualified medical expenses, that those expenses had not been previously paid or reimbursed from another source, and that you did not take them as an itemized deduction. In plain terms, keep the receipt, the explanation of benefits, and a note of how you paid.

For someone heading into retirement, a folder of older receipts acts like a store of tax-free withdrawals. Consider an example: if you have $18,000 of documented, unreimbursed expenses from your working years, you could take $18,000 from the HSA in a later year to cover a new roof or a trip, tax free, because the withdrawal reimburses those earlier medical costs. Scanning receipts and storing them in two places protects that value.

When contributions have to stop

This is the rule that trips up the most people. You can no longer contribute to an HSA once you are enrolled in Medicare. Publication 969 states that beginning with the first month you are enrolled in Medicare, your contribution limit is zero.

Turning 65 alone does not end eligibility. Enrollment does. Someone who keeps working with employer coverage and delays Medicare can keep contributing if they remain otherwise eligible. But enrolling in any part of Medicare, including premium-free Part A, ends contribution eligibility from that month.

Retroactive coverage adds a twist. Publication 969 notes that the zero limit applies from the first month of Medicare coverage, including retroactive coverage. The publication explains that if you delayed applying for Medicare and your enrollment is later backdated, contributions made during the retroactive period are treated as excess contributions. Applying for Social Security benefits after 65 can also bring Part A enrollment with it, so confirm with the Social Security Administration how your start date will be set. If coverage reaches back into months when you were still contributing, those contributions need to be corrected.

A common planning step is to stop HSA contributions several months before you expect to apply for Medicare or Social Security, then confirm the actual start date of coverage once the enrollment is processed. If you discover excess contributions, the HSA custodian can explain how to withdraw them and any earnings before the tax deadline to avoid an annual excise tax.

Prorating the final year

In the year Medicare begins, the annual contribution limit is generally prorated by month. You count only the months before Medicare coverage starts. Someone whose coverage begins in July could contribute roughly six twelfths of the annual limit, plus the prorated portion of the extra $1,000 catch-up contribution allowed to account holders 55 or older.

Because the math depends on the exact enrollment month and your coverage type, it helps to check Publication 969's worksheet or ask a tax professional for the final year rather than estimating.

A Medicare-era HSA game plan

Putting these rules together, a few habits make an HSA work harder in retirement.

Keep investing what you do not need soon. Many HSA providers let you invest balances above a threshold. Money expected to cover Medicare premiums over the next year or two may belong in cash, while longer-range dollars can stay invested if that fits your risk tolerance.

Map your premiums. Part B, Part D, and Medicare Advantage premiums are predictable costs that an HSA can absorb. Medigap premiums are not eligible, so plan to pay those from other money.

Check long-term care premiums against the yearly cap, and reimburse only the qualified portion.

Organize receipts now. The older documented expenses you keep, the more flexibility you have for tax-free withdrawals years later.

Time the end of contributions around Medicare and Social Security filing, including the possibility of retroactive Part A.

Think about the order of withdrawals. Because non-medical HSA withdrawals after 65 are taxed like traditional retirement account withdrawals, while medical withdrawals are tax free, using the HSA mainly for health costs usually preserves the most value.

A note on what changes year to year

Several numbers in this article reset annually. The Part B premium, the income thresholds for surcharges, the long-term care premium limits, and the HSA contribution limits all change, and the IRS updates Publication 969 each year. Before acting on any figure, check the current edition and the latest Medicare announcement.

The core structure, though, has stayed consistent: Medicare premiums other than Medigap qualify after 65, the 20% additional tax falls away at 65, and contributions stop with Medicare enrollment. Those three rules are the frame for everything else.

For the retiree with $60,000 in her account, the HSA can quietly cover years of Medicare premiums and medical bills without adding a dollar to her taxable income. The key is knowing which bills qualify and keeping the paperwork that proves it.

Frequently Asked Questions

Yes, once you are 65 or older. IRS Publication 969 lists premiums for Medicare and other health care coverage as qualified HSA expenses for account holders 65 and over, which generally includes Medicare Part B, Part D, and Medicare Advantage premiums, plus Part A premiums for people who must pay them. Income-related surcharges added to those premiums are part of the premium. The major exception is Medicare supplement insurance, known as Medigap, whose premiums are not qualified. Keep the records that show what you paid, including benefit statements if premiums are deducted from Social Security.

IRS Publication 969 specifically excludes premiums for a Medicare supplemental policy from the list of insurance premiums an HSA can pay tax free, even after age 65. If you withdraw HSA money to pay a Medigap premium, the withdrawal is treated as a non-qualified distribution and is included in your taxable income. You can still use the HSA for other costs if you have Original Medicare with a Medigap policy, such as Part B and Part D premiums, deductibles, copays, and other qualified medical expenses. Simply plan to pay the Medigap premium itself from other funds.

After you reach 65, a withdrawal used for something other than qualified medical expenses is included in your income and taxed at your ordinary rate, but it no longer faces the additional 20% tax that applies to non-qualified withdrawals before 65. That makes the HSA work much like a traditional IRA for non-medical spending. Withdrawals used for qualified medical costs remain tax free, so it usually makes sense to direct medical bills to the HSA first. Large taxable withdrawals can also raise income used to set Medicare premium surcharges.

Your HSA contribution limit becomes zero beginning with the first month you are enrolled in Medicare, according to IRS Publication 969. Turning 65 alone does not end eligibility, enrollment does, including enrollment in premium-free Part A. The rule also applies to retroactive coverage, so if your Medicare enrollment is backdated, contributions made during that backdated period become excess contributions that should be corrected. Many people stop contributing several months before applying for Medicare or Social Security and then confirm their actual coverage start date. In the final year, the limit is generally prorated by month.

Generally yes, if the expense was a qualified medical expense incurred after your HSA was established, it was not reimbursed from another source, and you did not deduct it as an itemized deduction. IRS Publication 969 requires you to keep records sufficient to show those facts. Many people keep receipts and explanations of benefits for years and reimburse themselves later, including in retirement, which lets them withdraw that amount tax free. Store scanned copies in more than one place, and confirm the details with your HSA custodian or a tax professional before relying on old receipts.

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Wow Wow 0
Sad Sad 0
Angry Angry 0
Team FinanceMastering

Finance Mastering delivers practical insights on personal finance, budgeting, investing, and money management. Whether you're just starting out or looking to grow your wealth, we make financial freedom achievable.

Advertisement
End of Advertisement
Advertisement
End of Advertisement

Comments (0)

User