Can AI rebalance my portfolio?

Last updated November 2026

Short answer

Yes. For the brokerage account you already have, Walnut, an AI investing app, watches how far a basket has moved from the target weights you set, drafts the trades that close the gap, and places them once you approve, free. Target-date funds, balanced funds and robo-advisors such as Betterment and Wealthfront rebalance on their own, but only money you move into them (the SEC's investor.gov guide to asset allocation covers both routes). More generally, AI handles the analysis part of rebalancing well: reading what you hold, working out how far each position has drifted from its target, and calculating the trades that would close the gap. Placing those trades is a separate permission question that depends on your broker, and many connections are read-only. The part no software should decide for you is whether the tax cost of selling an appreciated holding is worth paying this year.

Rebalancing is a job most people intend to do and few actually do, and the obstacle is rarely the decision. It is the arithmetic that comes before it.

What keeps your asset allocation on target automatically?

Automatic rebalancing keeps an allocation on target: software or a fund manager sells what has grown past its target weight and buys what has fallen behind, on a schedule or when drift passes a threshold. Five mechanisms do this for individual investors, and they differ mainly in where your money has to sit.

MechanismHow it triggersCost (checked October 2026)Tax impactBest for
Walnut (AI investing app)Shows drift against the basket targets you set, at the broker you already use, and drafts the trades; places them when you approve at trade-capable brokersFree; Walnut Plus $9.99 a month on the webYou see the trades before anything sells, so you can steer new cash firstKeeping your own broker and picks without watching the weights
Robo-advisors (Betterment, Wealthfront, Fidelity Go, Vanguard Digital Advisor, Schwab Intelligent Portfolios)Monitor drift and trade on their own, for example Vanguard Digital Advisor when drift passes 5%Betterment $5 a month or 0.25%; Wealthfront 0.25%; Fidelity Go free under $25,000 then 0.35%; Vanguard at most 0.20% for all-indexSales in a taxable account can realise gains; most offer tax-loss harvestingFully hands-off money you move into a new account
Target-date and all-in-one fundsThe fund manager rebalances inside the fund and shifts toward bonds over timeThe fund's expense ratio onlyNo sale by you; the fund may still distribute gainsOne fund for one goal, often in a 401(k) or IRA
Cash-flow rebalancing (M1, or by hand)New deposits and dividends go to the underweight holdings firstM1: $3 monthly platform fee, waived above $10,000None, because nothing is soldAnyone still adding money regularly
401(k) auto-rebalance settingThe plan resets your mix on a schedule, often quarterly or yearlyIncluded in the planNone inside the planWorkplace retirement savings

Prices checked October 2026 on each vendor's own site; fund expense ratios are extra. Schwab's page could not be read, so its fee is left out. For a tool-by-tool view, see how to rebalance your portfolio with AI.

Rules the big brokers publish

  • The five-point band. Fidelity and Vanguard both illustrate the threshold rule as acting when an allocation is five percentage points or more off target.
  • Once a year. Vanguard says that for many investors an annual rebalance is optimal.
  • The hybrid. Fidelity describes reviewing on a schedule, such as once a quarter, and trading only past the band.
  • Partial rebalancing. Trading only part of the way back to target, or only in a tax-advantaged account, limits the tax bill in a taxable one.

Sources: Vanguard, rebalancing your portfolio; Fidelity Viewpoints, May 2026.

Rebalancing without selling

Send new contributions and dividends to the holdings below target, and take any withdrawals from the ones above it. Nothing is sold, so nothing is taxed, and Fidelity names this as a way to rebalance a brokerage account without triggering gains. It works best while your deposits are large next to the portfolio.

Walnut's recurring investments spend a fixed amount of cash already at your broker across a basket's target weights on a schedule. They buy at the target weights and do not fill the underweight holdings first, so they slow drift without correcting it. When drift does build up, the drafted trades are what close it.

What rebalancing is

You choose a mix, say 70% stocks and 30% bonds. Markets move, the winners grow into a larger share, and after a strong run for equities the same portfolio might sit at 82% stocks without you buying anything.

Rebalancing sells some of what grew and buys what shrank, returning the mix to what you chose. The point is risk control: an 82% equity portfolio behaves differently in a downturn from the 70% one you signed up for.

The same drift happens inside an equity allocation. Four technology positions that all did well can quietly become half the portfolio.

The part AI does well

Measuring drift requires current prices, current share counts and a target to compare against. Assembled by hand this is a spreadsheet job, which is why it gets postponed.

Software connected to the account skips that entirely. It can state current weights, name the positions that moved most, and produce the specific buys and sells that would restore the target.

One thing it only catches if it looks inside your funds: overlap. Two funds that look like diversification can hold the same twenty companies, so the real concentration is worse than the labels suggest. Walnut measures the holdings you own directly and does not look inside funds, and it flags any single holding above a quarter of the portfolio.

Whether it can place the trades

Analysis and execution are different permissions. A brokerage connection may allow reading positions and nothing else, in which case an assistant can tell you precisely what to do while being unable to do it.

Where trading is permitted, orders still go to your broker and execute under their rules, at their prices, with their settlement. No assistant sits outside that.

Before relying on automation, confirm what your specific connection allows. Assuming an assistant can act, when the connection is read-only, is a common way to discover a rebalance never happened.

Try it in Walnut

Walnut reads your connected brokerage, shows how far a basket has moved from the target weights you set, and drafts the trades that would close the gap. Nothing is placed until you approve it.

Tax is the constraint, not the maths

In a 401(k), IRA or HSA, selling to rebalance creates no tax event. Inside those accounts the decision is nearly free and the analysis is the whole job.

In a taxable account, selling an appreciated position realises a capital gain that year. A rebalance that looks tidy can carry a bill large enough to make waiting the better answer.

Two cheaper routes usually exist: direct new contributions into whatever is underweight, and take dividends as cash to put where it is needed. Both correct drift without selling anything.

A worked example

Say you set a three-part portfolio a year ago: 60% in a US stock index fund, 30% in a bond fund and 10% in an international fund, $20,000 in total. Stocks had a good year, bonds were flat and the international fund slipped, so the account is now worth $22,400, and the stock fund has grown to $14,560. That is 65% of the account, five points over its target.

The arithmetic is the part software does in a second. At 60%, the stock fund should hold $13,440, so $1,120 has to move. The bond fund should hold $6,720 and holds $6,000, so it is $720 short. The international fund should hold $2,240 and holds $1,840, so it is $400 short. The trades that close the gap are one sell of $1,120 and two buys that add up to the same amount.

The judgement is the part that stays with you. In an IRA, those three trades cost nothing in tax and you would probably just place them. In a taxable account, the $1,120 sale realises part of a year's gain. If you were about to add $1,200 of new money anyway, putting all of it into bonds and the international fund closes most of the gap without selling anything.

Calendar or threshold: deciding when

There are two common rules for when to rebalance, and either is better than deciding by feel. A calendar rule checks on a fixed date, such as once a year, and trades only if something has moved meaningfully. A threshold rule ignores the calendar and acts when a holding drifts a set distance from its target, often five percentage points, or a quarter of its target weight for small positions.

Calendar rules are easier to keep, and they line up with tax planning if you pick a date late in the year. Threshold rules react to big moves sooner but need something watching the weights in between. An assistant connected to your account is good at the watching, because it can report the gap every time you ask.

Whichever rule you choose, write it down before markets move. A rule chosen after a sharp drop tends to be a market call in disguise.

How to use it sensibly

Ask for the current weights first, and check them against your broker statement. If the numbers do not match, nothing downstream is worth reading.

Ask what the trades would cost in realised gains before asking what the trades are. In a taxable account that figure often changes the plan.

Set a rule, so you are not deciding case by case. An annual date or a fixed drift threshold both remove the part of this that turns into a market call.

Sources

Capital gains treatment on sales is covered by the IRS in Topic no. 409, Capital gains and losses and Publication 550. General guidance on asset allocation and rebalancing is published by the SEC at investor.gov. Walnut is informational and is not an investment adviser. This guide is educational and not personalized investment or tax advice.

FAQ

Is there a tool that rebalances my existing brokerage account?

+

Yes. Walnut, an AI investing app, connects the brokerage account you already have, watches how far a basket has moved from target weights you set, and drafts the trades that would bring it back. You approve them and Walnut places them at Public, plus eight other brokers including E*Trade, tastytrade and Webull (US and Canada). Robo-advisors rebalance automatically, but only money you move into them.

Can an AI assistant actually place the trades?

+

Only if it is connected to a brokerage that permits third-party order placement, and many do not. A read-only connection can tell you exactly what to do and cannot do it. Check what your broker allows before assuming an assistant can act on its advice.

Is rebalancing in a taxable account a bad idea?

+

Not bad, but expensive if done carelessly. Selling an appreciated position realises a gain and triggers tax in that year. Rebalancing with new contributions, or inside a retirement account where no tax event occurs, achieves the same drift correction without the bill.

How often should a portfolio be rebalanced?

+

Common approaches are once a year on a fixed date, or whenever an allocation drifts more than a set threshold such as five percentage points. Both work. Rebalancing more often mostly adds cost and tax without improving the outcome.

What does AI add over a spreadsheet?

+

It reads the account for you. Working out current weights by hand means pulling every position, pricing it, summing by asset class and comparing against target, which is why most people never do it. Software that already sees the account removes the step that stops the job happening.

Does rebalancing improve returns?

+

Not reliably. Its purpose is keeping risk at the level you chose, and over long periods it can slightly reduce return by trimming winners. The reason to do it is that an unmanaged portfolio drifts into a risk level you never agreed to.

Does automatic rebalancing trigger taxes?

+

Inside a 401(k), IRA, HSA or 529 it does not, because sales there are not taxable events. In a taxable account a robo-advisor that sells an appreciated fund to rebalance realises a capital gain for that year. Cash-flow rebalancing, which sends new money to whatever is underweight, avoids the sale entirely.

Robo-advisor or target-date fund for automatic rebalancing?

+

A target-date fund rebalances inside one fund for its expense ratio alone and suits a single goal with a set date. A robo-advisor rebalances a mix of funds in an account it manages, adds an advisory fee, and usually offers tax-loss harvesting. Neither reaches holdings you keep at another broker, which is where Walnut fits.

Related guides