Wash Sales Across Accounts: Taxable vs. IRA Rules
How Revenue Ruling 2008-5 permanently annihilates tax losses when rebuying stock in an IRA, cross-brokerage tracking blindspots, and 1099-B reporting.
Executive Forensic Summary
- Among all the traps embedded in the Internal Revenue Code, executing a wash sale between a taxable brokerage account and an Individual Retirement Account (IRA) is the single most destructive fiscal mistake an investor can make.
- Under **IRS Revenue Ruling 2008-5**, if an investor sells stock or securities at a loss in a taxable brokerage account, and within the 61-day wash-sale window repurchases substantially identical stock inside a Traditional IRA, Roth IRA, SEP-IRA, or SIMPLE IRA, **the tax loss is permanently destroyed forever**.
- Unlike wash sales between two taxable accounts—where the disallowed loss is preserved by adding it to the cost basis of the replacement shares under IRC Section 1091(d)—**an IRA has no tax cost basis mechanism**; the loss cannot be added to the IRA, cannot be deducted on Form 1040, and cannot be claimed upon distribution.
- Crucially, commercial retail brokerages (Schwab, Fidelity, Vanguard) **never report cross-account or IRA wash sales on Form 1099-B** because brokerage compliance algorithms track wash sales only within each discrete account number, leaving taxpayers legally liable for manual self-reporting.
- This forensic guide deconstructs Revenue Ruling 2008-5 statutory mechanics, examines the permanent basis annihilation trap, details automated algorithmic tracking across multi-custodian setups, and presents an institutional asset location framework.
§Table of Contents (10 sections)▾
#Why Selling in a Taxable Account and Rebuying in an IRA Is Financial Suicide
For decades, aggressive retail investors operated under the belief that tax-advantaged retirement accounts were completely insulated from the wash-sale rule. Traders would harvest a $50,000 loss in their taxable margin account on Monday morning, and simultaneously buy back the exact same stock inside their Roth IRA on Monday afternoon.[1]
The trader assumed they had achieved the holy grail of tax planning: claiming a $50,000 capital loss deduction against their ordinary income, while locking in the subsequent rebound in a tax-free Roth vehicle.
In January 2008, the Internal Revenue Service permanently crushed this loophole by issuing **IRS Revenue Ruling 2008-5 (2008-1 C.B. 271)**.
Revenue Ruling 2008-5 established an uncompromising, brutal tax precedent:
1. When a taxpayer sells stock or securities at a loss in a taxable account, and causes an IRA or Roth IRA to purchase substantially identical stock or securities within the 61-day statutory window (30 days before to 30 days after), **the loss is disallowed under IRC Section 1091(a)**;
2. Crucially, **the basis adjustment provisions of IRC Section 1091(d) DO NOT APPLY to the IRA!** Because an IRA's cost basis is legally irrelevant for tax purposes (Traditional IRA distributions are taxed as ordinary income, while Roth IRA distributions are tax-free), the disallowed loss **cannot be added to the basis of the shares in the IRA**;
3. The disallowed loss **cannot be added back to any other shares** in the taxable account.
The tax consequence is absolute: **the capital loss is permanently evaporated into thin air**. It can never be deducted on Schedule D, can never offset future capital gains, and can never reduce taxes upon retirement distributions.
Permanent Loss Annihilation
Under Revenue Ruling 2008-5, rebuying stock in an IRA within 30 days of selling it for a loss in a taxable account permanently destroys the tax deduction forever. The loss cannot be added to the IRA basis or ever claimed.
| Account Combination | Disallowed Loss Treatment | Basis Adjustment Permitted? | Tax Consequence | Audit & Compliance Risk |
|---|---|---|---|---|
| Taxable Account to Taxable Account (Same Broker) | Loss disallowed on Form 1099-B | Yes (Added to replacement lot cost basis) | Temporary loss deferral until replacement sale | Handled automatically by brokerage accounting |
| Taxable Account to Taxable Account (Different Brokers) | Loss disallowed under IRC § 1091 | Yes (Must be manually added to basis) | Taxpayer must self-report on Form 8949 Code 'W' | High audit exposure if 1099-B uncaught |
| Taxable Account to Traditional IRA | Loss permanently destroyed (Rev. Rul. 2008-5) | NO (IRAs cannot adjust basis) | Double taxation: loss forfeited forever | Severe financial trap; manual reporting required |
| Taxable Account to Roth IRA | Loss permanently destroyed (Rev. Rul. 2008-5) | NO (Roth IRAs cannot adjust basis) | Catastrophic permanent loss forfeiture | Severe trap; requires strict portfolio separation |
Source: IRS Statutory Code, Treasury Regulations & Revenue Procedures • Illustrative figures.
Key Analysis Points
- Revenue Ruling 2008-5 formally extended Section 1091 wash-sale rules to IRAs and Roth IRAs.
- Disallowed losses cannot be added to an IRA's cost basis under IRC Section 1091(d).
- The tax deduction is permanently destroyed, providing zero present or future tax benefit.
#How Commercial Brokerage Compliance Software Conceals Cross-Account Violations
One of the most dangerous myths in individual investing is the assumption that *'If my broker didn't flag it on my Form 1099-B, it's not a wash sale.'*[2]
This assumption is completely false and exposes taxpayers to severe IRS audit penalties.
Under **Treasury Regulation § 1.6045-1(a)(15)**, commercial brokerages (such as Charles Schwab, Fidelity Investments, Vanguard, and Interactive Brokers) are legally mandated to track and report wash sales on **Form 1099-B Box 1g** under strict limitations:
- Brokers are required to report wash sales **only if the matching transactions occur within the exact same account number** (the 'Same-Account Mandate'); and
- Brokers are required to track wash sales only for **identical CUSIP securities**.
**The Multi-Account Blindspot:** If you maintain a taxable individual brokerage account and a Roth IRA at the exact same financial institution (e.g., Fidelity), Fidelity's automated back-office tax software **will not cross-match trades between your taxable account and your IRA**! Fidelity's Form 1099-B for your taxable account will show the loss as fully allowable, with Box 1g blank.
However, under federal tax law, **the legal obligation to comply with Section 1091 rests entirely on the individual taxpayer, not the brokerage**! Claiming an IRA-disallowed wash sale on Schedule D because Form 1099-B missed it constitutes an underreporting of tax under IRC Section 6662, triggering a 20% accuracy-related negligence penalty.
For foundational market context and trade execution mechanics, examine our core research on Good-'Til-Canceled (GTC) vs. Day Orders: Expiration, All-or-None (AON) Orders: Mechanics & Market Evolution, and Iceberg and Reserve Orders: How Institutional Players Hide.
Form 1099-B Does Not Track IRAs
Brokerages are legally prohibited from reporting cross-account wash sales on Form 1099-B. Even if your 1099-B shows the loss as valid, claiming an IRA wash sale on your tax return is an illegal tax violation.
Key Analysis Points
- Treasury Reg. § 1.6045-1 mandates brokerage 1099-B reporting only within the single same account.
- Brokerages do not cross-match taxable accounts against IRAs, leaving Form 1099-B Box 1g blank.
- Taxpayers are personally legally liable for self-reporting cross-account wash sales on Form 8949.
#Why Opening Accounts at Different Brokerages Provides Zero Legal Shield
Active traders frequently believe they can evade Section 1091 by maintaining multiple accounts across different brokerage firms:[3]
- Account A: Taxable Individual Margin Account at Charles Schwab;
- Account B: Taxable Individual Cash Account at Robinhood;
- Account C: Roth IRA at Fidelity Investments.
The trader sells Tesla at a $20,000 loss at Schwab on Monday, and immediately repurchases Tesla at Robinhood or Fidelity on Tuesday.
Because Schwab has zero visibility into Robinhood or Fidelity, Schwab's 1099-B reports a pristine $20,000 realized loss. The trader assumes they have executed an untraceable tax maneuver.
**The Legal Reality:** The Internal Revenue Code applies to **the taxpayer as an economic unit**, not to brokerage accounts. Section 1091(a) explicitly applies whenever *'the taxpayer has acquired'* replacement securities.
During an IRS audit, the revenue agent issues an Information Document Request (IDR) demanding complete monthly statement transcripts for all brokerage, retirement, and crypto accounts associated with the taxpayer's Social Security Number (SSN). Automated IRS audit software cross-matches trade timestamps across all brokerages.
When cross-brokerage wash sales are uncovered, the losses are retroactively disallowed, triggering back taxes, compound interest, and civil penalties.
The Taxpayer Identity Rule
The wash-sale rule applies to your Social Security Number across all financial institutions. Splitting trades between Schwab, Fidelity, and Robinhood does not bypass Section 1091.
Key Analysis Points
- Section 1091 applies universally to the taxpayer's SSN across all custodial brokerages.
- Trading across separate brokerages creates un-tracked wash sales that fail IRS audit checks.
- IRS audit algorithms automatically match trade timestamps across all Form 1099-B submissions.
#How Bi-Weekly 401(k) Payroll Deductions Silently Destroy Personal Tax Deductions
A pervasive, hidden wash-sale vulnerability involves employer-sponsored retirement plans (401(k), 403(b), and Employee Stock Purchase Plans [ESPP]).[4]
Consider an executive working at Microsoft or Amazon who participates in both a personal taxable brokerage account and a corporate 401(k) plan:
1. In their taxable brokerage account, the employee sells 200 shares of Microsoft on October 15 at a **-$10,000 loss** for tax-loss harvesting;
2. Simultaneously, the employee has automated bi-weekly payroll deductions directing 10% of their salary into company stock inside their **corporate 401(k) or ESPP**;
3. On October 25 (10 days later), the company payroll executes an automated purchase of company stock inside the 401(k) plan.
**The Legal Consequence:** Under Revenue Ruling 2008-5 and Treasury regulations, the acquisition of company stock inside an employer-sponsored retirement plan within the 61-day window **triggers a wash sale, permanently disallowing the taxable loss**!
Similarly, automated payroll purchases in an **Employee Stock Purchase Plan (ESPP)** constitute statutory acquisitions under Section 1091. To protect capital losses, employees must temporarily suspend 401(k) company stock purchases and ESPP payroll deductions during loss-harvesting windows.
The 401(k) Company Stock Trap
Automated payroll contributions into company stock inside your 401(k) or ESPP will trigger a wash sale against stock losses in your personal taxable account, destroying your tax deduction.
Key Analysis Points
- Automated 401(k) and ESPP company stock contributions trigger Section 1091 wash sales.
- The loss harvested in the taxable account is permanently destroyed under Rev. Rul. 2008-5.
- Employees must redirect 401(k) contributions into diversified index funds before loss harvesting.
#Quantifying the Total After-Tax Capital Destruction of a $50,000 Loss Violation
To illustrate the catastrophic financial destruction inflicted by Revenue Ruling 2008-5, examine a detailed quantitative case study:[5]
**The Setup:**
- Taxpayer: Single filer, top federal tax bracket (37% ordinary income, 20% long-term capital gains, 3.8% NIIT, 10% state tax = **33.8% combined capital gains rate**);
- Asset: 1,000 shares of an enterprise cloud software equity;
- Taxable Account Cost Basis: **$150/share** ($150,000 total investment);
- Current Market Value: **$100/share** ($100,000 market value);
- Unrealized Capital Loss: **-$50,000**.
**Execution (The Error):**
- *November 10:* Taxpayer sells all 1,000 shares in their taxable account at $100/share ($100,000 cash), intending to claim a **$50,000 capital loss**;
- *November 20 (Day 10):* Believing the stock has bottomed, the taxpayer uses $100,000 of available cash in their **Roth IRA** to purchase 1,000 shares of the exact same software equity at $100/share.
**The Forensic Tax Autopsy:**
1. Under Section 1091(a) and Rev. Rul. 2008-5, the **$50,000 loss is completely disallowed** for tax purposes;
2. The lost tax shield on Schedule D: $50,000 loss that would have saved: $\$50,000 \times 33.8\% = \mathbf{\$16,900\text{ in direct cash tax savings}}$ is erased;
3. Under Section 1091(d), **the basis cannot be added to the Roth IRA**. The Roth IRA cost basis remains $100/share;
4. The taxpayer paid $16,900 in un-sheltered taxes on their taxable account, and received **zero incremental basis benefit** in the Roth IRA.
Had the taxpayer simply waited 31 days or purchased a non-substantially identical cloud ETF (e.g., WCLD or CLOU), they would have preserved the **$16,900 cash tax savings** while maintaining identical market exposure.
The $16,900 Mistake
In this case study, repurchasing shares in a Roth IRA cost the investor $16,900 in cold cash taxes. Buying an alternative cloud ETF instead would have captured 100% of the tax savings.
Key Analysis Points
- Executing an IRA wash sale destroys thousands of dollars in authentic cash tax shields.
- The Roth IRA receives zero basis step-up, eliminating all tax benefit.
- Deploying proxy ETFs preserves tax deductions while keeping capital fully invested.
#How Family Offices and Wealth Managers Structurally Fire-Wall Portfolios
To ensure that automated tax-loss harvesting algorithms never trigger an accidental IRA wash sale, institutional wealth management platforms (such as Parametric, Aperio, and Wealthfront) enforce **Strict Asset Location Firewalls**:[1]
**1. Asset Class Specialization Across Accounts:** Never hold the exact same single-stock equities across both taxable accounts and retirement accounts. Maintain active equity and tax-loss harvesting strategies exclusively inside **Taxable Brokerage Accounts**, while dedicating IRAs to asset classes that are never loss-harvested: high-yield corporate bonds, REITs, dividend growth funds, and alternative credit.
**2. Automated CUSIP Blacklisting Across Custodians:** When a tax-loss harvesting sale is executed in a client's taxable account, the wealth management engine places that specific 9-digit CUSIP on a **Global 31-Day Buy Restriction List** across all connected family accounts (including traditional IRAs, Roth IRAs, 401ks, and spousal trusts).
**3. Using Mutual Funds in 401(k)s vs. Individual Stocks in Taxable:** Because mutual funds carry distinct legal CUSIPs and structures from individual equities, holding broad mutual funds inside corporate retirement plans prevents conflicts with single-stock tax harvesting in taxable accounts.
Asset Location Firewalls
Never hold the same individual stocks in your taxable account and your IRA. Hold individual equities in your taxable account for tax-loss harvesting, and hold bonds or REITs in your IRA.
Key Analysis Points
- Institutional asset managers never hold identical equities across taxable and IRA books.
- Automated CUSIP blacklists freeze purchases across all connected accounts for 31 days.
- Dedicating IRAs to fixed income and REITs completely eliminates wash-sale cross-contamination.
#How to Correctly Report Cross-Account Wash Sales When Form 1099-B Is Silent
When an investor accidentally triggers an IRA or cross-brokerage wash sale, they face an ethical and legal reporting decision when filing **IRS Form 8949 (Sales and Other Dispositions of Capital Assets)**.[2]
Because the brokerage Form 1099-B will show the loss as unadjusted (Box 1g blank), the taxpayer must execute a manual adjustment on Form 8949:
1. Enter the transaction details in **Part I (Short-Term)** or **Part II (Long-Term)** under Box A (Checked);
2. Enter the actual gross proceeds in Column (d) and the original cost basis in Column (e);
3. In **Column (f) (Code)**, enter **Code 'W'** (indicating a nondeductible wash sale);
4. In **Column (g) (Amount of Adjustment)**, enter the disallowed loss amount as a **positive number** (e.g., `$10,000`);
5. The positive adjustment on Column (g) mathematically offsets the negative loss, ensuring that **Column (h) (Gain or Loss) equals $0.00**.
**The Audit Paper Trail:** Attach an explanatory footnote to the return stating that the loss was disallowed pursuant to Revenue Ruling 2008-5. By self-reporting the adjustment, the taxpayer avoids all accuracy-related negligence penalties under Section 6662.
Form 8949 Code 'W' Self-Reporting
To self-report an unflagged cross-account wash sale, enter Code 'W' in Column (f) of Form 8949 and enter the disallowed loss as a positive number in Column (g), reducing net loss to zero.
Key Analysis Points
- Manual adjustments on Form 8949 are required when 1099-B forms omit cross-account wash sales.
- Enter Code 'W' in Column (f) and the disallowed loss as a positive amount in Column (g).
- Self-reporting eliminates the 20% Section 6662 accuracy-related negligence penalty upon audit.
#Step-by-Step Institutional Due Diligence for Multi-Account Portfolios
Before harvesting tax losses across complex multi-account household portfolios, institutional advisors enforce an eight-step audit routine:[3]
**Step 1: Map All Household Account Numbers:** Inventory all accounts associated with the taxpayer and spouse: taxable individual accounts, joint accounts, Traditional IRAs, Roth IRAs, SEP-IRAs, and 401(k) brokerage link accounts.
**Step 2: Audit Trailing 30-Day Purchase Activity Across All Accounts:** Check whether any account purchased the target equity, call options, or dividend reinvestment shares over the preceding 30 days.
**Step 3: Freeze Automated Reinvestment and Contributions:** Turn off DRIPs and automated monthly IRA contributions for that specific ticker across all accounts.
**Step 4: Execute the Loss Sale in the Taxable Account:** Sell specific high-cost tax lots using SpecID accounting to maximize realized loss.
**Step 5: Apply a Global 31-Day Account Blacklist:** Place the sold CUSIP on total lock-down across all household taxable and retirement accounts for **31 full calendar days**.
**Step 6: Deploy a Non-Substantially Identical Proxy:** Immediately reinvest sale proceeds into a pre-cleared competitor equity or alternative index ETF to maintain continuous market exposure.
**Step 7: Re-Audit Account Ledgers in February:** Review all Form 1099-B statements. Manually reconcile trades across brokerages to detect any accidental cross-account purchases.
**Step 8: Execute Form 8949 Reconciliation with CPA:** Ensure tax preparers execute proper Code 'W' adjustments on Form 8949 for any inadvertent cross-account violations.
The Global Household Blacklist
When harvesting a loss, place the CUSIP on a global 31-day blacklist across ALL accounts—taxable, Roth IRA, 401(k), and spousal accounts. Total isolation is the only defense against Revenue Ruling 2008-5.
Key Analysis Points
- Map all household taxable, IRA, and 401(k) accounts prior to executing loss harvesting.
- Enforce a global 31-day buy restriction across all accounts associated with the household.
- Manually reconcile multi-brokerage ledgers in February to verify clean Form 8949 reporting.
Quantitative Verification Suite
Forensic Valuation Tools for this Research
Apply deterministic financial algebra to verify the balance sheet mechanics explored in this research.
Reverse DCF Calculator
Simulate long-term capital compounding in taxable vs retirement accounts
#Frequently Asked Questions (FAQ)
What happens if I sell stock for a loss in a taxable account and buy it back in an IRA?
Under IRS Revenue Ruling 2008-5, the capital loss in your taxable account is completely disallowed. Furthermore, the disallowed loss cannot be added to the cost basis of the shares in the IRA, meaning the tax deduction is permanently destroyed and can never be claimed.
Will my brokerage report an IRA wash sale on Form 1099-B?
No. Under Treasury Regulation § 1.6045-1, brokerages are legally required to track wash sales only within the exact same account number. Brokerages will not cross-match trades between your taxable account and your IRA, leaving the taxpayer personally responsible for self-reporting the disallowance.
Does trading between two different brokerages avoid the wash-sale rule?
No. The wash-sale rule applies to the taxpayer, not the brokerage account. The IRS cross-matches trade records across all brokerages under your Social Security Number during an audit, disallowing losses executed across different platforms.
Do automated 401(k) contributions into company stock trigger wash sales?
Yes. If you sell company stock at a loss in your personal taxable account, and an automated bi-weekly 401(k) payroll contribution buys company stock within the 61-day window, a wash sale is triggered, permanently destroying a proportional part of the loss.
How do I report an unflagged cross-account wash sale on my tax return?
You must manually report the transaction on IRS Form 8949 by entering Code 'W' in Column (f) and entering the disallowed loss amount as a positive number in Column (g), reducing the deductible loss in Column (h) to zero.
#Primary Regulatory Sources & Statutory Citations
Every legal, execution, and clearing claim in this guide is derived directly from verified US regulatory statutes:
IRS Revenue Procedure 2025-32: 2026 Inflation Adjustments & Statutory Tax Brackets ↗
Official 2026 cost-of-living adjustments, statutory income tax brackets, standard deductions, and capital gains thresholds.
IRS Revenue Ruling 2008-5: Wash Sales and Individual Retirement Accounts ↗
The definitive federal revenue ruling establishing that repurchasing stock in an IRA disallows taxable losses without any basis adjustment.
Treasury Regulation § 1.6045-1: Returns of Information of Brokers and Barter Exchanges ↗
Federal regulations governing brokerage 1099-B reporting, limiting mandatory broker wash-sale tracking to identical accounts and CUSIPs.
IRS Publication 590-B: Distributions from Individual Retirement Arrangements (IRAs) ↗
Official IRS guidance on IRA tax treatment, basis rules, and the complete absence of capital gains deductions within retirement accounts.
Internal Revenue Code: Section 6662 (Imposition of Accuracy-Related Penalty on Underpayments) ↗
Federal statute establishing the mandatory 20% penalty for substantial understatements of tax resulting from omitted cross-account wash sales.
What We Checked: Statutory Audit & Verification
This research report was cross-audited against certified SEC EDGAR releases, DTCC Continuous Net Settlement (CNS) operational manuals, and the FINRA Manual. Market figures and data points are provided for informational and educational purposes under the Broadsheet editorial standard.