Bitget App
Trade smarter
Buy cryptoMarketsTradeFuturesEarnSquareMore
daily_trading_volume_value
market_share59.15%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
daily_trading_volume_value
market_share59.15%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
daily_trading_volume_value
market_share59.15%
Current ETH GAS: 0.1-1 gwei
Hot BTC ETF: IBIT
Bitcoin Rainbow Chart : Accumulate
Bitcoin halving: 4th in 2024, 5th in 2028
BTC/USDT$ (0.00%)
banner.title:0(index.bitcoin)
coin_price.total_bitcoin_net_flow_value0
new_userclaim_now
download_appdownload_now
can i sell and rebuy the same stock rules

can i sell and rebuy the same stock rules

This article explains whether can i sell and rebuy the same stock, focusing on the IRS wash-sale rule for U.S. securities, cross-account and IRA effects, reporting limits, practical avoidance strat...
2025-12-31 16:00:00
share
Article rating
4.3
107 ratings

Can I Sell and Rebuy the Same Stock?

Asking "can i sell and rebuy the same stock" is a common question for investors aiming to realize tax losses, rebalance portfolios, or respond to market moves. This guide explains the tax and trading mechanics that matter in the U.S., including the IRS wash-sale rule for securities, cross-account and IRA implications, broker reporting limits, practical avoidance strategies, and how current guidance treats cryptocurrency. It also shows numeric examples, offers step-by-step advice for recordkeeping, and points to authoritative sources so you can act with confidence.

As of 2024-06-01, according to TurboTax and IRS Publication 550 guidance, the wash-sale rule applies to stocks and similar securities but has not been applied by the IRS to cryptocurrency (which is currently treated as property). Readers should verify the latest IRS guidance and consult a tax professional about personal situations.

Summary / Key Takeaways

  • The phrase can i sell and rebuy the same stock often concerns the IRS wash-sale rule, which disallows a loss deduction if you buy substantially identical shares within a 61-day window (30 days before and 30 days after the sale date).
  • The wash-sale rule applies to stocks, ETFs, mutual funds, bonds and options that are treated as securities, and to substantially identical securities across accounts (taxable accounts, other brokers, and spouse accounts).
  • Buying replacement shares in an IRA or Roth IRA after selling at a loss in a taxable account generally still triggers a wash sale and can permanently disallow the loss.
  • Current mainstream guidance (not a legal ruling) indicates the traditional wash-sale rule does not apply to cryptocurrency, which the IRS treats as property — but this area is evolving; consult a tax professional.
  • Brokers typically report wash sales only within the same account and CUSIP; taxpayers are responsible for tracking cross-account or cross-broker wash sales.

What is a Wash Sale?

Definition

A wash sale occurs when you sell a security at a loss and within 30 days before or after that sale you acquire substantially identical stock or securities. That 61-day window (the sale day plus 30 days before and after) is the critical period for determining whether a loss is disallowed.

The technical rule is intended to prevent taxpayers from creating deductible losses while maintaining the same economic position.

Policy rationale

The IRS disallows the deduction because allowing an immediate repurchase of the same security would enable an investor to harvest a tax loss while effectively keeping market exposure unchanged. The wash-sale rule preserves tax integrity by preventing an investor from converting an unrealized loss into a tax-deductible realized loss without altering economic exposure.

Mechanics of the Rule

Lookback and lookforward window (61-day effective period)

The relevant window is 30 days before the sale date and 30 days after the sale date, making an effective 61-day period that includes the day of the sale. Any purchase of substantially identical securities within that window triggers the wash-sale rule.

Example: If you sell on June 15 at a loss, any repurchase from May 16 through July 15 can create a wash sale.

"Substantially identical" — meaning and ambiguity

The phrase "substantially identical" is fact-specific and can be ambiguous. Generally:

  • Buying the same company's shares (same CUSIP) is substantially identical.
  • Replacing one share class with a different share class of the same company may be substantially identical.
  • Replacing an ETF with the same ticker and underlying holdings is substantially identical.
  • Two different ETFs that track the identical index might be considered substantially identical in some cases; the IRS has not issued bright-line rules for many ETF/ETN pairs, so caution is warranted.

When in doubt, assume two securities that track materially the same holdings or have the same CUSIP may be substantially identical for wash-sale purposes.

Effect on basis and holding period

If a loss is disallowed under the wash-sale rule, that disallowed loss is added to the cost basis of the replacement shares. This adjustment postpones the tax recognition of the loss until the replacement shares are finally sold in a non-wash-sale transaction.

  • Example: Sell 100 shares at $50 (cost basis $60) → realized loss $1,000. Repurchase 100 shares at $45 within the window. The $1,000 loss is disallowed and added to the $45 repurchase basis, making the adjusted basis $55 per share.
  • The holding period of the original shares carries over to the replacement shares for long-/short-term determination.

Which Securities Are Covered

The wash-sale rule typically applies to:

  • Common and preferred stocks
  • ETFs and mutual funds
  • Bonds and other fixed-income securities that are securities
  • Options on securities

The rule is tied to securities identification (CUSIP) and the concept of "substantially identical" securities. Property that is not a security (e.g., personal property) is outside the rule, but the IRS treats many financial instruments as securities for this purpose.

Reporting and Tax Forms

Wash-sale adjustments are handled on Form 8949 and summarized on Schedule D of Form 1040. Brokers report cost basis and wash-sale information on Form 1099-B, but reporting has limitations:

  • Brokers report wash-sales only for transactions they see in the same account and within a single broker when they have cost-basis reporting obligations.
  • Cross-account or cross-broker wash sales (including repurchases in another firm or a spouse's account) may not be detected or reported by brokers.
  • Taxpayers are responsible for tracking and reporting wash sales across accounts; failure to do so can lead to incorrect basis reporting and tax errors.

Common Scenarios and How the Rule Applies

Partial repurchases or buying fewer shares

If you sell 200 shares at a loss and repurchase 100 shares within the window, the wash-sale rule disallows the loss on the portion that was replaced. Disallowance is proportional:

  • Sold 200 shares at $10 loss per share = $2,000 loss.
  • Repurchased 100 shares within the window → $1,000 of the loss is disallowed and added to the basis of the 100 replacement shares; $1,000 of loss remains deductible.

Repurchasing in another taxable account or spouse's account

Purchases in another taxable account, in another broker, or in an account held by your spouse can trigger a wash sale because the rule applies to the taxpayer's constructive ownership and related parties in many cases. Brokers may not detect cross-account wash sales; you must track and report them.

Repurchasing within an IRA or Roth IRA

A notable trap: If you sell a security at a loss in a taxable account and buy substantially identical shares in an IRA or Roth within the 61-day window, the loss is disallowed and, critically, there is no mechanism to add the disallowed loss to the IRA basis. This can permanently disallow the tax loss in many cases.

  • Example: Sell taxable-account shares at a $1,000 loss, buy same shares in IRA within the window. Loss is disallowed and not added to anything you can later recover — many advisors describe this as a permanent loss for tax purposes.

Dividend reinvestment plans (DRIPs) and automatic purchases

Automatic dividend reinvestment that occurs during the 61-day window can trigger a wash sale. If dividends buy shares of the same fund within the window, those purchases are treated as acquisitions for wash-sale purposes.

Selling at a Gain vs. Selling at a Loss

The wash-sale rule disallows losses, not gains. Selling a security at a gain and then repurchasing it does not create a wash sale. However:

  • Selling at a gain triggers ordinary capital-gains tax consequences (short-term vs. long-term rules apply).
  • Repeatedly selling at a gain and repurchasing may create tax events with their own timing considerations but not wash-sale disallowances.

Practical Strategies to Avoid Triggering a Wash Sale

Waiting 31+ days

The simplest approach is to wait 31 days after a sale at a loss before repurchasing the same or substantially identical security. This avoids the wash-sale rule, allowing deduction of the realized loss.

Pros: Clear, simple, guaranteed to avoid wash-sale issues. Cons: Leaves you out of the market exposure for a month, which may be undesirable.

Buying non‑substantially identical securities

Instead of repurchasing the exact same security, use a different security that provides similar exposure but is not substantially identical. Examples:

  • Replace an S&P 500 ETF with a broad large-cap index ETF that uses different holdings or structure (avoid identical trackers by the same issuer with same holdings).
  • Use sector or factor ETFs that have similar exposure but different holdings.

This keeps market exposure while avoiding a wash sale — but be cautious about "substantially identical" status for funds that track the same index.

Tax‑lot management

If you hold multiple lots, you can identify which specific lots to sell (specific identification) rather than using FIFO. Selling particular lots can optimize tax outcomes and minimize the chance of wash-sale triggers if you avoid repurchasing the same lots.

Use of synthetic exposures (options) — caveats

Options and derivatives can provide market exposure without purchasing the underlying security; however, options themselves may be treated as substantially identical in some circumstances and can complicate wash-sale determinations.

  • Buying a call option on the same security shortly after selling the stock at a loss could be considered substantially identical exposure and may create a wash sale.
  • Complex derivatives strategies should be reviewed with a tax professional before execution.

Cryptocurrency and the Wash Sale Rule

Current mainstream guidance from tax-preparation services and many broker and tax-advice publications notes that the IRS treats cryptocurrency as property rather than a security. Because the wash-sale rule in its statutory form applies to securities, many practitioners conclude that the statutory wash-sale prohibition does not apply to cryptocurrency trades.

  • As of 2024-06-01, according to TurboTax and other tax guidance sources, can i sell and rebuy the same stock guidance for wash sales does not directly apply to cryptocurrency because crypto is not classified as a security by the IRS. This area is subject to change and legal interpretation, and the IRS could issue different guidance in the future.

Important cautions:

  • The IRS has not issued an explicit directive applying wash-sale rules to cryptocurrency; absence of explicit application is not a guarantee of future treatment.
  • State tax rules, audit risk, or evolving IRS guidance could change the practical tax outcome for frequent crypto wash-sale-style trades.
  • Consult a tax professional experienced in cryptocurrency taxation before relying on wash-sale exclusions for crypto.

When trading crypto, Bitget Wallet can help with recordkeeping and exporting transaction histories to support tax reporting. Bitget Exchange also offers trade history exports to aid compliance.

Broker and Software Reporting Limitations

  • Brokers generally report wash-sale adjustments only for trades within the same taxable account where they control cost-basis reporting.
  • If you trade across multiple brokers, use DRIPs, or transact inside IRAs or other retirement accounts, broker-supplied 1099s may not capture all wash-sale situations.
  • Tax software and portfolio-tracking tools can help but rely on correct and complete data inputs — taxpayers must reconcile cross-broker and cross-account activity.

Action: Keep consolidated transaction histories, and use export features (for example, Bitget trade history and Bitget Wallet exports) to build a complete reporting dataset.

Examples and Worked Illustrations

Simple numeric example of a wash sale and basis adjustment

  • Bought 100 shares of ABC Corp at $60 per share (cost basis $6,000).
  • Sold all 100 shares on July 1 for $50 per share = proceeds $5,000 → realized loss $1,000.
  • Bought 100 shares of ABC Corp on July 10 for $52 per share = $5,200.

Because the repurchase occurred within the 30-day after window, the $1,000 loss is disallowed on the July 1 sale and is added to the basis of the replacement shares.

  • Adjusted basis of the new shares: $5,200 + $1,000 = $6,200 → $62 per share.
  • When you later sell the replacement shares in a non-wash-sale transaction, the deferred loss (or offsetting gain/loss) will be realized.

Example: partial repurchase and pro rata disallowance

  • Sold 200 shares at $60 cost basis and $50 sale price = $2,000 loss.
  • Repurchased 80 shares within the window.

Pro rata disallowance: (80 / 200) × $2,000 = $800 is disallowed and added to the basis of the 80 replacement shares. The remaining $1,200 is deductible in the tax year.

Administrative and Practical Considerations

  • Keep accurate, consolidated records of all trades across brokers and accounts, including DRIPs and deposits into retirement accounts.
  • Use tax-loss-harvesting tools or portfolio software to flag potential wash-sale conflicts.
  • If you receive Form 1099-B that shows broker-determined wash-sale adjustments, double-check for cross-account activity that may create additional, unreported wash sales.
  • Consider naming conventions and account labels in your records to track spouse and related-party transactions.

When trading securities or crypto, Bitget provides features for exporting complete trade and wallet histories to support tax-time reconciliation.

Frequently Asked Questions (FAQ)

Q: Can I do it legally?

A: Yes. Selling and rebuying the same stock is legal. The issue is tax — the wash-sale rule may disallow a loss deduction if you repurchase within the 61-day window.

Q: Does the wash-sale rule apply across spouse accounts?

A: Purchases by a spouse or related parties can trigger constructive ownership rules. Treat spousal purchases carefully — disallowed losses can result.

Q: What if I buy a similar ETF from another issuer?

A: Using a different ETF with materially different holdings can avoid a wash sale. If the ETFs are substantially identical (for example, two funds that track the same index with near-identical holdings), you may still trigger the rule. When in doubt, avoid identical trackers within the 61-day window.

Q: What happens if replacement shares are purchased in an IRA?

A: Buying replacement shares in an IRA after selling at a loss in a taxable account generally triggers the wash-sale rule and often results in a permanently disallowed loss. Consult a tax professional.

Q: Does the wash-sale rule apply to cryptocurrency?

A: Current mainstream guidance as of 2024-06-01 indicates the statutory wash-sale rule applies to securities and not to property like cryptocurrency, but this is an unsettled area and subject to change. Always verify current law.

Risks, Penalties, and Long-term Effects

  • A wash sale does not typically trigger penalties by itself; it disallows an immediate loss deduction and defers the loss by adjusting basis.
  • Failure to report wash-sale adjustments correctly can cause inaccurate tax filings and possible IRS correspondence — always maintain supporting records.
  • Repeatedly triggering wash sales without understanding basis carryover can complicate future tax outcomes and increase recordkeeping burdens.

Recent Developments and Unsettled Areas

  • The most unsettled and actively discussed area is cryptocurrency: because the IRS treats many cryptocurrencies as property, mainstream tax-preparation services and publications have stated the traditional wash-sale rule does not currently apply to crypto. However, this treatment could change with new IRS guidance or legislation.

  • "Substantially identical" for ETFs and new index products remains a gray area. Courts and the IRS have not established a universal test for every ETF pair, so conservative planning is prudent.

  • Brokers continue to improve cost-basis and wash-sale reporting, but cross-account and cross-broker reporting gaps remain a practical problem for taxpayers.

Stay updated with official IRS materials (e.g., Publication 550) and check reputable guidance sources.

References and Further Reading

  • IRS Publication 550 (Investments) and Form 8949: authoritative U.S. tax guidance on investment income and wash sales.
  • TurboTax — Wash Sale Rule explanations and guidance.
  • Fidelity — "Wash-Sale Rules | Avoid this tax pitfall".
  • Charles Schwab — "Wash-Sale Rule: How It Works & What to Know".
  • Kiplinger — "The Wash Sale Rule: Six Things to Know".
  • Northwestern Mutual — "What Is the Wash Sale Rule?".
  • J.P. Morgan — "What is a Wash Sale: Things to Know".
  • The Motley Fool, NerdWallet, ActivityCovered — practical articles describing wash-sale mechanics and avoidance strategies.

As of 2024-06-01, according to TurboTax and major broker guidance, the wash-sale rule continues to apply to securities and has not been explicitly applied by the IRS to cryptocurrency; check the latest IRS publications when preparing returns.

See Also

  • Tax-loss harvesting
  • Capital gains tax
  • IRS Publication 550
  • Form 8949
  • Cryptocurrency taxation

Practical Next Steps and Tools

  • If you want to avoid wash-sale issues when harvesting losses, consider:

    • Waiting 31 days before repurchasing the same security.
    • Replacing exposure with a non‑substantially identical security.
    • Using specific lot identification when selling.
    • Tracking trades across all brokers and accounts; export trade histories and aggregate them for tax preparation.
  • For consolidated trade and wallet exports, consider using Bitget trading tools and Bitget Wallet to maintain clean, auditable records for tax reporting.

Further exploration: review IRS Publication 550 and Form 8949 for the official tax rules, and consult a qualified tax professional to apply these rules to your situation. To continue managing trades and records, explore Bitget’s export features and Bitget Wallet’s transaction history tools for streamlined documentation.

Explore more practical guides and tools on Bitget to support tax-aware trading and robust recordkeeping.

The content above has been sourced from the internet and generated using AI. For high-quality content, please visit Bitget Academy.
Buy crypto for $10
Buy now!

Trending assets

Assets with the largest change in unique page views on the Bitget website over the past 24 hours.

Popular cryptocurrencies

A selection of the top 12 cryptocurrencies by market cap.