Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Tax-loss harvesting after an AI stock sell-off can reduce a federal tax bill, but only when the sale creates a real capital loss and the transaction survives the wash-sale rules. A loss sale can be disallowed when you, your spouse, a controlled corporation, or an IRA acquires substantially identical stock or securities during the 30 days before or after the sale. The 2025 federal rules generally defer a disallowed loss by adding it to the replacement security’s basis; an IRA or Roth IRA purchase has a special exception. This guide explains the timing window, cross-account checks, replacement-security judgment, reporting, and the mistakes that most often produce an incorrect deduction. It addresses federal rules only and treats an “AI sell-off” as a hypothetical market decline rather than a specific event.

What does tax-loss harvesting after an AI stock sell-off actually do?

Tax-loss harvesting means selling an investment whose current value is below its adjusted basis and using the realized capital loss to offset capital gains. The loss is not created by the market headline itself: you must verify the particular tax lot, its basis, the sale price, and whether the disposition is a capital transaction. After netting gains and losses on Schedule D, any remaining net capital loss can generally offset up to $3,000 of other income for 2025 ($1,500 if married filing separately), with unused amounts carried forward. The $3,000 figure is not a cap on losses that can offset capital gains.

The principal limitation is the wash-sale rule. Under IRS Publication 550 (2025) and the 2025 Instructions for Schedule D, a loss is generally disallowed when substantially identical stock or securities are acquired within 30 days before or 30 days after the loss sale. That is a 61-day span when the sale date is included.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What is the wash-sale window?

Count 30 calendar days backward from the sale and 30 calendar days forward, including the sale date itself. The rule can apply to purchases, certain taxable exchanges, contracts or options to acquire securities, and purchases in an IRA or Roth IRA. Looking only at the 30 days after the sale is a common and costly error.

Popular on Amazon
Sale
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
  • Ideal for Gifting
  • Ideal for a bookworm
  • Compact for travelling
Period Transactions to review Why it matters
30 days before sale Purchases, reinvested distributions, options or contracts, and related-account activity A prior acquisition can make a later loss sale a wash sale
Sale date The loss sale and the shares or lots disposed of Establishes the realized loss and matching order
30 days after sale New purchases, recurring investments, reinvestments, options or contracts A replacement acquisition can disallow some or all of the loss

The relevant date is the acquisition date under the IRS rules, not the date a brokerage alert happens to appear. Keep a calendar or transaction export for the entire window for every account that could matter.

Which accounts and people can trigger a wash sale?

Review more than the taxable account where the loss was taken. Publication 550 says a spouse’s purchase of substantially identical stock can trigger the rule, as can a purchase by a corporation the taxpayer controls. Purchases in an IRA or Roth IRA also fall within the acquisition rules.

  • Taxable brokerage accounts: include every account, not just the one that generated Form 1099-B or Form 1099-DA.
  • Traditional and Roth IRAs: a purchase during the window can matter even though the IRA is reported under different tax rules.
  • Spouse’s accounts: coordinate records and recurring investments with your spouse.
  • Controlled corporations: where relevant, include transactions by a corporation you control.
  • Automatic activity: dividend reinvestment and scheduled contributions can buy a small number of shares without a separate trade decision.

A broker’s wash-sale indicator is not a complete household or entity-wide determination. Reconcile the broker’s data with statements and transaction histories across all of these sources.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What counts as “substantially identical”?

“Substantially identical” is a facts-and-circumstances judgment, not a universal ticker, sector, or ETF test. Publication 550 gives examples involving certain predecessor and successor securities and some convertible preferred and common stock, but it does not establish a bright-line safe harbor for every exchange-traded fund, sector fund, or AI-themed replacement.

Also popular on Amazon

Holding two securities in the same broad industry does not automatically answer the question either way. Conversely, changing a ticker or buying a product with a slightly different name does not guarantee that the securities are different. Analyze the legal and economic terms, rights, conversion features, issuer relationship, and the extent to which the replacement represents the same security. The cited IRS material does not bless any named AI-stock substitute.

If preserving market exposure is important, document why the replacement serves a different portfolio role and still obtain professional advice when the securities’ terms or relationship are difficult to assess. Do not describe a particular replacement as “wash-sale safe” without a facts-and-circumstances analysis.

How do I calculate a partial wash sale?

A wash sale does not necessarily disallow the entire loss. If fewer substantially identical shares are acquired during the window than were sold, match the acquired shares against the shares sold in acquisition order. Only the matched portion is subject to the rule.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For example, suppose you sell 100 shares at a loss and acquire 25 substantially identical shares during the 61-day period. The IRS matching approach generally applies the wash-sale adjustment to the 25 matched shares, while the loss on the remaining 75 shares may remain deductible, subject to your other capital-gain and loss calculations. The disallowed amount is allocated to the replacement shares’ basis. Keep the lot-level quantities and dates; a single account-level “wash sale” total can obscure partial matching.

What happens to a disallowed loss?

In the ordinary case, the loss is deferred rather than erased. The disallowed amount is generally added to the basis of the replacement security, increasing the basis that will be used when that property is later disposed of. The holding-period treatment can also carry over under the IRS rules, so preserve the acquisition and adjustment records.

There is an important IRA-related exception described by the IRS: when substantially identical stock is acquired in an IRA or Roth IRA, the loss adjustment does not work like the normal taxable-account basis deferral. Because the IRA’s basis is not adjusted in the same way, the expected future deduction may not be available. Get individualized tax advice before deliberately pairing a taxable loss sale with an IRA purchase.

“You cannot deduct losses from sales or trades of stock or securities in a wash sale unless the loss was incurred in the ordinary course of your business as a dealer in stock or securities.”

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Internal Revenue Service, Publication 550 (2025)

How should I work through a loss sale after a sharp decline?

Use this workflow before placing the trade and again before filing the return.

  1. Confirm the actual lot and loss. Record the sale date, number of shares, proceeds, adjusted basis, lot-identification method, and short-term or long-term holding period. A decline in the quoted price does not establish a deductible loss until a specific lot is sold.
  2. Map the complete 61-day period. Inspect the 30 calendar days before and after the sale. Include purchases, taxable exchanges, options or contracts to acquire the security, dividend reinvestment, and recurring investments.
  3. Search every relevant owner and account. Check taxable accounts, traditional and Roth IRAs, your spouse’s accounts, and any controlled corporation’s transactions.
  4. Classify each acquisition. Decide whether a purchase is the same security or could be substantially identical under the facts and circumstances. Do not rely solely on a broker’s symbol match or a sector label.
  5. Match shares and calculate the adjustment. Apply acquisition-order matching when fewer replacement shares were bought than sold. Calculate the portion of the loss that is disallowed and add it to the replacement lot’s basis where the normal rule applies.
  6. Reconcile broker forms. Compare Form 1099-B or Form 1099-DA with your own cross-account review. Broker reporting commonly captures specified same-CUSIP purchases in the same account for covered securities, but it does not define the legal rule.
  7. Report the result. For a reportable wash sale, use Form 8949, enter code W, and show the disallowed loss as a positive adjustment. Carry the totals to Schedule D.
  8. Retain evidence. Keep confirmations, account statements, basis calculations, reinvestment records, and documentation of any replacement-lot basis adjustment.

How are harvested losses used on the tax return?

Schedule D first nets short-term gains and losses and long-term gains and losses under the filing-year instructions. Net losses can offset capital gains without the $3,000 ceiling that applies to the deduction against other income. If a net capital loss remains after that netting, the 2025 Schedule D instructions generally allow up to $3,000 against other income ($1,500 for married filing separately). The unused amount generally carries forward to later years.

Loss character matters during a carryforward: short-term and long-term losses retain their character under the applicable rules. Because the figures above are for 2025 instructions, verify the instructions for the tax year you are filing rather than copying a prior-year amount.

Why can Form 1099-B or 1099-DA be incomplete?

Broker forms are useful starting points, not a substitute for the legal analysis. The IRS explains that a loss can remain nondeductible even when a wash sale is not shown on the form. Reporting may be limited to specified circumstances, such as covered securities and same-CUSIP purchases in the same account.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When the form omits a cross-account, spouse, IRA, or related-entity acquisition, the taxpayer still has to make the adjustment. Conversely, an automatically reported wash sale should be checked against the actual lots and quantities so that partial matching and basis amounts are correct.

Also popular on Amazon
Sale
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
  • It can be a gift option
  • Comes with secure packaging
  • Helpful in various ways
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What are the most common mistakes?

  1. Checking only the post-sale period. The 30 days before the sale count too.
  2. Ignoring automatic purchases. Dividend reinvestment and recurring contributions can acquire replacement shares.
  3. Reviewing only one account. IRAs, Roth IRAs, a spouse’s account, or a controlled corporation may change the result.
  4. Treating the broker flag as conclusive. A missing flag does not make a loss deductible, and a flag may require lot-level verification.
  5. Assuming sector similarity decides everything. The IRS standard is facts and circumstances; there is no universal ETF or AI-sector safe harbor in the cited guidance.
  6. Assuming the loss disappears permanently. In the normal case it is deferred through the replacement lot’s basis, although the IRA exception requires special care.
  7. Calling $3,000 the capital-gain limit. That amount is the general limit on net loss deducted against other income after capital-gain netting.
  8. Using a market headline instead of tax-lot records. The relevant loss depends on your basis, proceeds, and holding period.
  9. Reporting code W incorrectly. The disallowed loss is entered as a positive adjustment on Form 8949, then reflected through Schedule D.

When should I ask a tax professional?

Professional advice is especially valuable when replacement securities have conversion rights or close issuer relationships, when purchases span multiple brokers or entities, or when an IRA is involved. It is also prudent when a large loss, many lots, or a controlled corporation makes the matching calculation difficult. A preparer can help reconcile Forms 1099-B and 1099-DA with records that brokers do not combine, but you remain responsible for supplying complete transaction information.

What should I remember before filing?

Start with the actual tax lot, then inspect the full 61-day window and every relevant account or related owner. Treat “substantially identical” as a legal facts-and-circumstances question, not a simple sector comparison. Finally, reconcile broker forms, report any required code-W adjustment on Form 8949, and apply the filing-year Schedule D limits and carryforward rules. These are federal guidelines; state tax treatment and your individual result may differ.

Frequently Asked Questions

Can dividend reinvestment create a wash sale even when I did not place a trade?

Yes. A reinvested dividend acquires shares, so it belongs in the 30-day-before and 30-day-after review. Record the reinvestment date and number of shares because only the matched quantity may create a partial disallowance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What if I buy back only part of the position after selling at a loss?

The IRS matching approach generally applies the replacement shares to shares sold in acquisition order. A smaller repurchase can therefore disallow only a corresponding portion of the loss, while unmatched shares may remain eligible for deduction.

Does an unreported wash sale on my brokerage form become deductible?

No. The IRS says the loss can remain nondeductible even when Form 1099-B or Form 1099-DA does not display the adjustment. You must review activity outside the reporting broker and make the required Form 8949 adjustment yourself.

Can I harvest a loss and keep identical exposure in my retirement account?

An IRA or Roth IRA acquisition can fall inside the wash-sale window, and the IRS describes a special exception to the usual taxable-account basis deferral. Because the expected future tax benefit may not be preserved, obtain advice before using a retirement account as the replacement vehicle.

Do the $3,000 loss limits apply in a year when I have large capital gains?

The $3,000 ($1,500 if married filing separately) limit generally applies to the remaining net capital loss deducted against other income after gains and losses are netted. Capital losses can first offset capital gains without that ceiling, with excess net losses generally carried forward.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
The Psychology of Money: Timeless lessons on wealth, greed, and happiness
Ideal for Gifting; Ideal for a bookworm; Compact for travelling
$10.99
SaleBestseller No. 2
SaleBestseller No. 5
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
I Will Teach You to Be Rich: No Guilt. No Excuses. Just a 6-Week Program That Works (Second Edition)
It can be a gift option; Comes with secure packaging; Helpful in various ways
$8.48
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of December 5, 2026 6:36 pm GMT.