BND and AGG: are they substantially identical for the wash-sale rule?

By Wash-Sale Guardian (who's behind it) · Published 2026-11-12 · Last updated 2026-11-12 · How the checker works

Get the year-end reminders by email ↓

AGG names the Bloomberg US Aggregate Bond Index as its benchmark, by iShares’ page. BND follows the Bloomberg U.S. Aggregate Float Adjusted Index, and Vanguard’s page says BND followed the Aggregate Bond Index itself until December 31, 2009. Bloomberg sets out the difference in one sentence: its float-adjusted version leaves out certain agency and mortgage securities the Federal Reserve holds. Two versions of one index, then, and we found no IRS ruling on a pair like that.

The facts, from each issuer’s own page

BND and AGG side by side
Fact BND AGG
Full name Vanguard Total Bond Market ETF iShares Core U.S. Aggregate Bond ETF
Issuer Vanguard iShares (BlackRock)
Type Exchange-traded fund (ETF) Exchange-traded fund (ETF)
Index, as the issuer names it Bloomberg U.S. Aggregate Float Adjusted Index “Vanguard Total Bond Market ETF seeks to track the investment performance of the Bloomberg U.S. Aggregate Float Adjusted Index” Bloomberg US Aggregate Bond Index “Benchmark Index: Bloomberg US Aggregate Bond Index”
Source Read November 12, 2026 Vanguard, BND fund page Vanguard, BND fact sheet (as of September 30, 2026) Read November 12, 2026 iShares, AGG fund page

Every fact in the table is from the issuer’s own page for the fund, read on the date shown; the quoted words are the issuer’s. Issuers rename funds and change indexes, so check each page before you rely on it.

What kind of pair this is: two funds on two versions of one index

BND seeks to track the Bloomberg U.S. Aggregate Float Adjusted Index, and AGG names the Bloomberg US Aggregate Bond Index as its benchmark: two versions of one index from one index maker, BND from Vanguard and AGG from iShares. The index maker states the difference: “The Float-Adjusted version excludes US agency debentures, CMBS, and MBS passthrough securities held in the Federal Reserve SOMA account.” (Bloomberg, US Aggregate Float Adjusted Index page).

That leaves the two indexes close, and how close is part of the facts and circumstances. We found no IRS ruling on two funds that follow versions of one index. Ask a CPA or EA before relying on a swap between them.

The law in its own words

Read on 2026-11-12. The statute, IRC §1091(a):

“In the case of any loss claimed to have been sustained from any sale or other disposition of shares of stock or securities where it appears that, within a period beginning 30 days before the date of such sale or disposition and ending 30 days after such date, the taxpayer has acquired (by purchase or by an exchange on which the entire amount of gain or loss was recognized by law), or has entered into a contract or option so to acquire, substantially identical stock or securities, then no deduction shall be allowed under section 165 unless the taxpayer is a dealer in stock or securities and the loss is sustained in a transaction made in the ordinary course of such business.”

The regulation, Treas. Reg. §1.1091-1(a), in its own words:

“A taxpayer cannot deduct any loss claimed to have been sustained from the sale or other disposition of stock or securities if, within a period beginning 30 days before the date of such sale or disposition and ending 30 days after such date (referred to in this section as the 61-day period), he has acquired (by purchase or by an exchange upon which the entire amount of gain or loss was recognized by law), or has entered into a contract or option so to acquire, substantially identical stock or securities. However, this prohibition does not apply (1) in the case of a taxpayer, not a corporation, if the sale or other disposition of stock or securities is made in connection with the taxpayer’s trade or business, or (2) in the case of a corporation, a dealer in stock or securities, if the sale or other disposition of stock or securities is made in the ordinary course of its business as such dealer.”

The regulation’s second sentence is older than the statute’s present words: its history note shows the regulation last amended in 1967. In 1984, Pub. L. 98-369, section 106(b), put the dealer-only words quoted above into the statute, for sales after December 31, 1984. Before that, the statute denied the deduction “under section 165(c)(2)”, the paragraph for an individual’s losses in a transaction “entered into for profit, though not connected with a trade or business”, which is what the regulation’s clause (1) reflects (the amendment notes on the statute’s page give both wordings). This site follows the statute. Our guide to traders and the mark-to-market election covers what that means for a trader; ask a CPA or EA about your own case.

IRS Publication 550 (2025), under “Substantially identical” in its wash sales section:

“In determining whether stock or securities are substantially identical, you must consider all the facts and circumstances in your particular case. Ordinarily, stocks or securities of one corporation are not considered substantially identical to stocks or securities of another corporation. However, they may be substantially identical in some cases. For example, in a reorganization, the stocks and securities of the predecessor and successor corporations may be substantially identical.”
  • Neither the statute nor the regulation defines “substantially identical.”
  • Publication 550’s wash sales section says nothing about mutual funds, exchange-traded funds or index funds: the test it gives is the “facts and circumstances” sentence above.
  • We found no IRS ruling on whether two index funds or ETFs are substantially identical.

What our checker does with BND and AGG

Our free checker treats BND and AGG as two different securities. It matches a loss only against the same ticker and options on it, in every account you import, so a loss on BND followed by a purchase of AGG, or the other way round, gets no flag at all. Its answers say so in its own words: “Matches the same ticker and options on it. It doesn't judge whether other securities are substantially identical.” The methodology lists cross-ticker pairs among its known limitations.

It does catch what is easy to miss by hand: the same ticker bought back in another account, an IRA or a spouse’s account whose files you import. Check your trades in the free checker; it runs in your browser and uploads nothing.

Ask a CPA or EA

This page sets out facts, not an answer for your return. Whether BND and AGG are substantially identical for your sale is a question for a CPA or EA who can look at your trades, all your accounts and both funds’ current holdings. Bring the table above, the date of the loss sale and every purchase of either fund from 30 days before it to 30 days after. The wash sale calculator gives that window for any sale date.

Questions about BND and AGG

Are BND and AGG substantially identical?

We found no IRS ruling on BND and AGG. Their indexes are two versions of one Bloomberg index, apart by what the Federal Reserve holds, so the label our guide gives a meaningfully different index doesn’t fit them well. How close is close enough is a question for a CPA or EA.

Doesn’t Pub 550 say something about bond funds like BND and AGG?

Its wash sales section says a corporation’s bonds are not ordinarily considered substantially identical to its common stock, and gives no test for comparing two bond funds. We found no IRS ruling on bond fund pairs.

More fund pairs

Informational, not tax advice. Primary sources: IRC §1091, Treas. Reg. §1.1091-1, IRS Publication 550 and each issuer's own fund page — linked inline above. Found an error? Tell us and we'll fix it.

Get the year-end wash-sale reminders

Short emails at the moments that matter: before Nov 30 (the last day to sell at a loss and still re-buy within 2026); before Dec 31; and when 1099-Bs arrive in February. The one-page year-end checklist PDF comes with it.

Sign up and a link to the PDF appears right here. Confirm the email we send and you're on the list: about four to six emails a year, and you can unsubscribe in one click from any of them. Your trades stay in your browser. The form sends our email service only your email address and the page you signed up from — nothing else (see Privacy).