# Crypto tax-loss harvesting rules for US filers in 2026

URL: https://fincodelabs.com/en/blog/crypto-tax-loss-harvesting · Publisher: Fincode (Fincode Yazılım ve Teknoloji A.Ş.), Istanbul, Turkey · Category: Fintech development · Published: 2026-11-27 · Updated: 2026-11-27

Crypto tax-loss harvesting in the US, read 27 Nov 2026: section 1091 text, the pending H.R. 10357 wash-sale change, the $3,000 limit, lot rules and 1099-DA.

**Short answer:** **Crypto tax-loss harvesting** means selling digital assets below their cost basis to realize capital losses that offset gains. As of 27 November 2026 the US wash-sale rule in IRC section 1091 still applies by its text only to stock or securities, but H.R. 10357, a bill pending in Congress, would extend it to traded digital assets for sales after its introduction on 14 September 2026.

This guide is for teams building portfolio, accounting or tax tools for US users. It quotes the US Code, the bill text and its Congress.gov status, the Code of Federal Regulations and IRS publications, all read on 27 November 2026. It is general education, not tax, legal or investment advice; state rules are not covered, and a tax professional should review any real decision.

## Does the wash sale rule apply to crypto in 2026?

By its text, no for most crypto held directly: section 1091 disallows losses on "shares of stock or securities", and the IRS treats digital assets as property.

Section 1091(a), as read on 27 November 2026, disallows a loss when the taxpayer acquires "substantially identical stock or securities" within a period beginning 30 days before and ending 30 days after the sale, a 61-day window counting the sale day. The disallowed loss is not lost for good: under 1091(d) it is added to the basis of the replacement shares. Its last listed amendment dates from 2002; the official US Code site said that day it was current through Public Law 119-142 of 10 November 2026.

The IRS virtual currency FAQ (last reviewed 30 June 2026) says a sale of virtual currency produces capital gain or loss "subject to any limitations on the deductibility of capital losses", and points to Notice 2014-21, which treats virtual currency as property. None of the IRS pages read that day addresses wash sales of digital assets that are not securities. Two exceptions matter:

- **Tokenized securities.** The 2026 Instructions for Form 1099-DA require brokers to report, in box 1i, losses disallowed under section 1091 on tokenized securities sold and repurchased in the same account with the same CUSIP. A token that is a stock or security stays inside the rule.
- **Tokens that may be securities.** Whether a particular token is a security is a separate legal question; the [SEC and CFTC crypto rules guide](https://fincodelabs.com/en/blog/sec-cftc-crypto-rules) covers how US regulators approach it.

## Crypto wash sale bill: H.R. 10357 and its effective date

The Digital Asset Tax Certainty Act, H.R. 10357, would rewrite section 1091 to cover traded digital assets; on 27 November 2026 it had not been enacted.

**H.R. 10357 status on Congress.gov, read 27 November 2026**

| Date | Action |
| --- | --- |
| 14 September 2026 | Introduced in the House; referred to the Committee on Ways and Means |
| 16 September 2026 | Markup held; ordered to be reported in the nature of a substitute, 38 to 5 |

Section 301 of the introduced text replaces "stock or securities" with "specified assets", defined as any stock or security and "any traded digital asset other than a qualified U.S. dollar stablecoin", plus contracts and options on them. It treats a tokenized or wrapped asset that is economically equivalent to another as substantially identical to it, and excludes acquisitions from validation (staking or mining) and regular periodic acquisitions included as ordinary income. Section 302 would extend the constructive-sale rule in section 1259 to digital assets.

The effective-date clause matters for anyone selling now. The introduced text says the wash-sale amendments "shall apply to dispositions after the date of the introduction of this Act", that is, after 14 September 2026, and lets brokers ignore the change for basis reporting on sales before 1 January 2028. The chairman's substitute offered at the markup, published by Ways and Means, not Congress.gov, keeps "dispositions after September 14, 2026". That can still change, so a tool should store data to apply either rule. For the wider US legislative picture, see the [CLARITY Act guide](https://fincodelabs.com/en/blog/clarity-act-crypto-market-structure).

## Capital loss limit and short-term vs long-term losses

Capital losses first offset capital gains; for individuals, up to $3,000 of any excess ($1,500 if married filing separately) offsets other income each year, and the rest carries forward.

Section 1211(b) sets that cap, and IRS Topic 409 (last reviewed 9 November 2026) says a larger net loss can be carried to later years using the worksheet in Publication 550 or the Schedule D instructions. Section 1222 defines short-term as held "not more than 1 year". Publication 544 for 2025 returns says to start counting the day after acquisition and to include the day of sale: an asset bought on 17 June 2024 and sold on 17 June 2025 is short-term, while a sale on 19 June 2025 is long-term. Tax rates are not covered here.

> **Hypothetical example.** A single filer realizes a net capital loss of $7,000 for 2026 and has no capital gains. Under section 1211(b), $3,000 reduces other income for 2026 and $4,000 carries forward to 2027. Married filing separately, the figures would be $1,500 and $5,500. These numbers come from the script below.

## Which lots are sold: specific identification in 2026

Since 1 January 2025, units are identified per wallet or account, and units held with a broker are treated as first in, first out unless the seller identifies them by the time of the sale.

Treas. Reg. 1.1012-1(j), applicable to acquisitions and dispositions on or after 1 January 2025, says that for units in the custody of a broker, absent an "adequate identification" given to the broker "no later than the date and time of the sale", units are treated as sold in order of acquisition within that broker's custody. For units outside a broker, such as an unhosted wallet, specific identification is made on the taxpayer's own books and records, with FIFO within the wallet as the fallback.

Notice 2026-20 extends the temporary relief first given in Notice 2025-7 through 31 December 2026: for units held by a broker, a taxpayer may identify the units, or record a standing order, on their own books and records no later than the time of the sale. The notice says the units sold are then the ones in the taxpayer's records "regardless of whether the information reported by the broker" matches. No IRS text found on 27 November 2026 extended that relief into 2027. For a tool, an identification recorded after the trade does not count. The [1099-DA cost basis guide](https://fincodelabs.com/en/blog/1099-da-cost-basis) explains the per-wallet transition and the Rev. Proc. 2024-28 safe harbor.

## 1099-DA and Form 8949 for harvested losses

A broker sale appears on Form 1099-DA, but the loss you report comes from your own basis and lot records, and the two can differ.

The 2026 Instructions for Form 1099-DA define a covered security as a digital asset acquired after 2025 in an account with the same broker; for noncovered units the broker may leave basis blank. The broker uses its own lot method, so under Notice 2026-20 relief the broker's acquisition date and basis may not match the lots on your books. The 2025 Instructions for Form 8949 add boxes G, H and I for short-term and J, K and L for long-term digital asset transactions, say not to use boxes C or F for them, and describe adjustment code W for wash-sale losses with the disallowed amount entered in column (g). Box 1i on Form 1099-DA, the wash-sale field, is reserved for tokenized securities. What the form contains is covered in the [Form 1099-DA guide](https://fincodelabs.com/en/blog/form-1099-da-crypto).

## Lot records a harvesting script should keep, tested

A harvesting tool needs lot-level records per wallet: acquisition time, units, basis including fees, and the holding period on the planned sale date.

The script below uses hypothetical lots of one digital asset in one account and a hypothetical price. It computes each lot's unrealized gain or loss and term on a planned sale date, flags lots acquired inside the 61-day window that section 1091 uses for stock, which would matter if the pending bill or a tokenized security brings the rule into play, applies the section 1211(b) cap, and rejects an impossible record.

```python
from datetime import date, timedelta
from decimal import Decimal as D

def add_year(d):                       # Feb 29 -> Feb 28 next year
    try: return d.replace(year=d.year + 1)
    except ValueError: return d.replace(year=d.year + 1, day=28)

def term(acquired, sold):              # long only if held MORE than 1 year (Pub. 544)
    if sold < acquired:
        raise ValueError(f"sold {sold} before acquired {acquired}")
    return "long" if sold > add_year(acquired) else "short"

# Hypothetical lots of one digital asset in ONE wallet or account (per-wallet rule from 2025)
lots = [  # (lot id, acquired, units, cost basis incl. fees, USD)
    ("L1", date(2025, 6, 17), D("2.0"), D("9000.00")),
    ("L2", date(2025, 11, 20), D("1.5"), D("7800.00")),
    ("L3", date(2026, 11, 30), D("0.5"), D("1500.00")),
]
sale_day, price = date(2026, 12, 15), D("3400.00")      # hypothetical
window = (sale_day - timedelta(days=30), sale_day + timedelta(days=30))

print(f"{'lot':4}{'acquired':12}{'units':>6}{'basis':>10}{'value':>10}{'gain/loss':>11}  term   in 61-day window")
for lot, acq, units, basis in lots:
    value = (units * price).quantize(D("0.01"))
    print(f"{lot:4}{acq.isoformat():12}{units:>6}{basis:>10}{value:>10}{value - basis:>11}  {term(acq, sale_day):6} {window[0] <= acq <= window[1]}")

print("IRS example:", term(date(2024, 6, 17), date(2025, 6, 17)), term(date(2024, 6, 17), date(2025, 6, 19)))

def deductible(net_capital_loss, mfs=False):   # IRC 1211(b) cap, rest carries forward (1212(b))
    cap = D(1500 if mfs else 3000)
    used = min(cap, net_capital_loss)
    return f"deduct {used}, carry forward {net_capital_loss - used}"
print("net loss 7000:", deductible(D(7000)), "| married filing separately:", deductible(D(7000), mfs=True))
try:
    term(date(2026, 12, 20), sale_day)
except ValueError as e:
    print("bad record:", e)
```

Output, run on 27 November 2026:

```
lot acquired     units     basis     value  gain/loss  term   in 61-day window
L1  2025-06-17     2.0   9000.00   6800.00   -2200.00  long   False
L2  2025-11-20     1.5   7800.00   5100.00   -2700.00  long   False
L3  2026-11-30     0.5   1500.00   1700.00     200.00  short  True
IRS example: short long
net loss 7000: deduct 3000, carry forward 4000 | married filing separately: deduct 1500, carry forward 5500
bad record: sold 2026-12-15 before acquired 2026-12-20
```

The "IRS example" line reproduces the Publication 544 holding-period example. It recommends nothing; which lots to sell, if any, is for the user and their adviser. A production version would also store the account, transaction hashes, fees and when each identification was recorded, in line with IRS FAQ 40. The data plumbing for that is covered in the [crypto accounting data pipeline guide](https://fincodelabs.com/en/blog/crypto-accounting-data-pipeline); for quick single-trade arithmetic there is the [crypto profit calculator](https://fincodelabs.com/en/tools/crypto-profit-calculator).

## Sell and rebuy: what this guide cannot settle

The absence of a wash-sale rule for most crypto does not settle every question about selling and buying back, and several are fact-specific.

- **Economic substance.** Section 7701(o) treats a transaction to which the economic substance doctrine is relevant as having substance only if it changes the taxpayer's economic position in a meaningful way, apart from federal income tax effects, and has a substantial non-tax purpose. Whether that doctrine is relevant to a given trade is a question for a tax professional; no IRS guidance read on 27 November 2026 applied it to digital asset sales.
- **Retroactivity.** If H.R. 10357 is enacted with that effective date, sales and repurchases since 14 September 2026 could fall under section 1091.
- **Other countries.** These are US federal rules. The UK, for example, matches a disposal with tokens of the same type acquired in the following 30 days (HMRC Cryptoassets Manual CRYPTO22200), covered in the [HMRC crypto tax guide](https://fincodelabs.com/en/blog/hmrc-crypto-tax-uk), and international reporting is moving to the [OECD CARF](https://fincodelabs.com/en/blog/carf-crypto-reporting).

If you are building lot tracking or reporting into a product, Fincode's [fintech app development page](https://fincodelabs.com/en/services/fintech-app-development) describes how such projects are scoped; naming the IRS forms and any provider here does not mean Fincode integrates a particular tax service.

## Frequently asked questions

### Does the wash sale rule apply to crypto in 2026?

Not by the current text of IRC section 1091, which covers stock or securities, as read on 27 November 2026. Tokenized securities are covered, and the pending H.R. 10357 would extend the rule to traded digital assets.

### Is the crypto wash sale bill law?

No. On 27 November 2026 Congress.gov showed H.R. 10357 introduced on 14 September 2026 and ordered reported by the Ways and Means Committee on 16 September 2026, with no later action.

### How much crypto loss can I deduct per year?

Capital losses offset capital gains in full; beyond that, an individual can deduct up to $3,000 a year ($1,500 if married filing separately) against other income and carry the rest forward, under section 1211(b).

### Can I choose which crypto lots I sell?

Yes, if you identify them by the time of the sale. For broker-held units in 2025 and 2026, Notice 2026-20 lets you do this on your own books and records; otherwise FIFO within the account applies.

### Will Form 1099-DA show my harvested loss correctly?

Not necessarily. Basis is reported only for covered units acquired after 2025 in the same account, and the broker's lot method may differ from your own identification, so report from your own records.

## Sources

- [26 U.S. Code 1091, loss from wash sales of stock or securities (Cornell LII), read 27 November 2026](https://www.law.cornell.edu/uscode/text/26/1091)
- [26 U.S. Code 1211, limitation on capital losses (Cornell LII)](https://www.law.cornell.edu/uscode/text/26/1211)
- [26 U.S. Code 1222, other terms relating to capital gains and losses (Cornell LII)](https://www.law.cornell.edu/uscode/text/26/1222)
- [26 U.S. Code 7701(o), economic substance doctrine (Cornell LII)](https://www.law.cornell.edu/uscode/text/26/7701)
- [H.R. 10357, Digital Asset Tax Certainty Act, introduced text (GovInfo)](https://www.govinfo.gov/content/pkg/BILLS-119hr10357ih/html/BILLS-119hr10357ih.htm)
- [H.R. 10357 actions, Congress.gov, read 27 November 2026](https://www.congress.gov/bill/119th-congress/house-bill/10357/all-actions)
- [Amendment in the nature of a substitute to H.R. 10357 offered by Mr. Smith of Missouri (Ways and Means), read 27 November 2026](https://waysandmeans.house.gov/wp-content/uploads/2026/09/AINS-to-HR-10357.pdf)
- [eCFR: 26 CFR 1.1012-1, basis of property](https://www.ecfr.gov/current/title-26/section-1.1012-1)
- [IRS Notice 2026-20, temporary relief for identification of digital asset units](https://www.irs.gov/pub/irs-drop/n-26-20.pdf)
- [IRS: Frequently asked questions on virtual currency transactions, last reviewed 30 June 2026](https://www.irs.gov/individuals/international-taxpayers/frequently-asked-questions-on-virtual-currency-transactions)
- [IRS Topic 409, capital gains and losses, last reviewed 9 November 2026](https://www.irs.gov/taxtopics/tc409)
- [IRS Publication 544 (2025), Sales and Other Dispositions of Assets](https://www.irs.gov/pub/irs-pdf/p544.pdf)
- [IRS Instructions for Form 1099-DA (2026)](https://www.irs.gov/pub/irs-pdf/i1099da.pdf)
- [IRS Instructions for Form 8949 (2025)](https://www.irs.gov/pub/irs-pdf/i8949.pdf)
- [HMRC Cryptoassets Manual CRYPTO22200, pooling and matching](https://www.gov.uk/hmrc-internal-manuals/cryptoassets-manual/crypto22200)

> This guide is general information about software and markets, not investment, legal or tax advice. Automated trading can lose money, past or backtested performance does not guarantee future results, and the rules that apply depend on your jurisdiction and your exchange's terms. Sources, checks and corrections: see the [editorial policy](https://fincodelabs.com/en/editorial-policy).

---

Published by Fincode (Fincode Yazılım ve Teknoloji A.Ş.), a software company in Istanbul, Turkey: https://fincodelabs.com/en/blog/crypto-tax-loss-harvesting

Cite as: Fincode, "Crypto tax-loss harvesting rules for US filers in 2026", updated November 27, 2026, https://fincodelabs.com/en/blog/crypto-tax-loss-harvesting
