Skip to content

Tax-Advantaged Accounts

Two investors buy the same three-fund portfolio. Same funds, same amounts, same 30-year timeline. One holds everything in a regular brokerage account. The other uses tax-advantaged accounts. At the end of 30 years, the second investor has roughly $100,000 more. Not from picking better investments. Not from timing the market. From picking a better mailbox.

Where you hold your investments matters as much as what you hold. You’ve spent the entire Investing section learning what to buy and how to buy it. This article is about where to put it.

The government wants you to save for retirement. Not out of generosity. People who save for retirement don’t need as much Social Security. So the tax code offers two incentives. Both eliminate the annual tax bill on your investment gains.

Tax-deferred: pay later. You contribute pre-tax dollars. Your taxable income drops this year. The money grows untouched for decades. You pay income tax when you withdraw it in retirement. The traditional 401(k) and traditional IRA work this way. If you earn $70,000 and contribute $7,000 to a traditional IRA, you pay taxes on $63,000 this year instead of $70,000. That $7,000 and all its growth get taxed when you pull it out at 65 or 70.

Tax-free growth: pay now. The Roth IRA and Roth 401(k) flip the deal. You contribute after-tax dollars, so there’s no tax break this year. In exchange, the money grows tax-free and you pay zero taxes when you withdraw it. That same $7,000 goes in after you’ve already paid taxes on it, but every dollar it earns over the next 30 years is yours. No tax on gains. No tax on withdrawals.

Both types eliminate the annual tax drag that hits a regular brokerage account. In a taxable account, you owe taxes every year on dividends and on any gains when you sell. That annual bite means less money compounding for you. In a tax-advantaged account, 100% of your returns stay invested and keep compounding. The worked example later in this article puts a dollar figure on the gap.

Four accounts matter. You don’t need all of them right away.

401(k) / 403(b). Offered through your employer. You contribute directly from your paycheck, often with an employer match (free money). 2026 contribution limit: $23,500 ($31,000 if you’re 50 or older). Most 401(k)s come in traditional (pre-tax) and Roth (after-tax) versions. The fund choices are limited to whatever your employer selected, which sometimes means higher fees than you’d find at Fidelity or Vanguard. Contribute anyway, at least up to the match. If you leave your job, you can roll the 401(k) into an IRA at any brokerage and pick your own funds.

Traditional IRA. You open this yourself at any brokerage. Contributions may be tax-deductible depending on your income and whether you have a workplace plan. You choose from any fund your brokerage offers. 2026 contribution limit: $7,000 ($8,000 if you’re 50 or older).

Roth IRA. Same as a traditional IRA, but contributions are after-tax and withdrawals in retirement are completely tax-free. Same $7,000 limit (shared with the traditional IRA, not in addition to it). Income limits apply: in 2026, single filers earning above $150,000 and married couples above $236,000 start getting phased out.

HSA (Health Savings Account). Available only if you have a high-deductible health plan. Triple tax advantage: contributions are pre-tax, growth is tax-free, and withdrawals for medical expenses are tax-free. 2026 limits: $4,300 individual, $8,550 family. After age 65, you can withdraw for any purpose and pay only income tax, making it function like a traditional IRA. If you have access to one, it’s the most tax-efficient account that exists.

AccountTax Break2026 LimitWho Opens It
401(k) / 403(b)Traditional or Roth$23,500Your employer
Traditional IRATax-deferred$7,000You
Roth IRATax-free growth$7,000You
HSATriple tax-free$4,300 / $8,550You (requires HDHP)

Most people get this backwards. They open a taxable brokerage account and start investing without touching any of these. Or they contribute to their 401(k) up to the match and stop. Here’s the order that captures the most tax benefit.

Step 1: Get the full employer match in your 401(k). If your employer matches 50% of your contributions up to 6% of your salary, contribute at least 6%. That match is a 50% instant return. No investment in history beats free money. If you earn $60,000 and your employer matches 50% of contributions up to 6%, you contribute $3,600 and get $1,800 from your employer. Skipping this is leaving cash on the table.

Step 2: Max out a Roth IRA. Open one at Fidelity, Schwab, or Vanguard. Contribute $7,000. You choose the funds, the fees are rock-bottom, and decades of tax-free growth is worth more than the tax deduction you’d get from a traditional IRA for most people under 40. Buy the same index funds from your three-fund portfolio.

Step 3: Go back and max out the 401(k). Push your contributions to the $23,500 limit. The tax benefit outweighs mediocre fund selection. A 0.40% expense ratio fund growing tax-deferred still beats a 0.03% fund in a taxable account where you’re paying taxes on dividends every year.

Step 4: HSA if available. Contribute the max and invest it in index funds. Don’t spend it on current medical bills if you can pay out of pocket. Let the HSA compound for decades and it becomes the most tax-efficient retirement account you own.

Step 5: Taxable brokerage. Only after you’ve filled every tax-advantaged bucket. This is where any remaining investment dollars go.

Not everyone can max every account. That’s fine. Follow the order with whatever you have. Even $100 a month in a Roth IRA beats $100 a month in a taxable account.

If you already have money in a taxable brokerage account from following earlier articles in this series, don’t sell it to move into tax-advantaged accounts. Selling triggers taxes on any gains. Instead, leave the taxable holdings alone and direct all new contributions through the order above. Over time, your tax-advantaged balances will grow to dominate the portfolio.

Numbers make this real. Take $10,000, invest it for 30 years at 8% annual returns, and compare a tax-advantaged account to a taxable one.

In the taxable account, you owe taxes each year on dividends (roughly 2% yield, taxed at 15% for most people) and you’ll owe capital gains tax when you sell. In the tax-advantaged account, the full return compounds untouched.

Taxable AccountRoth IRA
Starting amount$10,000$10,000
Annual return8%8%
Annual tax drag~0.30% (dividend taxes)0%
Effective annual growth~7.70%8.00%
Value after 30 years$91,900$100,600
Taxes owed at withdrawal~$12,200 (capital gains)$0
You keep~$79,700$100,600

The Roth IRA investor keeps about $20,900 more from the same $10,000 investment. That gap widens with larger amounts. On $100,000, it’s over $200,000 in lost wealth.

The taxable account investor got hit twice. Dividend taxes every year reduced the amount compounding. Then the entire accumulated gain got taxed at withdrawal. The Roth investor paid income tax on the $10,000 before contributing it, then never paid another dime.

A traditional 401(k) lands somewhere in between. Tax break upfront, tax-free growth during your career, income tax on withdrawals. Whether you end up better off than the Roth investor depends on your tax rate today versus your tax rate in retirement.

Which fund goes in which account matters if you hold investments across multiple accounts.

Bonds produce interest. Interest gets taxed as ordinary income, your highest rate. Stock funds produce long-term capital gains and qualified dividends, which get taxed at lower rates (0% to 20%). Put the most tax-inefficient assets in the most tax-protected accounts.

The rule is simple: bonds go in tax-advantaged accounts. Stocks can go anywhere.

AccountBest Fund to HoldWhy
401(k) / Traditional IRABond fundBond interest taxed as ordinary income; shelter it
Roth IRAStock funds (U.S. or international)Highest expected growth, all gains tax-free forever
Taxable brokerageStock index fundsLong-term gains taxed at lower capital gains rate

If you only have one account, ignore this entirely. Hold your full three-fund portfolio there and move on. Asset location is a secondary optimization. Owning the right funds in any account beats owning nothing while you agonize over placement.

Every tax break has a catch. Here are the ones that actually matter.

Early withdrawal penalties. Money in a 401(k) or traditional IRA is generally locked until age 59 and a half. Pull it out early and you owe income tax plus a 10% penalty. Roth IRA contributions (not gains) can be withdrawn anytime without penalty, which makes the Roth more flexible. But the point of these accounts is to leave the money alone for decades. If you’re going to need the cash before 59 and a half, a taxable brokerage account is the right tool despite the tax drag.

Income limits on Roth IRAs. If you earn too much, you can’t contribute directly to a Roth IRA. There are workarounds (the “backdoor Roth”), but they add complexity. If you’re above the limit, max out your 401(k) and invest the rest in a taxable account. Don’t let the perfect account structure paralyze you into doing nothing.

Bad 401(k) fund choices. Some employer plans offer nothing but expensive actively managed funds. Contribute enough to get the match regardless. That guaranteed 50% or 100% return from the match dwarfs any fee drag. Then direct additional savings to your own IRA or taxable account with better options.

Roth vs. traditional is unknowable. The right choice depends on your tax rate today versus your tax rate in retirement, and nobody knows what tax rates will be in 30 years. This debate has consumed thousands of forum threads. The honest answer: contributing to any tax-advantaged account is more important than picking the perfect type. If you’re in a low tax bracket now, lean Roth. If you’re in a high bracket, lean traditional. If you’re not sure, split it. Any of those choices beats a taxable account.

  • Check whether your employer offers a 401(k) match and whether you’re contributing enough to get the full match
  • Open a Roth IRA at Fidelity, Schwab, or Vanguard if you don’t already have one
  • If you hold funds in both tax-advantaged and taxable accounts, check that your bonds are in the tax-advantaged account

This is the last article in the Investing section. Look at what you’ve built.

Think about where you started. A brokerage account and a first investment. Then index funds to own the whole market cheaply. Automatic contributions to take emotion out of the process. An asset allocation that balances growth and sleep-at-night comfort. The discipline to keep fees low and stay ahead of inflation. A three-fund portfolio that owns the entire global economy. Annual rebalancing to maintain the risk level you chose. And now, the right accounts to shelter it all from taxes.

That’s the entire playbook. Follow it for 30 years and you will almost certainly build more wealth than most people who spend their careers chasing hot stocks, paying advisors, and trying to time the market.

If you want to go further and accelerate the timeline, the FIRE section covers the math of financial independence: how your savings rate determines when work becomes optional, and why the gap between your income and your spending is the most powerful variable in the equation.