Article · Credit
Tax-aware bond portfolios: harvesting losses without giving up income
How separate bond accounts can realize tax losses by swapping into comparable bonds, respect the wash-sale rule, and weigh munis against corporates.

Key takeaways
- In a separately managed account the investor owns each bond directly, so losses on individual bonds can be realized and used against gains elsewhere. A fund shareholder cannot do this.
- A loss harvest works only if the replacement bond keeps credit quality, duration and income close to unchanged, and is not “substantially identical” to the bond sold.
- For investors in the top federal brackets, municipal bonds often deliver more after-tax yield than comparable corporates. Below those brackets, the answer depends on state taxes and the specific bonds.
Why ownership structure matters
A bond mutual fund or ETF passes its income through to shareholders, but its realized losses stay inside the fund. They can offset the fund’s own gains; a shareholder cannot use them against gains elsewhere. In a separately managed account (SMA), the investor owns each bond in their own name. When a bond’s price falls below what the investor paid, usually because interest rates or credit spreads have risen, the investor holds an unrealized loss that can be realized by selling.
Under U.S. federal tax law, realized capital losses offset realized capital gains in the same year. Net losses beyond that can offset up to $3,000 of ordinary income per year, and the remainder carries forward indefinitely. For an investor with gains from an equity portfolio, a business sale or real estate, losses realized in a bond account have real value. That is the idea behind the tax-aware management in our separately managed accounts.
How a bond swap works
The challenge is to realize the loss without changing the portfolio. Selling a bond and holding cash would lower income and duration. The aim is to sell one bond and buy another that does the same job. We look for a replacement that matches the sold bond on four attributes: credit quality, maturity and duration, yield, and sector.
| Attribute | Bond sold | Replacement bond |
|---|---|---|
| Issuer | Industrial company A | Industrial company B |
| Rating | A− | A− |
| Maturity | 2033 | 2033 |
| Duration | 6.1 years | 6.0 years |
| Yield to maturity | 4.9% | 5.0% |
| Price (per 100 face value) | 94.2 | 95.0 |
Because the replacement is issued by a different company, it is generally not treated as substantially identical to the bond sold, which matters for the wash-sale rule below. The trade is not free. Corporate and municipal bonds trade with a bid-ask spread, and a swap pays it twice: once to sell and once to buy. We harvest only when the estimated tax value of the loss exceeds trading costs by a margin set in advance for each account, and we act through the year rather than waiting for December, when many investors are trying to do the same thing.
The wash-sale rule
Under Section 1091 of the Internal Revenue Code, a loss is disallowed if the investor buys a substantially identical security within 30 days before or after the sale. The disallowed loss is not gone for good; it is added to the cost basis of the new position. But the immediate tax benefit disappears. The rule looks across all of an investor’s accounts, including those run by other managers and individual retirement accounts, which is why we ask clients to tell us about holdings elsewhere.
The IRS has not published a precise definition of “substantially identical” for bonds. Tax advisers generally treat bonds from different issuers, or bonds from the same issuer with materially different maturities or coupons, as not substantially identical. We apply a conservative internal standard: we do not buy back the same issuer within the 30-day window unless the terms differ substantially, and we keep a record of each swap and the reasoning behind it.
Municipal or corporate?
Interest on most municipal bonds is exempt from federal income tax, and often from state tax for residents of the issuing state. Corporate bond interest is fully taxable. The right comparison is after-tax yield. In the example below, a corporate bond yielding 5.0% delivers 3.15% after federal tax to an investor in the 37% bracket, while a comparable municipal bond yielding 3.3% delivers the full 3.3%.
At these example yields, the municipal bond wins for investors in the 35% and 37% brackets and the corporate bond wins below them. State income tax and the 3.8% net investment income tax, which applies to many higher-income investors, move the break-even further in favor of municipal bonds; residents of high-tax states who buy in-state bonds gain the most. Municipal bonds carry their own risks, however. Revenue bonds depend on a single project or utility, and many municipal issues trade less often than corporate bonds of similar size. Because the comparison shifts as yields move, we review the municipal and corporate mix in each account at least quarterly.
Putting it into practice
Tax-aware management is a set of decisions made against each client’s situation, not a product feature. Before an account is funded we agree on three things with the client and their tax adviser: the tax brackets that apply, including state; the harvest threshold, expressed as a minimum loss net of trading costs; and the replacement rules, including which issuers and sectors are eligible. Credit research for the replacement bonds comes from the same analysts who cover our Investment Grade Credit portfolios, so a swap never trades credit quality for a tax benefit.
Harvesting defers tax rather than eliminating it. Each harvest lowers the cost basis of the portfolio, so a larger gain may be realized when bonds mature or are sold. The benefit comes from the time value of deferral, from offsetting gains taxed at higher rates, and, for some investors, from a step-up in basis at death. For a fuller description of the risks, see our important information.
This material reflects the views of the author as of the date of publication, is subject to change, and is provided for informational purposes only. It is not investment advice or a recommendation to buy or sell any security. It is not tax advice: tax rules are complex, depend on each investor’s circumstances and may change, so please consult a tax professional before acting. Yields and examples shown are hypothetical. Investing involves risk, including possible loss of principal.


