HSA After 65: Contribution Rules and Spending The Health Savings Account is the only savings vehicle in the U.S. tax code that delivers a triple tax...
HSA After 65: Contribution Rules and Spending
The Health Savings Account is the only savings vehicle in the U.S. tax code that delivers a triple tax advantage: contributions are pre-tax (or deductible), growth is tax-free, and withdrawals for qualified medical expenses are tax-free. For workers in their 50s and early 60s who can access an HSA through a high-deductible health plan, the strategy of maxing HSA contributions and allowing the account to grow—while paying current medical expenses out of pocket and saving the receipts—creates a tax-free healthcare endowment that can be deployed in retirement.
But the HSA rules change when a person turns 65 and becomes eligible for Medicare. Understanding exactly what changes, what doesn't, and the specific pitfalls that catch Medicare-enrolled HSA holders unprepared is essential planning for the years around Medicare enrollment.
WHAT CHANGES AT 65: THE CONTRIBUTION PROHIBITION
An individual who is enrolled in any part of Medicare—Part A, Part B, or Part D—cannot make further contributions to an HSA. The prohibition applies from the month of Medicare enrollment, not from a specific age.
This means:
If you enroll in Medicare at 65 exactly when you're first eligible: HSA contributions stop the month Medicare coverage begins. Any contributions made during months of Medicare coverage are excess contributions subject to income tax and a 6% excise penalty.
If you delay Medicare enrollment past 65 because you're covered by an employer's HDHP (high-deductible health plan) through active employment: HSA contributions can continue until Medicare enrollment, regardless of age.
If you enroll in Part A only and remain on an employer HDHP: Enrollment in Part A alone is enough to trigger the contribution prohibition. Many people don't realize that Part A enrollment—even without Part B—disqualifies them from HSA contributions.
Social Security and Medicare: Enrolling in Social Security at or after 65 automatically triggers Medicare Part A enrollment, even if the person didn't explicitly request Medicare. Someone who begins Social Security benefits at 65 or later is automatically enrolled in Part A and thus prohibited from further HSA contributions from the month Social Security begins.
6%
This means:
THE SIX-MONTH RETROACTIVE ENROLLMENT TRAP
Medicare Part A enrollment is retroactive up to six months when a person signs up for Medicare after age 65. If you enroll in Medicare at age 66 and three months, Medicare Part A coverage becomes effective six months prior—at age 65 and nine months.
The trap: if you made HSA contributions during those retroactively covered months (months 1–6 before your Medicare enrollment date), those contributions become excess contributions that must be corrected.
The correction: excess contributions must be withdrawn, along with any earnings attributable to the excess amount, before the tax filing deadline (including extensions) for the year the excess contribution was made. Withdrawn excess contributions are included in gross income; the 6% excise penalty is avoided if corrected timely.
To avoid this trap: stop HSA contributions six months before expected Medicare enrollment to ensure no contributions are made during the retroactive coverage period.
6%
THE SIX-MONTH RETROACTIVE ENROLLMENT TRA
WHAT DOESN'T CHANGE AT 65: SPENDING AND WITHDRAWAL RULES
The HSA's spending rules change favorably at age 65:
Before 65: HSA withdrawals for non-medical expenses are subject to ordinary income tax plus a 20% penalty.
At 65 and beyond: HSA withdrawals for non-medical expenses are subject to ordinary income tax—but no penalty. The 20% penalty disappears. The account effectively functions like a traditional IRA for non-medical expenses at 65.
This means the HSA's worst-case outcome (needing the money for non-medical purposes) becomes equivalent to a traditional IRA withdrawal at 65—taxable but no worse. The best case (using it for qualified medical expenses) remains tax-free. This asymmetry makes the HSA uniquely valuable: it can't do worse than a traditional IRA and can do much better.
WHAT QUALIFIES AS MEDICAL EXPENSES AFTER 65
HSA withdrawals are tax-free when used for any IRS-qualified medical expense—a broad category that includes, after 65, several expenses that younger HSA holders can't use HSA funds for:
Medicare premiums: After 65, HSA funds can pay:
- Medicare Part B premiums - Medicare Part D premiums - Medicare Advantage premiums - Employer-sponsored retiree health insurance premiums (if the retiree was enrolled in the employer plan before Medicare eligibility)
These premiums cannot be paid with HSA funds before age 65. This is one of the most valuable post-65 HSA spending categories—tax-free payment of Medicare premiums effectively makes those premiums deductible at the marginal income tax rate.
Long-term care insurance premiums: HSA funds can pay tax-qualified LTC insurance premiums up to age-based limits:
Ages 61–70 in 2024: $4,710 in HSA-eligible LTC premiums per year
Ages 71 and older: $5,880 in HSA-eligible LTC premiums per year
COBRA premiums: HSA funds can pay COBRA premiums for continued employer coverage during a gap before Medicare enrollment.
Comprehensive list of additional qualified expenses: dental care, vision care (glasses, contacts, eye exams), hearing aids, prescription medications, medical equipment, physical therapy, psychiatric care, and out-of-pocket costs under Medicare (deductibles, coinsurance, copays).
What HSA funds cannot pay even after 65: Medigap premiums (the only major Medicare-related premium specifically excluded from HSA-qualified expenses). Medigap premiums are not IRS-qualified medical expenses regardless of age.
THE REIMBURSEMENT STRATEGY: THE MOST UNDERUSED HSA TECHNIQUE
The IRS does not require that HSA reimbursements be taken in the year the medical expense is incurred—only that the expense was incurred after the HSA was established and while the individual was HSA-eligible. This creates a powerful strategy:
Pay current medical expenses out of pocket during working years. Save every receipt. Allow the HSA to grow invested. Years or decades later, submit those saved receipts for reimbursement from the HSA.
A worker who pays $3,000 per year in out-of-pocket medical expenses out of pocket from ages 50 to 65, saves all receipts, and allows the HSA to grow tax-free has accumulated $45,000 in reimbursable expenses. In retirement, those old receipts can be submitted for tax-free HSA withdrawals—converting decades of HSA growth into tax-free retirement income.
Requirements for this strategy to work:
- The expenses must have been incurred after the HSA account was established - The expenses must not have been previously reimbursed by the HSA or any other plan - Receipts and documentation must be retained (the IRS can audit HSA withdrawals; receipts are the documentation)
Digital receipt storage—scanning and storing in an organized folder or cloud storage—makes decades of receipt retention practical. The receipts don't need to be submitted to anyone on an ongoing basis; they sit until the reimbursement is taken.
HSA INVESTMENT STRATEGY FOR LONG-TERM GROWTH
The HSA is most valuable when treated as an investment account rather than a current-spending account. The strategy:
Keep two to four months of expected annual medical expenses in cash or money market within the HSA for potential current-year expenses.
Invest the remainder in a diversified low-cost index fund portfolio—typically similar to the retirement account investment strategy.
Allow growth to compound tax-free over the pre-retirement years.
In retirement, systematically reimburse historical expenses (or pay current Medicare premiums and medical costs) from the account.
The HSA managed this way functions as a dedicated healthcare endowment that earns tax-free returns on what would otherwise be healthcare spending—the most tax-efficient structure for funding a category of expense that is both predictable in aggregate and variable in timing.
For retirees entering Medicare with a fully funded HSA, the sequence is clear: use the HSA to pay Medicare Part B and Part D premiums (tax-free), pay additional out-of-pocket medical costs (tax-free), and reimburse historical receipts as needed for tax-free income flexibility. The HSA is typically the last account depleted in retirement—after Social Security, taxable accounts, and traditional IRAs—because its tax-free spending power makes every dollar in it more valuable than a dollar in a taxable account.
The HSA is most valuable when treated as an investment account rather than a current-spending account.
Continue Exploring
More in This Series
Medicare Parts Matrix
Medicare Part A/B/D/Medigap Matrix ==================================== Medicare is the federal health insurance program for Americans aged 65 and older and for people with certain disabilities....
Irmaa
IRMAA: Income-Related Medicare Surcharges ========================================== Most Medicare enrollees pay the standard Part B premium of $174.70 per month in 2024. Higher-income enrollees...
Ltc Insurance
LTC Insurance: Inflation Riders and Hybrid Products ===================================================== Long-term care insurance addresses the risk that aging adults will require sustained paid...