Bitcoin US$ 62,273Ethereum US$ 1,768EUR/USD 1.099GBP/USD 1.315USD/BRL 5.89Bitcoin US$ 62,273Ethereum US$ 1,768EUR/USD 1.099GBP/USD 1.315USD/BRL 5.89
Investing BasicsUpdated 2026-11-189 min read

Rebalance Your Portfolio Without Owing Taxes: 6 Smart Moves

Michael Chen
Michael Chen writes about personal finance fundamentals. Bay Area-based · finance enthusiast for 15 years.
Visual representation of the voice · not a photographic portrait
Share𝕏✆f
Selling winners to rebalance can trigger a tax bill. Learn six ways to bring your portfolio back in line while keeping…
Quick answer: The simplest way to rebalance without a tax bill is to do the selling inside tax-advantaged accounts like a 401(k) or IRA, where trades do not trigger capital gains tax. In taxable accounts, steer new contributions and dividends toward the assets that fell behind instead of selling winners. If you must sell, sell shares held more than a year, and use losses to offset gains.↗ Share on X

You can rebalance your portfolio without triggering a big tax bill if you do the selling in the right place and in the right order. The easiest move is to rebalance inside tax-advantaged accounts, like a 401(k), 403(b) or IRA, where buying and selling does not create capital gains tax. In regular taxable brokerage accounts, the next best move is to rebalance with new money: send fresh contributions and dividends to the assets that fell behind instead of selling the ones that grew. If you still need to sell, sell shares you have held for more than a year, and pair gains with losses. These six moves, used together, keep most investors' rebalancing tax bill small.

This article explains each move in plain language, with a worked example, plus the mistakes that turn a simple rebalance into an expensive one.

What does "rebalancing" mean, and why does it cause taxes?

READ ALSOHow Much to Save for Retirement: A 4-Step Paper Method →Your Real Retirement Savings Rate, Employer Match Included →Early Retirement Savings Rate: Find Your Number in 4 Steps →

You set a target mix, for example 70% stocks and 30% bonds. Over time, markets move and the mix drifts. After a strong year for stocks, you might be at 80% stocks and 20% bonds. Rebalancing means bringing it back to 70/30.

The usual way is to sell some of what went up and buy what went down. The problem: in a taxable account, selling an investment for more than you paid creates a capital gain, and capital gains are taxed.

Two kinds of gains matter:

Type of gainHow long you held the sharesHow it is taxed
Short-termOne year or lessAs ordinary income, at your regular tax rate
Long-termMore than one yearAt lower long-term capital gains rates (0%, 15% or 20% at the federal level, depending on income)

The income thresholds for each rate change every year. Check the current figures on IRS.gov or ask a tax professional before you sell.

Clear money tips in your inbox. No hype.

Move 1: Rebalance inside your retirement accounts first

RECOMMENDEDUltimate Dynamic Personal Budget in Google Sheets (FinSavvyDesigns) → — A fully dynamic budget planner in Google Sheets to track income, expenses, and savings with an interactive dashboard.

Affiliate link. We may earn a commission on purchases, at no extra cost to you.

This content is informational and is not investment advice or financial consulting.

Trades inside a 401(k), 403(b), traditional IRA or Roth IRA do not trigger capital gains tax. You can sell your stock fund and buy your bond fund there with no tax bill this year.

The trick is to look at all your accounts as one portfolio. Example:

Suppose you are at $80,000 in stocks and $20,000 in bonds. You need to move about $10,000 from stocks to bonds. If you have stock funds inside the 401(k), sell $10,000 there and buy the 401(k)'s bond fund. Your overall mix is fixed, and your taxable account was never touched.

Watch out: some plans limit how often you can trade certain funds. Check your plan's rules before you move money.

Move 2: Point new contributions at what is behind

READ ALSOIndex Funds vs. Mutual Funds: How a Beginner Can Choose →How to Calculate Your Personal Savings Rate for Retirement →Rebalance Index Funds Without a Surprise Tax Bill: 5 Ways →

Every paycheck contribution, IRA deposit or extra savings deposit is a chance to rebalance for free.

1. Figure out which asset class is under its target.

2. Send all new money there until the gap closes.

3. Switch back to your normal split once you are on target.

Example: you add $1,000 a month to your taxable account and bonds are $6,000 under target. Put the full $1,000 into bonds for six months. No selling, no tax.

This works best when the drift is small or when you are adding a lot of money relative to your portfolio size.

Move 3: Turn off dividend reinvestment for a while

Most brokers automatically reinvest dividends back into the same fund. Instead, you can:

1. Turn off automatic reinvestment on the fund that is overweight.

2. Let the dividends land in cash.

3. Use that cash to buy the underweight fund.

Dividends are still taxable in the year you receive them in a taxable account, whether you reinvest them or not. This move does not avoid that tax; it just avoids creating extra capital gains by selling.

Move 4: Sell long-term shares, and pick the right lots

If you do have to sell in a taxable account, two details can lower the bill a lot.

Hold for more than one year. If some shares are a few weeks away from the one-year mark, waiting can move the gain from short-term to long-term rates.

Choose which shares you sell. If you bought the same fund at different times and prices, each purchase is a "lot." Many brokers let you choose the lot method:

Selling high-cost lots can shrink your taxable gain without changing how much you sell. Set your preferred method in your account settings before placing the trade; changing it afterward is often not possible.

Move 5: Use losses to cancel out gains

If some of your investments are worth less than you paid, selling them creates a capital loss. Losses can:

This is called tax-loss harvesting. Example: you sell $5,000 of a stock fund with a $2,000 gain to rebalance, and also sell a bond fund holding with a $2,000 loss. The gain and loss cancel out, so there is no net capital gain tax on that trade.

The wash sale rule: if you buy the same or a "substantially identical" investment within 30 days before or after selling at a loss, the IRS disallows the loss for now. To stay clear, wait 31 days or buy a similar but not identical fund, for example a different index provider. Ask a tax professional if you are unsure what counts as substantially identical.

Move 6: Use rebalancing bands instead of the calendar

You do not need to rebalance every time the mix moves a little. A common approach is a band: only act when an asset class drifts more than about 5 percentage points from target.

TargetLower bandUpper bandAction
70% stocks65%75%Rebalance only below 65% or above 75%
30% bonds25%35%Rebalance only below 25% or above 35%

Fewer trades means fewer taxable events, less work, and less temptation to tinker.

A sample yearly routine

1. Once a year, add up all accounts (retirement and taxable) and calculate your current mix.

2. Check your bands. If nothing is outside them, stop. You are done.

3. If you are outside the bands, rebalance inside retirement accounts first.

4. Still off? Redirect new contributions and dividends for the next few months.

5. Still off? Sell in the taxable account using long-term, high-cost lots, and harvest any losses you have.

6. Write down what you did and keep trade confirmations for tax time.

Mistakes that create surprise tax bills

When should you talk to a professional?

If you have large gains, a high income, stock options, inherited shares, or you are near retirement, talk to a CPA, enrolled agent or fee-only financial planner before making big trades. Tax rules have exceptions and change over time, and a professional can run your actual numbers. This article is general education, not personal tax or investment advice, and investing always carries risk, including the loss of money.

Your next step today

Log in to every account you own and write down two numbers for each: the value in stocks and the value in bonds. Add them up and compare your real mix with your target. If you are within 5 points, do nothing. If you are outside, start with Move 1 inside your 401(k) or IRA, and change your next contributions to go to the asset that fell behind.

FAQ

Do I pay taxes when I rebalance inside my 401(k) or IRA?

No. Buying and selling inside a traditional or Roth 401(k) or IRA does not trigger capital gains tax. Taxes on traditional accounts are paid when you withdraw, and qualified Roth withdrawals are generally tax-free. That makes these accounts the best place to rebalance.

How often should I rebalance?

Many investors check once or twice a year, or only when an asset class drifts more than about 5 percentage points from its target. Rebalancing too often adds work and, in taxable accounts, can add taxes without much benefit.

What is the wash sale rule?

If you sell an investment at a loss and buy the same or a substantially identical one within 30 days before or after the sale, the IRS disallows the loss for now. The loss is added to the cost basis of the new shares instead of reducing this year's taxes.

Is it ever worth paying some tax to rebalance?

Sometimes. If your portfolio has drifted far into riskier assets than you can handle, paying a modest long-term capital gains tax may be better than carrying too much risk. A tax professional can help you weigh the trade-off with your real numbers.

Clear money tips in your inbox. No hype.

Share𝕏✆f

Educational content, not personalized financial advice. Sources cited where applicable.

Clear money tips in your inbox. No hype.