Regulations & Legal

What is wash sale rule and does it apply to XRP?

Last updated:

The wash sale rule is a tax provision that prevents investors from claiming a tax deduction for a loss if they repurchase the same or substantially identical security within 30 days before or after the sale. Currently, this rule does NOT apply to XRP or other cryptocurrencies because the IRS classifies them as property rather than securities. However, this advantageous treatment may change through proposed legislation.

Understanding the Wash Sale Rule:

Codified in Internal Revenue Code Section 1091, the wash sale rule applies to losses from sales of stock or securities. If you sell a security at a loss and buy substantially identical stock or securities within the "wash sale period" (30 days before or 30 days after the sale date), you cannot currently deduct the loss. Instead, the disallowed loss is added to the cost basis of the replacement security.

Example with Stock (wash sale applies):

You own 100 shares of Apple stock purchased for $15,000. The value drops to $10,000, so you sell to harvest the $5,000 loss. Within 20 days, you repurchase 100 Apple shares for $10,200.

Result: The $5,000 loss is disallowed and added to the basis of the new shares. Your new cost basis is $15,200 ($10,200 + $5,000 disallowed loss). You only realize the tax benefit when you eventually sell the replacement shares.

Current Treatment for XRP:

Because the IRS treats cryptocurrency as property (IRS Notice 2014-21), not securities, Section 1091 doesn't apply. This creates a significant tax planning advantage:

Example with XRP (no wash sale rule):

You own 10,000 XRP purchased for $25,000. The value drops to $15,000, so you sell all 10,000 XRP, realizing a $10,000 capital loss. The same day or next day, you repurchase 10,000 XRP for $15,100.

Result: You can claim the full $10,000 capital loss immediately on your tax return while maintaining your XRP position. The repurchased XRP has a $15,100 cost basis.

This allows cryptocurrency investors to harvest losses without waiting 31 days (unlike stock investors), eliminating market timing risk during the waiting period.

Why the Difference Matters:

The cryptocurrency exemption from wash sale rules provides powerful tax planning opportunities:

1. Immediate Loss Recognition:

You can realize losses to offset gains without any waiting period, allowing tactical tax planning even late in December without waiting until January.

2. No Market Timing Risk:

Stock investors face risk that prices will rise during the 31-day waiting period, potentially erasing the value of the tax benefit. Cryptocurrency investors can repurchase immediately, maintaining market exposure while securing tax benefits.

3. Multiple Harvesting Opportunities:

You can theoretically harvest losses multiple times on the same position as the price fluctuates throughout the year, each time immediately repurchasing.

Example: - January: Buy 5,000 XRP for $10,000 - March: Price drops to $7,000, sell and immediately rebuy (harvest $3,000 loss) - June: Price drops to $5,500, sell and immediately rebuy (harvest $1,500 loss) - Total harvested losses: $4,500, while maintaining XRP position

4. Year-End Tax Planning:

In late December, you can harvest losses and immediately repurchase to maintain positions heading into the new year without waiting until February.

Tax-Loss Harvesting Strategy Without Wash Sales:

Step 1: Identify XRP holdings with unrealized losses Step 2: Sell the XRP to realize the loss Step 3: Immediately repurchase the same amount of XRP Step 4: Claim the loss on your tax return Step 5: Use losses to offset capital gains or up to $3,000 of ordinary income

Comprehensive Example:

December 20, 2026: - You have $80,000 in capital gains from stock sales during 2026 - You hold 20,000 XRP: purchased for $50,000, now worth $28,000 (unrealized $22,000 loss) - You also hold Bitcoin: purchased for $30,000, now worth $40,000 (unrealized $10,000 gain)

Strategy: 1. Sell all 20,000 XRP for $28,000 (realize $22,000 loss) 2. Immediately repurchase 20,000 XRP for $28,100 (including fees) 3. Your net capital gain drops from $80,000 to $58,000 ($80,000 - $22,000) 4. If you're in the 15% long-term capital gains bracket, you save $3,300 in federal taxes ($22,000 × 15%) 5. You maintain your XRP position with new $28,100 cost basis

With stocks, you'd have to wait 31 days to repurchase Apple or similar stock, risking price increases. With XRP, no waiting period required.

"Substantially Identical" Definition:

For securities, "substantially identical" includes: - Same company stock - Options on the same stock - Securities convertible into the stock - Similar securities in the same company

For cryptocurrency, even if wash sale rules were applied, determining "substantially identical" would be challenging: - Is Bitcoin "substantially identical" to wrapped Bitcoin (wBTC)? - Are XRP on different chains or wrapped versions substantially identical? - Are different cryptocurrencies with similar use cases substantially identical?

These questions remain theoretical since wash sale rules don't currently apply to crypto.

Proposed Legislation - Future Changes:

Congress has repeatedly proposed extending wash sale rules to cryptocurrency:

Infrastructure Investment and Jobs Act (2021): Included wash sale rule extension to digital assets but was removed before passage.

Biden Administration Budget Proposals (2022-2024): Proposed applying wash sale rules to commodities and digital assets.

Various Congressional Bills: Multiple bills have proposed closing the "cryptocurrency wash sale loophole."

If enacted, legislation would likely: - Apply Section 1091 to digital assets retroactively or from a future effective date - Define cryptocurrency as "securities" for wash sale purposes - Eliminate the current tax planning advantage - Require 31-day waiting periods for loss recognition, like stocks

Effective Date Considerations:

If legislation passes, watch for: - Prospective application: Only transactions after enactment date - Retroactive application: Could apply to current tax year transactions (unusual but possible) - Transition rules: May include grandfathering or phase-in periods

Risk of IRS Reinterpretation:

Theoretically, the IRS could reinterpret existing guidance to claim cryptocurrency qualifies as "securities" or otherwise falls under wash sale rules. However: - IRS Notice 2014-21 explicitly classifies crypto as property - Revenue Ruling 2019-24 reinforced this treatment - Reclassification without new guidance or legislation would likely face legal challenges - Most tax professionals consider current exemption reliable until legislative change

State Tax Considerations:

Most states follow federal tax treatment, so the wash sale exemption applies at state level too. However, some states could potentially adopt their own wash sale rules for cryptocurrency. Monitor state-specific developments.

Documentation Best Practices:

Even without wash sale rules, maintain detailed records: - Original purchase date, amount, and price - Sale date, amount, and price - Repurchase date, amount, and price - Exchange or wallet transaction records - Transaction IDs (hashes) - Calculation worksheets showing loss claimed

Good records protect you if: - IRS questions the transaction - Legislation changes retroactively - State rules differ from federal - Future audits examine past years

Ethical and Legal Considerations:

Tax-loss harvesting with immediate repurchase is legal and ethical tax planning under current law. You're not evading taxes, just optimizing timing under legal provisions. However:

Avoid sham transactions: Ensure actual sales and repurchases occur at market prices through legitimate channels. Transactions solely for tax purposes with no economic substance could be challenged.

Legitimate economic purpose: Maintaining investment position while realizing losses for tax purposes is a legitimate purpose recognized in tax law.

IRS scrutiny: While legal, aggressive or repetitive wash sale-free harvesting might attract IRS attention. Maintain excellent documentation to support all transactions.

Alternative Approaches:

Some conservative taxpayers, concerned about future legislation or IRS reinterpretation, voluntarily apply wash sale principles to cryptocurrency: - Wait 31 days before repurchasing after loss sales - Purchase different cryptocurrencies instead of immediately repurchasing the same asset - Accept market timing risk for additional certainty

This conservative approach isn't required under current law but provides safety margin.

Important Disclaimer: While wash sale rules don't currently apply to XRP and other cryptocurrencies under IRS guidance, this treatment may change through legislation at any time. This information reflects current law but is educational only, not tax advice. Tax planning strategies should be implemented in consultation with qualified tax professionals who can assess your specific situation, monitor legislative developments, and ensure compliance with current and future tax laws. The benefits of tax-loss harvesting should be weighed against transaction costs, market timing risks, and potential legislative changes.

Official Resources: - IRC Section 1091 (Wash Sales): https://www.law.cornell.edu/uscode/text/26/1091 - IRS Publication 550 (Investment Income and Expenses): https://www.irs.gov/forms-pubs/about-publication-550 - IRS Notice 2014-21: https://www.irs.gov/pub/irs-drop/n-14-21.pdf

Was this helpful?

Related Questions

Go Deeper

Expand your knowledge with these related lessons

Tax-Loss Harvesting Strategies

55 minintermediate

Tax Loss Harvesting with XRP

Tax loss harvesting calculator with personalized strategy plan

39 minintermediate

US Tax Deep Dive - Federal Complexities

55 minintermediate

Have more questions?

Browse our complete FAQ or contact support.