Study guide
5.4 Tax-Loss Harvesting, Wash-Sale Rules & Direct Indexing
CPWA Certified Private Wealth Advisor Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Introduction & CPWA Exam Strategy
1.1 CPWA Exam Overview & Certification Requirements 1.2 High-Net-Worth Client Discovery & Advisory Team Collaboration
2 Chapter 2: Ethics & Professional Responsibility
2.1 IWI Code of Professional Responsibility & Fiduciary Standards 2.2 Identifying and Managing Conflicts of Interest in HNW Practice 2.3 IWI Disciplinary Rules, Hearing Procedures & Regulatory Reporting
3 Chapter 3: Behavioral Finance & Investor Psychology
3.1 Cognitive Errors vs Emotional Biases in Affluent Clients 3.2 Behavioral Investor Types & Affluent Personality Models 3.3 Behavioral Coaching & Decision Architecture for HNW Portfolios
4 Chapter 4: Family Dynamics & Governance
4.1 Family Wealth Governance Frameworks & Constitutions 4.2 Facilitating Family Meetings & Managing Intergenerational Conflict 4.3 Single-Family Offices, Multi-Family Offices & Virtual Family Offices 4.4 Building the Family Profile & Applying the Financial Planning Process
5 Chapter 5: Tax Planning for High-Net-Worth Clients
5.1 Federal Income Tax Brackets, Capital Gains & Surtaxes 5.2 Alternative Minimum Tax Mechanics & Planning 5.3 Tax-Efficient Asset Location & Tax Drag Optimization 5.4 Tax-Loss Harvesting, Wash-Sale Rules & Direct Indexing 5.5 Passive Activity Losses & Section 199A QBI Deductions 5.6 Interest Deductions: Qualified Residence, Investment & Business Interest 5.7 Fiduciary Income Tax, Intra-Family Income Shifting & Estimated Tax Safe Harbors 5.8 Like-Kind Exchanges, Insurance Tax Rules & Coordinating Multi-Account Contributions
6 Chapter 6: Portfolio Management & Concentrated Positions
6.1 Modern Portfolio Theory, Risk-Adjusted Metrics & Downside Analysis 6.2 Managing Concentrated Stock Positions: Hedging & Monetization 6.3 Alternative Investments: Private Equity, Private Credit & Hedge Funds 6.4 Factor Tilts, Smart Beta & Custom Direct Indexing 6.5 Asset-Liability Matching, Economic Conditions & Investing for Charitable Entities and Trusts
7 Chapter 7: Risk Management & Asset Protection
7.1 Excess Liability, High-Value Property & D&O Insurance 7.2 Titling Strategies, Statutory Exemptions & ERISA Protections 7.3 Limited Liability Companies (LLCs) & Family Limited Partnerships (FLPs) 7.4 Domestic & Foreign Asset Protection Trusts & Fraudulent Transfer Rules 7.5 Protecting Income and Assets Through Marriage, Divorce & Death 7.6 Fraud, Cybersecurity & Digital Asset Management
8 Chapter 8: Charitable Giving & Philanthropy
8.1 Charitable Income Tax Deductions & Substantiation Rules 8.2 Donor-Advised Funds (DAFs) vs. Private Foundations 8.3 Charitable Remainder Trusts (CRUTs & CRATs) 8.4 Charitable Lead Trusts, Pooled Income Funds & Gift Annuities
9 Chapter 9: Estate Planning & Wealth Transfer
9.1 Unified Estate & Gift Tax System, Portability & Form 706 9.2 Generation-Skipping Transfer (GST) Tax & Dynasty Trusts 9.3 Grantor Retained Annuity Trusts (GRATs) & QPRTs 9.4 Intentionally Defective Grantor Trusts (IDGTs) & SLATs 9.5 Valuation Discounts, Chapter 14 Rules & ILITs 9.6 Incapacity Planning, Probate & Intestacy 9.7 Postmortem Planning Elections, Income in Respect of a Decedent & Intra-Family Loans 9.8 Blended Families, Non-Traditional Relationships & Transferring Intangible Assets
10 Chapter 10: Planning for Corporate Executives
10.1 Non-Qualified Stock Options (NQSOs) vs. Incentive Stock Options (ISOs) 10.2 Restricted Stock, RSUs & Section 83(b) Elections 10.3 Non-Qualified Deferred Compensation & Section 409A Rules 10.4 SEC Rule 144, 10b5-1 Plans & Section 16 Rules 10.5 Portfolio Margin, Securities-Based Lending & Gifting Equity Compensation Awards
11 Chapter 11: Planning for Closely Held Business Owners
11.1 Business Valuation Methodologies & Normalization Adjustments 11.2 Buy-Sell Agreements, Structuring & Funding Mechanisms 11.3 Business Exit, Recapitalizations & Transition Strategies 11.4 Section 303 Redemptions, Section 6166 Deferrals & QSBS Exclusions 11.5 Choice of Entity & the Taxation of Ongoing Business Operations 11.6 Family Conflict, Governance & Successor Selection in Business Succession
12 Chapter 12: Retirement Management for High-Net-Worth Clients
12.1 Advanced Qualified Plans: Cash Balance & Paired DB/DC Designs 12.2 Advanced Roth Strategies & Net Unrealized Appreciation (NUA) 12.3 Tax-Efficient Decumulation & Dynamic Safe Withdrawal Rates 12.4 Social Security Optimization & Medicare IRMAA for HNW Clients 12.5 Distribution Planning: RMDs, Beneficiary Designations, Trusts as Beneficiary & Retirement Forecasting
5.4 Tax-Loss Harvesting, Wash-Sale Rules & Direct Indexing
Key Takeaways Explain This Topic AI
Tax-loss harvesting converts unrealized paper losses into realized capital losses to offset realized capital gains dollar-for-dollar, plus up to $3,000 of ordinary income annually, with unused losses carrying forward indefinitely under IRC §1212.
Under IRC §1091, the Wash-Sale Rule disallows a realized loss if a taxpayer acquires 'substantially identical' stock or securities (or enters into a contract/option to acquire) within a 61-day window (30 days before, trade date, 30 days after).
Disallowed wash-sale losses are added to the cost basis of the replacement security, and the holding period of the original security is tacked onto the replacement security under IRC §1223(4).
Under IRS Revenue Ruling 2008-5, purchasing substantially identical securities inside an IRA or Roth IRA within the 61-day window triggers the wash-sale rule and permanently destroys the tax loss with zero basis adjustment.
Direct indexing holds individual constituent stocks of an index in a Separately Managed Account (SMA), harvesting losses on declining individual constituents regardless of broader market direction and generating 100 to 200+ bps of annual tax alpha.
Last updated: August 2026
5.4 Tax-Loss Harvesting, Wash-Sale Rules & Direct Indexing
Tax-loss harvesting is a core quantitative technique utilized by private wealth advisors to enhance after-tax portfolio returns. By systematically harvesting capital losses during market volatility, advisors offset realized capital gains across the client's balance sheet (including private business sales, real estate exits, and private equity distributions) and build an enduring bank of capital loss carryforwards. However, advisors must navigate strict statutory wash-sale rules under IRC §1091 and understand the institutional power of Direct Indexing .
1. Capital Gain and Loss Netting Mechanics (IRC §1222)
The Internal Revenue Code establishes a strict, sequential five-step netting process for capital gains and losses realized during a tax year: ┌────────────────────────────────────────────────────────────────────────┐
- │ Sequential Capital Loss Netting Hierarchy │
- ├────────────────────────────────────────────────────────────────────────┤
- │ Step 1: Net Short-Term Capital Gains against Short-Term Capital Losses │
- │ -> Results in Net Short-Term Capital Gain or Loss │
- │ │
- │ Step 2: Net Long-Term Capital Gains against Long-Term Capital Losses │
- │ -> Results in Net Long-Term Capital Gain or Loss │
- │ │
- │ Step 3: Cross-Net Net Short-Term against Net Long-Term │
- │ • Net Short-Term Gain + Net Long-Term Gain -> Taxed Separately │
- │ • Net Short-Term Loss + Net Long-Term Gain -> Offset ST vs LT │
- │ • Net Long-Term Loss + Net Short-Term Gain -> Offset LT vs ST │
- │ │
- │ Step 4: Net Capital Loss Offset Against Ordinary Income │
- │ • Excess net capital losses offset up to $3,000 of ordinary │
- │ income per tax year ($1,500 for Married Filing Separately) │
- │ │
- │ Step 5: Indefinite Carryforward (IRC §1212(b)) │
- │ • Remaining unused losses retain their Short-Term / Long-Term │
- │ character and carry forward indefinitely until death. │
- └────────────────────────────────────────────────────────────────────────┘
- Tax Arbitrage in Netting
The highest value of tax-loss harvesting occurs when a taxpayer uses long-term capital losses to offset short-term capital gains (which would otherwise be taxed at ordinary rates up to 40.8%) or uses harvested losses to offset up to $3,000 of ordinary income annually.
2. The IRC §1091 Wash-Sale Rule
The Wash-Sale Rule under IRC §1091 prevents taxpayers from claiming an artificial tax loss while maintaining an uninterrupted economic position in a security.
The 61-Day Prohibited Window
A wash sale occurs if a taxpayer sells a stock or security at a loss and, within a 61-day window spanning 30 calendar days before the sale, the date of the sale, and 30 calendar days after the sale , the taxpayer acquires or enters into a contract or option to acquire substantially identical stock or securities . ┌────────────────────────────────────────────────────────────────────────┐
- │ The 61-Day Wash-Sale Timeline Window │
- ├───────────────────────────────┬──────────────┬─────────────────────────┤
- │ 30 DAYS PRIOR │ TRADE DATE │ 30 DAYS AFTER │
- ├───────────────────────────────┼──────────────┼─────────────────────────┤
- │ Purchasing identical security │ Sell at Loss │ Purchasing identical │
- │ triggers wash sale on sale │ (Trigger) │ security disallows loss │
- └───────────────────────────────┴──────────────┴─────────────────────────┘
- Cost Basis & Holding Period Adjustments
When a wash sale occurs in a taxable account, the loss is not permanently lost ; rather, it is deferred:
Disallowance: The realized loss is disallowed as a current-year tax deduction.
Basis Increase (IRC §1091(d)): The disallowed loss is added to the cost basis of the newly acquired replacement shares.
Holding Period Tacking (IRC §1223(4)): The holding period of the sold shares is added (tacked) to the holding period of the replacement shares.
Loading diagram... Wash-Sale Basis Adjustment Mechanics (Taxable Account)
3. Defining "Substantially Identical" Securities
Neither the Internal Revenue Code nor Treasury Regulations provide an exhaustive definition of "substantially identical," but decades of IRS Revenue Rulings and Tax Court decisions establish clear operating principles:
Substantially Identical vs. Non-Identical Matrix
Sold Security Replacement Security Substantially Identical? Wash Sale Triggered? Key Regulatory / Tax Rationale
Apple Common Stock (AAPL) Apple Common Stock (AAPL) YES YES Identical legal equity of same issuer.
Apple Common Stock (AAPL) Apple Call Option (Call on AAPL) YES YES IRC §1091(a) explicitly includes contracts or options to acquire stock.
ExxonMobil (XOM) Chevron (CVX) NO NO Different corporate issuers, different balance sheets, different management.
SPDR S&P 500 ETF (SPY) iShares Core S&P 500 ETF (IVV) HIGH RISK / YES LIKELY Identical underlying index, identical 500 holdings, near-perfect correlation (0.999+).
SPDR S&P 500 ETF (SPY) Vanguard Large-Cap ETF (VV - CRSP Index) NO NO Different tracking index (CRSP US Large Cap vs S&P 500), different constituent rules.
SPDR S&P 500 ETF (SPY) Vanguard Total Stock Market (VTI) NO NO S&P 500 large-cap vs total market containing ~3,500 mid/small caps.
Invesco QQQ (Nasdaq 100) iShares Semiconductor ETF (SOXX) NO NO Broad tech/comm index vs concentrated sector semiconductor basket.
4. Cross-Account and Spousal Wash-Sale Traps
A critical area of exam testing and advisory practice is the application of wash-sale rules across multiple accounts:
1. Multiple Taxable & Spousal Accounts
Wash-sale rules apply across all accounts owned or controlled by the taxpayer and their spouse . If a husband sells Microsoft stock at a loss in his individual account, and his wife purchases Microsoft stock within 30 days in her separate individual account or a joint account, the wash-sale rule is triggered.
2. The Fatal IRA Wash-Sale Trap (IRS Revenue Ruling 2008-5)
In Revenue Ruling 2008-5 , the IRS addressed the scenario where a taxpayer sells stock at a loss in a taxable brokerage account and, within 30 days, purchases substantially identical stock inside their Traditional IRA or Roth IRA:
The Loss Is Permanently Disallowed: The loss cannot be claimed on the individual Form 1040.
No Basis Adjustment Permitted: Because IRAs do not track cost basis in underlying assets, the disallowed loss cannot be added to the IRA basis .
Catastrophic Outcome: The tax loss deduction is permanently destroyed with zero offsetting tax benefit!
5. Direct Indexing & Tax Alpha Generation
Direct Indexing represents the modern evolution of tax-loss harvesting for high-net-worth investors. Instead of purchasing a commingled ETF or mutual fund (e.g., SPY or VOO), the client establishes a Separately Managed Account (SMA) that directly owns hundreds of individual constituent equities (e.g., 300 to 500 individual stocks representing the S&P 500 or Russell 3000). ┌────────────────────────────────────────────────────────────────────────┐
- │ Direct Indexing Tax Alpha Mechanics │
- ├────────────────────────────────────────────────────────────────────────┤
- │ Scenario: S&P 500 Index is UP +10% during a volatile year. │
- │ │
- │ • Commingled ETF Investor (SPY): │
- │ - SPY is up +10%. Realized harvestable losses = $0. │
- │ │
- │ • Direct Indexing SMA Investor (Individual Stock Holdings): │
- │ - 350 stocks are UP +20% (Unrealized gains kept invested) │
- │ - 150 stocks are DOWN -15% (Losses systematically HARVESTED!) │
- │ - Reinvest harvested cash into correlated proxy stocks │
- │ - Benchmark tracking error maintained (< 0.50%) │
- │ │
- │ Result: Generates 100 to 200+ bps of Tax Alpha against outside gains! │
- └────────────────────────────────────────────────────────────────────────┘
- Embedded Gain Management in Legacy Portfolios
When an HNW client joins an advisory firm with a legacy portfolio containing concentrated, highly appreciated individual stocks (e.g., $5M in Apple with a $500k basis), selling everything immediately triggers a massive capital gains tax bill. Direct indexing allows the advisor to:
Keep the low-basis concentrated stock in the SMA.
Build a customized direct index around the concentrated holding (excluding tech/Apple from the benchmark to avoid over-concentration).
Use harvested losses from other direct index constituents over 3–5 years to systematically eliminate the concentrated position at zero net tax cost.