If such a disposition is made by either party, then both parties must recognize gain on the exchange in the year of the subsequent disposition.2 IRC Section 1031(f)(2) contains certain specific exceptions to this rule and a general exception for transactions that the IRS concludes did not have tax avoidance as one of the principal purposes.
As a result, nonrecognition treatment will be permitted if the property was disposed of within two years of the exchange as a result of:
(1) the death of the taxpayer or the related person; or(2) an involuntary conversion (see Q 8664) if the exchange occurred before the threat of the conversion arose.3
IRC Section 1031(f)(4) provides that if an exchange is part of a transaction (or series of transactions) structured to avoid the related party rules of Section 1031, the section will not apply at all (except for subsection (f)(4)) and any gain will be recognized in the year of the original sale.
1. IRC § 1031(f).