Skip to main content
Investment income and tax planning

Can a purchase in another account undo my year-end tax-loss sale?

Before selling stock at a loss to offset gains, look beyond the account where you will place the trade. An automated purchase in a second brokerage or the delivery of employer shares can affect the amount of loss recognized on your return.

Which purchases belong on my timeline?

Review acquisitions of substantially identical stock or securities from 30 days before the loss sale through 30 days after it. The 61-day window can cross December 31. Include another taxable brokerage you own, spouse purchases, purchases in your IRA or Roth IRA, and stock received under an employer compensation plan. Collect the actual dates and quantities, including automatic reinvestments. The facts determine whether two different securities are substantially identical. IRS Publication 550

How much loss is deferred if I buy back only 40 of 100 shares?

Suppose you sell 100 shares for $40 each. Every share has $50 basis. Ten days later, your second taxable brokerage account buys 40 shares of the same stock at $42 each. Assume no other matching acquisitions. The $1,000 loss is $10 per share. Matching 40 shares defers $400, leaving $600 of recognized capital loss, subject to the usual capital-loss rules. Add the $400 to the $1,680 purchase price of the 40 replacement shares. Their adjusted basis becomes $2,080, or $52 per share.

What changes if my IRA makes the purchase?

If your own IRA acquires the same 40 shares instead, the $400 loss is disallowed and does not increase IRA basis. That changes the tax result even if the second broker issues no wash-sale alert. Before a year-end sale, map scheduled purchases. After the 30-day post-sale window closes, reconcile trade confirmations, employer award records and spouse and IRA statements against Form 1099-B. Identify any adjustments already reported by the broker before preparing Form 8949 and carrying forward corrected taxable-account basis. IRS Revenue Ruling 2008-5


Tell us what you need help filing

Share the tax years, your main question and any deadline. We’ll help identify the service and records you need.

Ask about my situation