Life Money USA
HSA-as-retirement

Max HSA Before Extra 401(k): $8,750 Triple-Tax Math

Once you have captured the full employer 401(k) match, the next dollar should go into your HSA — not extra pre-tax 401(k) — up to the 2026 family cap of $8,750 (IRC §223(b)). The HSA is the only account in the code that is untaxed three ways: the contribution is deductible, the growth is tax-free, and qualified withdrawals are tax-free. A pre-tax 401(k) only gets you two of those — withdrawals are taxed as ordinary income. And a payroll HSA contribution also skips the 7.65% FICA your 401(k) deferral does not.

Sarah Mitchell, CFP®, AEP®
Estate Planning Specialist
Updated May 29, 2026
11 min
2026 verified
Share

The decision, resolved with numbers

Meet Marcus and Dana, married filing jointly in Atlanta, Georgia, with a household income of $215,000. Marcus contributes 6% to his 401(k) and his employer matches 50% of the first 6% — he is capturing the full match. They have roughly $9,000 of spare cash this year and one question: does it go into extra pre-tax 401(k) (they are nowhere near the $24,500 employee limit) or into their family HSA?

The answer is the HSA, up to the 2026 family limit of $8,750 (IRC §223(b)). The remaining ~$250 can go to the 401(k). Here is why the HSA wins, dollar for dollar, before extra 401(k) money:

  • Both accounts deduct the contribution from income tax this year. Tie.
  • Both grow tax-deferred. Tie.
  • The 401(k) is taxed on withdrawal as ordinary income. The HSA is tax-free on withdrawal for qualified medical expenses. HSA wins.
  • An HSA contributed through payroll also escapes the 7.65% FICA tax. A 401(k) deferral never does. HSA wins again.

That is two structural advantages the HSA has over the next 401(k) dollar — tax-free withdrawals and a FICA dodge. Marcus and Dana are in the 24% federal bracket for 2026 (MFJ: $206,701–$394,600). At Georgia’s flat 5.39% on top, the deduction alone is worth real money before the withdrawal math even starts.

What “triple tax advantage” actually means

The HSA, created under IRC §223, is the only account in the federal code that is untaxed at all three stages:

  1. Contributions are deductible. An HSA contribution is an above-the-line adjustment to gross income — it lowers your AGI whether you itemize or not.
  2. Growth is tax-free. Interest, dividends, and capital gains inside the HSA are never taxed while they compound.
  3. Qualified withdrawals are tax-free. Money pulled out for qualified medical expenses comes out completely untaxed under §223(f).

Compare that to the two other tax-advantaged accounts most savers use. A pre-tax 401(k) or traditional IRA deducts going in and grows tax-deferred, but every dollar is taxed as ordinary income on the way out — it gets two of three. A Roth 401(k) or Roth IRA grows and withdraws tax-free, but you fund it with after-tax dollars — it also gets two of three. The HSA is the only account that gets all three. That is the whole argument in one sentence.

The FICA dodge nobody talks about

Here is the advantage most order-of-funding articles miss entirely. When you contribute to an HSA through your employer’s payroll under a Section 125 cafeteria plan, those dollars are excluded from wages for both income tax and FICA — the 6.2% Social Security tax (on wages up to the 2026 wage base of $181,800) plus the 1.45% Medicare tax, for a combined 7.65%.

A 401(k) deferral does not do this. Your 401(k) contribution is excluded from income tax, but FICA is still withheld on it. So is a Roth 401(k) contribution. The HSA payroll route is the only retirement-style contribution that legally escapes Social Security and Medicare tax.

$8,750 contributionExtra pre-tax 401(k)Payroll HSA
Federal income tax saved (24%)$2,100$2,100
Georgia state tax saved (5.39%)$472$472
FICA saved (7.65%)$0$669
Tax on qualified withdrawalOrdinary income$0
First-year tax break$2,572$3,241

On Marcus and Dana’s $8,750, the payroll HSA delivers about $669 more in first-year tax savings than the identical dollars routed to extra 401(k) — purely from the FICA exclusion. And that is before the withdrawal-side advantage compounds for three decades. (The Social Security portion is only excluded on wages under the $181,800 wage base; the 1.45% Medicare portion has no cap.)

The 30-year compounding edge

The first-year break is the small win. The big win is what happens when an HSA compounds untouched for 30 years. Assume Marcus and Dana max the family HSA at $8,750 a year (we will hold the limit flat to be conservative; it actually rises with inflation) and earn a 7% annual return inside the account.

YearCumulative contributionsHSA balance at 7%
10$87,500$121,000
20$175,000$359,000
30$262,500$826,000

At year 30 the account holds roughly $826,000, of which about $564,000 is investment growth that was never taxed (the other $262,500 is the cumulative contributions). If that money is spent on qualified medical care — which a retired couple will easily incur — none of it is taxed. The identical balance in a pre-tax 401(k) would owe ordinary income tax on every dollar withdrawn. At a modest 22% retirement bracket, that is roughly $182,000 of tax the HSA never pays. That gap is the triple tax advantage made concrete.

What most people miss: pay out of pocket, hoard the receipts

The instinct is to use the HSA as a checking account — swipe the HSA debit card every time you hit the pharmacy. That is the wrong move for anyone who can afford to pay current medical bills from cash flow. Here is the lever almost nobody pulls:

  • Pay this year’s medical bills out of pocket from your regular checking account.
  • Save every receipt — scan it, store it in a folder or a spreadsheet.
  • Let the HSA balance stay invested and untouched, compounding tax-free.
  • Reimburse yourself any time in the future — there is no deadline. A qualified expense you paid in 2026 can justify a tax-free HSA withdrawal in 2056 (IRS Notice 2004-50).

That decades-long reimbursement window converts the HSA into a stealth retirement account. You build a stack of unreimbursed receipts that act like withdrawal coupons you can redeem tax-free whenever you want the cash. And unlike a 401(k) or traditional IRA, an HSA has no required minimum distributions during the owner’s lifetime — it can keep compounding past age 73 or 75 with no forced drawdown.

The myth: “I’ll lose it if I don’t spend it”

People confuse the HSA with the FSA. A health FSA is use-it-or-lose-it — the $3,300 you set aside in 2026 largely vanishes if unspent by year-end. An HSA is the opposite: it is yours forever, it rolls over indefinitely, and it travels with you when you change jobs because it is your account, not your employer’s.

The other half of the myth is “what if I’m healthy and never have big bills?” After age 65, you can withdraw HSA money for any reason with no 20% penalty — you simply pay ordinary income tax on non-medical withdrawals, exactly like a traditional 401(k) (IRC §223(f)(4)). So the floor case is that your HSA behaves like a regular pre-tax retirement account. The realistic case is far better: Fidelity estimates a 65-year-old couple retiring today will face well over $300,000 in lifetime out-of-pocket medical and drug costs — more than enough qualified spending to drain a large HSA tax-free.

The order of funding, in plain steps

For a household that is eligible (covered by an HDHP, not enrolled in Medicare, not claimed as a dependent), the priority sequence is:

  1. 401(k) up to the full employer match. This is an instant 50–100% return. Never skip it — the match beats everything, including the HSA.
  2. HSA to the max. $8,750 family / $4,400 self-only for 2026, plus a $1,000 catch-up per spouse age 55+ (held in that spouse’s own account). Use payroll if your employer offers it to capture the FICA break.
  3. Back to the 401(k) up to the $24,500 employee deferral limit for 2026 (IRC §402(g)), or a Roth IRA if you prefer tax-free withdrawals and qualify.
  4. Mega backdoor Roth or taxable brokerage for anything beyond that.

The reason the HSA jumps the line ahead of extra 401(k) — but not the match — is the structural math above: the HSA matches the 401(k)’s deduction, then adds tax-free withdrawals and the payroll FICA dodge. The match is free money; that always comes first. After the match, the HSA is the best dollar in your budget.

Eligibility and the traps that disqualify you

You can only contribute to an HSA if you meet the §223 rules, and a few common situations quietly break eligibility:

  • You must be covered by a qualifying HDHP and have no other disqualifying coverage (a general-purpose FSA, including a spouse’s, disqualifies you).
  • Medicare enrollment ends HSA contributions. Once you enroll in any part of Medicare — including Part A, which is automatic when you claim Social Security at 65 — you can no longer contribute. Plan the timing if you work past 65.
  • The $1,000 catch-up is per-person. Two spouses 55+ cannot stack both catch-ups in one account; each spouse’s catch-up must go in an HSA owned by that spouse.
  • You cannot be claimed as a dependent on someone else’s return.

The decision lever

If you have already captured your full employer match and have spare cash, route the next dollars to your HSA up to $8,750 (family) or $4,400 (self-only) for 2026 — through payroll if you can — before adding to your 401(k) beyond the match. You get the same up-front deduction as the 401(k), plus tax-free growth, plus tax-free withdrawals, plus a 7.65% FICA break the 401(k) can never offer. Then pay your current medical bills out of pocket, file the receipts, and let the account compound into a six-figure, tax-free medical war chest. The lever is simply where you point the next $8,750 — and the code rewards pointing it at the HSA.

Join the 2026 tax newsletter

Decision checklists + key 2026 federal/state numbers. Free, one click.

Found this useful? Share it.
Share

Frequently asked

Yes, for the dollars above the match. Extra pre-tax 401(k) is taxed on the way out as ordinary income; an HSA is tax-free on the way out for qualified medical costs (IRC §223). Both deduct going in, but the HSA adds tax-free withdrawals and a payroll FICA dodge the 401(k) lacks. Always grab the full match before either.

Before the cap, a family with HDHP coverage can contribute $8,750 in 2026 ($4,400 self-only). Each spouse age 55+ can add a $1,000 catch-up, but the catch-up must go in that spouse's own HSA — so two 55+ spouses can reach $10,750 only by funding two separate accounts (IRC §223(b)).

Only if you contribute through payroll under a Section 125 cafeteria plan. Those dollars escape the 7.65% FICA (6.2% Social Security up to the $181,800 wage base + 1.45% Medicare). On $8,750 that is about $669 saved. Extra 401(k) deferral never dodges FICA — that is the edge before you even count withdrawals.

Run the math: a maxed $8,750/year family HSA invested at 7% grows to roughly $826,000 over 30 years — all untaxed if spent on qualified care. The same money in extra pre-tax 401(k) gets taxed at withdrawal; at a 22% retirement rate that is about $182,000 of tax the HSA never pays (IRC §223).

Yes, after the match and before extra 401(k). The smart move is to pay current medical bills out of pocket, save the receipts, and let the HSA compound untouched for decades. There is no deadline to reimburse yourself — a receipt from 2026 can fund a tax-free withdrawal in 2056 (IRS Notice 2004-50), with no lifetime RMDs.

Yes, once your balance clears the custodian's cash threshold (often $1,000–$2,000), invest the rest before you need it. Most HSA providers offer low-cost index funds identical to a 401(k) menu. If your employer's HSA has weak options or high fees, you can transfer to a self-directed HSA while still contributing through payroll for the FICA break.

After age 65 you can withdraw for any purpose with no penalty — you just pay ordinary income tax, exactly like extra 401(k) money (IRC §223(f)(4)). So the worst case is the HSA behaves like a regular pre-tax account. The average 65-year-old couple faces six-figure lifetime medical costs, so most of it gets spent tax-free anyway.

Free newsletter

Join the Life Money USA newsletter

Decision checklists, 2026 federal + state numbers, and our glossary. One click, free.

Join the newsletter