Can I Pay Medicare Part B Premiums From My HSA?

Yes, you can pay your Medicare Part B premiums from your HSA, and the distribution comes out completely free of federal income tax once you turn 65. The 2026 standard Part B premium is $202.90 per month, so an HSA can cover $2,434.80 a year in Part B costs alone, before any income-related surcharges or other Medicare expenses.

You Have to Be 65 First

The age threshold is the rule that trips people up. Before 65, Medicare premiums are not qualified medical expenses for HSA purposes, even if you’re on Medicare because of a disability or end-stage renal disease. A distribution taken before 65 to pay Medicare premiums gets taxed as ordinary income and hit with an additional 20% penalty.

Once you reach 65, that penalty disappears for any HSA distribution. To keep a Part B payment completely tax-free, though, you still need it to be a qualified medical expense, and Part B premiums qualify from your 65th birthday forward.

The age requirement applies to the account holder, not the person whose premiums are being paid. More on that below if you’re paying for a spouse.

How to Actually Pay Part B From an HSA

Medicare will not swipe your HSA debit card. Most people have Part B premiums pulled automatically from their Social Security check. That’s fine. You reimburse yourself from the HSA afterward, and the withdrawal is tax-free as long as it matches what you paid.

There is no deadline on this reimbursement. You can pay Part B out of pocket or through Social Security deductions for years, then pull the money out of the HSA later. The only requirement is that the expense was incurred after the HSA was established. Some people deliberately let the account grow and invest for years before taking any reimbursements, because the balance compounds tax-free in the meantime.

Documentation is what makes this work if the IRS ever asks. Keep your Medicare premium statements, your Social Security benefit letter showing the Part B deduction, and any Part D or Medicare Advantage billing records. A folder organized by year, digital or paper, is usually enough. You don’t submit anything when you take the distribution, but the burden of proof sits with you.

Other Medicare Premiums That Qualify (and One That Doesn’t)

Part B isn’t the only Medicare premium your HSA can cover after 65.

Part B surcharges (IRMAA). If your income puts you into a higher bracket, you’ll pay an Income-Related Monthly Adjustment Amount on top of the standard Part B premium. The surcharge is a qualified expense too, so the entire Part B bill can come from the HSA no matter how high the IRMAA runs.

Part D prescription drug plans. Monthly premiums qualify, and any IRMAA surcharge on Part D also qualifies.

Part C (Medicare Advantage). Premiums for Medicare Advantage plans generally qualify, since the premium covers medical care. Some plans now bundle in supplemental benefits like fitness programs or meal delivery. In theory, a portion clearly allocated to a non-medical benefit wouldn’t qualify, but plans rarely break the premium out that way.

Part A, if you pay for it. Most people get Part A premium-free based on their own or a spouse’s work history, so there’s nothing to reimburse. If you do owe a Part A premium, it’s a qualified expense.

Medigap is the exception. Medicare Supplement Insurance premiums are explicitly excluded from qualified medical expenses by the IRS, no matter which plan letter you carry. Pay a Medigap premium out of your HSA and the distribution is taxable income. Keep Medigap payments separate from your HSA withdrawals.

The Six-Month Retroactive Enrollment Trap

If you’re still working past 65 and still contributing to an HSA, read this carefully. When you apply for Medicare Part A after 65, coverage is backdated up to six months. Applying for Social Security retirement benefits triggers automatic Part A enrollment, which brings the same retroactive coverage with it.

You cannot contribute to an HSA during any month you have Medicare coverage, including retroactive coverage. If you were still contributing right up to your enrollment month, the last six months of contributions become excess contributions, and excess HSA contributions carry a 6% excise tax for every year they sit in the account.

The fix is to stop HSA contributions at least six months before you plan to enroll in Medicare or file for Social Security. If you’ve already been caught, you can withdraw the excess contributions plus any earnings on them before your tax return due date, including extensions, to avoid the 6% penalty. The earnings on the withdrawn amount get reported as income for that year.

Contributions Stop, but the Account Keeps Working

Once you enroll in any part of Medicare, including premium-free Part A, you permanently lose the ability to make new HSA contributions. The contribution and distribution rules are separate systems, so this catches people who assumed they could keep funding the account while drawing from it.

Your existing balance stays yours indefinitely, continues to grow tax-free, and can be spent on qualified medical expenses for the rest of your life. There’s no forced withdrawal age. A balance built up during working years can fund Part B and other healthcare costs throughout retirement.

Paying a Spouse’s Part B Premiums

You can generally use your HSA to pay a spouse’s qualified medical expenses, including Medicare premiums, but the age test follows the account holder. If you own the HSA and you’re under 65, your spouse’s Part B premiums typically don’t qualify as a tax-free distribution, even if your spouse is already 65 and enrolled. Once you turn 65, your spouse’s Part B, Part D, and Part C premiums all become eligible for tax-free payment from your HSA under the same rules that apply to your own. Medigap premiums for your spouse are excluded, the same as they are for you.

Tax Reporting

Your HSA custodian sends you Form 1099-SA each year reporting the total distributed from the account. The form doesn’t sort qualified from non-qualified spending. That part is on you.

You report HSA distributions on IRS Form 8889, filed with your tax return. List the total distributions received and the amount used for qualified medical expenses. If the numbers match, the entire distribution is tax-free. Receipts don’t get attached to the return, but the IRS can ask for them later, so hold onto Medicare premium statements and Social Security benefit letters.

What Happens If You Get It Wrong

Before 65, a non-qualified distribution is taxed as ordinary income plus a 20% penalty. Paying any Medicare premium from an HSA before 65 falls into this bucket, as does paying a Medigap premium at any age.

At 65 and older, the 20% penalty is gone, but a non-qualified distribution is still taxed as ordinary income. Paying a Medigap premium from your HSA at 67, for example, means you owe income tax on that withdrawal even though no penalty applies.

A Note for California and New Jersey Residents

California and New Jersey don’t recognize HSA tax benefits at the state level. Contributions were taxed as state income when you made them, and earnings inside the account are also subject to state tax. This doesn’t change your ability to use HSA funds for Part B premiums — you still can — but the federal tax-free treatment doesn’t carry over to your state return. Most other states follow the federal treatment.