How Wash Sales Apply Across Multiple Accounts
How Wash Sales Apply Across Multiple Accounts
One of the most commonly overlooked aspects of wash sale law is that the rule applies across all accounts you control or influence. It is not limited to a single brokerage account. If you sell a security at a loss in your brokerage account and repurchase it in your IRA, you have triggered a wash sale. If you sell in your wife's account and she buys in hers, and you file taxes jointly, a wash sale may apply to both. The wash sale rule is property-centric, not account-centric: if you sell a security you have a loss on and then own the same or substantially identical security anywhere within your financial ecosystem, the rule applies. This article maps out which accounts are covered, common traps, and strategies to avoid cross-account wash sales.
Quick definition: Wash sale rules apply across all accounts you own, control, or significantly influence (brokerage, IRAs, 401ks, custodial accounts); the account where the sale occurred and the account where the repurchase occurred do not have to be the same.
Key Takeaways
- The wash sale rule is not limited to a single brokerage account; it applies across all accounts in your name or under your control.
- Accounts covered include: traditional and Roth IRAs, brokerage accounts, 401ks, 403bs, SEP-IRAs, solo 401ks, custodial accounts (for minors or dependents), and spousal accounts if you file jointly.
- Spousal purchases apply if you are married filing jointly; each spouse's accounts are treated as part of the same economic unit for wash sale purposes.
- Employer 401k plans are generally treated as separate accounts, but purchases and sales within the same plan year can trigger wash sales.
- Accounts you do not control (such as employer 401ks where you have no discretion, or someone else's account) are generally not covered.
The Cross-Account Rule
The wash sale rule does not care where you hold the security or where the repurchase occurs. The IRS treats all accounts you own or control as a unified portfolio for wash sale purposes. This makes sense from a policy perspective: the rule is meant to prevent artificial loss-harvesting schemes, and you could easily sidestep it if you could sell at a loss in one account and buy the same security in another.
Covered Accounts
Brokerage accounts (taxable accounts): Any account in your name held at any broker is covered. Sales in one broker's account trigger wash sale rules for purchases in another broker's account.
Traditional IRAs: Sales and purchases within your traditional IRA are covered. A sale at a loss in your traditional IRA followed by a repurchase within the 61-day window disallows the loss.
Roth IRAs: The same rules apply to Roth IRAs. A sale at a loss in your Roth followed by a purchase of the same security triggers the wash sale rule.
SEP-IRAs and Solo 401ks: These are treated similarly to traditional IRAs. All purchases and sales within your SEP or solo 401k are tracked together for wash sale purposes.
Custodial accounts: If you are a custodian for a minor's or dependent's account (such as an UGMA/UTMA account or a 529 plan), sales and purchases in that account are covered, because you have discretion over the account.
Spousal accounts: If you are married filing jointly, your spouse's accounts are treated as part of your tax unit for wash sale purposes. A sale in your brokerage account and a repurchase in your spouse's IRA within the 61-day window triggers a wash sale.
Employer 401k plans: Purchases and sales within your own 401k are covered. However, most employer 401ks have limited trading or rebalancing, so wash sales within 401ks are rare in practice.
Not Covered
Someone else's account: If your adult child or sibling sells a security at a loss and buys the same security within the 61-day window, this is their wash sale, not yours, even if they use your computer to execute the trades.
Employer 401k plans where you have no discretion: If your employer's 401k plan automatically rebalances or if the plan makes purchases without your election, the wash sale rule generally does not apply to your sales (because you did not control the repurchase).
Accounts in another person's name: If your spouse sells at a loss but files taxes separately from you (married filing separately), the wash sale rule is applied to each spouse individually, not jointly.
The Cross-Broker Issue
One of the most common surprises investors encounter is discovering that wash sales apply across different brokers. Many investors mistakenly assume that if they sell a stock at a loss on one broker's platform and buy it on a different broker's platform, they can somehow escape the rule.
They cannot.
The IRS's position is clear: the wash sale rule applies to all your securities transactions, regardless of which broker executes them. If you sell 100 shares of Stock A at a loss on E-Trade on July 15 and buy 100 shares of Stock A on Fidelity on July 25, the wash sale rule applies. Your loss is disallowed, and the disallowed amount is added to your cost basis in the Fidelity shares.
This is particularly problematic for investors who use multiple brokers for different purposes (one for stock picking, one for index investing, one for retirement accounts). Coordinating across brokers requires diligence.
The Spousal Trap
If you are married and file taxes jointly, the wash sale rule extends to your spouse's accounts. This creates both a coordination opportunity and a compliance trap.
The coordination opportunity: You and your spouse can coordinate your tax-loss harvesting to maximize deductions across both portfolios. For instance, if you own a stock with a $5,000 loss and your spouse owns the same stock (purchased at a different basis) with a $3,000 loss, you could sell both and claim an $8,000 total loss, then wait 31 days for both of you to repurchase.
The compliance trap: If you sell a security at a loss without knowing that your spouse has already purchased the same security, or if your spouse automatically reinvests dividends into the same security, you could inadvertently trigger a wash sale. Many couples do not coordinate their trading closely enough to avoid these accidents.
Communication strategy: Couples who actively trade should maintain a shared spreadsheet or alert system that flags wash sale risks. Even if one spouse does the trading, both need to know about open positions and pending trades.
Cross-Account Scenarios
Scenario 1: IRA and Brokerage Account
You sell 100 shares of Microsoft at a $2,000 loss in your taxable brokerage account on October 1. On October 15, you decide to rebalance your traditional IRA and buy 100 shares of Microsoft within that IRA. The wash sale rule applies to your brokerage account sale. Your $2,000 loss is disallowed, and the $2,000 is added to your cost basis in the Microsoft shares you bought in your IRA. When you eventually sell the IRA shares (or the IRA distributes them), the higher cost basis will reduce your gain (or increase your loss) at that time.
Scenario 2: Multiple Brokers
You sell 50 shares of Apple at a $1,500 loss on your Fidelity brokerage account on November 1. You like Apple for the long term, so on November 10 you buy 50 shares on your E-Trade account (perhaps you just opened an E-Trade account and wanted to test it). The wash sale rule applies across brokers. Your loss is disallowed, and the $1,500 is added to your cost basis in the E-Trade shares.
Scenario 3: Spouse's Account
You sell 100 shares of a mutual fund at a $3,000 loss in your brokerage account on December 10. You file taxes jointly with your spouse. Your spouse, who maintains her own investment account at the same broker, has a DRIP (dividend reinvestment plan) enabled on the same mutual fund. On December 28, the fund pays a dividend, and your spouse's DRIP reinvests it into 5 new shares of the fund. The wash sale rule applies because your spouse's purchase (even though it is automatic through a DRIP) occurs within the 61-day window and you file taxes jointly. Your $3,000 loss is disallowed.
Scenario 4: Custodial Account
You are the custodian for your minor daughter's account. You sell 100 shares of Stock Z at a $2,000 loss in your daughter's account on February 1. On February 15, you decide Stock Z is attractive and buy 100 shares in your own taxable account. The wash sale rule applies. The sale in your daughter's account and your purchase in your own account trigger a disallowance of the loss.
The 401k Exception and Its Limits
Employer 401k plans are sometimes treated differently because you typically do not have discretion over all the plan's holdings. However, if your 401k allows self-directed brokerage windows or individual trading, the wash sale rule can apply within the plan.
More importantly, if you sell a security at a loss in your taxable brokerage account and then (through your employer's 401k plan) purchase the same or substantially identical security within the 61-day window, the wash sale rule may apply. The account type (employer 401k) does not provide an exemption; it is still a repurchase.
Caution: If you are planning to reinvest in your 401k, do not sell the same security at a loss in your taxable account just before making the 401k contribution.
Automated Transactions: DRIPs and Auto-Rebalancing
Automated transactions (such as dividends reinvested through a DRIP, automatic contributions to a 401k, or fund rebalancing) still trigger wash sales. If you sell a security at a loss and dividends or employer contributions automatically purchase the same security within the 61-day window, the rule applies.
Strategy: Before harvesting a loss in a security that pays dividends, disable the DRIP. Similarly, if you plan to contribute to a 401k or make automatic deposits, do not sell the same or substantially identical security at a loss in another account just before the contribution.
The Practical Problem: Tracking
The biggest challenge with cross-account wash sales is simply tracking. A typical investor might have:
- A brokerage account at one broker
- An IRA at another broker (or even the same broker)
- A 401k through an employer (which may or may not allow trading)
- Possibly a spouse's separate accounts
- Possibly custodial accounts for children
Coordinating across all these to avoid wash sales requires either:
- A comprehensive tracking system (spreadsheet or dedicated software)
- A single broker or advisor who aggregates all accounts
- A CPA or tax professional who reviews all accounts after the year ends
Many investors do not track carefully and discover wash sales only when preparing their taxes, at which point it is too late. Some tax software vendors are beginning to offer wash sale aggregation across multiple brokers, but this is not yet universal.
Software and Broker Tools
Some brokers (such as Fidelity and Charles Schwab) now flag wash sales within their own system and provide some cross-account warnings. However, these tools typically only work within that broker. If you use multiple brokers, the tools will not catch cross-broker wash sales.
A few specialized tax-loss harvesting platforms (such as Betterment, Wealthfront, and Empower) now track wash sales across your integrated accounts, but this is only helpful if all your accounts are connected to the same platform.
For sophisticated investors or those with complex account structures, working with a tax advisor to map out all accounts and coordinate trades is often the most reliable approach.
Important Note
The treatment of wash sales across different account types and custodied accounts can sometimes depend on specific facts and circumstances. The IRS's position on what constitutes "control" or "influence" over an account is not always crystal clear, especially for joint accounts, custodial accounts, and estate accounts. Confirm the current rules with a tax professional if you maintain complex account structures or if you are planning a significant tax-loss harvesting initiative that involves multiple accounts.
Summary
The wash sale rule applies across all accounts you own or control, regardless of the broker or account type. Selling a security at a loss in one account and repurchasing the same security in another account—whether a brokerage account, IRA, 401k, spouse's account, or custodial account—triggers a wash sale. Spousal accounts are included if you file taxes jointly. Automated transactions (DRIPs, contributions) also trigger the rule. Careful tracking across all accounts is essential to avoid inadvertent disallowances.