HSA After 65: Medicare, Contributions, Transfers and Tax Rules
Turning 65 does not close your Health Savings Account. The money remains yours, qualified medical withdrawals remain tax-free, and the balance can stay invested. What changes is your ability to contribute once Medicare entitlement begins.
That distinction is the key to HSA planning after 65:
- Owning and spending the HSA: You may keep and use an existing HSA after enrolling in Medicare.
- Contributing to the HSA: Your monthly contribution limit becomes zero when you are entitled to Medicare Part A or another part of Medicare.
- Non-medical withdrawals: After age 65, they remain taxable as ordinary income but no longer face the additional 20% federal tax.
- Medicare premiums: Part A, Part B, Part D, and Medicare Advantage premiums generally qualify for tax-free HSA payment after the account owner reaches 65. Medigap premiums do not.
- Unused funds: There is no expiration date and no required minimum distribution.
This guide provides the overall timeline and directs you to the detailed rules for each decision.
HSA Rules After 65 at a Glance
| Situation | General HSA result |
|---|---|
| Turn 65 but delay all Medicare while remaining HSA-eligible | Contributions can continue |
| Enroll in premium-free Part A | Contributions stop for months of Part A entitlement |
| Enroll in Part B | Contributions stop |
| Keep an existing balance after Medicare enrollment | Allowed |
| Pay qualified medical expenses | Federal tax-free distribution |
| Pay Part B or Part D premiums after 65 | Generally federal tax-free |
| Pay Medigap premiums | Not a qualified HSA distribution |
| Take money for non-medical use after 65 | Ordinary income tax, no additional 20% tax |
| Leave funds in the HSA | Allowed; no HSA RMD |
| Transfer money between HSA custodians | Allowed under transfer or rollover rules |
The detailed federal framework appears in IRS Publication 969 and Internal Revenue Code Section 223.
What Actually Changes at Age 65?
Age 65 by itself does not necessarily end HSA contribution eligibility. Medicare entitlement does.
To contribute for a month, you generally must be covered by an HSA-eligible high-deductible health plan on the first day of that month, have no disqualifying other coverage, and not be entitled to Medicare. A person who turns 65, remains covered by an eligible employer HDHP, and delays Medicare may still qualify.
By contrast, enrolling in Medicare Part A—even when Part A is premium-free—causes the HSA contribution limit to become zero for affected months. Part B, Part C, or Part D enrollment is also incompatible with new HSA contributions.
Existing funds are not forfeited. The core HSA after 65 rules continue to protect qualified distributions and account ownership after contribution eligibility ends.
The Medicare Six-Month Lookback
People who apply for Medicare after 65 can encounter retroactive Part A coverage. The Social Security Administration states that Part A can begin up to six months before the month of application for someone over 65, but not earlier than the first month the person was eligible for Medicare.
This creates the main HSA timing risk. Contributions allocated to months later covered retroactively by Part A are excess contributions.
Example: Patricia works past 65 and applies for Social Security and Medicare in October 2026. If Part A becomes effective retroactively to April 2026, her HSA limit is zero for April through October. Contributions allocated to those months may need correction.
The common planning rule is to stop HSA contributions at least six months before applying for Medicare or Social Security. It is a planning buffer, not a statement that every person receives exactly six months of retroactivity. Someone applying less than six months after turning 65 cannot have Part A backdated before Medicare eligibility began.
Automatic enrollment also matters. A person already receiving Social Security benefits before 65 is generally automatically enrolled in Medicare Part A and Part B at 65, unless Part B is declined. Dropping Part B does not remove Part A entitlement. Review the enrollment date rather than assuming employer coverage postponed Medicare automatically.
For exact timing, automatic enrollment, and correction context, use the HSA Medicare enrollment rules and six-month lookback guide.
Contribution Limits and Excess Contributions
For 2026, the federal HSA contribution limit is $4,400 for self-only coverage and $8,750 for family coverage. An eligible individual who is at least 55 by year-end may contribute an additional $1,000. These amounts include employer contributions.
They are annual ceilings for a person eligible throughout the year. Partial-year eligibility can require a monthly calculation. Medicare entitlement can therefore reduce the permitted amount even when enrollment occurs late in the year.
Example: Daniel has self-only eligible coverage and reaches 65 before 2026. He remains HSA-eligible from January through June and begins Medicare July 1. Ignoring other special rules, six eligible months produce a prorated base limit of $2,200: six-twelfths of $4,400. His catch-up amount may also be prorated to $500. Employer deposits count toward these limits.
The last-month rule can allow a full-year contribution in certain situations when a person is eligible on December 1, but it comes with a testing period. It does not make contributions permissible for months of Medicare entitlement. Do not use it as a shortcut around Medicare rules.
Excess HSA contributions can trigger a 6% excise tax for each year the excess remains uncorrected. Timely removal generally requires withdrawing the excess plus attributable earnings by the return due date, including extensions, and reporting the correction properly. The correct treatment depends on whether the contribution came from payroll, an employer, or the individual.
Review the 2026 HSA contribution limits before computing a final deposit.
Working Past 65
Continuing to work does not automatically preserve HSA eligibility. The coverage and Medicare facts control.
You may generally keep contributing after 65 if all of these remain true:
- You are covered by an HSA-eligible HDHP.
- You have no disqualifying other health coverage.
- You are not enrolled in or entitled to any part of Medicare.
- You cannot be claimed as another person’s tax dependent.
An employer plan must actually meet HSA requirements. A plan called “high deductible” is not necessarily HSA-eligible. For 2026, the general HDHP minimum deductible is $1,700 for self-only coverage and $3,400 for family coverage; maximum out-of-pocket limits are $8,500 and $17,000 respectively. Federal changes also treat certain Bronze and Catastrophic Exchange plans as HSA-compatible beginning in 2026.
Use the 2026 HSA-eligible HDHP thresholds to verify coverage rather than relying on the plan name.
Employer size and active-employment coverage can affect whether delaying Medicare Part B creates a late-enrollment penalty or coverage gap. Those Medicare coordination rules are separate from the HSA tax rule. Confirm the plan’s creditable coverage and Medicare coordination with the employer and Social Security before delaying enrollment.
Spending Your HSA After Medicare Enrollment
You may use HSA funds after Medicare starts. Qualified medical expenses remain tax-free, including eligible costs for the account owner, spouse, and dependents.
Examples can include:
- Medicare deductibles, copayments, and coinsurance.
- Dental care and dentures.
- Vision examinations, prescription glasses, and contact lenses.
- Hearing aids and batteries.
- Prescription medications.
- Certain long-term care services and limited qualified long-term care premiums.
- Other medical expenses meeting IRC Section 213(d) and HSA rules.
Consult the HSA qualified medical expenses guide before assuming a purchase qualifies. A distribution cannot be tax-free if the same expense was reimbursed by insurance or another plan, and it cannot also support an itemized medical deduction.
The HSA custodian reports distributions on Form 1099-SA. You report their qualified and taxable treatment on Form 8889. Custodian approval of a distribution is not an IRS determination that the expense qualifies, so retain receipts and payment records.
Paying Medicare Premiums Tax-Free
Once the HSA account owner reaches 65, HSA money can generally pay premiums for:
- Medicare Part A, when a premium is required.
- Medicare Part B.
- Medicare Advantage, or Part C.
- Medicare Part D.
- Income-related Medicare premium adjustments associated with Part B or Part D.
Medigap premiums are specifically excluded. A Medigap payment from an HSA is a non-qualified distribution, even though the 20% additional tax no longer applies after 65.
In 2026, the standard Part B premium is $202.90 per month, or $2,434.80 for 12 months. People with higher modified adjusted gross income pay more. If Social Security deducts the premium from monthly benefits, the HSA can reimburse the eligible amount when the transaction is documented.
There is also a special age detail: if the account owner is under 65, a spouse’s Medicare premiums generally do not become qualified merely because the spouse is over 65. See which Medicare premiums an HSA can pay for the full table, examples, and recordkeeping steps.
Non-Medical Withdrawals After 65
An HSA is not restricted to medical spending after 65, but the tax treatment depends on the use.
Before 65, a non-qualified distribution is generally taxable and subject to an additional 20% federal tax. After 65, ordinary income tax remains, but the additional 20% tax disappears.
For a $12,000 non-medical withdrawal:
- At 64, the additional federal tax alone can be $2,400, plus ordinary income tax.
- At 65 or later, there is no $2,400 additional tax, but the $12,000 is still included in income.
- If the distribution reimburses $12,000 of documented qualified expenses, it can be federal tax-free.
A large taxable withdrawal may affect the taxation of Social Security or future income-related Medicare premiums. Evaluate the full income effect rather than focusing only on the removed 20% tax.
Unused HSA Money, Investments, and RMDs
HSA money does not expire and is not subject to required minimum distributions. You may leave funds invested throughout retirement.
Some owners pay current medical costs from other cash and preserve receipts for later HSA reimbursement. Federal rules generally permit delayed reimbursement when the expense occurred after the HSA was established, was not reimbursed elsewhere, was not deducted, and can be substantiated.
Investment decisions should reflect when the money may be needed. Funds earmarked for next year’s premiums have a different time horizon from money reserved for long-term care years later. Provider fees and available investments also differ. Use the HSA investment strategy guide to separate near-term healthcare cash from longer-term assets.
At death, a surviving spouse named as beneficiary can generally continue the account as an HSA. A non-spouse beneficiary generally recognizes the date-of-death value as income because the account ceases to be an HSA. There is also no direct HSA-to-Roth IRA conversion. These issues are explained in what happens to unused HSA money after 65.
Moving an HSA to Another Provider
Medicare enrollment does not prevent you from moving an existing HSA.
A direct trustee-to-trustee transfer moves assets between HSA custodians without sending the money to you. It is not treated as a rollover, has no one-per-12-month rollover limit, and does not count toward the annual contribution ceiling.
With a 60-day rollover, the distribution is paid to you and must be deposited into another HSA within 60 days. Generally only one such HSA rollover is allowed during a one-year period. Missing the deadline can turn the amount into a taxable distribution.
Compare those mechanics in HSA rollover versus trustee-to-trustee transfer rules.
HSA Versus FSA and Other Accounts
An HSA is individually owned, portable, and capable of carrying balances indefinitely. An FSA is employer-sponsored and generally operates under plan-year spending rules. The accounts also have different eligibility, contribution, and rollover provisions.
If you are selecting workplace benefits before retirement, review the differences between an HSA and an FSA rather than assuming both provide the same long-term asset.
An HSA is also not an IRA. There is no HSA required minimum distribution and no direct HSA-to-Roth conversion. The tax-free treatment is tied to qualified medical expenses, not to Roth distribution rules.
Federal and State Tax Differences
Most of this guide describes federal law. California does not conform to the federal HSA provisions. It does not allow the federal HSA deduction and taxes interest and other HSA earnings for state purposes. New Jersey’s gross income tax also does not mirror federal adjusted gross income and has historically differed from federal HSA treatment.
Residents of California and New Jersey may need separate basis and earnings records. Moving into or out of one of these states adds another timing issue. Seek state-specific advice rather than assuming Form 8889 resolves the state return.
A Practical HSA and Medicare Checklist
Six to twelve months before Medicare or Social Security application
- Confirm whether you are already receiving Social Security and may be automatically enrolled.
- Ask the employer plan how it coordinates with Medicare.
- Verify that coverage is genuinely HSA-eligible.
- Review total employee and employer contributions for the year.
- Plan for possible retroactive Part A coverage.
When Medicare coverage is established
- Obtain the official Part A entitlement date.
- Recalculate the annual HSA limit by eligible month.
- Stop payroll and employer deposits.
- Correct excess contributions promptly if necessary.
- Preserve Medicare and Social Security notices.
After Medicare begins
- Keep the HSA open if its fees and options remain suitable.
- Use it for qualified expenses and eligible premiums.
- Exclude Medigap premiums from tax-free HSA reimbursements.
- Keep receipts and avoid duplicate reimbursement.
- Review investments and beneficiary designations.
- Track state basis where federal and state law differ.
An HSA can remain valuable after 65, but the value comes from separating three questions: whether you may contribute, whether a withdrawal is qualified, and whether your state follows the federal result.
Frequently Asked Questions
Can I keep my HSA after age 65?
Yes. Age and Medicare enrollment do not take away the balance. You may keep the account and use it for qualified expenses.
Can I contribute after 65 if I am still working?
Yes, if you remain covered by an HSA-eligible plan, have no disqualifying coverage, and are not entitled to Medicare. Work status alone is not enough.
Does Medicare Part A stop HSA contributions?
Yes. The monthly limit becomes zero when Part A entitlement begins, including any retroactive coverage months.
Must I stop contributions exactly six months before turning 65?
Not necessarily. The six-month issue usually applies when someone enrolls in Medicare after 65 and Part A is backdated. The safest stop date depends on the intended application date and actual entitlement date.
Can employer contributions continue after Medicare enrollment?
No. Employer deposits count toward the same HSA limit. They can create an excess contribution for Medicare-covered months.
Can I use my HSA for Medicare premiums?
Generally yes for Part A, Part B, Part D, and Medicare Advantage premiums after the account owner reaches 65. Medigap premiums do not qualify.
Are non-medical HSA withdrawals tax-free after 65?
No. They are generally ordinary taxable income. Only the additional 20% federal tax is removed.
Does an HSA have required minimum distributions?
No. You can retain the balance for future expenses throughout life.
Can I transfer my HSA after enrolling in Medicare?
Yes. A direct transfer or valid HSA rollover does not require current contribution eligibility.
Primary Sources
- IRS Publication 969
- Internal Revenue Code Section 223
- IRS Revenue Procedure 2025-19: 2026 HSA and HDHP limits
- Social Security Administration: When to sign up for Medicare
- CMS: 2026 Medicare Parts A and B premiums and deductibles
- IRS Form 8889 and instructions
This page provides general tax and Medicare information. It is not personalized tax, financial, legal, or medical advice. Confirm enrollment dates with Social Security and use a qualified tax professional for excess contributions, large distributions, or state-specific reporting.