Tax-Efficient Investing: Asset Location, Loss Harvesting, and Your Withdrawal Plan

Asset allocation is what you own. Asset location is which account owns it. The second decision is nearly free to get right — and most investors never make it deliberately.

🧾
Same investments, same allocation, different taxes — just by choosing which account holds what.

Most investing advice focuses on asset allocation — how much you hold in stocks versus bonds. A quieter, often larger source of avoidable tax drag comes from a different decision entirely: asset location, meaning which specific account holds each piece of that allocation. Two investors with the identical overall stock/bond mix can end up with meaningfully different after-tax returns depending entirely on which account holds which fund.

This is one of the few places in personal finance where getting it right costs nothing — no extra risk, no extra savings required, just a smarter arrangement of money you were already going to invest anyway. It compounds quietly over decades, and it directly shapes how your FIRE withdrawal strategy plays out once you actually start drawing the portfolio down.

None of this requires exotic products or ongoing maintenance. It's a handful of one-time decisions about which fund goes in which account, revisited only when you open a new account type or your overall allocation target changes — and it's worth doing deliberately rather than by accident, since the difference between a thoughtfully located portfolio and a randomly assembled one shows up as real, avoidable tax drag every single year it isn't corrected.

Asset allocation vs. asset location

Asset allocation is the answer to "what do I own": your stock/bond split, your US/international split, your overall risk exposure. Asset location is the answer to a completely separate question: "which account owns each piece of that allocation." A 70/30 stock/bond portfolio can be built entirely inside a single 401(k), or spread across a 401(k), a Roth IRA, and a taxable brokerage account — and the tax outcome of those two arrangements, even with an identical overall allocation, can differ substantially over a multi-decade investing career.

The asset-location hierarchy

The general framework, well established in both academic finance and practitioner literature, ranks holdings by how tax-inefficient they are on their own, then places the least tax-efficient ones in the accounts that shelter them best.

Tax-deferred accounts (401(k), traditional IRA): bonds and REITs

Bond interest is taxed as ordinary income every single year it's earned, at your full marginal rate, regardless of whether you spend the interest or reinvest it. REIT dividends are largely taxed the same way, since REITs are structurally required to distribute nearly all their taxable income to shareholders each year. Holding both inside a 401(k) or traditional IRA defers that annual tax bill until withdrawal — potentially decades later, and often at a lower rate in early retirement than during your peak earning years.

Roth accounts: your highest-expected-growth holdings

Because qualified Roth withdrawals are entirely tax-free, the ideal use of Roth space is for whatever asset is likely to grow the most over your investing horizon — typically stocks, and often specifically the more volatile, higher-expected-return slices of your stock allocation. Every dollar of growth that happens inside a Roth account is growth the IRS will never tax, which makes Roth space particularly valuable for assets you expect to compound the most over the years before you touch it.

Taxable brokerage accounts: broad index funds and international funds

Total-market stock index funds are naturally tax-efficient on their own: they generate mostly qualified dividends (taxed at preferential long-term capital gains rates, well below ordinary income brackets) and very little in the way of realized capital gains, since a total-market fund has almost no turnover. That makes them a reasonable default for taxable-account money that doesn't fit inside your tax-advantaged space. International index funds have one additional, specific reason to prefer taxable placement, covered next.

Why international funds belong in taxable accounts

International stock funds pay dividends from companies based in dozens of other countries, and many of those countries withhold tax on dividends paid to foreign shareholders before the dividend ever reaches your brokerage account. The US tax code allows investors to claim a foreign tax credit for that already-withheld tax on their own federal return, directly offsetting US tax owed dollar-for-dollar up to certain limits — effectively getting back tax that was already paid to a foreign government on your behalf.

That credit is only available when the fund generating the foreign-withheld dividends is held in a taxable account. Hold the exact same international fund inside a 401(k) or IRA instead, and the foreign tax was still withheld — but there's no taxable event on your return to attach the credit to, so it's simply lost. This is the specific, narrow reason international funds are usually recommended for taxable accounts ahead of bonds, even though bonds are generally considered less tax-efficient overall: the foreign tax credit is a benefit unique to taxable placement that bonds don't have an equivalent of.

The practical ordering

If you have both bonds and international stocks that need a taxable-account home because your tax-advantaged space is full, international funds generally get first priority for the foreign tax credit. Bonds are more tolerable in a taxable account than losing that credit entirely — though the ideal, when there's room, is neither.

Tax-loss harvesting: mechanics and realistic expectations

Tax-loss harvesting means selling an investment in a taxable account while it's worth less than you paid for it, realizing that loss for tax purposes, and immediately reinvesting the proceeds in a similar (but not identical) fund to stay invested in the market. The realized loss can offset capital gains elsewhere in your portfolio dollar-for-dollar, and up to $3,000 of ordinary income per year beyond that, with any unused loss carrying forward indefinitely to future tax years.

The realistic value of this technique is real but often overstated in marketing materials. It's a tax-timing tool, not a source of investment return — you're not creating value out of nothing, you're shifting when and how a loss gets recognized for tax purposes. In a genuinely bad market year, harvesting losses across a taxable portfolio can meaningfully reduce that year's tax bill. Over a full market cycle that includes both up and down years, the cumulative benefit is smaller, though still worth capturing when the opportunity is there, since it costs nothing beyond a bit of trading discipline.

The wash-sale rule

The IRS disallows a tax loss if you buy a "substantially identical" security within 30 days before or after the sale that created the loss — a 61-day window in total once you count both sides. Buy back the exact same fund the next day, and the loss is disallowed; the cost basis simply rolls into the replacement shares instead of being usable right away.

The practical workaround is straightforward: sell the fund with a loss and immediately buy a different fund that tracks a different, though similar, index — a total US market fund swapped for an S&P 500 fund, for example, or one total international fund swapped for another with a different underlying index. This keeps you fully invested in the market with essentially the same exposure, while avoiding the wash-sale rule because the replacement fund isn't considered substantially identical to the one you sold. After the 30-day window passes, you can switch back to your original fund if you prefer, or simply hold the replacement going forward.

What counts as “substantially identical”

The IRS hasn't published an exhaustive, precise definition, which leaves some genuine gray area. Two share classes of the exact same fund (an ETF and mutual-fund version of the same index, for instance) are treated as substantially identical. Two funds tracking meaningfully different indexes are generally treated as different enough to avoid the rule — when in doubt, choose a genuinely different index, not just a different fund company's version of the same one.

A worked example: placing a $500,000 portfolio

Take an investor with $500,000 split across a $300,000 401(k), $80,000 Roth IRA, and $120,000 taxable brokerage account, targeting an overall 80% stocks / 20% bonds allocation split 70% US / 30% international within the stock sleeve. That works out to $400,000 in stocks ($280,000 US, $120,000 international) and $100,000 in bonds across the whole portfolio.

AccountHoldingAmountReason
401(k) ($300,000)Total bond index fund$100,000Shelters ordinary-income bond interest annually
401(k) ($300,000)Total international index fund$120,000No foreign tax credit lost — that credit only matters in taxable accounts
401(k) ($300,000)Total US stock index fund$80,000Remainder of the account
Roth IRA ($80,000)Total US stock index fund$80,000Highest expected growth, compounds entirely tax-free
Taxable ($120,000)Total US stock index fund$120,000Preferential dividend/capital gains rates, low turnover, tax-loss harvesting available

Total US stock exposure lands at $80,000 + $80,000 + $120,000 = $280,000, and international at $120,000, all inside the 401(k) where the foreign tax credit isn't relevant anyway. Bonds total $100,000, entirely sheltered from annual ordinary-income taxation. The overall 80/20 target is met exactly, even though no single account looks like an 80/20 portfolio on its own — each one is doing a specific job in the larger structure.

Tax-gain harvesting: the mirror-image opportunity

Tax-loss harvesting gets most of the attention, but early retirees have access to a related, often more valuable technique: tax-gain harvesting, which takes advantage of the years between leaving a job and Social Security or RMDs beginning, when taxable income is often unusually low.

The 0% long-term capital gains bracket extends surprisingly high — well into the tens of thousands of dollars of taxable income for most filing statuses. An early retiree living on withdrawals from a taxable brokerage account, with little or no W-2 income, can often realize a meaningful amount of long-term capital gains each year at a 0% federal tax rate, simply by selling appreciated shares and immediately buying them back (there's no wash-sale rule for gains, only for losses, so an immediate repurchase is fine). This resets the cost basis higher at no tax cost, reducing the taxable gain on a future sale and effectively locking in permanently tax-free growth during exactly the low-income years FIRE retirees are most likely to have.

Why this matters specifically for FIRE

The bridge-fund years between early retirement and Social Security are often the lowest-taxable-income years of an early retiree's entire life — the same window this site's coverage of the Roth conversion ladder highlights for a related reason. Tax-gain harvesting during that window is a low-effort way to bank permanently tax-free gains before ordinary income rises again later.

Roth vs. traditional placement, revisited through the location lens

The Roth versus traditional decision is usually framed as a question about your current tax bracket versus your expected retirement tax bracket. The asset-location lens adds a second, complementary consideration: whichever accounts end up being Roth should, where you have a choice, hold your highest-expected-growth assets, since that growth compounds entirely tax-free. If you're contributing to both a Roth IRA and a traditional 401(k) simultaneously, directing more of your stock allocation toward the Roth account and more of your bond allocation toward the traditional account can improve your overall after-tax outcome even before considering the separate bracket-timing question.

Don't forget the HSA

A Health Savings Account is arguably the single best asset-location home available, when you have access to one: contributions reduce taxable income going in, growth is entirely tax-free, and withdrawals for qualified medical expenses are tax-free coming out — a triple tax advantage no other account type offers. Because of that, the HSA deserves priority even above the Roth IRA in the location hierarchy, for whichever assets you're willing to let ride untouched the longest.

The strategy that captures the full benefit: pay current medical expenses out of pocket rather than from the HSA, invest the HSA balance in stocks just like a Roth account, and keep the receipts. There's no time limit on HSA reimbursement — you can reimburse yourself for a medical expense from years earlier at any point in the future, tax-free, effectively turning the HSA into a second Roth account with a paper trail. After age 65, an HSA also becomes usable for any purpose, not just medical expenses, taxed like a traditional IRA at that point — with no downside if you end up not needing it for healthcare specifically.

How this connects to your withdrawal strategy

Asset location isn't just an accumulation-phase optimization — it directly shapes how cleanly your withdrawal strategy executes once you actually retire. MyFIRE's withdrawal engine draws from pre-tax accounts (401(k)/IRA) up to the top of the 12% federal bracket each year, then covers remaining spending from Roth, then taxable, shifting more toward Roth once Social Security begins to avoid pushing into higher brackets.

That bucket-ordering strategy assumes each account actually holds a reasonably diversified, sensible mix of assets by the time you need to draw from it. If bonds and cash equivalents were haphazardly placed in a Roth account during accumulation, for instance, an early-retirement drawdown sequence might be forced to sell your highest-growth, most tax-advantaged holdings first, simply because that's where the liquid, stable assets happen to sit — undermining years of careful asset-location work with one avoidable structural mistake made at withdrawal time. Getting the location right during accumulation is what makes the bracket-filling withdrawal sequence work as smoothly as it's designed to.

Don't let this paralyze you

If your 401(k) has limited fund choices and your asset location ends up a little imperfect, that's a real-world constraint, not a failure. Getting your overall allocation and savings rate right matters far more than perfecting which specific account holds which fund. Asset location is a refinement on top of a sound plan, not a prerequisite for one.

Model your withdrawal strategy account by account

Enter your 401(k), Roth, and taxable balances in MyFIRE's Inputs tab, then use the Withdrawal tab to see the tax-optimal drawdown sequence for your specific numbers.

Model my withdrawal strategy →

References and further reading

Sources
  • IRS Publication 550 — Investment Income and Expenses, including wash-sale rule guidance.
  • IRS Form 1116 instructions — Foreign Tax Credit.
  • Bogleheads.org — asset location and tax-efficient fund placement wiki.
  • Vanguard research on asset location and after-tax returns.
  • Reichenstein, W. — academic research on tax-efficient asset location.

This is general educational information, not personalized tax advice — consult a tax professional or fee-only fiduciary advisor before making account or investment decisions.

Frequently asked questions

What is the difference between asset allocation and asset location?

Asset allocation is what you own — your stock/bond split and overall mix. Asset location is which account owns each piece — taxable brokerage, traditional 401k/IRA, or Roth. You can hold the exact same overall allocation with very different after-tax outcomes depending on which account holds which fund.

What should go in tax-deferred accounts?

Tax-inefficient holdings that generate significant ordinary-income taxation every year, most notably bonds and REITs. Bond interest and REIT dividends are taxed at your full marginal rate annually if held in a taxable account; sheltering them in a 401k or traditional IRA defers or eliminates that yearly tax bill.

What should go in a Roth account?

Your highest-expected-growth holdings, typically stocks and stock funds. Since Roth withdrawals are entirely tax-free in retirement, you want the assets most likely to grow the most sitting in the account where that growth will never be taxed.

Why do international funds belong in taxable accounts?

International funds pay foreign withholding tax on dividends from overseas companies. When held in a taxable account, US investors can claim a foreign tax credit for that withheld tax on their federal return. That credit is lost if the same fund is held inside a 401k or IRA, since there's no taxable event to attach the credit to.

How does tax-loss harvesting work?

When an investment in a taxable account is worth less than you paid for it, you sell it to realize a capital loss, then immediately buy a similar but not identical fund to stay invested. The realized loss offsets capital gains elsewhere in your portfolio, or up to $3,000 of ordinary income per year, with any excess carrying forward to future years.

What is the wash-sale rule?

The wash-sale rule disallows a tax loss if you buy a substantially identical security within 30 days before or after the sale that created the loss — a 61-day window in total. Buying a genuinely different fund tracking a different index, rather than the exact same fund, avoids triggering the rule while keeping you invested in the market.

What counts as a substantially identical security?

The IRS hasn't published a precise, exhaustive definition, but two share classes of the same fund (like an ETF and the mutual fund version of the same index) are considered substantially identical. Two funds tracking different, though similar, indexes — such as a total US market fund and an S&P 500 fund — are generally treated as different enough to avoid the wash-sale rule.

How does asset location affect my withdrawal strategy?

The account placement decisions made during accumulation directly shape which accounts you draw from first in retirement. A withdrawal strategy that fills the lower tax brackets from pre-tax accounts, then draws from taxable and Roth accounts, only works cleanly if asset location was set up sensibly beforehand — otherwise you may be forced to sell tax-inefficient holdings at an inopportune time.

How much does tax-loss harvesting actually save?

It varies significantly by market conditions and your tax bracket. In a down market year, harvesting losses across a taxable portfolio can offset thousands of dollars in gains or ordinary income. Over a full market cycle, the realistic benefit is real but modest — it's a tax-timing tool, not a source of investment return, and shouldn't be the main reason you choose an investment.

How do I model my withdrawal strategy in MyFIRE?

Enter your account balances by type — 401k/IRA, Roth, and taxable — in the Inputs tab, then use the Withdrawal tab to see MyFIRE's bracket-filling drawdown sequence for your specific numbers, including how Social Security and RMDs interact with the order accounts get drawn down.

For illustrative purposes only — not financial advice.

See your own numbers

Use MyFIRE to model your plan in 5 minutes.

Open the planner →