
Published: March 4, 2026 Tax Year: 2026
Tax-loss harvesting sounds straightforward: sell an investment at a loss, claim the deduction, and move on. When I started investing alongside building Jupid, I assumed that was all there was to it. Then I learned about the wash sale rule — and realized the IRS had anticipated this strategy decades ago.
The wash sale rule exists because without it, investors could sell a stock on Monday, claim the loss on their taxes, and buy the same stock back on Tuesday — getting a tax break without actually changing their investment position. Congress closed that loophole in 1921, and IRC §1091 has been catching investors off guard ever since.
At Anna Money, where we worked with 60,000+ small business owners in the UK, many of them also had investment portfolios. The UK has a similar rule (the "30-day bed and breakfast rule"), so this concept isn't unique to the US. But the American version has specific nuances — particularly around what counts as "substantially identical" securities, how the rule applies across different accounts, and whether cryptocurrency is covered.
This guide covers exactly how the wash sale rule works, what triggers it, what doesn't, and the strategies you can use to harvest tax losses without running into problems.
What is the wash sale rule? If you sell a stock or security at a loss and buy a "substantially identical" stock or security within 30 days before or after the sale, the IRS disallows the loss deduction.
Key Numbers for 2026:
| Detail | Value |
|---|---|
| Window before sale | 30 days |
| Window after sale | 30 days |
| Total wash sale window | 61 days (30 + sale day + 30) |
| Applies to | Stocks, bonds, options, mutual funds, ETFs |
| Does NOT apply to | Cryptocurrency (as of 2026) |
| Reported on | Form 8949, Schedule D |
| Disallowed loss treatment | Added to cost basis of replacement shares |
2026 Capital Gains Tax Rates (for context):
| Filing Status | 0% Rate | 15% Rate | 20% Rate |
|---|---|---|---|
| Single | Up to $48,350 | $48,351–$533,400 | Over $533,400 |
| MFJ | Up to $96,700 | $96,701–$600,050 | Over $600,050 |
Legal basis: IRC §1091 (wash sales of stock or securities), IRS Publication 550, Form 8949, Schedule D

The wash sale rule is triggered when three conditions are met:
When triggered, the IRS disallows the loss deduction. You can't claim it on your tax return for that year. However, the loss isn't gone forever — it gets added to the cost basis of the replacement shares you purchased.
The wash sale window is often described as "30 days," but it's actually 61 calendar days:
Day -30 ... Day -1 | SALE DAY | Day +1 ... Day +30
↑ ↑
30 days before 30 days after
|_____________ 61 days ______________|
Example timeline:
You sell 100 shares of XYZ Corp at a loss on March 15, 2026.
If you buy XYZ Corp (or a substantially identical security) at any point between February 13 and April 14, the wash sale rule applies and your loss is disallowed.
The disallowed loss doesn't disappear. It gets added to the cost basis of the replacement shares. This means you'll recognize the loss when you eventually sell the replacement shares — assuming you don't trigger another wash sale.
Example:
Step 1: Buy 100 shares of ABC at $50/share = $5,000
Step 2: Sell 100 shares of ABC at $35/share = $3,500 (loss of $1,500)
Step 3: Buy 100 shares of ABC at $38/share within 30 days = $3,800
Result:
- $1,500 loss is DISALLOWED for current tax year
- New cost basis = $38 + $15 (disallowed loss per share) = $53/share
- Holding period of original shares carries over to new shares
When you eventually sell the replacement shares at, say, $60/share, your gain is calculated from the adjusted basis of $53, not $38. The original loss is effectively deferred, not eliminated.
This is where the wash sale rule gets complicated. The IRS has never published a comprehensive definition of "substantially identical." Instead, they've issued guidance through revenue rulings and publications that covers specific scenarios.
These will trigger a wash sale:
These generally won't trigger a wash sale:
This is where tax professionals disagree, and the IRS hasn't provided definitive guidance:
Two S&P 500 index funds from different companies (e.g., Vanguard's VOO and iShares' IVV): These track the same index with nearly identical holdings. The IRS could argue they're substantially identical, but there's no ruling directly on point. Most tax professionals treat them as a gray area and recommend caution.
ETFs tracking similar but different indexes (e.g., an S&P 500 fund and a total market fund): These have significant overlap but aren't identical. Most practitioners consider these different enough to avoid wash sale treatment, but there's no guarantee.
Two actively managed funds in the same category (e.g., two large-cap growth funds): Generally considered NOT substantially identical because portfolio managers make different stock selections.
The safe approach: If you want to harvest a loss on an index fund, switch to a fund tracking a different index in the same asset class. For example:
| Instead of this... | Buy this instead |
|---|---|
| S&P 500 fund (500 stocks) | Total Stock Market fund (3,600+ stocks) |
| Russell 2000 (small cap) | S&P 600 SmallCap |
| MSCI EAFE (international) | FTSE Developed Markets |
As of 2026, cryptocurrency is NOT subject to the wash sale rule. This is because IRC §1091 applies specifically to "stock or securities," and the IRS classifies cryptocurrency as property — not a security (IRS Notice 2014-21).
This means you can:
This is a significant tax planning advantage. While stock investors must wait 31 days or switch to a different security, crypto investors can harvest losses and immediately re-establish their position.
Congress has repeatedly proposed extending wash sale rules to digital assets. The Build Back Better Act (2021) included such a provision, but it was dropped before passage. Several bills in 2024 and 2025 proposed similar changes, but none have been enacted.
Starting in 2025, brokers must report crypto transactions on Form 1099-DA (with cost basis reporting beginning in 2026). While this reporting requirement doesn't change the wash sale exemption, it signals increased IRS attention to crypto taxation. It's worth monitoring legislative developments — this exemption may not last forever.
Bottom line for 2026: Crypto is still exempt. Take advantage of it while it's available, but keep detailed records of all transactions.
One of the most common mistakes investors make: assuming the wash sale rule only applies within a single brokerage account. It doesn't.
If you sell stock at a loss in your Fidelity account and buy it back in your Schwab account within 30 days, it's still a wash sale. The IRS looks at your entire portfolio, not individual accounts.
This includes:
This deserves special attention. When a wash sale involves a replacement purchase in an IRA:
Taxable account: Sell stock at $1,500 loss
IRA: Buy same stock within 30 days
Result:
- $1,500 loss is DISALLOWED in taxable account
- Loss CANNOT be added to IRA cost basis (IRAs don't track basis the same way)
- The $1,500 loss is permanently gone
This is one of the worst tax outcomes possible from a wash sale. Always coordinate trading activity between taxable accounts and retirement accounts.
If you hold mutual funds with automatic dividend reinvestment and sell shares at a loss, the automatic reinvestment could trigger a wash sale. Even a small dividend reinvestment within the 61-day window is enough to disallow a portion of your loss.
Solution: Turn off automatic reinvestment before harvesting losses, or switch the reinvestment to a money market fund during the wash sale window.
Wash sales are reported on Form 8949 (Sales and Other Dispositions of Capital Assets), which feeds into Schedule D (Capital Gains and Losses).
Your broker will typically report wash sales on your Form 1099-B with a code "W" in Box 1f. However, brokers only track wash sales within their own accounts. Cross-account and spousal wash sales are your responsibility to track and report.
For a wash sale transaction, you'll report:
| Column | Entry |
|---|---|
| (a) Description | 100 sh XYZ Corp (W) |
| (b) Date acquired | 01/15/2026 |
| (c) Date sold | 03/15/2026 |
| (d) Proceeds | $3,500 |
| (e) Cost basis | $5,000 |
| (f) Code | W |
| (g) Adjustment | $1,500 (the disallowed loss, entered as positive number) |
| (h) Gain or loss | $0 (loss fully disallowed) |
If only part of the loss is disallowed (because you repurchased fewer shares than you sold), you calculate the disallowed portion proportionally.
You don't have to repurchase the same number of shares to trigger a wash sale. If you sell 100 shares at a loss and buy back only 50 shares within 30 days:
The simplest approach. Sell the losing position and wait at least 31 calendar days before repurchasing. The risk: the stock could rise significantly during those 31 days, and you miss the recovery.
This is the most popular tax-loss harvesting strategy. Sell the losing security and immediately buy something similar but not substantially identical:
Examples:
After 31 days, you can switch back to your original holding if you prefer.
Buy additional shares of the stock before selling the losing shares. Wait 31 days, then sell the original (losing) shares. Because you bought the replacement shares more than 30 days before the sale, no wash sale is triggered.
Caution: This requires extra capital and doubles your exposure to the stock during the waiting period.
If you sell losing positions in late December, the 30-day window extends into late January. If you wait until February to repurchase, you avoid the wash sale and can claim the loss on the prior year's return. Use the Capital Gains Tax Calculator to estimate your potential savings before executing this strategy.
Many investors only think about the 30 days after a sale. But if you bought shares of the same stock within 30 days before selling at a loss, that earlier purchase is the replacement purchase. The wash sale window looks backward too.
Your spouse's trades count. If you're married, coordinate your investment decisions during tax-loss harvesting season. A spouse buying the same security within the 61-day window triggers a wash sale on your loss.
Your broker only reports wash sales within their platform. If you trade the same securities across multiple accounts, you're responsible for identifying and reporting wash sales yourself. The IRS can cross-reference 1099-B forms across brokers.
This is the costliest mistake. A wash sale where the replacement purchase is in an IRA or Roth IRA means the disallowed loss is permanently lost — you can never deduct it. Always check your IRA trading activity during the 61-day window around any tax-loss harvest.
Even a small dividend reinvestment in a mutual fund can trigger a partial wash sale. Turn off automatic reinvestment before harvesting losses, or switch to cash settlement temporarily.
Managing wash sales alongside self-employment income creates real complexity at tax time. If you're a freelancer or LLC owner who also invests, you're juggling Schedule C business deductions, capital gains on Schedule D, and potentially wash sale adjustments on Form 8949 — all while tracking quarterly estimated tax payments.
Jupid's AI tax assistant connects to your bank accounts and automatically categorizes transactions with 95.9% accuracy. While your brokerage handles investment reporting, Jupid ensures your business income and expenses are properly tracked so you can focus on the bigger picture of your tax strategy.
With Jupid's WhatsApp and iMessage AI accountant, you can ask questions about how your investment losses interact with your self-employment income — like whether a capital loss carryforward will offset your Schedule C profit, or how to plan estimated tax payments when you have both business income and investment gains.
Start tracking your taxes with Jupid →
| Item | 2026 Amount |
|---|---|
| Wash sale window | 61 days (30 + 1 + 30) |
| LTCG 0% threshold (single) | $48,350 |
| LTCG 15% threshold (single) | $48,351–$533,400 |
| LTCG 20% threshold (single) | Over $533,400 |
| Capital loss deduction limit | $3,000/year ($1,500 MFS) |
| Crypto subject to wash sale rule | No |
The wash sale rule doesn't eliminate your loss — it defers it by adding the disallowed amount to your replacement shares' cost basis. The real danger is triggering a wash sale without realizing it, especially across multiple accounts or through automatic reinvestment.
Plan your tax-loss harvesting with the 61-day window in mind, coordinate with your spouse, and if you invest in crypto, take advantage of the current exemption while it's still available.
Disclaimer
This article provides general information about the wash sale rule and should not be considered tax or investment advice. The treatment of specific securities as "substantially identical" depends on individual facts and circumstances. Cryptocurrency tax treatment is subject to potential legislative changes. Your actual tax impact depends on your complete financial situation. For advice specific to your situation, consult with a qualified tax professional.
Tax Year: 2026 Last Updated: March 4, 2026
Join 1,000+ businesses using Jupid to save time and money. Start simplifying your finances today.
30-day money-back guarantee