Tax Loss Harvesting Explained: How to Reduce Your Tax Bill

If you've ever sold an investment at a loss, you've already done tax loss harvesting — you just might not have known it. Tax loss harvesting is the practice of selling investments at a loss to offset capital gains and reduce your tax bill.

By USAFinCalc Editorial Team · Updated July 2026 · 7 min read

When done right, it can save you thousands of dollars in taxes every year. When done wrong, you could trigger the wash sale rule and lose the tax benefit.

How Tax Loss Harvesting Works

The concept is simple: sell losing investments to generate capital losses, then use those losses to offset capital gains from winning investments.

Step 1: Sell an investment that has lost value (e.g., a stock down 20%).

Step 2: Use the realized capital loss to offset capital gains from other sales.

Step 3: If your losses exceed your gains, you can deduct up to $3,000 against ordinary income ($1,500 if married filing separately).

Step 4: Any remaining losses carry forward to future years.

Real‑World Example

Scenario: You have two investments:

Without harvesting: You pay tax on $10,000 of gains (at 15% long‑term rate → $1,500 tax).

With harvesting: You sell Investment B, realize the $7,000 loss, offset the $10,000 gain → taxable gain is $3,000. Tax = $450. You saved $1,050.

Short‑Term vs Long‑Term Losses

Strategy: Harvest losses that offset your highest‑taxed gains — usually short‑term gains.

The Wash Sale Rule: What You Need to Know

The wash sale rule prevents you from claiming a loss if you buy the same or substantially identical security within 30 days before or after the sale.

Example: You sell 100 shares of XYZ stock at a loss on December 1. If you buy 100 shares of XYZ on December 20 (within 30 days), the loss is disallowed — you can't claim it on your tax return.

How to Avoid the Wash Sale Rule

⚠️ The wash sale rule applies to all accounts — including your IRA, 401(k), and your spouse's accounts. The IRS considers all accounts when applying the rule.

Tax Loss Harvesting with Crypto

Important: The wash sale rule does not apply to cryptocurrency in 2026. You can sell crypto at a loss and buy it back immediately — and still claim the loss. This is a major advantage for crypto investors.

Read our complete crypto tax guide for more →

Tax Loss Harvesting Strategies

1. Year‑End Harvesting

Review your portfolio in December to identify losses you can harvest. Sell losing positions to offset gains from the year.

2. Ongoing Harvesting

Harvest losses throughout the year as they occur — don't wait until December. This gives you more flexibility and helps you avoid the wash sale rule.

3. Harvesting to Offset $3,000 of Ordinary Income

If you have no capital gains, harvest losses up to $3,000 to deduct against ordinary income. If you're in the 24% bracket, that's a $720 tax saving.

4. Carry Forward Losses

If you have losses beyond $3,000, carry them forward. They never expire — you can use them in future years.

Tax Loss Harvesting in Tax‑Advantaged Accounts

You cannot harvest losses in tax‑advantaged accounts (IRAs, 401(k)s). But you can harvest losses in taxable accounts. This is why it's often recommended to hold taxable investments in a separate brokerage account from your retirement accounts.

Want to calculate your capital gains and losses?
Use our capital gains tax calculator to see how tax loss harvesting can reduce your tax bill.

📈 Calculate Capital Gains Tax →

Final Verdict

Frequently Asked Questions

Can I use tax loss harvesting to offset capital gains from real estate?

Yes — capital losses from stocks can offset capital gains from real estate sales. Both are capital assets.

What happens if I harvest a loss and then die?

Your heirs receive a step‑up in basis — the cost basis is adjusted to the fair market value at your death. This means the loss is effectively "reset."

Can I harvest losses in a robo‑advisor account?

Yes — most robo‑advisors (Betterment, Wealthfront, etc.) offer automated tax loss harvesting as a feature.

Is tax loss harvesting worth it for small accounts?

Yes — even small accounts can benefit. A $3,000 loss deduction saves $660–$1,100 in taxes depending on your bracket. Over time, the savings compound.

Disclaimer: This article is for educational purposes only and is not financial, tax, or legal advice. Consult a qualified professional for guidance specific to your situation.