HSA vs Roth vs taxable: the financial order of operations, minus the PEMDAS trauma
TL;DR: A common funding order is: (1) enough 401(k) to get the full employer match, (2) an HSA if eligible ($4,400 self-only or $8,750 family in 2026), (3) Roth or traditional IRA and more 401(k) depending on your bracket, and (4) a taxable account for extra savings and early-retirement flexibility. The right order shifts with high-interest debt, emergency savings and early-retirement timing.
Educational only, not tax, legal, or investment advice. Examples are illustrations, not predictions. Rules and limits change; verify current figures and talk to a qualified professional about your situation.
Remember PEMDAS? Parentheses, exponents, multiplication, division, and a lot of red ink from a math teacher. Personal finance has its own order of operations, and it's more forgiving: get things mostly in the right order and you'll do fine. Get them very out of order, like funding a taxable account while skipping a 100% employer match, and you're leaving free money on the table.
Here's a common order for 2026, why each step sits where it does, and when the order should be broken.
CPA Warning Label: Funding orders are rules of thumb, not law. An HSA helps only if you're HSA-eligible, and an early retiree may need a bigger taxable account sooner than the standard order suggests.
Match first
Contribute enough to your 401(k), 403(b) or similar plan to get the full employer match. A 50% or 100% match is an instant return no investment can promise. If the match vests over time, it's still usually worth taking; see match and vesting.
Before the match, many people also want: a starter emergency fund (a month or two of expenses) and a plan for paying down high-interest debt like credit cards. Paying off a 24% APR card is a guaranteed 24% return.
The HSA case
If you have an HSA-eligible high-deductible health plan, an HSA is often the next stop, because it's the only account with a triple tax benefit: deductible (or pre-tax through payroll, which also avoids FICA), tax-free growth, and tax-free withdrawals for qualified medical expenses.
| 2026 HSA item | Self-only | Family |
|---|---|---|
| Contribution limit | $4,400 | $8,750 |
| Catch-up (55+) | $1,000 | $1,000 |
| HDHP minimum deductible | $1,700 | $3,400 |
| HDHP out-of-pocket maximum | $8,500 | $17,000 |
Source: IRS Rev. Proc. 2025-19. Nonqualified withdrawals before 65 face income tax plus a 20% additional tax; after 65, they're taxed like a traditional IRA. Early retirees like the HSA because you can pay medical costs out of pocket now, save receipts, and reimburse yourself tax-free years later, which turns the HSA into flexible bridge money. See HSA investing.
Roth vs traditional
After the match and HSA, the next dollars usually go to an IRA and more 401(k). The Roth-or-traditional question depends mostly on your tax rate now versus later:
- Higher rate now (22%, 24% or more) and early retirement ahead: traditional often wins, because you can convert later in low-income years (the Roth ladder).
- Lower rate now (10% or 12%): Roth often wins.
- Need for flexibility: Roth IRA contributions can come out any time, tax- and penalty-free, which helps early retirees.
- Income limits: for 2026, direct Roth IRA contributions phase out at $153,000–$168,000 (single) and $242,000–$252,000 (married filing jointly). Above that, consider a backdoor Roth.
2026 limits: $7,500 IRA ($1,100 catch-up at 50+); $24,500 401(k) deferral ($8,000 catch-up; $11,250 at 60–63).
Taxable last (but not least)
A regular brokerage account has no tax break going in, but it has no age rules, no contribution limits and no income limits. Long-term gains and qualified dividends get lower rates. For early retirees, the taxable account is often the main bridge for the first five years of retirement, so "last" in order doesn't mean "least" in size.
Tax-efficient habits help: broad index funds or ETFs (low turnover), holding investments more than a year, and harvesting losses or gains in low-income years.
Illustration: a 2026 order for one household
Illustration (assumptions): Fran, 38, single, earns $110,000, has HSA-eligible self-only coverage, a 100% match on 4%, no debt, and an emergency fund. She can save $40,000 this year and wants to retire at 50.
- 401(k) to the match: 4% = $4,400 (plus $4,400 match).
- HSA: $4,400, invested; she pays current medical costs from cash and saves receipts.
- Roth IRA: $7,500 (her MAGI is below the single phase-out).
- More 401(k), pre-tax: $13,700 (taking her deferral to $18,100, below the $24,500 limit).
- Taxable: $10,000 for her bridge years.
Total: $40,000 of her money plus $4,400 of match. She's balancing tax savings now (pre-tax 401(k) at 22%), tax-free growth (Roth and HSA), and early-retirement access (Roth contributions, HSA receipts, taxable account).
Why the order works
Each step is ranked by how much value a dollar gets there. The match is an instant return of 50% to 100%. The HSA gets a deduction, FICA savings through payroll, tax-free growth and tax-free withdrawals for medical costs, a combination no other account has. IRAs and 401(k)s get one tax break, either now or later. A taxable account gets lower rates on long-term gains but no upfront break.
Flexibility runs roughly in the opposite direction, which is the tension early retirees feel. A taxable account is the most liquid; Roth contributions come next; HSA receipts work as a reimbursement bank; pre-tax accounts need a strategy like the Rule of 55, 72(t) or a conversion ladder. See Rule of 55 vs 72(t) for the access side.
Checking your own order each year
Limits, brackets and life change, so review your order once a year, ideally when new IRS limits come out in the fall:
- Did your employer change the match formula or vesting?
- Are you still HSA-eligible (for example, did you switch plans or enroll in Medicare)?
- Did your income cross a Roth IRA phase-out or a new bracket?
- Are you within five to seven years of early retirement, when the taxable bridge matters more?
- Have you paid off high-interest debt, freeing cash for investing?
Adjust payroll elections and automatic transfers after each review so the order runs on autopilot, then let the habit do the work.
Where the habit goes wrong
Lavish Larry’s order of operations is: new truck, a taxable account full of hot stock tips, and the 401(k) “someday.” He skips the match because the paycheck feels smaller, leaves his HSA sitting in cash he never invests, and wonders why his tax bill looks like a phone number. The fix isn’t heroic: turn on the match contribution, invest the HSA beyond a small cash cushion, and automate a monthly Roth IRA transfer. Habits beat hot tips, and a sensible order beats improvisation.
Exceptions
- High-interest debt: pay it before anything beyond the match.
- No emergency fund: build a few months of expenses before investing heavily.
- Retiring very soon: you might need more taxable or Roth money than tax optimization suggests.
- Not HSA-eligible: skip the HSA step; a low-deductible plan may be better for heavy medical users anyway.
- Expensive 401(k): go to the match, then IRA, then back to the 401(k). See the fee audit.
- Self-employed: a solo 401(k) or SEP may come before the IRA.
- Governmental 457(b) available: early-retirement access makes it attractive, sometimes ahead of more 401(k).
FAQ
What order should I fund my accounts in?
A common order is 401(k) to the employer match, then an HSA if eligible, then IRA and more 401(k) based on your bracket, then a taxable account.
Should I fund an HSA before a Roth IRA?
Often yes if you're HSA-eligible, because HSA contributions are deductible, grow tax-free, and come out tax-free for qualified medical expenses.
Is a taxable account ever better than a Roth?
For flexibility and early-retirement bridge needs it can be useful, but tax-advantaged space is usually filled first unless you'll need the money before 59½.
What are the 2026 HSA limits?
$4,400 for self-only coverage and $8,750 for family coverage, plus a $1,000 catch-up at age 55 or older.
Should I choose Roth or traditional?
It depends mainly on your tax rate now versus later. Higher current rates often favor traditional; lower current rates often favor Roth.
Sources & fact-check notes
- IRS Rev. Proc. 2025-19 (2026 HSA limits) (accessed 2026-10-25)
- IRS IR-2025-111: 2026 401(k) and IRA limits (accessed 2026-10-25)
- IRS Publication 969 (accessed 2026-10-25)
- IRS Notice 2025-67 (2026 retirement plan COLAs) (accessed 2026-10-25)
Figures checked October 25, 2026. Rules and limits change; verify with the official source before acting.