The 1031 exchange only defers the capital gain and depreciation recapture taxes; it will not avoid them. However, you can swap til you drop , and then your heirs inherit the property and receive a step up in cost basis equal to the fair market value at the date of your death. This effectively does avoid...