Should I tax loss harvest BND to offset capital gains without triggering a wash sale?

Trying to figure out whether I should tax loss harvest BND to offset capital gains without triggering a wash sale this year. Here's my situation: I hold BND in my taxable brokerage and I'm sitting on a decent unrealized loss in that position. I also realized some short-term gains earlier this year from selling individual stocks. If I sell BND at a loss, I want to use that loss to offset those gains on Form 8949 and Schedule D. My worry is that I already own BNDX in the same account and I've seen people say similar funds can trigger wash sale rules. I haven't repurchased BND yet. Is BNDX substantially identical to BND? And does it matter that the BND loss would be long-term while my gains were short-term? I want to make sure I'm not accidentally disallowing the loss before I pull the trigger.

31 comments

Schedule D is where this plays out. Short-term losses offset short-term gains first, then long-term losses offset long-term gains, then the nets cross over. So a long-term loss on BND would first net against any long-term gains; only the remaining net long-term loss would offset your net short-term gain. It still helps, just not dollar-for-dollar against those short-term gains the way a short-term loss would. Worth knowing before you decide the trade is worth making.

Rachel B.

Author

That netting order wasn't obvious to me, thanks. So I'd really want a short-term loss to wipe out those short-term gains cleanly. BND has been held long enough that it'd be long-term for me anyway, so good to understand the difference before I sell.

On the substantially identical question: the IRS hasn't issued a formal ruling naming specific ETFs, so there's no bright-line list. BND tracks the U.S. aggregate bond market; BNDX tracks international bonds ex-U.S. Different index, different issuer mix, different currency exposure. Most tax practitioners treat them as not substantially identical for that reason. But "most practitioners" isn't the same as a guarantee, and the IRS could disagree. You hold the risk either way.

Rachel B.

Author

That's the clearest framing I've seen on this. I'll note that I hold BNDX long and haven't touched it, so at least I'm not buying it within 30 days of the BND sale. That should matter if they were somehow treated as identical, right?

Yes, the wash sale window is 30 days before and 30 days after the sale. If you don't buy BNDX or BND in that window you're outside the rule regardless of the similarity question. The trap is if you plan to get back into BND within 30 days after selling.

Something people overlook: the wash sale rule under Publication 550 also covers purchases inside an IRA or Roth IRA of substantially identical securities. So if you sell BND at a loss in your taxable account and your IRA auto-reinvests dividends into BND within 30 days, that counts as a wash sale — and the disallowed loss does NOT get added to the IRA's basis, it's just gone permanently. Worth checking any automatic reinvestment settings.

Rachel B.

Author

No IRA position in BND, so that one doesn't apply to me, but genuinely useful to know. I've heard people get burned by that exact scenario.

This is the one that gets people. Even if the IRA purchase is small from a dividend reinvestment, it disallows the loss on that many shares, and that part is gone for good, not just deferred. It doesn't taint the whole loss, only the matching shares. Turn off DRIP before the sale window if BND is in both accounts.

I ran my own version of this last year — sold an aggregate bond ETF at a loss and held a similar international one. I uploaded my 1099-B and the positions list to taxr.ai and Taxr flagged every lot by acquisition date, calculated which ones fell inside the 30-day window, and showed me which losses were clean versus which would be coded W on Form 8949. That made it easy to decide which lots to sell and which to leave alone. Saved me from accidentally washing a loss I didn't even know was at risk.

Rachel B.

Author

Lot-level date tracking is exactly where I keep second-guessing myself. Good to know that's something Taxr can actually map out against the window.

Form 8949 column (f) is where wash sale losses show up with code W, and column (g) shows the disallowed amount as a positive number that offsets your loss. The net flows to Schedule D. If your broker catches the wash sale they'll report the disallowed amount in box 1g of your 1099-B, but you're responsible for it even if they don't catch it — especially across different accounts or into an IRA.

The holding period question matters for which box you check on Form 8949. Long-term losses on covered securities go in Part II with box D checked (basis reported to IRS). Short-term go in Part I with box A. The netting on Schedule D happens after you've separated them. Your BND lots — do you know which were held more than a year? If you have a mix of lots some could be short-term.

Rachel B.

Author

I've held the main position for over two years, but I did add to it once about eight months ago. So I'd have a mix — older lots long-term, the newer addition short-term. I should probably specify which lots I'm selling at the time of the trade.

Specific lot identification is the right move here. Tell your broker before the trade settles which lots you're selling — most brokerage platforms let you choose at the time of the trade or same day. If you don't specify, your broker defaults to their method (often FIFO) which might not give you the best tax result. Once you identify the lots your 1099-B should reflect the correct basis and acquisition date for each.

Yes, and once you've designated specific lots your broker is supposed to confirm the selection. Keep that confirmation. If there's ever a basis question you'll want it.

Worth doing the actual math before selling. If your capital gains are entirely short-term, a long-term loss offsets them only after all long-term gains and losses net out first on Schedule D. Depending on the size of your gains versus the BND loss, the net benefit might be smaller than you expect. Publication 550 at irs.gov walks through the netting order.

One scenario that bites people: you sell BND for a loss on December 15, intend to wait 31 days, but on January 10 you buy back BND or something the IRS could call substantially identical. The loss is washed. So build in a calendar reminder and don't just mentally track it. 31 days after the sale date is the first safe repurchase date.

Correct — the window is 30 days before AND after, so the safe harbor is the 31st day post-sale. And the holding period of the original shares carries over to the replacement shares, which matters for how the eventual gain or loss is classified.

Schedule D line 16 is where your overall net capital gain or loss lands after everything flows from Form 8949. I went through a similar harvest trade last year and was confused about whether my disallowed loss would just disappear. Taxr walked through my Schedule D and Form 8949 together, showing me exactly how the W-coded loss shifted my column (g) adjustment and what that did to line 16. Helped me see the final number before I filed rather than after.

Rachel B.

Author

That's what I need — to see the actual line 16 outcome before I execute the trade, not after. Good to know that kind of walkthrough is possible.

Yes, modeling it before the trade is the right order. Once the sale happens you're committed to whatever the tax result is. Running through Form 8949 and Schedule D with your actual numbers ahead of time is exactly how you avoid surprises.

If your net capital losses end up exceeding your gains after all this, the deductible loss against other income is capped at a specific limit per year for single filers (or a lower limit for married filing separately) and the excess carries forward. Topic no. 409 on irs.gov has the current figures and the carryforward rules. The carryforward retains its character — long-term stays long-term.

Rachel B.

Author

Good to know the carryforward keeps its character. I'm not expecting to end up net negative but it's useful to know the floor if the gains don't absorb everything.

AGI and state taxes are a separate layer people forget. Some states don't conform to federal wash sale rules or treat capital gains differently. Your federal Form 8949 answer doesn't automatically resolve your state return. If you're in a state with its own capital gains rules it's worth checking whether the state disallows the loss the same way.

Form 3921 is for ISOs so ignore that if BND is your only issue. But on the wash sale tracking side — I had a situation with multiple ETF lots across two accounts and I gave Taxr my two 1099-Bs. It mapped each lot against the 30-day windows across both accounts and drafted a column (g) adjustment summary I could hand to my preparer. That cross-account visibility is exactly what's hard to do manually.

Cross-account wash sale tracking is genuinely the hard part. Most brokers only flag wash sales within their own account. The IRS doesn't restrict the rule to a single account, so the obligation is on you to catch cross-account matches.

Form 1099-B box 1g will show the wash sale loss disallowed only if the substantially identical shares had the same CUSIP and were bought in the same account. BNDX has a different CUSIP than BND. So your broker almost certainly won't flag anything between them. That does not mean the IRS agrees they aren't substantially identical — it just means you have to make that judgment yourself and document it.

Rachel B.

Author

Different CUSIP, same account — so no automatic box 1g flag from the broker. That confirms I'm on my own for the substantially identical analysis. I'll keep notes on why I concluded they aren't the same.

Documentation is underrated here. Keep a record of: the lots you sold and the specific identification election you made, the acquisition dates, the 30-day window start and end, any ETFs you hold that someone could argue are substantially identical, and your reasoning for why they aren't. If the IRS ever questions a loss on Form 8949, having that paper trail is what lets you defend the code — or the absence of one.

To summarize the mechanics: sell BND lots, identify specific lots at trade time, land the loss in the right Part of Form 8949 (Part I for short-term lots, Part II for long-term), check the right box based on whether basis is reported, don't repurchase BND or anything substantially identical for 31 days after the sale date, and check your IRA for auto-reinvestment. The netting order on Schedule D means long-term loss hits long-term gains first.

Rachel B.

Author

This is the clearest checklist in the thread. The IRA auto-reinvestment point is the one I would have missed without this discussion. Going to audit all my DRIP settings before I execute.