The Retirement Account Hierarchy: The Order That Builds Wealth
You have access to multiple retirement accounts. Most people fund them in the wrong order. Here is the sequence that actually builds wealth.
Priya is 34, a hospitalist, and by every measure she is doing the right things. She maxes her 403(b), the workplace retirement plan offered by hospitals, universities, and nonprofits, every year, never carries debt, and saves more than most of her peers ever will. What she does not know is that every month she is leaving money on the table. Not because she saves too little, but because she saves in the wrong order.
The hierarchy is not about how much you save. It is about where each dollar goes first, second, and third. Same total savings. Different outcome.
The Hierarchy Exists Because Not All Tax Advantages Are Equal
Most people treat retirement accounts as interchangeable. They are not. Each account has a distinct tax advantage, meaning a way the government lets you pay less tax on the money you save or grow. Some accounts deliver a guaranteed return before your money is invested. Some eliminate taxes on growth permanently. Some reduce your tax bill today. Some offer flexibility the others cannot match. Treating them as the same is like choosing between a scalpel and a butter knife based on whichever is closer. The tools are different, and so is the order you reach for them.
The sequence matters because these advantages expire. The match window closes every paycheck. HSA contribution limits reset every January. Roth space disappears on December 31st with no extensions and no exceptions. Without a map, most people default to whatever HR set up on day one. Default is not strategy. Default is expensive, especially once you understand how much tax friction quietly costs over a thirty-year career.
Step One: Capture the Full Employer Match
The employer match is not an investment strategy. It is a paycheck. If your employer matches 50% of contributions up to 6% of your salary and you contribute less than 6%, you are declining compensation you have already earned. There is no market risk, no timing, no strategy involved. A guaranteed return of 50% to 100% before your money is invested in a single asset does not exist anywhere else in personal finance.
Most high earners make one of two mistakes. They do not know the match formula, or they assume they are capturing it when they are not. Take James, a 36-year-old IT consultant who set his contribution at 3% when he was first hired and never revisited it. His employer matches dollar for dollar up to 6%. He is leaving half his match on the table every single paycheck. The fix takes five minutes. Find the formula, confirm the percentage, adjust if needed. Nothing else in the hierarchy matters until this step is done.
Step Two: The HSA, If You Have Access
The Health Savings Account, or HSA, is the most misunderstood account in finance, which is a remarkable distinction in a field full of misunderstood accounts. It is the only account with a triple tax advantage. Contributions reduce taxable income. Growth is tax-free, meaning the money grows without being taxed each year. Withdrawals for qualified medical expenses are also tax-free. The 401(k), the workplace retirement plan offered by most private companies, does the first two. The Roth does the last two. The HSA does all three at once, and no other account in the tax code can say the same.
The correct strategy is counterintuitive. Do not use it. Pay medical expenses out of pocket, let the HSA grow invested in broad index funds, and save every receipt. The IRS places no time limit on reimbursement, meaning a receipt from 2026 can fund a tax-free withdrawal in 2044. Twenty years of compounding on every dollar that would have been spent on medical bills, all of it eligible to come out tax-free decades later. After age 65, the HSA functions like a traditional retirement account for non-medical withdrawals. Most people treat it like a medical checking account and forfeit the growth advantage entirely. That mistake compounds quietly into a very large number.
Step Three: Roth Space, Backdoor or Otherwise
For most high earners, income eliminates direct Roth IRA contributions. The backdoor Roth is the legal workaround. Contribute to a non-deductible traditional IRA, then convert it to a Roth. Same result. Tax-free growth, tax-free withdrawals, and no required minimum distributions, meaning the amount the government forces you to withdraw from certain accounts starting at age 73 whether you need the income or not. The IRS has explicitly acknowledged the backdoor Roth as an intended feature of the tax code, not a loophole.
Roth space matters because it solves a problem most high earners do not see until it is too late. A career of pre-tax savings creates a retirement portfolio that is entirely taxable on withdrawal. Required minimum distributions at age 73 can force income into the highest tax brackets at the exact moment you expected financial freedom. Every dollar in Roth space is a dollar the IRS will never touch again, regardless of how large it grows or what tax rates look like in thirty years. Once the year closes, the opportunity is gone.
Step Four: Maximize Pre-Tax Accounts
After the match, the HSA, and Roth space are secured, maximize remaining pre-tax capacity. The 401(k), 403(b), and the 457(b), the deferred compensation plan offered by government employers and some nonprofits, all reduce taxable income today and grow tax-deferred, meaning you do not pay taxes now but you will pay them later when you withdraw. For hospital employees, university staff, and government workers with access to a 457(b), this is a meaningful advantage most workers outside those sectors never encounter. The 457(b) carries a completely separate contribution limit from the 403(b), meaning both can be maxed in the same year and annual pre-tax contributions are effectively doubled. This is where Priya started. Not wrong. Just out of order.
Step Five: Taxable Investing
The taxable brokerage account is where most people think investing begins. It is where the hierarchy ends. After every tax-advantaged opportunity is captured in sequence, remaining dollars flow here without a ceiling. Taxable accounts offer flexibility, no contribution limits, and favorable long-term capital gains rates, the lower tax rates that apply when you sell an investment you have held for more than one year, on positions held that long. Compare the math on Roth, pre-tax, and taxable side by side and the order becomes obvious. Every account above them offers a tax advantage that cannot be recreated once the window closes. The taxable account is not a consolation prize. It is the overflow bucket, and for high earners who have funded everything above it, it is exactly where long-term wealth building continues.
The Order, Simplified
Employer match. HSA. Roth, backdoor if needed. Max pre-tax accounts. Taxable investing.
In personal finance, the order of operations matters more than the math.
THE BOTTOM LINE
• Saving is not enough. Sequence determines outcome. The same dollars in the wrong order produce a measurably worse result.
• The hierarchy runs one direction. Free money first, triple tax advantage second, tax-free growth third, tax deferral fourth, flexibility last
• You do not need complexity. You need to follow the right sequence every year until every bucket is full.
Money Questions
-
Start with the employer match because it is the only guaranteed return in personal finance and represents compensation you have already earned. Next, fund your HSA if you qualify, since its triple tax advantage on contributions, growth, and withdrawals is unmatched by any other account in the tax code. After that, capture Roth space through a backdoor Roth IRA before maximizing pre-tax accounts, because the tax-free growth it provides cannot be recreated once the annual window closes on December 31st. Then maximize your 403b, 401k, and 457b in whatever combination your employer offers. Any remaining dollars go into a taxable brokerage account as the final overflow vehicle. The sequence matters more than the total.
-
A 403b works like a 401k: contributions reduce taxable income today, the balance grows tax-deferred, and withdrawals in retirement are taxed as ordinary income. Most physicians and hospital employees have a 403b rather than a 401k. A 457b is a deferred compensation plan with one critical distinction: it carries a completely separate contribution limit, meaning you can max both in the same year and effectively double your annual pre-tax retirement contributions. Some 457b plans hold assets on the employer's balance sheet rather than in a protected account, which introduces employer insolvency risk. For employees at stable institutions, that tradeoff is generally worth the tax advantage.
-
This is not a head-to-head decision. If your employer match is not fully captured, that comes before either option. If you have access to an HSA, that is typically next. After both, Roth space is generally prioritized over maxing a pre-tax 401k because tax-free growth and withdrawals cannot be recreated once the annual window closes. Maxing a 401k before capturing Roth space builds a retirement that is entirely taxable on withdrawal, which creates a significant tax burden when required minimum distributions begin at 73. The answer is not Roth versus 401k. It is understanding where each fits in the sequence.
By Karim Ali, MD, MBA. Emergency Physician & Finance Educator