Short answer: an HSA withdrawal after 65 is still tax-free when you spend it on qualified medical expenses, and that includes Medicare premiums. If you spend it on anything else, the amount is taxed as ordinary income, but the 20% penalty that applies before age 65 no longer applies. You report either kind on Form 8889, and your records are what prove which kind it was.

Most people hear the 65 rule as “the penalty goes away, so the HSA turns into an IRA.” That is half right. An HSA withdrawal after 65 for a nonmedical reason is taxed like a traditional IRA withdrawal. A medical withdrawal is better than an IRA withdrawal, because it is not taxed at all.

This guide covers how the two kinds of withdrawal are taxed, what counts as a qualified expense once you are on Medicare, how to report each one, and how a taxable withdrawal can ripple into Social Security taxes and Medicare premiums. It also covers the contribution cutoff that trips up many new retirees. The numbers in the examples are illustrative. This is general information, not tax advice, so check your own situation with a tax professional.

What matters most before you withdraw

  • Medical use stays tax-free at any age. The statute taxes only the part of a distribution that is not used exclusively for qualified medical expenses of the account beneficiary.
  • Nonmedical use after 65 is taxed as income. IRS Publication 969 says distributions for other reasons are subject to income tax, and there is no additional tax on distributions after you reach 65, become disabled or die.
  • Medicare premiums can be paid from the account. That covers Medicare and other health coverage once you are 65 or older, with one carve-out: Medigap premiums do not qualify.
  • Contributions stop when Medicare starts. Your contribution limit is zero beginning with the first month you are enrolled in Medicare, and Part A can reach back up to six months.
  • You do not need to withdraw each year. Publication 969 says you do not have to make withdrawals from your HSA each year.
  • Records decide the outcome. You keep the proof; you do not send it with your return.

Use the table to see where your situation lands before you read the details.

Your situationFederal income tax20% additional taxWhat to keep
Age 66, pays a doctor bill with HSA moneyNoneNoneReceipt or explanation of benefits, bank record
Age 66, pays the Medicare Part B premium from the HSANoneNoneMedicare billing notice or Social Security benefit statement
Age 66, buys a vacation with HSA moneyYes, ordinary incomeNone1099-SA copy and bank record
Age 66, pays a Medigap premium from the HSAYes, treated as nonmedicalNonePolicy bill showing the premium
Age 62, withdraws for a nonmedical reasonYes, ordinary incomeYes, 20% of the taxable amount1099-SA copy
Age 66, reimburses a 2022 medical bill (HSA already open in 2022)None, if records support itNoneOld bill, proof you paid, proof it was not reimbursed elsewhere

Illustrative summary. Rules are federal; some states tax HSAs differently. Sources: IRS Publication 969, 26 U.S.C. 223.

HSA withdrawal after 65: Stacked bars of a $5,000 HSA withdrawal showing tax and penalty at age 64, income tax only at 66
The same $5,000 costs $2,100 at 64, $1,100 at 66 for nonmedical use and nothing when it pays a Medicare premium (illustrative, 22% bracket).

How an HSA withdrawal after 65 is taxed

Two separate questions decide the tax result, and people often mix them up. The first is whether you spent the money on a qualified medical expense. The second is whether you have reached 65. Age only matters if the answer to the first question is no.

The base rule: spend on medical care and pay no tax

Under 26 U.S.C. 223, a distribution that pays the qualified medical expenses of the account beneficiary is left out of gross income. Publication 969 defines qualified medical expenses as amounts paid for medical care for you, your spouse and your dependents, to the extent insurance or another source has not covered them. That rule has no age limit.

The nonmedical rule: income tax, with a penalty before 65 only

If the distribution is not used exclusively for qualified medical expenses, the amount is included in gross income. Before 65, the statute adds a 20% tax on top of that amount. The additional tax does not apply to a distribution made after the date the account beneficiary becomes disabled, dies or reaches the Medicare eligibility age under section 1811 of the Social Security Act, which is 65.

So the 65 line removes the penalty, not the income tax. You still add the taxable amount to your return, and it is taxed at your ordinary rates. It is not a capital gain and it does not get special treatment.

Type of withdrawalBefore age 65At or after age 65Source of the rule
Qualified medical expensesTax-freeTax-free26 U.S.C. 223(f)(1)
NonmedicalIncome tax plus 20% additional taxIncome tax only26 U.S.C. 223(f)(2), (f)(4)
Nonmedical after disabilityIncome tax onlyIncome tax only26 U.S.C. 223(f)(4)(B)
Distribution to beneficiary after deathDepends on beneficiary (see below)Depends on beneficiary26 U.S.C. 223(f)(8)
Excess contribution withdrawn by the due dateEarnings taxed; no penalty if removed in timeSameIRS Publication 969

The Form 8889 instructions state the same age, disability and death exceptions to the 20% tax.

Worked example: the same $5,000 at two ages

Take an illustrative taxpayer in the 22% federal bracket who withdraws $5,000 for a nonmedical purpose. At 64, the federal cost is $1,100 of income tax plus $1,000 of additional tax. At 66, it is $1,100. State income tax, if any, comes on top in both cases.

AgeWithdrawalIncome tax at 22%20% additional taxTotal federal costShare of withdrawal lost
64$5,000$1,100$1,000$2,10042%
66$5,000$1,100$0$1,10022%
66, same $5,000 spent on a Medicare Part B premium$5,000$0$0$00%

Illustrative. Assumes the whole $5,000 is the only change to taxable income and stays within the 22% bracket. Not a tax computation for any real return.

The third row is the point of the whole article. The same dollars cost nothing in tax if they go to a covered medical expense. The rest of this guide is mostly about how to make sure your spending lands in the third row, and how to prove it did.

Interesting fact

When Social Security takes Medicare premiums out of your monthly benefit, an HSA distribution equal to that deduction can reimburse you tax-free. The IRS addressed this in Notice 2004-50 (Q&A 45): the reimbursement counts as a qualified medical expense, so you do not have to hand the premium to Medicare separately to use your HSA for it.

What counts as a qualified expense once you are on Medicare

Before 65, you generally cannot use an HSA to pay health insurance premiums, with a few exceptions. The 65 milestone opens a door. Under the statute, an account beneficiary who has reached the Medicare age can use HSA money for premiums for any health insurance other than a Medicare supplemental policy. Publication 969 lists the allowed premiums as Medicare and other health care coverage if you were 65 or older.

CostWho sets the amountPayable from HSA after 65?Notes
Medicare Part A premium (only if you must buy it)Federal programYesMost people pay $0; Medicare.gov lists $311 or $565 a month for others in 2026
Medicare Part B premiumFederal programYesStandard 2026 amount is $202.90 a month; higher with income
Part B deductible and 20% coinsuranceFederal programYesThese are medical care costs, not premiums; 2026 deductible is $283
Medicare Advantage (Part C) premiumPlanYes, generallyCovered by the ‘other than Medicare supplemental’ language; confirm for your plan
Part D prescription drug plan premiumPlanYes, generallyAlso falls under the Medicare coverage language; keep the plan’s billing record
Medigap (Medicare supplement) premiumInsurerNoPublication 969 excludes premiums for a Medicare supplemental policy
Medicare premium for a spouse who is 65+ while you are under 65Federal programGenerally noPublication 969 ties the premium rule to the account holder’s age
Long-term care insurance premiumInsurerYes, up to an age-based limitPublication 969 says LTC premiums are subject to age-based limits adjusted annually
Dental, vision, hearing aids, prescriptionsProviderYes, if medical care and not reimbursedThe test is medical care under section 213(d)

Sources: IRS Publication 969; 26 U.S.C. 223(d)(2)(C); Medicare.gov, Medicare costs (checked November 12, 2026). Ask a tax professional about plan-specific items.

A practical point: the exclusion for Medigap catches many retirees by surprise. If you carry a Medigap policy, the premium is a nonmedical expense for HSA purposes even though it feels like health insurance. Paying it from the HSA would put the amount into taxable income. Pay it from another account instead.

Reimbursing yourself years later

The IRS does not set a deadline for reimbursing yourself. In Notice 2004-50 (Q&A 39), the IRS said there is no time limit on when the distribution must occur, as long as the expense was incurred after the HSA was established. You must keep records that show the distribution was exclusively for qualified expenses, that nothing else paid or reimbursed the expense, and that you did not claim it as an itemized deduction in any year.

ExpenseDate incurredHSA open then?Qualifies for reimbursement in 2026?Why
Dental crown, $3,200March 2022Yes, opened 2020YesIncurred after the account was established; records needed
Surgery copay, $1,850August 2019No, opened 2020NoExpenses before the HSA existed are not qualified
Eyeglasses, $620June 2023YesYes, unless insurance or an FSA paid itMust not be reimbursed elsewhere
Medical bill, $900, deducted on Schedule A in 2021December 2021YesNoCannot be both itemized and reimbursed from the HSA

Illustrative. Only the $3,200 and $620 items qualify, for a total of $3,820 that could be reimbursed tax-free with proper records.

The contribution cutoff that catches new retirees

Withdrawal rules get the attention, but the contribution rule causes more expensive mistakes. You can contribute to an HSA only while you are an eligible individual: covered by a high deductible health plan, with no disqualifying other coverage, and not enrolled in Medicare. Publication 969 says your contribution limit is zero beginning with the first month you are enrolled in Medicare.

The trap is timing. Premium-free Part A starts the month you turn 65. If you sign up later, or apply for Social Security later, Medicare.gov says Part A coverage starts six months back from when you sign up, though it cannot start earlier than the month you turned 65. Publication 969 adds that contributions made during a period of retroactive coverage are treated as excess.

EventWhat happens to HSA contributionsWho sets the ruleWhat to do
You turn 65 and stay on an employer HDHP, no Medicare yetYou can keep contributing if you are otherwise eligible and not enrolled in MedicareFederal law (26 U.S.C. 223)Confirm you have not enrolled in any Medicare part
You enroll in Medicare Part A or BLimit is zero from the first month of entitlement26 U.S.C. 223(b)(7)Stop contributions before that month
You apply for Social Security or Part A after turning 65Part A can begin up to 6 months earlier, not before the month you turned 65Medicare program rulesStop contributions about 6 months before you apply
You delay Part B because of employer coverageSocial Security says you can delay Part B if you are covered by an employer group plan; Part A status still mattersMedicare program rulesCheck whether Part A is already active
You contributed during a retroactive periodThose contributions are excessIRS Publication 969Withdraw the excess and earnings by the return due date, with extensions

Sources: IRS Publication 969; 26 U.S.C. 223; Medicare.gov, When does Medicare coverage start; SSA, Medicare sign-up (checked November 12, 2026).

Twelve-month bar showing four eligible months before Medicare Part A starts in May and eight months of excess contributions
Retroactive Part A coverage can turn contributions made after it starts into excess, even if you signed up months later (illustrative).

What an excess contribution costs

Excess contributions are not deductible. Publication 969 says you generally owe a 6% excise tax on them each year they remain in the account. You can avoid that tax by withdrawing the excess, and the earnings on it, by the due date of your return including extensions. The earnings go into your other income.

Here is an illustrative case. Suppose you have self-only coverage, turn 65 in January 2026 and sign up for Medicare in November 2026, so Part A starts retroactively in May 2026. You were eligible January through April, which is four months. A month-by-month limit would be about $1,467 (4/12 of $4,400). If you contributed $4,400 for the year, about $2,933 is excess, and the 6% excise tax would be about $176 if you left it in.

ItemAmountHow computed
2026 self-only annual limit$4,400Rev. Proc. 2025-19
Months eligible (January to April)4Medicare Part A starts May 2026
Limit for those months$1,467$4,400 x 4/12, rounded
Contributed$4,400Assumed
Excess contribution$2,933$4,400 minus $1,467
Excise tax if left in the account$1766% of $2,933

Illustrative. Ignores the catch-up amount and any employer contributions, which would change the result.

2026 HSA figureSelf-onlyFamilySource
Annual contribution limit$4,400$8,750Rev. Proc. 2025-19
Minimum HDHP deductible$1,700$3,400Rev. Proc. 2025-19
Maximum out-of-pocket for the HDHP$8,500$17,000Rev. Proc. 2025-19
Age 55+ additional contribution$1,000 per eligible person$1,000 per eligible personIRS Publication 969

Figures are for 2026 and change each year. Confirm the current year’s amounts before contributing.

Reporting a withdrawal: 1099-SA, Form 8889 and what the IRS sees

Your HSA trustee reports every distribution to you and the IRS on Form 1099-SA. The IRS sees the total whether you used the money for medicine or a boat. The tax outcome depends on what you tell the IRS on Form 8889, which you file with your Form 1040 or 1040-SR.

StepForm and lineWhat you enterWhat it means
1Form 1099-SA, box 1Total distributions from the trusteeIRS also receives this figure
2Form 8889, line 14aTotal distributions from 1099-SAStarting point
3Form 8889, line 14bRollovers to another HSA and excess contributions withdrawn on timeReduces the amount to be tested
4Form 8889, line 15Distributions used for qualified medical expenses incurred after the HSA was set upTax-free portion
5Form 8889, line 16Distributions included in incomeFlows to your return as other income
6Form 8889, lines 17a and 17bBox for an exception to the 20% tax; 20% of any amount without an exceptionAfter 65, the age exception applies

Source: Instructions for Form 8889 (2025). Line numbers can change in later editions; check the form you are filing.

If you spent the whole withdrawal on qualified expenses, line 15 equals the amount you withdrew and nothing is included in income. If you spent some of it elsewhere, the difference is taxable. After 65, you check the box on line 17a for the age exception and enter zero on line 17b. Tax software normally walks you through this, but it relies on what you type.

Two traps are worth naming. First, you cannot also deduct on Schedule A a medical expense you paid from the HSA and excluded on line 15. Second, the Form 8889 instructions say expenses incurred before you establish your HSA are not qualified medical expenses.

DocumentWhy it mattersWhere to get itHow long to keep it
Form 1099-SAShows total distributions the IRS receivedHSA trustee, by early the next yearWith the tax return and its support
Receipts or explanations of benefitsProves each expense was medical careProvider or insurer portalAs long as you may reimburse or the return is open
Proof of paymentShows the expense was paid by youBank or card statementsSame
HSA statementsShows the opening date and withdrawalsTrustee portalAs long as the account exists
Medicare billing notice or Social Security statementSupports a premium reimbursementMedicare account or SSASame
Written note of expenses reimbursedPrevents double-dipping with itemizingYour own fileSame

Publication 969 says do not send these records with your return; keep them with your tax records.

When a taxable withdrawal costs more than the income tax

The income tax on a nonmedical withdrawal is only the first-order cost. Added income can also raise how much of your Social Security is taxed and can push your Medicare premiums higher two years later. These are second-order effects, and they hit retirees in a way they do not hit younger savers.

Social Security taxation

Social Security says you pay federal income tax on your benefits if your combined income exceeds $25,000 filing individually or $32,000 filing jointly. Combined income, as the agency describes it, is half your benefit plus your other income. A taxable HSA withdrawal is other income, so it can increase the share of your benefits that is taxed. The exact calculation is in IRS Publication 915, and the effect depends on your whole return.

Medicare premium surcharges

Social Security sets your Medicare premium surcharge, called the income-related monthly adjustment amount, from modified adjusted gross income on the tax return from two years earlier. For 2026, it generally uses tax year 2024. For 2026, higher premiums start when income exceeds $109,000 for single filers or $218,000 for joint filers. A taxable HSA withdrawal in 2026 can therefore show up in the premium bill for 2028, and the thresholds then will differ.

Scenario (illustrative single filer)Other incomeTaxable HSA withdrawalTotal MAGI2026 threshold tierAdded yearly premium
No withdrawal$95,000$0$95,000Standard$0
Modest nonmedical withdrawal$95,000$10,000$105,000Standard$0
Larger nonmedical withdrawal$95,000$20,000$115,000First surcharge tier ($109,001 to $137,000)$1,148.40
Same $20,000 spent on medical care$95,000$0 (tax-free)$95,000Standard$0

Illustrative. Uses 2026 tiers for the example: Part B +$81.20 a month and drug coverage +$14.50 a month, or $974.40 plus $174.00 a year. Actual premiums depend on the year the income is measured. Source: SSA, Medicare premiums.

Notice what the last two rows show. The same $20,000 of spending produces either a $1,148 yearly surcharge or none at all, depending on whether it qualified as medical. A single dollar over a tier line triggers that tier’s full surcharge, so the margin matters. If you are near a threshold, spreading a large nonmedical withdrawal over two tax years may keep each year below the line.

Income scale with markers at $95,000, $105,000 and $115,000 against a $109,000 Medicare premium surcharge line
A taxable withdrawal that pushes income past a tier line can add $1,148.40 a year in premiums using 2026 tier amounts (illustrative).

State taxes

Everything above is federal. A few states do not follow federal HSA treatment. HSA for America reports that California and New Jersey tax interest and capital gains earned in an HSA and give no state deduction for contributions, and that New Hampshire and Tennessee tax dividends and interest on HSA accounts when you make a taxable withdrawal. That is a trade association’s summary, so confirm with your state’s revenue department.

RuleLevelApplies whenReader action
Medical withdrawals excluded from incomeFederalExpense qualifies and records existKeep records
20% additional taxFederalNonmedical before 65, with no disability or death exceptionNone after 65
Income tax on nonmedical withdrawalsFederalAlways, at any ageReport on Form 8889
State treatment of contributions and earningsStateVaries by stateCheck the state tax agency
Medicare premium surcharge based on incomeFederal programMAGI above tier lines two years earlierModel large withdrawals before taking them
Custodian fees, investment menu, withdrawal methodsTrustee policy and contractSet by the account providerRead the fee schedule

The last row is contract-based, not law. For fee-checking habits that apply to any account, see our guide to how bank account fees work.

A decision framework for which dollars to spend from the HSA

Once you are past 65 the HSA is the most flexible health-related account you own, and the most flexible way to spend it is to match each withdrawal to a documented medical cost. Think in layers. Use the first layer every year, and reach for the last only with eyes open.

  1. Layer 1: current medical bills and Medicare premiums. Tax-free and simple to document. Part B alone is $202.90 a month in 2026 for most people, which is $2,434.80 a year for one person and $4,869.60 for a couple.
  2. Layer 2: reimbursing old, documented expenses. Tax-free if the expense came after the HSA opened, nothing else paid it, and you can prove it. This is a good tool when you need cash but do not want a taxable event.
  3. Layer 3: leaving the balance invested for future medical costs. Publication 969 does not require annual withdrawals, so unspent money can wait.
  4. Layer 4: nonmedical withdrawals. Taxable as ordinary income. Compare it with a withdrawal from a traditional IRA, which is also taxed as ordinary income, and check the Social Security and Medicare ripple effects first.
OptionFederal tax on the withdrawalPaperworkBest forMain downside
Pay a Medicare premium from the HSANoneBilling notice or benefit statementAnyone covered by Medicare and holding an HSAMedigap does not qualify
Reimburse yourself for an old billNone, with recordsOld bill, proof of payment, proof not reimbursedNeeding cash while avoiding taxPoor records can make it taxable later
Pay a current bill directly from the HSANoneReceiptLarge one-off costsDebit card payments still need receipts
Nonmedical withdrawal from the HSAOrdinary income, no 20% after 65Form 8889 line 16Emergencies with no other sourceCan raise Social Security taxes and Medicare surcharges
Withdraw from a traditional IRA insteadOrdinary incomeForm 1099-RNeeding cash when HSA balance is earmarked for medicalAlso raises taxable income
Withdraw from a Roth IRA insteadGenerally tax-free if qualifiedForm 1099-RNeeding cash with no income bumpUses up tax-free growth you may want to keep

Illustrative decision matrix. Roth IRA treatment depends on the five-year rule and other conditions; confirm with a tax professional.

Scenario A: the retiree with steady medical costs

An illustrative single retiree pays Part B at $202.90 a month and a $40 monthly drug plan premium. That is $2,914.80 a year in premiums before any copays. If the HSA covers the premiums each year with documented reimbursements, none of it is taxable, and the balance left over keeps growing for later years.

Scenario B: the person who needs cash for a roof

Another illustrative retiree needs $6,000 for a home repair and has $6,000 in a savings account, plus an HSA with $30,000. The tempting move is a $6,000 nonmedical HSA withdrawal. At a 22% federal rate, that adds $1,320 of tax and increases income that Social Security and Medicare look at. The better first question is whether the HSA holds unreimbursed qualified expenses from past years. If it does, reimbursing them yields the same $6,000 with no tax, while the savings account stays where it is.

ApproachCash receivedFederal tax at 22%Net cashComment
$6,000 nonmedical withdrawal$6,000$1,320$4,680Taxable income rises by $6,000
$6,000 reimbursement of documented 2022-2025 medical bills$6,000$0$6,000Needs records for each bill
Savings account$6,000$0$6,000Uses money that earns little; no tax

Illustrative. Assumes the whole $6,000 is taxed at 22% and no other effects.

Bar chart comparing net cash from a $6,000 taxable HSA withdrawal, a tax-free reimbursement and a savings withdrawal
Reimbursing documented medical bills delivers the full $6,000, while a nonmedical withdrawal nets $4,680 at a 22% rate (illustrative).

Scenario C: the couple where one spouse is still working

A 66-year-old on Medicare has a younger spouse on a family HDHP through work. The older spouse is enrolled in Medicare, so that spouse’s own contribution limit is zero. Whether the younger spouse can contribute depends on that spouse’s own eligibility, and the Form 8889 instructions explain how family-coverage limits are split between spouses. Ask a tax professional before assuming the family limit still applies in full.

What happens to the HSA when the owner dies

The age-65 rule matters less after death, but heirs care about it. Under 26 U.S.C. 223(f)(8), if the surviving spouse is the beneficiary, the account is treated as the spouse’s HSA. If anyone else is the beneficiary, the account stops being an HSA on the date of death and its fair market value is included in the beneficiary’s income, reduced by qualified medical expenses of the deceased paid within one year. Banktimer’s guide to getting into a bank account after a death covers how institutions handle access in general: see bank account access after death.

BeneficiaryAccount after deathTax resultReader action
Surviving spouseBecomes the spouse’s HSANo tax at death; later rules follow the spouse’s situationUpdate beneficiary forms and notify the trustee
Non-spouse (child, friend)Stops being an HSAFair market value is taxable to the beneficiary, less the decedent’s medical expenses paid within one yearPay final medical bills from the account where possible
Estate (no beneficiary named)Stops being an HSAGenerally included on the decedent’s final return; confirm with a tax professionalName a beneficiary on the trustee’s form

Source: 26 U.S.C. 223(f)(8); IRS Publication 969. Estate treatment should be confirmed with a tax professional.

Common mistakes and red flags

Mistake or red flagWhy it mattersWhat to ask or doSafer next step
Assuming the 20% penalty removal means no taxNonmedical withdrawals are still incomeRun the tax math before withdrawingPrefer documented medical reimbursement
Paying a Medigap premium from the HSAMedigap is excluded; amount is taxableIs this premium for Medicare or a supplemental policy?Pay Medigap from another source
Contributing after Medicare startsExcess contributions face a 6% excise taxWhen did Part A start?Stop contributions about six months before applying
Reimbursing expenses from before the HSA existedNot qualified; taxableWhat date was the account opened?Check the opening date on trustee statements
Deducting and reimbursing the same medical billDouble benefit is not allowedDid I itemize this bill?Keep a ledger of itemized and reimbursed items
Failing to keep receiptsThe burden of proof sits with youCan I prove each item?Save receipts in one folder
Using the HSA debit card for non-medical itemsCounts as a taxable distributionDoes the card block nonmedical merchants?Review each monthly statement
Ignoring state tax rulesA few states tax HSAsDoes my state follow federal treatment?Check with the state agency

Illustrative summary. Not every red flag applies to every account.

Questions to ask before you take a withdrawal

  • Is this expense medical care for me, my spouse or a dependent, and is it unpaid by insurance or any other account?
  • Was the expense incurred after the date my HSA was established?
  • Do I have a receipt, a record of payment and proof it was not reimbursed elsewhere?
  • Is this a Medicare premium or a Medigap premium?
  • Will a taxable withdrawal push my income above a Social Security taxation threshold or a Medicare surcharge tier?
  • Does my state tax HSA withdrawals or earnings differently?
  • Does my HSA trustee charge a fee for withdrawals or for low balances, and can I move money to a bank account easily?
  • Who is named as the beneficiary on my HSA, and is that still right?

If you move money between an HSA and a bank account, transfers run on the same ACH network as other transfers, so timing can matter. Our guide to ACH transfer problems explains what to check when an electronic transfer is slow. Keep the receiving account a normal checking account so you can match each reimbursement to a statement line.

Timeline: the months around turning 65

WhenWhat to doWho controls itWhy it matters
12 months before 65Review HSA balance, contributions and receiptsYouStarts the clean-up
About 6 months before you plan to apply for Social Security or Medicare after 65Stop HSA contributionsYouPart A can reach back up to 6 months from your sign-up
Month of your 65th birthdayPremium-free Part A starts if you qualifyMedicareContribution limit becomes zero
Initial enrollment windowChoose Part B, Part C or DYou and MedicarePremiums become qualifying expenses
After enrollmentSet up premium reimbursements from the HSAYou and the trusteeTax-free use of account money
Each tax seasonReconcile 1099-SA and Form 8889YouWrong line entries can create tax

Illustrative sequence. Confirm your own enrollment dates with Social Security and Medicare.

Alternatives to a nonmedical withdrawal

AlternativeTax effectFlexibilityRiskBest fit
Reimburse documented old medical expensesTax-freeHigh if records existPoor recordsPeople with a paper trail
Bank savings or emergency fundNo tax on principalHighestLow interest earnedShort-term needs
Traditional IRA withdrawalTaxed as incomeHighMay raise taxes and premiums tooPeople with large pre-tax IRAs
Roth IRA withdrawalOften tax-freeHighUses tax-free growthPeople with Roth balances
Home equity or personal loanNo tax, but interest costModerateDebt and collateral riskRarely a first choice
Wait and spend the HSA on medical costs laterNoneModerateCosts may not arrivePeople with a long horizon

Illustrative comparison; check costs and rules for your own accounts.

Terms worth knowing

TermPlain-English meaningWhy it mattersCommon confusion
Qualified medical expenseMedical care under section 213(d) that insurance has not coveredDetermines tax-free statusIncludes Medicare premiums but not Medigap
DistributionMoney taken out of the HSAThe event the IRS tracks on 1099-SADebit-card purchases are distributions too
Nonqualified distributionA withdrawal not used for qualified expensesTaxable incomeThe 20% extra tax stops at 65
Excess contributionMoney put in above your limit6% excise tax if left inRetroactive Medicare creates it
MedigapPrivate supplement to Original MedicareExcluded from HSA-paid premiumsOften called Medicare supplement
IRMAAIncome-related monthly adjustment amountRaises Part B and drug premiumsBased on income from two years earlier
Form 1099-SAStatement of HSA distributionsReports to IRSDoes not say if spending was medical
Form 8889The tax form reporting HSA activityWhere you prove medical useFiled with Form 1040

Terms follow IRS and SSA usage.

Frequently asked questions

Do I pay a penalty on an HSA withdrawal after 65?

No. The 20% additional tax on nonqualified HSA distributions does not apply once you reach 65, become disabled or die. The statute says the additional tax does not apply to a distribution made after the account beneficiary reaches the Medicare eligibility age. You still owe ordinary income tax on any amount that was not used for qualified medical expenses. So a nonmedical withdrawal at 66 is taxed much like a traditional IRA withdrawal, while a medical withdrawal at 66 is completely tax-free. Report both on Form 8889, and keep records that show which kind each withdrawal was.

Is an HSA withdrawal after 65 taxable if I spend it on medical bills?

No. A distribution used exclusively for qualified medical expenses of you, your spouse or your dependents is left out of income at any age. The expense must be medical care that insurance or another source has not paid, and it must have been incurred after the HSA was established. Keep the bill, proof that you paid it and a note that nothing else reimbursed it. You do not send these records to the IRS with your return, but you need them if the IRS asks. Report the amount on Form 8889 line 15 so it is not counted as income.

Can I pay Medicare premiums from my HSA?

Yes, once you are 65 or older. Publication 969 lists Medicare and other health coverage as an allowed premium for people 65 or older, and the statute excludes only a Medicare supplemental policy. In practice, that covers the Part B premium, which is $202.90 a month for most people in 2026, and Medicare Advantage or drug plan premiums, which are generally treated the same way. If Social Security deducts the premium from your benefit, the IRS has said an HSA reimbursement equal to that deduction counts as a qualified expense. Keep the Medicare billing notice or your benefit statement as proof.

Can I pay a Medigap premium with an HSA?

No. Publication 969 says premiums for a Medicare supplemental policy, such as Medigap, are not qualified medical expenses for HSA purposes, even though other Medicare coverage qualifies. If you pay a Medigap premium from the HSA, the amount is a nonqualified distribution. After 65 it will not trigger the 20% additional tax, but it will be included in your income. Pay Medigap from a checking account instead, and use the HSA for Part B, Part C or Part D premiums and out-of-pocket medical costs. Read each premium bill carefully, because some plans bundle charges.

Can I keep contributing to my HSA after I turn 65?

Only if you are not enrolled in Medicare and you are otherwise eligible, which means covered by a high deductible health plan with no disqualifying coverage. Publication 969 says your contribution limit is zero beginning with the first month you are enrolled in Medicare. Premium-free Part A starts the month you turn 65, and if you sign up later, Part A can begin up to six months earlier. Contributions made during a retroactive period are excess and face a 6% excise tax unless you withdraw them by the return due date. If you plan to keep working, check your Medicare status before each contribution.

What happens if I contributed after Medicare started?

You have an excess contribution. Excess amounts are not deductible, and if they stay in the account you generally owe a 6% excise tax each year. You can avoid the tax by withdrawing the excess contribution and its earnings by the due date of your return, including extensions. The earnings go into your other income, and the withdrawn excess is not taxed as a distribution. Ask your trustee for an excess contribution removal form. If you miss the deadline, you can sometimes absorb the excess against a future year’s limit, but the excise tax still applies to the year you left it in.

Do I have to take money out of my HSA at a certain age?

No. Publication 969 states that you do not have to make withdrawals from your HSA each year. The IRS does not require a withdrawal at any age in the material checked for this article. That means the balance can stay invested for future medical costs, and the money you leave in is not taxed until you take it out for a nonmedical reason. If you do not need the funds, consider naming a beneficiary carefully, because the account’s tax treatment at death depends on who inherits it. Your trustee may charge fees even when you make no withdrawals, so read the fee schedule.

Can I reimburse myself for old medical bills after 65?

Yes, as long as the expense was incurred after you established the HSA and you have records. The IRS said in Notice 2004-50 that there is no time limit on when the reimbursement must occur. You must be able to show that the distribution was exclusively for qualified expenses, that nothing else reimbursed them and that you did not claim them as an itemized deduction in any year. Expenses before the HSA existed do not qualify. Many people keep a simple spreadsheet listing the date, provider, amount, proof of payment and the date of reimbursement.

How does a nonmedical HSA withdrawal affect Social Security and Medicare?

A taxable withdrawal raises your income. Social Security says benefits are taxed once combined income, meaning half your benefit plus other income, exceeds $25,000 for an individual or $32,000 for joint filers. Income also sets your Medicare surcharge, based on modified adjusted gross income from two years earlier. For 2026, surcharges begin above $109,000 for single filers and $218,000 for joint filers, so a large withdrawal in one year can raise premiums two years later. A tax-free medical withdrawal does not add to income, which is a strong reason to document spending carefully.

What happens to my HSA when I die?

It depends on the beneficiary. If your spouse is the designated beneficiary, the account becomes your spouse’s HSA. If anyone else is the beneficiary, the account stops being an HSA, and its fair market value is included in that person’s income for the year of death, reduced by qualified medical expenses of yours that the beneficiary pays within one year. No 20% additional tax applies to distributions after death. Update your beneficiary designation whenever your family situation changes, because the beneficiary form on file with the trustee controls who inherits it.

Do states tax HSA withdrawals the same way as the IRS?

Not always. Most states follow federal treatment, but a few do not. HSA for America reports that California and New Jersey tax interest and capital gains earned in an HSA and give no state deduction for contributions, and that New Hampshire and Tennessee tax dividends and interest in HSAs when you make a taxable withdrawal. That is a trade association summary, so confirm with your state tax agency. A medical withdrawal may still be tax-free for federal purposes while the state treats the account’s earnings differently, so ask about both before you plan a move or a withdrawal.

Your next step. Pull your latest HSA statement and write down two numbers: the date the account was opened and the total of qualified medical bills you paid out of pocket since then that nothing else reimbursed. If you are within six months of signing up for Medicare, stop contributions now and confirm your Part A start date.

Bottom Line

After 65, your HSA works in two modes. Spend it on qualified medical expenses, including Medicare premiums but not Medigap, and the withdrawal is tax-free. Spend it on anything else and you owe ordinary income tax, but no 20% additional tax. That second mode can cost more than it looks, because added income can increase the taxes on your Social Security and your Medicare premiums two years later. Stop contributing before Medicare starts, keep receipts for every reimbursement, report each distribution on Form 8889 and check how your state treats the account. When in doubt, ask a tax professional before taking a large nonmedical withdrawal.

Sources

Facts checked November 12, 2026. All dollar amounts in the examples are illustrative. Limits, premiums and thresholds change every year; confirm current figures with the IRS, Medicare and Social Security before acting.

About this article

By the Banktimer Editorial Team · Published

Banktimer is an independent U.S. consumer-finance publication. Our editors draw on primary and official sources first, such as the CFPB, FDIC, Federal Reserve, and FTC, along with statutes, regulations, and providers’ own agreements and fee schedules. Then we add worked examples and decision tools. Our goal is the most useful, best-supported explanation the sources available to us at the time of writing allow.

This article is general information, not legal, tax, investment, insurance, or financial advice, and reading it does not create a professional relationship with Banktimer. Rates, fees, limits, and rules change, and they vary by state, provider, and contract, so confirm current terms with your bank, lender, insurer, or the agency named in the article before you act. Examples are illustrative unless labeled otherwise. Banktimer is not a bank, lender, insurer, or financial advisor, and we are not responsible for decisions or losses that result from relying on this content. For advice about your own situation, talk to a licensed professional.

Related: Taxation of Social Security Benefits Married Couples Face: A Combined Income Worksheet.