What if there was an account that gave you a tax deduction going in, tax-free growth, AND tax-free withdrawals? It exists. It's called a Health Savings Account (HSA), and financial experts call it the best account in the tax code.

The Triple Tax Advantage

1

Tax-Deductible

Contributions reduce your taxable income—like a 401(k)

2

Tax-Free Growth

Investments grow without any taxes on gains or dividends

3

Tax-Free Withdrawals

Use it for medical expenses tax-free at any age

No Other Account Does This

Account TypeTax-DeductibleTax-Free GrowthTax-Free Withdrawal
HSA✓✓✓
Traditional 401(k)/IRA✓✓✗
Roth 401(k)/IRA✗✓✓
Taxable Brokerage✗✗✗

Who Can Open an HSA?

You Must Have a High-Deductible Health Plan (HDHP)

For 2026, your health plan must meet these minimums. Starting in 2026, bronze and catastrophic marketplace plans also qualify.

Individual Coverage

  • Minimum deductible: $1,700
  • Maximum out-of-pocket: $8,500

Family Coverage

  • Minimum deductible: $3,400
  • Maximum out-of-pocket: $17,000

✓ You CAN Have an HSA If:

  • •You have HDHP coverage
  • •You're not enrolled in Medicare
  • •You're not claimed as a dependent
  • •You don't have other non-HDHP coverage

✗ You CANNOT Have an HSA If:

  • •You're enrolled in Medicare (any part)
  • •You have a general-purpose FSA
  • •You're covered by spouse's non-HDHP plan
  • •You're claimed as a dependent on someone's taxes

2026 Contribution Limits

Individual Coverage
$4,400
Self-only HDHP coverage
Family Coverage
$8,750
Family HDHP coverage

Catch-Up Contributions (Age 55+)

If you're 55 or older, you can contribute an additional $1,000 per year.

Individual (55+):$5,400
Family (55+):$9,750

The Secret Strategy: Invest Your HSA

The Stealth IRA Strategy

Most people use their HSA like a checking account—paying medical bills as they come. But the real power is treating it as a long-term investment account:

  1. 1.Max out HSA contributions every year
  2. 2.Invest in low-cost index funds (not cash)
  3. 3.Pay medical expenses out of pocket now
  4. 4.Save receipts for decades
  5. 5.Reimburse yourself tax-free anytime—even 30 years later

The Math: HSA as Retirement Account

If you max out family HSA for 25 years and invest in index funds:

Total Contributed
$213,750
At 7% Return
$577,000
Tax Savings
$140,000+

At 24% bracket, you save $2,052 in taxes per year just on contributions, plus all gains are tax-free forever.

Important: After Age 65

After 65, you can withdraw HSA funds for any purpose (not just medical) without penalty—you just pay income tax like a traditional IRA. For medical expenses, it's still 100% tax-free. This makes the HSA incredibly flexible in retirement.

How an HSA withdrawal is taxed
  1. Qualified medical expenses

    Doctor visits, prescriptions, dental, vision

    Any age

    None

    Tax-free going in, while invested, and coming out

    Tax-free
  2. Reimbursing yourself for past bills

    With the receipts saved

    Years later, at any age

    None

    The account keeps growing until you reimburse

    Tax-free
  3. Anything else

    Non-medical spending

    65 or older

    Ordinary income tax

    No penalty; taxed like a traditional IRA

    Income tax
  4. Anything else

    Non-medical spending

    Before 65

    Income tax plus a 20% penalty

    IRS Publication 969

    Penalty

Keep receipts and let the account grow: medical costs can come out tax-free whenever you choose, and after 65 the rest works like a traditional IRA.

How Does Medicare Affect Your HSA?

Medicare ends your right to contribute but not your right to spend. From the first month you are enrolled in any part of Medicare, Part A included, your HSA contribution limit is zero (IRS Publication 969). The money already in the account stays yours, keeps growing tax-free, and can still pay qualified medical expenses tax-free for the rest of your life, including many Medicare premiums.

This matters most to people who keep working past 65 with an employer high-deductible plan. Turning 65 does not by itself end eligibility. Enrolling in Medicare does. If you are covered by a large employer's plan, you can usually delay Medicare without a late-enrollment penalty and keep contributing, including the $1,000 catch-up, until you enroll.

Is it worth delaying Medicare to keep contributing?

Sometimes, but ask your employer first. If you or your spouse are still working with employer coverage, you may be able to wait to sign up for Medicare without a late-enrollment penalty. When the job or the coverage ends, you have an eight-month Special Enrollment Period to sign up (Medicare.gov). Whether you must enroll at 65 depends on the employer plan, so ask the benefits office whether the plan requires Medicare to pay first. COBRA does not extend the Special Enrollment Period, so do not wait for COBRA to run out before signing up for Part B.

The gain from delaying is real but modest. At 2026 limits, a family HDHP with the catch-up allows $9,750 a year. In the 24% bracket, that saves about $2,340 of federal income tax, plus payroll tax on contributions made through a cafeteria plan, and the money can grow tax-free. Weigh that against your employer plan's deductible and network compared with Medicare plus a supplement. For many people at 65, keeping a good employer plan for a few more years and contributing to the HSA is the better choice. For others, Medicare is simply better coverage, and the HSA tax break is not worth staying on the employer plan.

Why stop contributing six months before you enroll?

Because premium-free Part A is backdated. If you sign up for Part A after your initial enrollment period, or apply for Social Security retirement benefits after 65, your Part A coverage starts up to six months before the month you apply, but no earlier than the month you turned 65 (Medicare.gov). Any HSA contribution made for those backdated months becomes an excess contribution. Medicare's own advice is that you and your employer stop contributing six months before you retire or apply for Social Security (Medicare.gov).

Social Security is the trap people miss. Claiming retirement benefits at 65 or later enrolls you in Part A, with the same backdating, whether or not you intended to join Medicare. If you want to keep contributing to an HSA while working, you generally have to delay both Medicare and Social Security. Our guide to when to claim Social Security covers the rest of that trade-off.

Example: Carol, 66, still working

Carol is a hypothetical 66-year-old executive with family HDHP coverage through her employer. She plans to retire at the end of June 2026 and apply for Medicare and Social Security in July.

  • Her Part A coverage will be backdated six months, to January 2026.
  • She is therefore enrolled in Medicare for every month of 2026, and her 2026 HSA limit is zero, not $9,750.
  • Her last contributions should have been for 2025. She should stop payroll contributions, and ask her employer to stop its contributions, from January 2026.
  • If money has already gone in for 2026, she withdraws the excess and its earnings before her tax-filing deadline, including extensions, to avoid the 6% excise tax that applies each year an excess stays in the account.

In a year when you are eligible for only part of the year, the limit is generally prorated by month: one-twelfth of the annual limit, and of the catch-up, for each month you were eligible on the first day of the month.

If your spouse is younger and not on Medicare, your family can often keep contributing. Your spouse can contribute to their own HSA if they are covered by a high-deductible plan and otherwise eligible, and the $1,000 catch-up belongs to each spouse's own account. Your Medicare enrollment does not disqualify them. Check the details with the plan administrator, since family coverage and spousal accounts interact in ways Publication 969 spells out.

Which Medicare costs can your HSA pay?

Once you are 65, the HSA can reimburse most Medicare premiums tax-free, but not Medigap. Publication 969 allows premiums for "Medicare and other health care coverage if you were 65 or older," and specifically excludes "premiums for a Medicare supplemental policy, such as Medigap."

Paying Medicare costs from an HSA, account holder 65 or older (IRS Publication 969)
CostTax-free from the HSA?
Part B premiums, including any income-related surchargeYes
Part D drug plan premiumsYes
Medicare Advantage (Part C) premiumsYes
Part A premiums, if you pay themYes
Your share of employer retiree health coverageYes
Deductibles, copays and coinsuranceYes
Medigap (Medicare supplement) premiumsNo
A spouse's Medicare premiums while you are under 65Generally no

Premiums deducted from a Social Security check count too: you can reimburse yourself from the HSA for Part B premiums withheld from your benefit, as long as you keep the records. With the 2026 standard Part B premium at $202.90 a month (CMS, 2026), a married couple both on Part B pays about $4,870 a year before any surcharge, so an HSA of $80,000 to $150,000 can cover premiums for many years. Spending it that way also keeps the withdrawals out of taxable income. That matters because a larger IRA withdrawal to pay the same premiums can raise the income that sets your future Medicare surcharges. Our Medicare enrollment and IRMAA guide explains those surcharges.

Leave the HSA to a spouse, not the kids

A spouse named as beneficiary treats the HSA as their own, with the same tax-free medical use. Any other beneficiary must include the whole account in taxable income in the year you die (Publication 969). For a large balance, the practical plan is to spend the HSA on medical costs and Medicare premiums in your 70s and 80s and let IRAs or taxable accounts carry the legacy.

What Qualifies as Medical Expenses

✓ HSA-Eligible Expenses

  • •Doctor visits and copays
  • •Prescription medications
  • •Dental care (cleanings, fillings, braces)
  • •Vision care (glasses, contacts, LASIK)
  • •Mental health therapy
  • •Chiropractor visits
  • •Medical equipment
  • •Sunscreen (SPF 15+)
  • •First aid supplies
  • •Menstrual products
  • •OTC medications (post-2020)

✗ NOT HSA-Eligible

  • •Health insurance premiums (usually)
  • •Cosmetic surgery/procedures
  • •Gym memberships
  • •Vitamins/supplements (without prescription)
  • •Teeth whitening
  • •Weight loss programs (unless prescribed)
  • •Personal care items

Exception: COBRA premiums, Medicare premiums from age 65 (but not Medigap), and long-term care insurance premiums up to IRS age-based limits ARE eligible.

HSA vs FSA: Key Differences

FeatureHSAFSA
Requires HDHP?YesNo
Funds roll over?Yes, foreverLimited ($640)
Portable?Yes, it's yoursNo, employer owns
Can invest?YesNo
2026 Limit$4,400 / $8,750$3,400
Who owns it?YouEmployer

Bottom line: If you have access to an HSA-eligible HDHP, the HSA is almost always the better choice.

Best HSA Providers

Fidelity

No fees, no minimum to invest

Access to all Fidelity funds, no monthly fees, debit card included

Lively

Best for self-directed investing

Invest through a linked Charles Schwab brokerage account; no Lively investing fee on balances above $3,000

HealthEquity

Largest HSA provider

Wide investment options, robust app, often provided by employers

Pro Tip: Transfer from Bad Providers

If your employer uses a high-fee HSA provider, you can often do a trustee-to-trustee transfer once per year to a better provider like Fidelity. Your employer's contributions go to their provider, then you transfer to your own.

Key Takeaways

  • ✓HSAs are the only triple tax-advantaged account: deductible, tax-free growth, tax-free withdrawals
  • ✓You need an HDHP to contribute, but the account is yours forever
  • ✓2026 limits: $4,400 individual / $8,750 family (+$1,000 if 55+)
  • ✓Invest your HSA for long-term growth—don't just use it as a checking account
  • ✓Save receipts! You can reimburse yourself for old expenses anytime
  • ✓After 65, it works like a traditional IRA for non-medical expenses
  • ✓Stop contributing six months before you apply for Medicare or Social Security; the HSA can then pay Medicare premiums, but not Medigap

Plan Your Savings Strategy

See how maximizing your HSA fits into your overall financial plan.

Explore Calculators →

Related Articles