When Medicare starts, a retiree’s first Social Security deposit may be smaller than expected because the Part B premium is taken out before the payment reaches the bank. In 2027, that standard deduction is $209.40 a month[1].
Many people assume their health savings account becomes unusable once Medicare begins. That is not the case. After age 65, HSA funds can be used to pay Medicare premiums, including the amounts withheld from Social Security checks. The main exception is Medigap, which is often the missed detail.
Medicare Premiums Withheld From Social Security Can Be Repaid Tax-Free
Once the HSA owner is 65 or older, Medicare premiums qualify as eligible medical expenses. That includes Part B, Part D, and Medicare Advantage premiums, along with Part A if the person pays for it. The premium can be paid directly from the HSA, or Social Security can continue withholding it and the account holder can reimburse themselves later. In either case, the withdrawal is tax-free.
The standard Part B premium was $202.90[2] in 2026 and increases to $209.40[1] in 2027. Higher-income beneficiaries pay more. For example, a single filer with modified adjusted gross income above $500,000 faces a total Part B premium of $711.80 a month in 2027, usually based on income from two years earlier. That income-related surcharge is included in the Part B bill.
IRMAA is only one of several Medicare costs that can surprise retirees. A free Medicare guide can help explain the surcharges, coverage gaps, and premium traps that may otherwise reduce a Social Security check.
What the Tax Rules Say
Under 26 U.S.C. § 223(d)(2)(B)[3], HSA money generally cannot be used to buy insurance. Section 223(d)(2)(C)(iv)[3] creates an exception for an account holder who has reached Medicare age, covering “any health insurance other than a Medicare supplemental policy.”
IRS Publication 969, in the 2025 edition used for 2025 returns, explains it more plainly by including “Medicare and other health care coverage if you were 65 or older (other than premiums for a Medicare supplemental policy, such as Medigap).”
IRS guidance in Notice 2008-59 also makes clear that Medicare premiums withheld from Social Security benefits still qualify, so the fact that the premium comes out of the check does not disqualify it.
Who Qualifies, and Who Does Not
The age requirement applies to the HSA owner. Medicare premiums for an account holder who is 65 or older are qualified expenses. Publication 969 also notes an important limit for couples: if the account owner is not yet 65, Medicare premiums for a spouse or dependent who is 65 or older generally do not count as qualified medical expenses.
Only expenses incurred after the HSA was established are eligible. Medigap premiums are not covered, so those must be paid with other funds.
How to Take the Money Back Out
- Make sure the HSA owner is 65 or older and that the premium is for Part A, Part B, Part D, or Medicare Advantage.
- Gather proof of the amount withheld. Social Security’s annual SSA-1099 benefit statement lists Medicare premiums deducted from benefits.
- Request a distribution from the HSA trustee for the premium amount. Debit card payments also count as distributions, and the trustee reports them on Form 1099-SA.
- Report the distribution on Form 8889 with the tax return.
- Keep records showing that the distribution paid or reimbursed qualified medical expenses, that the expenses were not paid or reimbursed from another source, and that they were not previously claimed as an itemized deduction. Publication 969 says these records should be kept with tax files and omitted from the return.
Medigap, Late Contributions and Double Dipping Can Create Problems
Paying a Medigap premium from an HSA makes that withdrawal taxable income. After reaching Medicare age, the additional 20% tax[3] on nonqualified withdrawals no longer applies under Section 223(f)(4)(C), but ordinary income tax still does.
Contributions must stop once Medicare begins. Starting with the first month of Medicare enrollment, the contribution limit is zero, including any retroactive coverage. If Medicare coverage is backdated, contributions above the recalculated annual HSA limit become excess contributions.
The remaining balance can still be spent. Publication 969 says a person who is no longer eligible to contribute can still take tax-free distributions for qualified medical expenses and does not have to withdraw money each year.
The same expense also cannot be counted twice. If the HSA reimburses a premium tax-free, it cannot also be claimed as an itemized medical deduction on Schedule A.
So Medicare may take $209.40[1] out of a check each month in 2027, but an HSA can reimburse every dollar tax-free. The key is to keep records and pay Medigap premiums with other money.
More from Digilifetrends
Medicare Has Costs at Every Step — and You Can Remove a Retirement-Related Surcharge
Medicare is not free. For most enrollees, Part B alone is expected to cost $209.40 a month in 2027, and that is before adding drug coverage, deductibles, or any supplemental…
3 min read · Published 2026-11-29Retiring at 64 With $1.46 Million, He Faces Social Security Earnings Limits — But a First-Year Exception Protects $15,600 in Benefits
A man carefully reviews financial papers in his kitchen, a familiar scene for people dealing with unexpected bills. It highlights why every financial document should be checked…
4 min read · Published 2026-11-29At 78, After a Career in Construction, He May Need Nursing Home Care: How $700,000 Could Shrink Under Medicaid Rules, Leaving $162,660 for His Wife
Medicare only pays for limited short-term skilled care, so a couple with $700,000 could have to spend about $535,000 before Medicaid steps in, while preserving $162,660 for the…
5 min read · Published 2026-11-28