The cost of rebalancing a portfolio comes from three places: brokerage trading fees, the bid-ask spread you pay every time you buy or sell, and, in a taxable account, the tax bill on any gains you realize. For most investors the tax piece dominates. Short-term gains can be taxed at rates up to 37%, plus a 3.8% surtax for higher earners, which can quietly wipe out the risk-management benefit rebalancing is supposed to provide. The good news is that almost every rebalancing cost is controllable once you know where it hides.
The Tax Bill Is Usually the Biggest Cost
Every time you sell an appreciated holding in a taxable account to bring your allocation back to target, you realize a capital gain, and the IRS expects tax on it that year.1Office of the Law Revision Counsel. 26 USC 1001 – Determination of Amount of and Recognition of Gain or Loss Money paid in tax stops compounding. Over 20 or 30 years the drag turns into a meaningful chunk of ending wealth.
Short-Term Versus Long-Term Rates
Holding period is what determines the rate. Sell an asset you have held one year or less and you have a short-term gain, taxed at your ordinary income rate.2Office of the Law Revision Counsel. 26 USC 1222 – Other Terms Relating to Capital Gains and Losses For 2026 those ordinary rates run from 10% to 37%.3Internal Revenue Service. IRS Releases Tax Inflation Adjustments for Tax Year 2026 Hold longer than a year and the gain qualifies for long-term rates of 0%, 15%, or 20%.4Office of the Law Revision Counsel. 26 USC 1 – Tax Imposed
For 2026 single filers, the 0% long-term rate covers taxable income up to $49,450, the 15% rate applies from $49,450 to $545,500, and the 20% rate begins above $545,500. For married couples filing jointly, the 0% rate runs up to $98,900, the 15% rate covers $98,900 to $613,700, and the 20% rate applies above $613,700.5Internal Revenue Service. Revenue Procedure 2025-32 Rebalance too often and you convert what could have been a 15% or 20% hit into one as high as 37%. That single fact is a strong argument for rebalancing less frequently.
The 3.8% Surtax on Higher Earners
Above certain income thresholds an additional 3.8% Net Investment Income Tax applies to capital gains and other investment income.6Office of the Law Revision Counsel. 26 USC 1411 – Imposition of Tax The trigger is modified adjusted gross income above $200,000 for single filers, $250,000 for joint filers, or $125,000 for married filing separately. Those thresholds are not indexed for inflation, so more households cross them each year. Combined with the top long-term rate, a high-income investor can face an effective federal capital gains rate of 23.8% on rebalancing gains, before any state tax. State rates range from zero in states without an income tax to over 13% in the highest-tax states.
Watch the Estimated Tax Trap
A large rebalance can also create an underpayment penalty. The IRS wants tax paid during the year, not just at filing. If your withholding and estimated payments don’t cover at least 90% of your current-year liability or 100% of last year’s liability (110% if your prior-year AGI exceeded $150,000), you owe a penalty.7Internal Revenue Service. Estimated Tax for Individuals (Form 1040-ES) A fourth-quarter rebalance that throws off $30,000 in gains can push you past those safe harbors before you notice.8Internal Revenue Service. Underpayment of Estimated Tax by Individuals Penalty
Trading Costs You Still Pay in a “Free” Account
Most major online brokerages dropped commissions on stock and ETF trades years ago, but zero commission isn’t zero cost. These firms earn revenue partly through payment for order flow, and market makers recoup those payments through slightly less favorable execution prices. On any single trade it’s small. Across a full rebalance of dozens of positions, it adds up in a way that never appears on a confirmation.
Real commissions still apply in some corners. Options contracts commonly cost $0.65 per contract on both the opening and closing sides.9E*TRADE. Pricing and Rates Mutual funds bought outside a broker’s no-transaction-fee list can run $50 or more per trade, and up to $100 on some platforms.10Fidelity. Understanding FundsNetwork Fees Some mutual funds also charge a short-term redemption fee of up to 2% if you sell within a set window, often 30 to 90 days after purchase. A rebalancer who bought recently can get caught by it.
The larger hidden cost is the bid-ask spread. Every quoted price is really two: what buyers are bidding and what sellers are asking. You buy at the ask and sell at the bid, so every round trip loses the spread. On a heavily traded S&P 500 ETF the spread might be a penny per share. On a thinly traded small-cap or international bond fund it can be ten times that. Spread width tracks trading volume and the liquidity of what the fund holds, and a tight spread on a low-volume ETF can widen the moment you place a large order.
Market impact takes this a step further. If your order is large relative to typical volume, your own trade moves the price against you: selling drives the price down before your order fills, buying pushes it up. Limit orders help, and spreading a large trade across a few days helps more.
How to Rebalance Without Triggering Big Gains
The cheapest rebalancing trade is the one you never make. A few habits reduce how often you need to sell in a taxable account.
Steer New Money to Underweight Positions
When contributions, dividends, or interest hit the account, direct that cash into whichever asset class has fallen below its target. The allocation moves back toward target with no sale and no tax. The same logic works on the way out: take withdrawals from whichever asset is overweight. Retirees taking required minimum distributions can use them as a rebalancing lever.
Use Threshold Bands, Not the Calendar
Rebalancing on a fixed schedule forces trades whether or not the portfolio needs them. A threshold approach trades only when an asset class drifts past a tolerance, such as 5 percentage points from target. Vanguard research based on 10,000 simulated portfolios found threshold-based rebalancing produced roughly 11 to 18 basis points a year in higher returns than calendar approaches, mainly by cutting transaction costs to about a third of what quarterly rebalancing generated, while keeping the portfolio closer to its target on average.
Do the Selling Inside a 401(k) or IRA
Trades inside employer-sponsored plans under 26 U.S.C. § 401 and individual retirement accounts under 26 U.S.C. § 408 don’t trigger capital gains tax at the time of the trade.11Office of the Law Revision Counsel. 26 USC 401 – Qualified Pension, Profit-Sharing, and Stock Bonus Plans12Office of the Law Revision Counsel. 26 USC 408 – Individual Retirement Accounts No Form 8949, no Schedule D, no estimated tax problem. Traditional accounts eventually pay ordinary income tax on distributions in retirement; qualified Roth distributions come out tax-free. Either way, the rebalance itself costs nothing this year. If you hold similar asset classes in both a 401(k) and a taxable account, do as much of the buying and selling as you can inside the retirement account first, and only touch the taxable account when drift can’t be corrected any other way.
Picking Which Shares to Sell
When you own the same security bought at different times and prices, the cost basis method you choose decides which shares are treated as sold and how large the gain is. This is one of the most overlooked levers.
The default is first-in, first-out: the IRS treats your oldest shares as sold first. Those are usually the ones with the lowest basis and the biggest gain, so FIFO is often the worst outcome. If you specifically identify which tax lots to sell, you can choose shares with the highest basis and shrink the gain.13Internal Revenue Service. Publication 551 – Basis of Assets Most brokerages let you pick specific lots online at the time of the trade. For mutual fund shares you can also elect average cost, which blends all your purchases into a single per-share figure.
The difference matters. Say you own 200 shares of an ETF: 100 bought at $40 and 100 bought at $55. At a current price of $60, selling 100 shares under FIFO produces a $2,000 gain. Specifically identifying the $55 lot produces only a $500 gain. At a 15% long-term rate, that’s $225 saved on one position. Across a full rebalance the savings compound.
Using Losses to Offset Gains
Rebalancing isn’t always about selling winners. When some positions have dropped, selling them generates a realized loss that offsets gains elsewhere. Losses offset gains dollar for dollar with no annual limit, and any excess loss can be deducted up to $3,000 against ordinary income each year ($1,500 if married filing separately), with the remainder carried forward indefinitely.14Office of the Law Revision Counsel. 26 USC 1211 – Limitation on Capital Losses Pairing a losing position with a winning one during the same rebalance can shrink or eliminate the tax bill.
The catch is the wash sale rule. Sell a security at a loss and buy the same or a “substantially identical” security within 30 days before or after the sale, and the IRS disallows the loss.15Office of the Law Revision Counsel. 26 USC 1091 – Loss from Wash Sales of Stock or Securities The disallowed loss is added to the basis of the replacement shares and the original holding period carries over, so the loss is deferred rather than lost.16Office of the Law Revision Counsel. 26 USC 1223 – Holding Period of Property If the point of the sale was to cut this year’s tax, deferral defeats it.
The rule reaches across all your accounts, including IRAs and a spouse’s accounts. The usual workaround is to sell the loser and buy a similar but not identical replacement. Selling a total U.S. stock market fund and buying a large-cap index fund with heavy overlap keeps you in the market during the 30-day window without triggering a wash sale. The IRS has never drawn a bright line on “substantially identical,” so leave enough daylight between the old and new holding to be safe.
Layered together, these choices (fewer forced trades, sales inside tax-advantaged accounts, careful lot selection, and paired loss harvesting) can cut total rebalancing drag by more than half compared with quarterly selling of winners in a taxable account. Fewer taxable sales means less tax paid, and less tax paid means more of the portfolio stays invested.