When you sell an investment property, a 1031 exchange lets you defer capital gains tax by reinvesting proceeds into another like-kind investment property through a Qualified Intermediary. You must identify replacement property within 45 days and close within 180 days, following strict IRS rules on how funds are held and used.