Yes. Once you turn 65, you can pay your Medicare Part B premiums from your HSA tax-free, because Part B premiums become a qualified medical expense at that age. 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, with higher amounts possible if income-related surcharges apply.
The Age 65 Rule Is the Whole Gate
Before 65, Medicare premiums are not qualified medical expenses for HSA purposes. That stays true even if you’re enrolled in Medicare early because of a disability or end-stage renal disease. A pre-65 HSA distribution used for Medicare premiums gets taxed as ordinary income and hit with an additional 20% penalty.
At 65, two things change. The 20% penalty disappears for any HSA distribution, qualified or not. And Medicare premiums — Part B included — become qualified medical expenses, meaning distributions used to pay them come out completely tax-free.
The age test looks at the HSA owner, not the person whose premiums are being paid. If you own the HSA and you’re 62, your 66-year-old spouse’s Part B premiums generally don’t qualify as a tax-free distribution from your account until you yourself turn 65.
How to Actually Pay Part B From Your HSA
Medicare doesn’t accept HSA debit card payments the way a doctor’s office might. For most people, Part B premiums are deducted automatically from their Social Security check. The mechanics work by reimbursement: you let the Social Security deduction happen, then withdraw an equivalent amount from your HSA to reimburse yourself tax-free.
There is no deadline on this reimbursement. You can pay Part B premiums out of pocket, or through Social Security withholding, for years and then pull a lump sum from the HSA later to cover them. The only requirement is that the expense was incurred after the HSA was established. Some account holders deliberately leave the balance invested and growing, then reimburse themselves years down the line.
Keep documentation. Save your Medicare premium statements, Social Security benefit letters showing the Part B deduction, and any Part D or Medicare Advantage billing records. You don’t attach receipts when you take the distribution, but the IRS can ask for them later. A folder organized by year, digital or physical, is usually enough.
IRMAA Surcharges Count Too
If your income is high enough to trigger an Income-Related Monthly Adjustment Amount on Part B, the surcharge is also a qualified expense. You can cover the full Part B bill from your HSA regardless of how high the surcharge goes. At the top IRMAA tier in 2026 — individuals earning $500,000 or more, or couples earning $750,000 or more — the total monthly Part B premium reaches $689.90.
What Else You Can Pay Alongside Part B
Once you’re 65, several other Medicare premiums qualify for tax-free HSA payment:
- Part D prescription drug plan premiums, plus any Part D IRMAA surcharge.
- Part C (Medicare Advantage) plan premiums, which bundle Parts A and B and often Part D through a private insurer.
- Part A premiums, if you owe them. Most people get Part A premium-free based on 40 quarters of Medicare-taxed work history, so there’s nothing to reimburse. If you fall short of 40 quarters, the Part A premium you pay qualifies.
One exclusion catches people off guard: Medigap premiums do not qualify. Medicare Supplement Insurance is explicitly carved out by the IRS, regardless of which plan letter you carry. Pay a Medigap premium from your HSA and that distribution becomes taxable income. Keep Medigap payments separate from HSA withdrawals.
The Six-Month Retroactive Enrollment Trap
If you’re working past 65 and still contributing to an HSA, the way you enter Medicare matters. When you apply for Part A after turning 65, your coverage is backdated up to six months. Filing for Social Security retirement benefits enrolls you in Part A automatically and triggers the same retroactive coverage.
You cannot contribute to an HSA during any month you have Medicare coverage, including retroactive months. So the final six months of HSA contributions before you enroll can suddenly become excess contributions, and excess HSA contributions carry a 6% excise tax for every year they remain in the account.
The clean fix is to stop HSA contributions at least six months before you plan to enroll in Medicare or file for Social Security. If retroactive enrollment has already caught you, withdraw the excess contributions along with any earnings on them before your tax return due date, including extensions, to avoid the 6% penalty. The earnings portion must be reported as income for that year.
Contributions End; Distributions Don’t
Enrolling in any part of Medicare, including premium-free Part A, permanently ends your ability to make new HSA contributions. The distribution side is unaffected. Your balance stays yours, keeps growing tax-free, and can be tapped for qualified medical expenses for the rest of your life. There’s no forced withdrawal age. A balance built up during working years can comfortably fund Part B premiums and other healthcare costs well into retirement.
Paying a Spouse’s Part B Premiums
Your HSA can generally cover your spouse’s qualified medical expenses, including their Medicare premiums, but the age-65 rule tracks the account owner. If you’re under 65, your spouse’s Part B premiums don’t qualify as a tax-free distribution from your account even when your spouse is already enrolled. Once you turn 65, your spouse’s Part B, Part D, and Part C premiums all become eligible under the same rules that apply to your own. Medigap premiums for your spouse remain excluded.
Reporting and Penalties
Your HSA custodian sends Form 1099-SA each year showing total distributions. The form doesn’t split qualified from non-qualified spending; you do that on IRS Form 8889, filed with your tax return. You list total distributions and the portion used for qualified medical expenses. If they match, the whole distribution is tax-free. Receipts don’t get attached, but the burden of proof is yours if the IRS asks.
Get it wrong and the penalty depends on your age:
- Before 65, a non-qualified distribution is taxed as ordinary income plus a 20% penalty. Paying Medigap premiums, or any Medicare premium, from your HSA before 65 lands here.
- At 65 and older, the 20% penalty is gone, but a non-qualified distribution is still taxed as ordinary income. Paying Medigap premiums from your HSA at 67, for instance, means income tax on that withdrawal with no penalty on top.
A State Tax Note
Federal treatment is clean, but California and New Jersey do not recognize HSA tax benefits at the state level. Contributions were taxed as state income when made, and account earnings are also subject to state tax. You can still use HSA funds for Part B premiums in those states; the federal distribution is still tax-free. The state side simply doesn’t match. Most other states follow the federal rules and exempt qualified HSA distributions from state income tax.