Investing · Day 4 of the series · 7 min read · Man Nguyen, CPA · Nov 28, 2025

Day 4: How to turn a market loss into a tax win

If you have a position in the red, don't just wait for it to bounce back. Here is the swap strategy to unlock a tax asset.

Nobody likes losing money. But if you have an investment that is down, you have a choice. You can do what most people do: stare at the red number, feel bad, and wait for it to recover. Or you can do what I do: treat it as a tax asset.

If you have looked at your portfolio recently, you might have some positions that are struggling. Maybe it is a specific tech stock, or maybe the entire AI sector is cooling off. Instead of waiting for a recovery, you can use that loss to lower your tax bill and stay invested at the same time.

The concept: tax loss harvesting

The logic is simple. The IRS allows you to sell an investment at a loss and use that loss to offset your capital gains.

  • Scenario: You made $20,000 selling real estate or Bitcoin earlier this year.
  • The reality: You also bought a stock a few months ago that is now down $20,000.
  • The move: You sell the losing stock to book the $20,000 loss.
  • The result: Your net capital gain is $0. You pay $0 in capital gains tax.

But what if I don't have any gains? This is where it gets good. Even if you have zero gains to offset, you can use $3,000 of that loss to offset your ordinary income, your W-2 or business profit.

The carryover power

If you have a massive loss, say $50,000, don't worry. You use $3,000 this year and carry the remaining $47,000 forward, basically forever. It becomes a dedicated tax shield that stays with you until you use it up. Next time you sell a business or a house, that shield is waiting there to wipe out the taxes.

The trap: the wash sale rule

The IRS isn't stupid. They know you want to sell the stock, book the loss, and immediately buy it back because you think it will rebound. They created the wash sale rule to stop this.

  • The rule: If you sell a security at a loss and buy a "substantially identical" security within 30 days before or after the sale, the loss is disallowed.
  • The mistake: Selling QQQ (Nasdaq 100) and immediately buying QLD (Ultra QQQ).
  • The verdict: Substantially identical. No tax deduction.

The solution: the ETF swap strategy

You don't have to sit in cash. You just need to buy something similar, but not identical. If you are holding a tech fund that is down, here is the play:

  • Sell: QQQ (Invesco Nasdaq 100)
  • Buy immediately: VGT (Vanguard Information Technology ETF)

Why this works: they both track the tech sector but use different indices. QQQ tracks the largest non-financial companies on the Nasdaq; VGT tracks the MSCI US Investable Market. You book the loss today but stay invested for the rebound. The correlation is nearly 99%, so if tech rips higher, you don't miss the ride.

The grey area: the crypto loophole

I have to mention this because I get asked constantly. Currently the wash sale rule applies to securities: stocks, bonds, ETFs. Bitcoin and Ethereum are classified as property by the IRS.

The loophole: technically you can sell Bitcoin at a loss at 10:00 AM, book the deduction, and buy it back at 10:05 AM. The wash sale rule does not currently apply.

The warning: while this works on paper, be careful. The IRS has an economic substance doctrine. If you do this instantly, they could flag it. I recommend waiting at least 24 hours just to be safe. But for now, it is the most powerful loophole in the code.

Advanced level: 5 moves most DIY investors miss

This is where we separate the rookies from the pros. Most people only harvest losses to offset a specific gain. I use it to control my entire financial future.

1. Harvest small losses early (the basis reset)

Don't wait for a market crash. If a position drops even $200, it matters. When you sell a loser and swap into a new fund, you bank a deduction now, when your earning power is high. When the new fund grows, you pay the tax later. It is tax rate arbitrage.

2. Pair losses with future liquidity events

If you know you have a massive liquidity event coming next year, a business exit, a home sale, or a huge pile of RSUs vesting, start harvesting losses now. You are building a war chest. Even if you don't use the losses this year, they sit on your return ready to wipe out that massive bill next year.

3. The "upgrade" rotation

Use the loss as an excuse to clean up your portfolio. Sell the high-fee mutual fund (1.5% expense ratio) your dad's broker sold you years ago, and buy a low-cost ETF like VTI (0.03%). You get the tax deduction and you stop bleeding fees. Over 20 years that fee difference alone is worth tens of thousands.

4. Harvest gains and losses together

If your income is unusually low this year, maybe you took a sabbatical or started a business, your capital gains rate might be 0%. The move: sell your winners to realize the gain tax-free. The twist: immediately buy them back. Wash sale rules do not apply to gains. The result: you just stepped up your cost basis for free. Future growth is taxed less.

5. The "spouse" trap (the robo-advisor nightmare)

The wash sale rule applies to your household, not just you. The trap: you sell TSLA at a loss in your Robinhood account to be smart. The unseen killer: your spouse has a Betterment or Wealthfront account that automatically buys TSLA as part of a bundle the same day. The result: your loss is denied. You need to look at all family accounts as one big portfolio.

The action plan

We are approaching year-end. This is your window.

  • Review: Log in to your brokerage.
  • Identify: Sort by unrealized gain/loss and find the red positions.
  • Check: Make sure you haven't bought that ticker in the last 30 days.
  • Swap: Sell the loser, buy the partner ETF.
  • Bank: That loss is now a permanent asset on your tax return.
← Day 3: HSA, diet, and exercise Day 5: The reset trap →

Sitting on losses
or a big gain coming?

Harvesting is simple to get wrong and costly when you do. I will map the swaps and the timing with you.

Book a Free Strategy Call
30 MIN · FREE · NO PITCH

Updated for 2026. Originally published on Tax Smart From Math and reviewed against 2026 figures; the $3,000 annual capital-loss offset against ordinary income is unchanged. For general education only and not tax or investment advice. Tickers named are examples, not recommendations. Wash sale and crypto rules can change. Work with a qualified professional on your specific facts.