Rebalancing Inside Tax-Deferred Accounts
Rebalancing—selling gains and buying weakness to restore target weights—triggers capital gains tax in regular accounts. Rebalancing inside tax-deferred accounts sidesteps this by executing the same trades within a 401(k) or IRA, where gains and dividends are never taxed. This allows frequent rebalancing without eroding returns.
Why Tax-Deferred Rebalancing Matters
Rebalancing is a disciplined way to maintain asset allocation. Suppose your target is 60% stocks and 40% bonds. After a bull market, stocks rise to 70%; you sell 10% of stocks and buy bonds, restoring 60/40. This sale triggers capital gains tax.
In a taxable account, that capital gain is taxable income—at short-term rates (ordinary income) or long-term capital gains rates depending on holding period. Over many years and repeated rebalancing, these taxes can erode 10–30% of the benefit that rebalancing would otherwise provide.
Inside a 401(k) or IRA, the same sale of stocks and purchase of bonds happens with zero tax consequence. Gains are deferred (in a traditional IRA) or entirely tax-free (in a Roth IRA). This makes tax-deferred accounts the natural venue for frequent, aggressive rebalancing.
How Tax-Deferred Accounts Handle Rebalancing
When you own a diversified index fund portfolio inside a 401(k), each fund sits in its own sub-account or holding. When stocks outpace bonds, you can:
- Sell a portion of your stock fund
- Buy additional bond fund shares
- Record no taxable gain, even though you sold at a profit
The cash or securities move within the account—between holdings—with no tax friction. This is true for all rebalancing methods: trimming winners and buying losers, directing new contributions to underweights, or automatic rebalancing by a target-date fund.
From the account custodian’s perspective, these are internal transfers. The IRS does not tax them.
Tax-Deferred vs. Taxable: The Coordination Strategy
Most investors have money in both accounts. A unified rebalancing strategy should leverage each:
Tax-deferred accounts (401(k), traditional IRA, Roth IRA):
- Rebalance aggressively and frequently
- Sell winners and buy losers without tax friction
- Use for dynamic, tactical adjustments within your overall allocation
Taxable accounts:
- Avoid excessive trading
- Use tax-loss harvesting to offset other capital gains
- Direct new contributions to underweight classes instead of selling
- Hold qualified dividend stocks and index funds to minimize distributions
Example
An investor with $500k in a 401(k) and $300k in a taxable brokerage account targets 60% stocks / 40% bonds.
After a strong stock market, her account drifts to 65% stocks / 35% bonds. She needs to reallocate $40k from stocks to bonds.
Better approach:
- Sell $40k of stock funds in the 401(k) and buy $40k of bond funds (no tax)
- Keep the taxable account as-is or use new contributions to top up bonds over time
- Result: No capital gains tax; allocation restored
Worse approach:
- Sell $40k of appreciated stocks in the taxable account
- Triggers $10k in capital gains (assuming 25% unrealized gain)
- Pays ~$1.5k–$2k in tax (15–20% depending on bracket)
- Erodes returns unnecessarily
When Rebalancing Inside Tax-Deferred Accounts Makes Sense
Annual or semi-annual review: If you rebalance once or twice yearly, do it inside the 401(k) or IRA. The tax savings far exceed any trading costs.
Significant drift: If a single asset class drifts more than 5–10% away from its target, rebalancing inside tax-deferred accounts captures the gains from the outperformer without a tax bill.
Bear market buying: After a market crash, rebalancing forces you to buy fallen assets. Doing this in a tax-deferred account preserves the full recovery without tax leakage. See rebalancing after a market crash.
Volatile sub-accounts: If your 401(k) allows frequent trading between funds (some plans restrict it), use that flexibility to rebalance regularly.
Limits and Constraints
Trading restrictions: Some 401(k) plans limit the number of trades per year or impose blackout periods. Check your plan’s rules.
Fund selection: Your tax-deferred account may offer a limited menu of funds. This constrains how precisely you can execute your target allocation.
Contribution caps: 401(k) contributions are capped (~$23k in 2024). You cannot arbitrarily move money in; you can only reallocate what is already there or add through payroll deferrals.
Account fees: Some custodians charge per-trade fees inside IRAs, which can add up if you rebalance frequently. Favor custodians with commission-free funds.
Sequence and Timing
Rebalancing often goes hand-in-hand with contribution decisions. If you make annual 401(k) contributions:
- Contribute the maximum to the tax-deferred account
- Direct new money into underweight asset classes (saves trading existing holdings)
- If drifts persist, execute rebalancing trades within the account
This sequence minimizes taxes and transaction costs simultaneously.
The Psychological Advantage
Rebalancing discipline requires selling winners when they are rising—psychologically difficult. Doing it in a separate 401(k) account, away from daily brokerage statements, can reduce second-guessing. The tax-deferred nature also removes the mental friction of “paying taxes to rebalance,” which sometimes deters investors from rebalancing altogether in taxable accounts.
Coordinating with Professional Management
If you use a robo-advisor or financial planner, clarify their rebalancing approach. A good advisor will:
- Rebalance aggressively inside tax-deferred accounts
- Avoid unnecessary trades in taxable accounts
- Use new contributions and tax-loss harvesting to fine-tune taxable accounts
If your advisor rebalances constantly in a taxable account without tax-aware strategies, ask why.
See also
Closely related
- Rebalancing After a Market Crash — buying into fallen assets to restore allocation
- Using New Contributions to Rebalance — directing fresh savings instead of selling
- Tax-Loss Harvesting — optimizing taxable account rebalancing through losses
- Asset Allocation — the target mix rebalancing aims to maintain
Wider context
- 401(k) Plan — tax-deferred account structure and rules
- Traditional IRA — deferred taxation on contributions and growth
- Roth IRA — tax-free growth and withdrawals in retirement
- Capital Gains Tax — the tax rebalancing avoids in tax-deferred accounts
- Dividend Distribution — why dividends in tax-deferred accounts are not taxable events