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 situation | Federal income tax | 20% additional tax | What to keep |
|---|---|---|---|
| Age 66, pays a doctor bill with HSA money | None | None | Receipt or explanation of benefits, bank record |
| Age 66, pays the Medicare Part B premium from the HSA | None | None | Medicare billing notice or Social Security benefit statement |
| Age 66, buys a vacation with HSA money | Yes, ordinary income | None | 1099-SA copy and bank record |
| Age 66, pays a Medigap premium from the HSA | Yes, treated as nonmedical | None | Policy bill showing the premium |
| Age 62, withdraws for a nonmedical reason | Yes, ordinary income | Yes, 20% of the taxable amount | 1099-SA copy |
| Age 66, reimburses a 2022 medical bill (HSA already open in 2022) | None, if records support it | None | Old 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.

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 withdrawal | Before age 65 | At or after age 65 | Source of the rule |
|---|---|---|---|
| Qualified medical expenses | Tax-free | Tax-free | 26 U.S.C. 223(f)(1) |
| Nonmedical | Income tax plus 20% additional tax | Income tax only | 26 U.S.C. 223(f)(2), (f)(4) |
| Nonmedical after disability | Income tax only | Income tax only | 26 U.S.C. 223(f)(4)(B) |
| Distribution to beneficiary after death | Depends on beneficiary (see below) | Depends on beneficiary | 26 U.S.C. 223(f)(8) |
| Excess contribution withdrawn by the due date | Earnings taxed; no penalty if removed in time | Same | IRS 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.
| Age | Withdrawal | Income tax at 22% | 20% additional tax | Total federal cost | Share of withdrawal lost |
|---|---|---|---|---|---|
| 64 | $5,000 | $1,100 | $1,000 | $2,100 | 42% |
| 66 | $5,000 | $1,100 | $0 | $1,100 | 22% |
| 66, same $5,000 spent on a Medicare Part B premium | $5,000 | $0 | $0 | $0 | 0% |
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.
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.
| Cost | Who sets the amount | Payable from HSA after 65? | Notes |
|---|---|---|---|
| Medicare Part A premium (only if you must buy it) | Federal program | Yes | Most people pay $0; Medicare.gov lists $311 or $565 a month for others in 2026 |
| Medicare Part B premium | Federal program | Yes | Standard 2026 amount is $202.90 a month; higher with income |
| Part B deductible and 20% coinsurance | Federal program | Yes | These are medical care costs, not premiums; 2026 deductible is $283 |
| Medicare Advantage (Part C) premium | Plan | Yes, generally | Covered by the ‘other than Medicare supplemental’ language; confirm for your plan |
| Part D prescription drug plan premium | Plan | Yes, generally | Also falls under the Medicare coverage language; keep the plan’s billing record |
| Medigap (Medicare supplement) premium | Insurer | No | Publication 969 excludes premiums for a Medicare supplemental policy |
| Medicare premium for a spouse who is 65+ while you are under 65 | Federal program | Generally no | Publication 969 ties the premium rule to the account holder’s age |
| Long-term care insurance premium | Insurer | Yes, up to an age-based limit | Publication 969 says LTC premiums are subject to age-based limits adjusted annually |
| Dental, vision, hearing aids, prescriptions | Provider | Yes, if medical care and not reimbursed | The 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.
| Expense | Date incurred | HSA open then? | Qualifies for reimbursement in 2026? | Why |
|---|---|---|---|---|
| Dental crown, $3,200 | March 2022 | Yes, opened 2020 | Yes | Incurred after the account was established; records needed |
| Surgery copay, $1,850 | August 2019 | No, opened 2020 | No | Expenses before the HSA existed are not qualified |
| Eyeglasses, $620 | June 2023 | Yes | Yes, unless insurance or an FSA paid it | Must not be reimbursed elsewhere |
| Medical bill, $900, deducted on Schedule A in 2021 | December 2021 | Yes | No | Cannot 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.
| Event | What happens to HSA contributions | Who sets the rule | What to do |
|---|---|---|---|
| You turn 65 and stay on an employer HDHP, no Medicare yet | You can keep contributing if you are otherwise eligible and not enrolled in Medicare | Federal law (26 U.S.C. 223) | Confirm you have not enrolled in any Medicare part |
| You enroll in Medicare Part A or B | Limit is zero from the first month of entitlement | 26 U.S.C. 223(b)(7) | Stop contributions before that month |
| You apply for Social Security or Part A after turning 65 | Part A can begin up to 6 months earlier, not before the month you turned 65 | Medicare program rules | Stop contributions about 6 months before you apply |
| You delay Part B because of employer coverage | Social Security says you can delay Part B if you are covered by an employer group plan; Part A status still matters | Medicare program rules | Check whether Part A is already active |
| You contributed during a retroactive period | Those contributions are excess | IRS Publication 969 | Withdraw 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).

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.
| Item | Amount | How computed |
|---|---|---|
| 2026 self-only annual limit | $4,400 | Rev. Proc. 2025-19 |
| Months eligible (January to April) | 4 | Medicare Part A starts May 2026 |
| Limit for those months | $1,467 | $4,400 x 4/12, rounded |
| Contributed | $4,400 | Assumed |
| Excess contribution | $2,933 | $4,400 minus $1,467 |
| Excise tax if left in the account | $176 | 6% of $2,933 |
Illustrative. Ignores the catch-up amount and any employer contributions, which would change the result.
| 2026 HSA figure | Self-only | Family | Source |
|---|---|---|---|
| Annual contribution limit | $4,400 | $8,750 | Rev. Proc. 2025-19 |
| Minimum HDHP deductible | $1,700 | $3,400 | Rev. Proc. 2025-19 |
| Maximum out-of-pocket for the HDHP | $8,500 | $17,000 | Rev. Proc. 2025-19 |
| Age 55+ additional contribution | $1,000 per eligible person | $1,000 per eligible person | IRS 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.
| Step | Form and line | What you enter | What it means |
|---|---|---|---|
| 1 | Form 1099-SA, box 1 | Total distributions from the trustee | IRS also receives this figure |
| 2 | Form 8889, line 14a | Total distributions from 1099-SA | Starting point |
| 3 | Form 8889, line 14b | Rollovers to another HSA and excess contributions withdrawn on time | Reduces the amount to be tested |
| 4 | Form 8889, line 15 | Distributions used for qualified medical expenses incurred after the HSA was set up | Tax-free portion |
| 5 | Form 8889, line 16 | Distributions included in income | Flows to your return as other income |
| 6 | Form 8889, lines 17a and 17b | Box for an exception to the 20% tax; 20% of any amount without an exception | After 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.
| Document | Why it matters | Where to get it | How long to keep it |
|---|---|---|---|
| Form 1099-SA | Shows total distributions the IRS received | HSA trustee, by early the next year | With the tax return and its support |
| Receipts or explanations of benefits | Proves each expense was medical care | Provider or insurer portal | As long as you may reimburse or the return is open |
| Proof of payment | Shows the expense was paid by you | Bank or card statements | Same |
| HSA statements | Shows the opening date and withdrawals | Trustee portal | As long as the account exists |
| Medicare billing notice or Social Security statement | Supports a premium reimbursement | Medicare account or SSA | Same |
| Written note of expenses reimbursed | Prevents double-dipping with itemizing | Your own file | Same |
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 income | Taxable HSA withdrawal | Total MAGI | 2026 threshold tier | Added yearly premium |
|---|---|---|---|---|---|
| No withdrawal | $95,000 | $0 | $95,000 | Standard | $0 |
| Modest nonmedical withdrawal | $95,000 | $10,000 | $105,000 | Standard | $0 |
| Larger nonmedical withdrawal | $95,000 | $20,000 | $115,000 | First surcharge tier ($109,001 to $137,000) | $1,148.40 |
| Same $20,000 spent on medical care | $95,000 | $0 (tax-free) | $95,000 | Standard | $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.

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.
| Rule | Level | Applies when | Reader action |
|---|---|---|---|
| Medical withdrawals excluded from income | Federal | Expense qualifies and records exist | Keep records |
| 20% additional tax | Federal | Nonmedical before 65, with no disability or death exception | None after 65 |
| Income tax on nonmedical withdrawals | Federal | Always, at any age | Report on Form 8889 |
| State treatment of contributions and earnings | State | Varies by state | Check the state tax agency |
| Medicare premium surcharge based on income | Federal program | MAGI above tier lines two years earlier | Model large withdrawals before taking them |
| Custodian fees, investment menu, withdrawal methods | Trustee policy and contract | Set by the account provider | Read 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.
- 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.
- 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.
- Layer 3: leaving the balance invested for future medical costs. Publication 969 does not require annual withdrawals, so unspent money can wait.
- 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.
| Option | Federal tax on the withdrawal | Paperwork | Best for | Main downside |
|---|---|---|---|---|
| Pay a Medicare premium from the HSA | None | Billing notice or benefit statement | Anyone covered by Medicare and holding an HSA | Medigap does not qualify |
| Reimburse yourself for an old bill | None, with records | Old bill, proof of payment, proof not reimbursed | Needing cash while avoiding tax | Poor records can make it taxable later |
| Pay a current bill directly from the HSA | None | Receipt | Large one-off costs | Debit card payments still need receipts |
| Nonmedical withdrawal from the HSA | Ordinary income, no 20% after 65 | Form 8889 line 16 | Emergencies with no other source | Can raise Social Security taxes and Medicare surcharges |
| Withdraw from a traditional IRA instead | Ordinary income | Form 1099-R | Needing cash when HSA balance is earmarked for medical | Also raises taxable income |
| Withdraw from a Roth IRA instead | Generally tax-free if qualified | Form 1099-R | Needing cash with no income bump | Uses 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.
| Approach | Cash received | Federal tax at 22% | Net cash | Comment |
|---|---|---|---|---|
| $6,000 nonmedical withdrawal | $6,000 | $1,320 | $4,680 | Taxable income rises by $6,000 |
| $6,000 reimbursement of documented 2022-2025 medical bills | $6,000 | $0 | $6,000 | Needs records for each bill |
| Savings account | $6,000 | $0 | $6,000 | Uses money that earns little; no tax |
Illustrative. Assumes the whole $6,000 is taxed at 22% and no other effects.

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.
| Beneficiary | Account after death | Tax result | Reader action |
|---|---|---|---|
| Surviving spouse | Becomes the spouse’s HSA | No tax at death; later rules follow the spouse’s situation | Update beneficiary forms and notify the trustee |
| Non-spouse (child, friend) | Stops being an HSA | Fair market value is taxable to the beneficiary, less the decedent’s medical expenses paid within one year | Pay final medical bills from the account where possible |
| Estate (no beneficiary named) | Stops being an HSA | Generally included on the decedent’s final return; confirm with a tax professional | Name 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 flag | Why it matters | What to ask or do | Safer next step |
|---|---|---|---|
| Assuming the 20% penalty removal means no tax | Nonmedical withdrawals are still income | Run the tax math before withdrawing | Prefer documented medical reimbursement |
| Paying a Medigap premium from the HSA | Medigap is excluded; amount is taxable | Is this premium for Medicare or a supplemental policy? | Pay Medigap from another source |
| Contributing after Medicare starts | Excess contributions face a 6% excise tax | When did Part A start? | Stop contributions about six months before applying |
| Reimbursing expenses from before the HSA existed | Not qualified; taxable | What date was the account opened? | Check the opening date on trustee statements |
| Deducting and reimbursing the same medical bill | Double benefit is not allowed | Did I itemize this bill? | Keep a ledger of itemized and reimbursed items |
| Failing to keep receipts | The burden of proof sits with you | Can I prove each item? | Save receipts in one folder |
| Using the HSA debit card for non-medical items | Counts as a taxable distribution | Does the card block nonmedical merchants? | Review each monthly statement |
| Ignoring state tax rules | A few states tax HSAs | Does 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
| When | What to do | Who controls it | Why it matters |
|---|---|---|---|
| 12 months before 65 | Review HSA balance, contributions and receipts | You | Starts the clean-up |
| About 6 months before you plan to apply for Social Security or Medicare after 65 | Stop HSA contributions | You | Part A can reach back up to 6 months from your sign-up |
| Month of your 65th birthday | Premium-free Part A starts if you qualify | Medicare | Contribution limit becomes zero |
| Initial enrollment window | Choose Part B, Part C or D | You and Medicare | Premiums become qualifying expenses |
| After enrollment | Set up premium reimbursements from the HSA | You and the trustee | Tax-free use of account money |
| Each tax season | Reconcile 1099-SA and Form 8889 | You | Wrong line entries can create tax |
Illustrative sequence. Confirm your own enrollment dates with Social Security and Medicare.
Alternatives to a nonmedical withdrawal
| Alternative | Tax effect | Flexibility | Risk | Best fit |
|---|---|---|---|---|
| Reimburse documented old medical expenses | Tax-free | High if records exist | Poor records | People with a paper trail |
| Bank savings or emergency fund | No tax on principal | Highest | Low interest earned | Short-term needs |
| Traditional IRA withdrawal | Taxed as income | High | May raise taxes and premiums too | People with large pre-tax IRAs |
| Roth IRA withdrawal | Often tax-free | High | Uses tax-free growth | People with Roth balances |
| Home equity or personal loan | No tax, but interest cost | Moderate | Debt and collateral risk | Rarely a first choice |
| Wait and spend the HSA on medical costs later | None | Moderate | Costs may not arrive | People with a long horizon |
Illustrative comparison; check costs and rules for your own accounts.
Terms worth knowing
| Term | Plain-English meaning | Why it matters | Common confusion |
|---|---|---|---|
| Qualified medical expense | Medical care under section 213(d) that insurance has not covered | Determines tax-free status | Includes Medicare premiums but not Medigap |
| Distribution | Money taken out of the HSA | The event the IRS tracks on 1099-SA | Debit-card purchases are distributions too |
| Nonqualified distribution | A withdrawal not used for qualified expenses | Taxable income | The 20% extra tax stops at 65 |
| Excess contribution | Money put in above your limit | 6% excise tax if left in | Retroactive Medicare creates it |
| Medigap | Private supplement to Original Medicare | Excluded from HSA-paid premiums | Often called Medicare supplement |
| IRMAA | Income-related monthly adjustment amount | Raises Part B and drug premiums | Based on income from two years earlier |
| Form 1099-SA | Statement of HSA distributions | Reports to IRS | Does not say if spending was medical |
| Form 8889 | The tax form reporting HSA activity | Where you prove medical use | Filed 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.
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
- IRS, Publication 969, Health Savings Accounts and Other Tax-Favored Health Plans
- IRS, Instructions for Form 8889
- IRS, About Form 8889, Health Savings Accounts
- IRS, About Form 1099-SA
- 26 U.S.C. 223, Health savings accounts
- IRS, Rev. Proc. 2025-19 (2026 HSA limits)
- IRS, Notice 2004-50, HSA questions and answers
- Medicare.gov, Medicare costs
- Medicare.gov, When does Medicare coverage start
- Social Security, Medicare premiums and income-related adjustments
- Social Security, Taxes on benefits
- HSA for America, State tax treatment of HSAs (trade association summary)
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.
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.
