{"post":{"slug":"wash-sale-rule-explained-2026","title":"The wash sale rule explained for 2026: avoid a lost deduction","excerpt":"A plain-language guide to the wash sale rule in 2026 — how the 30-day window disallows a tax loss, what counts as substantially identical, and how to harvest losses safely.","category":"finance","date":"July 1, 2026","author":"ByteLedger Team","content":"<span class=\"dropcap\">T</span>he wash sale rule exists to stop one specific trick: selling an investment at a loss purely to claim the tax deduction, then buying it right back so nothing really changed. If you repurchase the same or a \"substantially identical\" security within a 30-day window, the IRS disallows the loss. It is one of the most misunderstood rules in taxable investing, and tripping it can quietly erase a deduction you were counting on. This is general information, not tax advice.\n\n## What changed in 2026\n\n- **Crypto remains a gray area.** Traditional securities are clearly covered; the rule application to digital assets has been debated, and legislation has repeatedly threatened to close the gap — verify the current treatment before relying on it.\n- **Broker software flags many wash sales.** Brokerages now warn about and adjust obvious wash sales automatically, but they cannot see trades across your other accounts, including a spouse account or an IRA.\n- **Tax-loss harvesting stayed popular.** Automated harvesting inside robo-advisors is common, which makes understanding the rule more relevant, not less.\n\n## How the rule works\n\nThe window is 61 days wide: 30 days before the sale, the day of the sale, and 30 days after. If you buy a substantially identical security anywhere in that span, the loss is disallowed for now. Crucially, the loss is not gone forever — it is added to the cost basis of the replacement shares, which is where this rule ties directly into [cost basis tracking](/blog/cost-basis-explained-2026).\n\n## What counts as substantially identical\n\nThis is the fuzzy part. The same stock is obviously identical. Selling one S&P 500 index fund and buying a different provider S&P 500 fund tracking the same index is risky, and often treated as substantially identical. Swapping into a fund that tracks a *different* index — a total-market fund for an S&P 500 fund, say — is generally considered safe, though not risk-free.\n\n| Action | Wash sale risk |\n|---|---|\n| Rebuy the exact same stock | High — clearly triggers |\n| Same index, different provider | High — likely identical |\n| Different index, similar market | Lower — generally allowed |\n| Buy in your IRA after selling in taxable | Triggers, and the loss is lost for good |\n\n## The IRA trap and other pitfalls\n\nThe nastiest version: sell at a loss in a taxable account, then buy the same security in your IRA within the window. This triggers the rule *and* the disallowed loss cannot be added to the IRA basis, so the deduction vanishes permanently. The rule also reaches across accounts you might not expect, including a spouse account. Automatic dividend reinvestment can trigger it too — a small reinvested purchase during the window can disallow part of a loss.\n\n## Harvesting losses safely\n\nTax-loss harvesting is legitimate and useful; the wash sale rule just sets the boundaries. To stay clear, wait more than 30 days before repurchasing, or move into a genuinely different investment that fills the same role without being substantially identical. Turn off automatic reinvestment on positions you plan to harvest, and check every account, not just the one you traded in.\n\n## FAQ\n\n**How long do I have to wait to rebuy?**\nMore than 30 days after the sale to be safe, and remember the window also covers the 30 days before. Buying inside either side of that span risks the disallowance.\n\n**Is the disallowed loss gone forever?**\nUsually no — it is added to the basis of the replacement shares, so you recover it when you eventually sell those. The exception is the IRA trap, where it can be lost permanently.\n\n**Does the rule apply to crypto?**\nIt has been a gray area, and rules may change. Do not assume crypto is exempt in 2026 without checking current law.\n\n**Can I harvest a loss and stay invested?**\nYes — buy a similar but not substantially identical investment so you keep market exposure while the window runs. That is the core of safe tax-loss harvesting.\n\n## Where to go next\n\nDeepen your taxable-account tax knowledge: understand [cost basis](/blog/cost-basis-explained-2026), the tax split between [qualified and ordinary dividends](/blog/qualified-vs-ordinary-dividends-2026), and how [portfolio rebalancing](/blog/portfolio-rebalancing-explained-2026) can create harvesting opportunities.","hue":290,"metaTitle":"Wash Sale Rule Explained 2026: Keep Your Loss","metaDescription":"The wash sale rule explained for 2026 — how the 30-day window disallows a loss, what counts as substantially identical, and how to harvest losses safely.","keywords":["wash sale rule explained 2026","wash sale rule","30 day wash sale window","tax loss harvesting","substantially identical securities","disallowed loss","wash sale crypto","capital loss deduction 2026"],"tldr":["**It blocks a fake loss** — you cannot deduct a loss if you rebuy within 30 days.","**The window is 61 days** — 30 days before the sale, the sale day, and 30 days after.","**The loss is usually deferred, not lost** — it moves into the new shares basis, except in the IRA trap.","**Watch every account** — the rule reaches IRAs, a spouse, and automatic dividend reinvestment.","**Skip:** rebuying a substantially identical fund too soon — swap indexes or wait past 30 days instead."],"readTime":"3 min read","wordCount":702},"related":[{"slug":"wash-sale-crypto-2026","title":"Wash Sales and Crypto: The Rule That May Not Apply","excerpt":"Wash sale rules restrict claiming a loss when you rebuy quickly, and their application to crypto has been unsettled. Here is where things stand.","category":"finance","date":"August 12, 2026","author":"ByteLedger Team","readTime":"3 min read","hue":300},{"slug":"tax-loss-harvesting-guide-2026","title":"Tax-loss harvesting in 2026: the rules, the wash-sale trap, and the math","excerpt":"Tax-loss harvesting can shave thousands off your tax bill — if you understand the wash-sale rule. Here is how it works, who it helps, and the limits.","category":"finance","date":"January 15, 2026","author":"ByteLedger Team","readTime":"4 min read","hue":285},{"slug":"taxable-brokerage-account-strategy-2026","title":"Taxable Brokerage Account Strategy for 2026","excerpt":"A taxable brokerage account has no contribution limit and no withdrawal age, but it also has no built-in tax shelter. Here is how to run one efficiently alongside retirement accounts in 2026.","category":"finance","date":"August 10, 2026","author":"ByteLedger Team","readTime":"4 min read","hue":285}],"sameCategory":[{"slug":"83b-election-explained-2026","title":"The 83(b) Election: A Form With a Hard Deadline","excerpt":"Filing an 83(b) election taxes restricted stock at grant instead of at vesting, which for early-stage equity is usually a large win. The deadline is unforgiving.","category":"finance","date":"August 19, 2026","author":"ByteLedger Team","readTime":"4 min read","hue":284},{"slug":"beneficiary-audit-guide-2026","title":"Beneficiary Audit: The Form That Overrides Your Will","excerpt":"A beneficiary designation on a retirement account beats whatever your will says. Most people set theirs once, at hiring, and never look again.","category":"finance","date":"August 19, 2026","author":"ByteLedger Team","readTime":"5 min read","hue":283},{"slug":"bonus-depreciation-2026","title":"Bonus Depreciation: Writing Off Equipment in Year One","excerpt":"Buying a $60,000 machine and deducting all of it immediately changes the arithmetic of a purchase. It also changes what happens if you sell it three years later.","category":"finance","date":"August 19, 2026","author":"ByteLedger Team","readTime":"5 min read","hue":288},{"slug":"deferred-comp-explained-2026","title":"Deferred Compensation: Deferring Tax and Taking Credit Risk","excerpt":"Non-qualified deferred compensation postpones tax on income you have earned, and leaves it exposed to your employer's solvency. Here is the trade.","category":"finance","date":"August 19, 2026","author":"ByteLedger Team","readTime":"3 min read","hue":293}],"newer":{"slug":"vpn-vs-proxy-2026","title":"VPN vs proxy in 2026: privacy, speed, and what each does","excerpt":"A straight comparison of VPNs and proxies in 2026 — what each one actually encrypts, where a proxy is enough, the privacy claims worth doubting, and how to pick based on the job instead of the marketing.","category":"tech","date":"July 1, 2026","author":"ByteLedger Team","readTime":"4 min read","hue":260},"older":{"slug":"what-is-a-fiduciary-advisor-2026","title":"What Is a Fiduciary Advisor 2026: Duty and Fees","excerpt":"A plain-language explainer on fiduciary financial advisors in 2026 — what the fiduciary duty means, how it differs from a suitability standard, how advisors are paid, and the questions to ask before hiring one.","category":"finance","date":"July 1, 2026","author":"ByteLedger Team","readTime":"3 min read","hue":195}}