How Is Wash Sale Loss Added to Your Cost Basis?
How Is Wash Sale Loss Added to Your Cost Basis?
The wash sale rule disallows your loss deduction today, but it does not erase the loss from tax history entirely. Instead, the IRS requires you to adjust the cost basis—the price at which you record owning your new security—by adding back the disallowed loss amount. This mechanism defers the loss rather than denying it outright, and understanding how basis adjustment works is critical to avoiding double-taxation surprises and correctly reporting gains on future sales.
Quick definition: When a wash sale disallows your loss, that loss amount is added to the cost basis of the replacement security you bought. Your cost basis increases, which reduces or defers the gain (or increases future losses) when you eventually sell the replacement without triggering a wash sale.
Key takeaways
- A disallowed wash sale loss is not forgiven; it is rolled into your cost basis of the replacement security, increasing the price at which you "own" it for tax purposes.
- Basis adjustment defers the loss recognition to a later sale, potentially allowing you to claim it if you hold the new security long enough to avoid another wash sale.
- You must track basis adjustments manually unless your broker automatically calculates adjusted basis on your consolidated tax statements.
- Failing to account for the basis adjustment can lead to underreporting gain (overstating loss) or incorrectly calculating holding periods for long-term capital gains.
- A basis adjustment does not change the holding period of the replacement security; the holding period restarts when you buy the new position.
What happens to the disallowed loss
When you sell a security at a loss and buy a substantially identical replacement within the 30-day window, the loss is disallowed for the current tax year. Instead of disappearing, that loss amount is legally added to your cost basis in the replacement security.
For example, suppose you bought 100 shares of XYZ Corp at $50 per share ($5,000 total) and sold them at $35 per share ($3,500 total) for a $1,500 loss. On day 5, you repurchase 100 shares of XYZ at $36 per share ($3,600 total). The wash sale rule disallows your $1,500 loss. The IRS then adjusts your cost basis in the new 100-share position from $3,600 to $5,100 ($3,600 + $1,500). This higher basis is now your starting point for calculating gain or loss when you later sell these shares.
The reason for this adjustment is straightforward: the IRS treats the economic reality of your position as one continuous ownership. You had a $5,000 investment, briefly held a loss on paper, but immediately reinvested. From the IRS's perspective, you still economically own something very close to your original $5,000 position—just with updated basis to preserve the loss for eventual deduction when you can claim it without triggering another wash sale.
How basis adjustments compound with multiple wash sales
If you repeatedly buy and sell the same security within wash sale windows, basis adjustments can stack. Suppose you repeat the scenario above: you sell the 100 XYZ shares you bought at adjusted basis $5,100 for $4,000 (now a $1,100 loss). If you buy XYZ again within 30 days, that new $1,100 loss is disallowed and added to the next basis calculation.
Your new basis becomes: $4,000 (your new purchase price) + $1,100 (the second disallowed loss) = $5,100 again. Over multiple cycles of wash sales in the same security, your adjusted basis can drift significantly from your actual out-of-pocket cost, sometimes exceeding the prices you paid. This is why traders and frequent investors need rigorous tracking systems—mental arithmetic fails quickly.
The role of holding periods and timing
A critical distinction: basis adjustment does not alter the holding period of the replacement security. Even if your adjusted basis is very high, your holding period clock resets on the day you buy the replacement. This means:
- If you buy a replacement on March 15 and hold it until April 16 of the same year, you have held it less than one year, so any gain is short-term capital gain, regardless of your adjusted basis or how long you held the original security.
- If you later sell the replacement and trigger another wash sale, the holding period clock resets again on the new replacement purchase.
Understanding this separation prevents a common error: assuming that because your adjusted basis is high (making your taxable gain smaller), you have somehow "locked in" long-term treatment. Holding period and basis are independent dimensions of tax reporting.
Diagram: Basis adjustment through a wash sale cycle
This diagram shows how a $1,500 disallowed loss becomes a $5,100 adjusted basis, which then reduces a future taxable gain from $600 to a $900 loss when you sell the replacement at $4,200.
Computing your adjusted basis in practice
To calculate your adjusted basis correctly:
- Identify the original purchase price of the security you sold at a loss.
- Calculate the disallowed loss as the original purchase price minus the sale price.
- Identify the replacement purchase price of the substantially identical security bought within 30 days.
- Add the disallowed loss to the replacement purchase price: Adjusted Basis = Replacement Purchase Price + Disallowed Loss.
If you purchased the replacement in multiple lots or at different prices, apportion the disallowed loss across all replacement purchases made within the 30-day wash sale window. If you bought 50 shares at $36 and 50 shares at $38 (for a total $3,700), and the disallowed loss is $1,500, you might allocate $750 to each lot.
The exact allocation depends on your identification method (specific lot identification or average cost). Brokers vary in how they handle this; some automatically apportion, others require manual adjustment on your tax return (Form 8949).
Broker reporting and tax software integration
Most brokers report wash sale disallowances to the IRS (and to you on Form 8949 or a supplemental statement), but not all automatically calculate and apply the basis adjustment in their tax export files. You may need to manually adjust your cost basis in tax software.
Check your broker's year-end statement for wash sale adjustments. If it reports disallowed losses but does not show adjusted basis, you must add the adjustment yourself on Form 8949 (Sales of Capital Assets) in the "adjustment" column, or in the cost basis section of your tax software's capital gains worksheet.
Failure to report the adjustment can lead to the IRS believing you underreported a gain in a later year, triggering a notice and potential penalties.
Real-world examples
Example 1: Single wash sale with recovery
In March 2024, Maria buys 100 shares of TechGrowth Corp at $50/share ($5,000). By June, the stock falls to $30/share. She sells for a $2,000 loss but immediately repurchases 100 shares at $32/share ($3,200). The wash sale disallows her $2,000 loss, and her adjusted basis in the new position is $3,200 + $2,000 = $5,200.
By December 2024, TechGrowth recovers to $55/share. Maria sells for $5,500. Without the basis adjustment, she would report a $2,300 gain ($5,500 - $3,200). With the adjustment, she reports a $300 gain ($5,500 - $5,200). The $2,000 loss is effectively carried forward to offset her gain.
Example 2: Stacking losses in volatile trades
James trades ABCD Inc aggressively in 2024. In January, he sells at a $500 loss and immediately rebuys, adding $500 to his basis. In March, he sells again at a $400 loss and rebuys, adding $400 to his (now elevated) basis. By June, his adjusted basis is significantly higher than his actual out-of-pocket cost because each wash sale "stacked" a loss onto the next basis. When he eventually sells without triggering a wash sale, his combined losses are deductible—but the timing and amount depend on whether any sale after the final repurchase is more than 30 days away from the prior sale.
Example 3: Partial wash sale with fractional allocation
In September 2024, Lisa owns 200 shares of EconBank Inc with a $4,000 loss. She sells 100 shares (capturing a $2,000 loss) and buys 150 shares of EconBank within 30 days. The wash sale disallows the $2,000 loss. Her $2,000 disallowed loss applies to the 150 replacement shares. She might allocate $1,333 to 100 shares and $667 to 50 shares, or use average cost to apportion uniformly. Tax software and her broker will guide the exact methodology.
Common mistakes
Mistake 1: Assuming the loss is permanently denied
Many investors think a disallowed wash sale loss is gone forever. In fact, it is deferred and added to basis. If you hold the replacement long enough, you can eventually deduct the loss. However, if you sell the replacement and immediately rebuy again, the loss remains trapped in the new basis. Only when you sell a replacement security more than 30 days after a prior purchase in the same or substantially identical security is the loss fully unlocked.
Mistake 2: Not tracking basis adjustments across multiple wash sales
If you trade the same stock repeatedly, each wash sale adjusts your basis higher. Failing to track these cumulative adjustments leads to incorrect gain/loss calculations. Use a spreadsheet or your broker's cost basis tool to monitor adjustments, especially if you trade frequently.
Mistake 3: Confusing basis adjustment with holding period
A high adjusted basis does not grant you long-term capital gains treatment if your holding period is short. A basis adjustment is purely a dollar calculation; holding period is date-based. If you buy a replacement on June 1 and sell it on July 15 (a 44-day hold, which exceeds one year by calendar date), the gain is still short-term because the holding period is measured from purchase to sale, not from the original purchase.
Mistake 4: Failing to report the basis adjustment on your tax return
If your broker does not automatically apply the basis adjustment in its tax export, and you do not manually adjust on Form 8949 or in your tax software, you may overstate your gain in a later year. The IRS's records show a disallowed loss (received from your broker), and if you do not explain the adjustment on Form 8949, the IRS may assume you omitted it intentionally, leading to a discrepancy notice.
Mistake 5: Not verifying your broker's wash sale calculations
Brokers sometimes misidentify substantially identical securities, especially with funds, ETFs, or international stocks. Review your broker's wash sale report against your trade records. If it is incorrect, you can amend your tax return (Form 1040-X) and adjust your basis accordingly.
FAQ
Can I carry a disallowed wash sale loss indefinitely?
Yes, as long as you do not trigger another wash sale. The loss sits in your adjusted basis. When you eventually sell the replacement more than 30 days after buying it, the loss is deductible. However, if you sell and rebuy the same or substantially identical security within 30 days again, the loss remains in the new basis indefinitely.
Does basis adjustment apply to gains, or only losses?
Wash sale rules apply only to losses. A "gain" in this context does not trigger a wash sale adjustment. If you sell a security at a gain and buy a replacement, no basis adjustment occurs. The wash sale rule is designed to prevent tax-motivated loss harvesting; gains do not require the same restriction.
What if my broker reports a basis adjustment differently than I calculated it?
Compare your broker's calculation to your records. If it differs, contact your broker's tax desk for an explanation. If your broker is clearly wrong (e.g., it failed to recognize a wash sale you actually triggered), ask for a corrected Form 8949 or supplemental statement. If your broker refuses to correct it, you can amend your return and adjust the basis yourself, noting the discrepancy on Form 8949.
If I buy multiple lots during a wash sale period, how is the loss allocated?
This depends on your method of cost basis tracking. If you use specific lot identification, allocate the disallowed loss proportionally to each lot based on the number of shares in each lot. If you use average cost, the adjustment spreads uniformly across all replacement shares. Your tax software or broker typically handles this automatically, but verify the calculation.
Can a basis adjustment make my adjusted basis higher than my actual cost?
Yes. If you lose money, sell at a loss, immediately rebuy, and the stock falls further, your adjusted basis (original cost + disallowed loss) can exceed the new purchase price. For example, you buy at $100, sell at $80 (a $20 loss), rebuy at $75, and your adjusted basis is $95. This is tax-correct and defers your loss to a later sale.
Do I need to report basis adjustments on my federal return if my broker already reported them?
Not always. If your broker's Form 8949 shows the adjustment in the "adjustment" column, the IRS already has the information. However, if your broker does not report it (some brokers omit wash sale adjustments from their data), you must add it yourself on Form 8949. When in doubt, include it.
What happens to basis adjustment if I inherit wash sale securities?
If you inherit a security with an adjusted basis from a wash sale, your basis "steps up" to its fair market value on the date of death (under current tax law as of the mid-2020s). The inherited basis replaces the adjusted basis—you do not carry forward the wash sale adjustment. This is a significant tax benefit for inherited securities with embedded losses.
Related concepts
- Capital Gains and Long-Term vs. Short-Term Tax Rates
- Tax-Loss Harvesting Strategies and Rules
- Understanding Holding Periods for Long-Term Capital Gains
- Substantially Identical Securities and the Wash Sale Rule
Summary
When a wash sale disallows your loss, the IRS does not erase it—it adds the disallowed amount to your cost basis of the replacement security. This basis adjustment defers the loss, potentially allowing you to deduct it later when you sell the replacement without triggering another wash sale. Tracking basis adjustments correctly is essential to avoid overstating gains and to ensure you claim deductions in the right year. Review your broker's wash sale reports, reconcile them with your records, and adjust your tax software manually if needed.