
Tax Loss Harvesting 2026: How It Works, the Rules, and What a Loss Saves
Tax loss harvesting in 2026: losses offset gains, then $3,000 of income, the rest carries forward. Sell by Dec. 31. Value by bracket and a worked example.
Fact-checked by Jupid experts
Reviewed by our in-house tax team before publishing. Every figure is validated against:
Last reviewed: November 18, 2026

The wash sale rule, explained in IRS Publication 550 and set by IRC §1091, disallows your capital loss deduction if you buy the same or a substantially identical security within 30 days before or 30 days after selling at a loss. That creates a 61-day window: 30 days before the sale, the sale date itself, and 30 days after, all counted in calendar days, not business days. The disallowed loss is not gone forever; it gets added to the cost basis of the replacement shares.
Key takeaways:

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.
IRS Publication 550 describes the window as 30 days before or after the sale. Counting the sale date itself, the full danger zone is 61 calendar days. For a year-end loss sale in 2026:
| Date | Event |
|---|---|
| November 15, 2026 | Window opens (30 days before the sale) |
| December 15, 2026 | You sell 100 shares of XYZ Corp at a loss |
| January 14, 2027 | Window closes (30 days after the sale) |
If you buy XYZ Corp (or a substantially identical security) at any point between November 15, 2026 and January 14, 2027, the wash sale rule applies and your loss is disallowed.
The count uses calendar days, not business days or trading days. Weekends and market holidays count toward the 30 days.
The wash sale rule covers 30 days on each side of the sale, so day 31 after the sale is the first day you can rebuy without a wash sale. A purchase made 31 or more days before the sale is outside the window too. For tax-loss harvesting at the end of 2026, the dates fall like this:
| Loss sale (trade date) | Window opens | Window closes | First safe rebuy |
|---|---|---|---|
| Friday, November 20, 2026 | October 21, 2026 | December 20, 2026 | December 21, 2026 |
| Tuesday, December 1, 2026 | November 1, 2026 | December 31, 2026 | January 1, 2027 |
| Tuesday, December 15, 2026 | November 15, 2026 | January 14, 2027 | January 15, 2027 |
| Thursday, December 31, 2026 | December 1, 2026 | January 30, 2027 | January 31, 2027 |
When the first safe day falls on a weekend or a market holiday (January 1 and January 31, 2027), the practical rebuy date for a stock or fund is the next trading day.
The loss belongs to the year of the trade date, not the settlement date. Publication 550 says a stock sold on December 31 goes on that year's return even though the trade settles in January, so a sale with a December 31, 2026 trade date is a 2026 loss. A wash sale can straddle the two years: a December 2026 loss sale followed by a January 2027 rebuy inside the window is disallowed on your 2026 return, and the loss moves into the basis of the January shares.
A wash sale does not erase the capital loss. IRC §1091(d) adds the disallowed loss 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 | Transaction | Amount |
|---|---|---|
| 1 | Buy 100 shares of ABC at $50/share | $5,000 |
| 2 | Sell 100 shares of ABC at $35/share | $3,500 (a $1,500 loss) |
| 3 | Buy 100 shares of ABC at $38/share within 30 days | $3,800 |
Result: The $1,500 loss is disallowed for the current tax year. The new cost basis is $38 + $15 of disallowed loss per share = $53/share, and the holding period of the original shares carries over to the 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.
A reminder on why the loss matters: capital losses first offset capital gains, then up to $3,000 per year of ordinary income ($1,500 if married filing separately), with the rest carrying forward. The 2026 rate tables for the gains you are offsetting are in our Short-Term vs Long-Term Capital Gains Guide, and what a harvested loss saves in each 2026 bracket is worked out in our tax loss harvesting guide.
"Substantially identical" is where the wash sale rule gets complicated. Publication 550 says you must consider all the facts and circumstances, and the IRS has never published a comprehensive definition. Instead, it has 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:
Whether two mutual funds or ETFs are substantially identical 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 (thousands of U.S. stocks) |
| Russell 2000 (small cap) | S&P 600 SmallCap |
| MSCI EAFE (international) | FTSE Developed Markets |
Interactive
Does your repurchase wash out the loss?
Three facts decide whether your capital loss survives: a loss sale, the day count, and what you bought back.
Calendar days — before or after the sale; the window looks backward too.
Wash sale — the loss is disallowed this year
A repurchase 10 days from the loss sale sits inside the 61-day window. The loss isn't gone forever: it's added to the replacement shares' cost basis and the old holding period carries over — in the article's example, a $1,500 disallowed loss on shares rebought at $38 makes the new basis $53/share. The deduction is deferred until you sell the replacement shares.
Per IRS Pub 550 and IRC §1091, counted in calendar days. The rule reaches across all your accounts and your spouse's, and automatic dividend reinvestment counts as a purchase. Crypto held directly is outside the rule under current law (November 2026); the pending H.R. 10357 would cover crypto sold after September 14, 2026 if enacted.
No. Under current law, as of November 18, 2026, the wash sale rule does not apply to crypto you hold directly. IRC §1091 applies to "stock or securities" and to contracts or options on them, and the IRS treats digital assets as property, not currency or securities (IRS Notice 2014-21; Publication 550). The Joint Committee on Taxation put the current position plainly in September 2026: digital assets are not expressly within §1091, and the IRS has not issued regulations or guidance applying the wash sale rule to them (JCX-47-26).
Under current law 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.
Two kinds of crypto exposure are already inside the rule. Stock of a crypto company is stock. A digital asset that is itself a stock or security, such as a tokenized share, is covered too: the 2026 Instructions for Form 1099-DA tell brokers to report its disallowed wash sale loss in box 1i.
H.R. 10357 would extend the wash sale rule to crypto. Rep. Jason Smith introduced it on September 14, 2026, and the House Ways and Means Committee ordered it reported, 38 to 5, on September 16, 2026. As described by the Joint Committee on Taxation, the bill extends §1091 to "traded digital assets" (fungible tokens with readily available exchange quotes) and to contracts or options on them, excludes qualified U.S. dollar stablecoins, and treats a wrapped token as substantially identical to the coin it wraps when the two are economically equivalent (JCX-47-26).
The effective date is the part that matters for year-end planning. The committee's amended text applies the wash sale change to dispositions after September 14, 2026 (JCX-50-26). As of November 18, 2026, congress.gov shows no action after the committee vote: the bill has not passed the House, the Senate has not acted, and it is not law. If it were enacted with that date unchanged, a crypto loss harvested this fall and rebought within 30 days could be disallowed after the fact.
A crypto harvest that waits 31 days to rebuy, or moves into a coin that is not economically equivalent, keeps its loss under current law and under the bill as drafted. The idea has failed before: the House-passed Build Back Better Act (H.R. 5376, November 19, 2021) would also have applied the wash sale rule to digital assets, and that version never became law (Congressional Research Service).
Brokers report crypto sales on Form 1099-DA: gross proceeds for sales from 2025, plus cost basis for coins acquired after 2025 in a custodial account. The form does not change the wash sale treatment of ordinary coins. For the full picture of crypto reporting, see our Crypto Tax Guide.
Yes. The wash sale rule applies across your entire portfolio, not account by account. One of the most common mistakes investors make is assuming the rule only applies within a single brokerage account.
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. This includes:
The IRA scenario deserves special attention, because Rev. Rul. 2008-5 makes it the worst outcome possible: the ruling holds that the loss is disallowed under §1091 and that your basis in the IRA or Roth IRA is not increased. Suppose you sell a stock at a $1,500 loss in your taxable account, and buy the same stock in your IRA within 30 days:
Always coordinate trading activity between taxable accounts and retirement accounts.
Yes, it can. If you hold mutual funds with automatic dividend reinvestment and sell shares at a loss, the automatic reinvestment counts as a purchase. 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).
Form 1099-B shows a wash sale as a dollar amount in box 1g, "Wash sale loss disallowed." Box 1f is accrued market discount, a different item. Publication 550 says box 1g is filled in only when the shares sold were covered securities and the replacement shares had the same CUSIP number and were bought in the same account. A rebuy at another broker, in your IRA, by your spouse, or of a different fund on the same index never reaches box 1g. Publication 550 is explicit that you cannot deduct a wash sale loss even if Form 1099-B does not report it, so tracking those cases is your job.
Box 1g also takes the transaction off the shortcut. The Form 8949 instructions let you skip Form 8949 and report totals straight on Schedule D only when the 1099-B shows basis reported to the IRS and no adjustment in box 1f or 1g. A wash sale goes on Form 8949.
For a wash sale like the one above (100 shares of XYZ bought June 15, 2026 for $5,000 and sold December 15, 2026 for $3,500, with a rebuy inside the window), report the sale in Part I (short-term) with box A checked if your 1099-B shows basis reported to the IRS:
| Column | Entry |
|---|---|
| (a) Description | 100 sh. XYZ Corp |
| (b) Date acquired | 06/15/2026 |
| (c) Date sold | 12/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 the amount in box 1g is wrong, or your broker missed a wash sale, enter the correct disallowed amount in column (g); the Form 8949 instructions ask for an attached statement when your amount is lower than the 1099-B's. 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. To sell the original lot on December 31, 2026, the extra shares must be bought on or before November 30, 2026, and you cannot buy more in the 30 days after the sale.
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. A sale with a December 31, 2026 trade date has a window that closes January 30, 2027, so the first safe rebuy is January 31, 2027, a Sunday, which makes it Monday, February 1, 2027 for stocks and funds. Wait until then to repurchase and the loss stays on your 2026 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 the same account and the same CUSIP. If you trade the same securities across multiple accounts, you're responsible for identifying and reporting wash sales yourself: enter code W and the disallowed amount on Form 8949 even when box 1g of your 1099-B is blank.
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.
If you freelance and invest, tax time means Schedule C income, Schedule D gains, and Form 8949 adjustments all landing at once. Jupid is an AI accountant that connects to your bank accounts and categorizes business transactions with 95.9% accuracy, so the self-employment side of your return is already organized when you sit down to reconcile wash sales from your broker's 1099-B. You can also ask questions in WhatsApp or iMessage, like how a capital loss carryover interacts with your quarterly estimated payments, and get answers in real time. Try Jupid
| Item | 2026 Amount |
|---|---|
| Wash sale window | 61 days (30 + 1 + 30) |
| First safe rebuy | Day 31 after the sale |
| Last trade date for a 2026 loss | December 31, 2026 |
| LTCG 0% threshold (single) | Up to $49,450 |
| LTCG 15% threshold (single) | $49,451–$545,500 |
| LTCG 20% threshold (single) | Over $545,500 |
| Capital loss deduction limit | $3,000/year ($1,500 MFS) |
| Crypto subject to wash sale rule | Not under current law; H.R. 10357 would cover sales after Sept. 14, 2026 if enacted |
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 and coordinate with your spouse. If you invest in crypto, the exemption still stands under current law, but the pending H.R. 10357 would reach back to sales after September 14, 2026, so waiting 31 days to rebuy is the choice that holds up either way.
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.
Last Updated: November 18, 2026

CEO & Co-Founder
Fintech CEO with 10+ years building accounting and financial technology products. Previously co-founded and scaled an AI-powered accounting platform to $30M revenue and 100K+ business users, achieving 30,000 customers per accountant through automation — recognized by CNBC as a top fintech company. Holds a Master's in Management Information Systems. At Jupid, he leads the development of AI-native bookkeeping, tax, and compliance tools designed for freelancers and small business owners.

Tax loss harvesting in 2026: losses offset gains, then $3,000 of income, the rest carries forward. Sell by Dec. 31. Value by bracket and a worked example.

Complete 2026 crypto tax guide: capital gains rates, Form 8949, new 1099-DA reporting, staking/mining income, DeFi rules, and cost basis requirements.

How dividends are taxed in 2026: qualified vs ordinary rates, holding period rules, S-corp distributions, NIIT, and reporting on your tax return.
Set up in minutes. Cancel anytime.
Join 1,000+ businesses using Jupid to save time and money. Start simplifying your finances today.
30-day money-back guarantee