Can You Do a 1031 Exchange With Stocks?
Dwaine Clarke · NNN Deal Finder / GCT Commercial
Published July 16, 2026
The question arrives weekly, usually from someone staring at an appreciated brokerage account: can Section 1031 defer stock gains the way it defers real estate gains? No — cleanly, statutorily, no. But the askers’ underlying goal usually has real answers.
Why the answer is no
Section 1031 has excluded stocks, bonds, notes, and partnership interests from the beginning, and the 2018 TCJA narrowed the section to real property exclusively. No structure, intermediary, or cleverness changes this — anyone marketing a “stock 1031” is selling something else wearing the name.
What stock sellers actually can do
The legitimate toolkit, each with different tradeoffs. Opportunity zone funds: reinvest capital gains (from any source, stocks included) into a QOF within 180 days and defer recognition — the one genuinely 1031-adjacent option for securities gains, with its own rules and its own comparison to 1031. Exchange funds (not exchange-traded): contribute concentrated stock to a partnership pooling many holders, diversify without sale — seven-year commitments, qualification limits, real fees. Charitable structures (CRTs, donor-advised funds): convert appreciated stock to income streams or deductions where philanthropy fits anyway. Direct-indexing loss harvesting: offset gains you realize with engineered losses over time. And the simplest: realize gains deliberately across tax years, sized against brackets and the NIIT threshold.
The one-way door into real estate
Here’s the asymmetry worth planning around: stock proceeds can buy real estate any time (after tax), and once you own investment real estate, the deferral machinery opens — exchange chains, depreciation, the step-up endgame. Real estate gains can never reach stocks tax-deferred. Investors who want long-term real asset income often bite the tax once, buy passive NNN property, and never pay capital gains again through the swap-till-you-drop cycle. One taxable toll, then decades of deferral — worth modeling next to any strategy that keeps deferring stock gains toward the same eventual rates.