Can You Tax-Loss Harvest With Bonds the Same Way as Stocks?
Bond prices move too, and when they slide, investors used to harvesting losses on stocks sometimes assume the same playbook transfers over without much modification. It mostly does — but the part of the process that trips people up isn’t the loss itself, it’s figuring out what counts as too similar a replacement to buy back.
The short answer
Selling a bond at a loss and using that loss to offset other capital gains works through the same basic mechanics as harvesting a loss on a stock. The complication is the wash sale rule, which disallows the loss if a “substantially identical” security is purchased within a window around the sale. With individual stocks that’s usually obvious — the same ticker is the same ticker — but with bonds, where no two issues are ever perfectly identical, deciding what counts as substantially identical is considerably murkier.
Why bonds don’t have a clean stand-in
A share of one company’s stock and a share of the same company’s stock are, for wash sale purposes, unambiguously identical. Bonds rarely offer that clean a comparison. Even two bonds from the same issuer can differ in coupon rate, maturity date, credit rating, and call provisions, and any one of those differences arguably makes them distinct securities rather than substitutes. A ten-year bond and a nine-year bond from the same issuer are probably not substantially identical in the way regulators mean it, even though an investor might treat them as economically interchangeable in a portfolio.
Where the line gets genuinely blurry
The clearest case for concern is replacing a bond with another bond that has essentially the same maturity, coupon, and issuer — say, selling one government bond and buying another with nearly identical terms shortly after. That combination starts to look more like the same position wearing a different identifying number than a genuinely new investment choice. Bond funds add another layer: selling an individual bond and buying a fund that holds many bonds, including that one, is generally treated as a different security, since a fund is a basket rather than a single obligation. But selling one bond fund and buying another fund that tracks a nearly identical index and duration profile invites the same scrutiny as swapping nearly identical individual bonds.
Basis gets more complicated too
Bonds purchased at a premium or discount to face value typically require adjusting the cost basis over time as that premium or discount amortizes toward maturity. That adjustment changes what “loss” even means by the time a sale happens, and it’s easy to miscalculate if the ongoing amortization hasn’t been tracked. Anyone harvesting a bond loss needs the adjusted basis, not the original purchase price, to get the loss amount right, which is one more way bonds diverge from the simpler basis math on most stock trades. This basis question sits alongside capital loss carryover rules, since a loss that isn’t fully used in one year can often be carried forward.
What to weigh before selling
- Duration and maturity gaps. Replacing a sold bond with one of noticeably different maturity reduces the risk that the two are viewed as substantially identical, while also changing the portfolio’s duration profile in the process.
- Fund versus individual bond. Moving from a single bond into a diversified bond fund is a bigger structural change than swapping one similar bond for another, which matters both for wash sale purposes and for diversification.
- Timing of amortization. Premium or discount amortization can shift the basis mid-year, so recalculating before assuming a loss exists is worth doing.
- Government guidance shifts over time. Wash sale interpretation for bonds depends on current rules and specific facts, and it’s worth confirming the current standard rather than relying on general assumptions, since these rules can change and depend on individual circumstances.
The bottom line
Harvesting a bond loss isn’t fundamentally different from harvesting a stock loss, but the fuzzier definition of a substantially identical bond means more judgment is involved in deciding what to buy afterward. Building in a wider gap — different maturity, different issuer, or a diversified fund rather than a similar single bond — reduces the risk of a disallowed loss without requiring a long wait to reinvest.