Home>Finance>How To Rebalance A Taxable Account Without Triggering A Big Tax Bill
Finance
How To Rebalance A Taxable Account Without Triggering A Big Tax Bill
Table of Contents
Use new contributions to buy underweight assets, direct all dividends and interest to cash instead of automatic reinvestment, and sell only tax lots with the highest cost basis or losses to minimize realized gains.
Why automatic reinvestment hurts rebalancing a taxable account
Most brokerage platforms default to reinvesting dividends and capital gains distributions automatically. That seems harmless, even virtuous, but it quietly sabotages your plan to keep your allocation on track. Every reinvested dollar buys new shares at the current price, creating a new tax lot with a new cost basis. Over a decade of quarterly dividends, you might have 40 to 80 separate lots for the same fund, each with a slightly different cost basis. When you finally need to unload something to bring your allocation back to target, you are forced to pick among dozens of lots, and the platform will happily default to average cost basis if you let it, which means you realize a blended gain that includes your cheapest shares from 2015. That is a tax bill you could have avoided.
Turn off automatic reinvestment today. In Vanguard, Fidelity, or Schwab, go to the account settings, find the dividend and capital gains election, and choose "deposit to settlement fund" or "transfer to cash." That simple change creates a predictable stream of cash every quarter. On an account of the size Vanguard’s 2025 How America Saves report defines as the median for consistent 401(k) participants, yielding 2%, that is roughly $4,000 per year of dry powder, though your own yield depends on the current SEC yield of your specific funds. Instead of buying more of whatever you already own, you let that cash accumulate in your settlement fund, then manually direct it to the asset class that has drifted below its target weight. If your target is 60% stocks and 40% bonds, and stocks have run up to 65%, you put that cash into bonds. No disposing of shares, no realized gains, no tax event. You do this every quarter, and you will find that most of your need to adjust weights evaporates because new money and dividends are doing the work.
Using tax lot identification instead of average cost basis
When cash flows are not enough, you must trim holdings, but you do not have to trim your winners. Log into your brokerage and change your cost basis method from "average cost" to "specific identification" or "tax lot identification." This is usually under account settings, then cost basis, then disposal method. Once selected, every trade lets you choose exactly which shares to unload. The key is to sort your lots by unrealized gain and pick the ones with the highest cost basis, meaning the smallest gain per share. If you have a fund that has tripled since 2010, you might have lots from 2010, 2015, and 2020. Liquidating the 2020 lot at a 20% gain is far cheaper than liquidating the 2010 lot at a 200% gain, even if both are the same fund.
You can also harvest lots at a loss to capture tax benefits, which offset gains elsewhere and up to $3,000 of ordinary income per year. For example, if you have an international fund that is down 10% and a domestic fund that is up 15%, exit the international fund to capture the loss, then use that cash to buy more of the domestic fund. That realizes a capital loss, which you can use to offset gains from other allocation trades. The wash sale rule applies if you rebuy a substantially identical security within 30 days, so either wait 31 days or buy a different but similar fund. This is not aggressive tax avoidance; it is basic tax-loss harvesting, and it turns portfolio maintenance from a tax liability into a tax benefit.
The entire trick is that you rebalance with cash flows and selective selling, not by dumping winners, a discipline that transforms tax-lot accounting from a tedious chore into the single most powerful tax-arbitrage tool a retail investor can legally wield inside a taxable account.
That is the entire trick: you rebalance with cash flows and selective selling, not by dumping winners. You stop feeding the machine that creates new taxable lots every quarter, and you stop treating your account like a single blob with one average price. Once you see your brokerage account as a collection of individual tax lots, each with its own cost basis and holding period, you can move money between asset classes with surgical precision instead of a sledgehammer.
When adjusting your allocation is actually a bad idea
There is a threshold where the tax cost of exiting a position outweighs the risk benefit of perfect allocation. Suppose you are 55, your target is 60% stocks and 40% bonds, and stocks have run up to 68%. Letting go of 8% of your portfolio means realizing gains on shares you have held for decades. If your cost basis is 30% of the current value, the gain is 70% of the sale price, and at a 15% long-term capital gains rate, your tax bill is roughly 10.5% of the amount liquidated. On a stock position of the size Fidelity’s Q1 2025 Retirement Analysis cites as the average 401(k) balance for savers aged 55-64, that is over $5,000 in taxes for the privilege of moving from 68% to 60%. Meanwhile, the difference in portfolio volatility between 68% and 60% stocks is marginal and temporary. Studies show that adjusting weights too frequently, more than once or twice a year, can actually lower returns because you are exiting momentum to buy laggards.
The smarter move is to set a tolerance band, typically 5 percentage points, and only act when you breach it. If your target is 60% stocks, you let it drift between 55% and 65% without action. That reduces the frequency of taxable dispositions dramatically. You also have a second lever: direct all dividends and interest to cash, then use that cash to nudge the portfolio back toward target. If you are still 3% overweight in stocks after a year of cash flows, consider whether the tax bill is worth the trade. Often it is not. You can also wait for a market dip to correct the drift naturally, or use your annual contributions to buy more of the underweight asset. The goal is to adjust your portfolio as you approach retirement, not to chase a perfect number every quarter. And remember that portfolio construction is about risk control, not precision; being off by two or three percentage points for a year is a rounding error, not a crisis.
Frequently Asked Questions
Can I correct my allocation without liquidating anything if I have no new contributions coming in?
If you have no new money and your dividends are already being swept to cash, your only options are trimming holdings or doing nothing. In that case, use the tolerance band approach and only exit positions when you breach the 5-point threshold, then unload the highest cost basis lots first.
What if my brokerage only offers average cost basis for mutual funds?
Most major brokerages allow specific identification for mutual funds, but you may need to call and request it. If you hold funds that only support average cost, consider switching to ETFs, which always allow tax lot selection, or transfer your holdings to a brokerage that supports specific ID.
How do I handle reinvested dividends from years ago when I exit specific lots?
Reinvested dividends create additional lots, each with their own cost basis. When you exit specific lots, you can choose the ones with the highest cost basis, which are usually the most recent purchases. You do not need to track them manually; the brokerage does it for you in the lot details view.
Is it better to exit bonds or stocks when adjusting a taxable account?
It depends on the unrealized gains, not the asset class. If bonds have lost value, exiting them realizes a loss, which is tax-efficient. If stocks have large gains, reducing bonds first is usually better because bonds tend to have smaller gains and shorter holding periods, which may be taxed at your ordinary income rate if held under a year. For a deeper dive into how these trade-offs fit within your overall strategy, see the broader topic of portfolio construction in Portfolio Construction: What to Know and How to Handle It.