You opened your 401(k) enrollment page, saw boxes for contribution percentages, and then froze. Should the money go there? Into a Roth IRA you keep reading about? What about that HSA your benefits packet mentioned? Every dollar feels like it could be in the wrong place, so a lot of people do nothing, or dump everything into one account and hope it works out. The good news: there's a well-worn order of operations for retirement savings that personal-finance pros have used for years. It's a priority ladder. You fund the first rung until it's full, then move to the next. This article gives you that ladder, with real dollar math, so you know exactly where your next paycheck's savings should go.

Why the Order Matters More Than the Amount

Here's the thing most beginners get backward: where you save early on matters more than how much. Two people can each save $400 a month and end up tens of thousands of dollars apart over a career, purely because one of them captured free money and tax breaks the other left on the table. The accounts aren't interchangeable. A 401(k) match is an instant, guaranteed return you can't get anywhere else. An HSA has a tax advantage no other account can match. A Roth IRA gives you flexibility and tax-free growth. Stacking them in the right sequence is the whole game.

This is also why "just max out your 401(k)" is bad advice for most beginners. Maxing a 401(k) means contributing the full IRS annual limit, which is over $23,000 a year for employee contributions (the IRS adjusts this number annually). If you can't get there, you want the dollars you can save working as hard as possible. That means a deliberate retirement savings priority order, not a guess.

The Order of Operations for Retirement Savings: The Full Ladder

Below is the priority ladder in plain steps. The rule is simple: fill each rung before moving up. If you run out of money partway up the ladder, that's fine, you've still put every dollar in its highest-value home.

Step 1: Grab the 401(k) Match Before Anything Else

If your employer offers a 401(k) match, that is the first and most important rung. A common formula is "100% of the first 3% you contribute, then 50% of the next 2%." Translated: if you put in 5% of your pay, your employer adds 4%. That's a 4% raise that only shows up if you contribute. Skip it and you're declining part of your salary.

Let's make it concrete. Say you earn $60,000. Under that formula, contributing 5% means you put in $3,000 over the year. Your employer adds $2,400. You spent $3,000 and instantly have $5,400 working for you. That is an 80% return before the market does anything. No investment on earth reliably pays that. This is why getting the 401(k) match before Roth IRA contributions is non-negotiable, even if you carry some debt.

Whether to chase the match while paying down a 22% credit card is the one genuinely close call (more on that in Step 2), but for the vast majority of people, capture the match first. If you're fuzzy on how matching formulas work, read how does a 401(k) match work before you set your contribution rate.

Step 2: Build a Cushion and Crush High-Interest Debt

Before you climb higher, lay a foundation. Two things sit on this rung: a small starter emergency fund and any high-interest debt. They come before extra retirement saving for one reason: math and survival. A $1,000 to $2,000 starter cushion keeps a flat tire or an ER visit from becoming a new credit card balance. You don't need a full six-month fund yet, just enough to absorb a small shock. To size your eventual full fund, calculate your emergency fund target.

Now the debt. If you're carrying a credit card at 22% APR, paying it off is a guaranteed, tax-free 22% return. No retirement account beats that. So after you've captured the match (Step 1), throw everything at debt above roughly 8%. The order between debt and saving gets nuanced, and we cover it in emergency fund or pay off debt first. Lower-rate debt, like a 5% car loan or a mortgage, doesn't need to jump the line; you can invest alongside it.

Worked example: you have a $4,000 credit card balance at 22% and you're deciding between paying it off or putting that money in a Roth IRA you hope earns 8%. The card is costing you about $880 a year in interest. A Roth earning 8% on $4,000 makes about $320 in a year, and that's not guaranteed. Paying the card is the obvious win. Clear the high-rate debt first, then resume the ladder.

Step 3: The HSA, the Account Almost Nobody Maxes

If you're enrolled in a qualifying high-deductible health plan, you can use a Health Savings Account, and it's quietly the best deal in the tax code. It's the only account with a triple tax advantage: contributions reduce your taxable income, the money grows tax-free, and withdrawals for qualified medical expenses are tax-free too. A traditional 401(k) and a Roth IRA each give you two of those three. The HSA gives you all three.

The move that turns an HSA into a retirement account: don't spend it. If you can pay current medical bills out of pocket and let the HSA balance invest and grow, you build a stealth retirement fund. After age 65, you can withdraw HSA money for any reason and just pay ordinary income tax on it, exactly like a traditional IRA, while medical withdrawals stay tax-free forever. The IRS sets annual HSA contribution limits and updates them each year; check the current figures at the IRS retirement and savings plan pages.

Step 4: The Roth IRA, Your Flexible Tax-Free Bucket

After the HSA, fund a Roth IRA up to the IRS annual limit, which is in the neighborhood of $7,000 for those under 50 (the IRS adjusts it; confirm the current number). You pay tax on the money now, then it grows and comes out completely tax-free in retirement. For most beginners, especially anyone early in their career and likely to earn more later, that's a great trade.

Why does the Roth IRA beat going straight back to the 401(k) at this stage? Two reasons. First, control: in an IRA you pick low-cost index funds yourself instead of being stuck with whatever menu your 401(k) offers, and fees matter enormously over decades (see why a 1% expense ratio costs more than it looks). Second, flexibility: you can withdraw your Roth IRA contributions (not earnings) anytime without tax or penalty, which makes it a gentle backstop. If you're weighing Roth against traditional, Roth vs traditional IRA in your 20s breaks it down.

This is the heart of the should I max 401(k) or Roth IRA first question. The answer for most people: get the 401(k) match, then fully fund the Roth IRA, then come back and push the 401(k) toward its max. You're not choosing one account, you're sequencing both. We walk through running them together in contributing to a 401(k) and a Roth IRA.

401(k) vs. Roth IRA vs. HSA at a Glance

These three accounts do different jobs. Here's how they compare on the features that actually drive the order, so you can see why each sits where it does on the ladder.

Feature401(k) (traditional)Roth IRAHSA
Employer matchOften yesNoSometimes
Tax break going inYes (pre-tax)No (after-tax)Yes (pre-tax)
Tax-free growthNo (taxed at withdrawal)YesYes
Tax-free withdrawalsNoYes (in retirement)Yes (for medical)
You choose the investmentsLimited menuYes, full controlUsually yes
Annual limit (approx.)Over $23,000Around $7,000Lower; family vs single differ
Best for on the ladderMatch first, max lastMiddle priorityHighest tax value

Notice the HSA quietly wins on the tax rows, the Roth wins on control and flexibility, and the 401(k) wins on raw contribution room and the match. That's exactly why the ladder uses each one for what it's best at. Always confirm current contribution limits at the IRS retirement plans page, since they change most years.

A Full Paycheck Example: Where Sarah's Dollars Go

Let's run the whole ladder on one person. Sarah is 28, earns $65,000, and after taxes and her current spending she's found $700 a month, $8,400 a year, she can save. Her employer matches 100% of the first 4% she contributes. She has a $2,500 credit card balance at 21% and no real emergency fund. Here's where each dollar goes, in order.

  1. Step 1, the match. Sarah contributes 4% of $65,000, which is $2,600 a year (about $217/month). Her employer adds $2,600. She has now turned $2,600 into $5,200 instantly. Money left from her $8,400: about $5,800.
  2. Step 2, foundation. She parks $1,000 in a high-yield savings account as a starter cushion, then throws the next chunk at that 21% card. Clearing the $2,500 balance saves her roughly $525/year in interest. That uses about $3,500 of her remaining money. Left: roughly $2,300.
  3. Step 3, HSA. Sarah's on an HDHP, so she routes the remaining $2,300 into her HSA, pays this year's small medical bills out of pocket, and lets it invest. She gets a tax deduction now and tax-free growth.
  4. Step 4 and 5, next year. Once the card is gone, that $3,500 frees up. Next year she funds her Roth IRA, then starts bumping her 401(k) above 4% toward the limit.

The lesson: Sarah never had enough to max anything, and that's completely normal. She still put every single dollar on the highest available rung. That's what the order of operations for retirement savings is really for, deciding where to invest retirement money first when you can't do it all.

Why sequencing beats guessing

50-100%Instant return from a typical 401(k) matchEmployer match formulas
22%Guaranteed return from paying off a 22% cardTax-free, risk-free
3Tax advantages stacked in an HSADeduction, growth, withdrawal
100%Roth IRA contributions you can withdraw earlyContributions, not earnings

Common Mistakes That Break the Ladder

A few errors show up again and again, and each one quietly costs real money. Avoid these and you're ahead of most savers.

  • Skipping the match to pay off low-rate debt. Throwing extra at a 5% car loan instead of grabbing a 50% match is a bad trade. Get the match first, always.
  • Maxing the 401(k) before touching a Roth IRA or HSA. You give up the HSA's triple tax break and the Roth's flexibility. Climb the ladder in order.
  • Leaving the Roth IRA in cash. Opening the account isn't investing. You still have to buy funds inside it, see how to start investing in index funds with little money.
  • Spending the HSA on every CVS run. If you can afford to, pay medical bills out of pocket and let the HSA grow. That's where its power lives.
  • Setting it and forgetting the rate. Bump your 401(k) contribution by 1% with every raise. You won't feel it, and it compounds.

Put a Number on It

Abstract advice is easy to nod at and ignore. Numbers stick. Before you close this tab, model what your current savings rate actually grows into, and what one extra percent does over 30 years. The gap usually surprises people, and it's the best motivation there is to climb one more rung.

See what your savings rate becomes by retirement, and how much each extra contribution adds.

Open the retirement calculator

For the official rules behind every account on this ladder, contribution limits, eligibility, and the fine print, go straight to the source rather than a random blog. The IRS publishes the current numbers and updates them yearly, and Investor.gov is a solid, jargon-light primer on how the investments inside these accounts actually work.