Involuntary conversions
When property is destroyed, stolen or condemned, the owner can defer the gain by buying similar replacement property. Gain is recognized only to the extent the insurance or condemnation proceeds exceed the cost of the replacement. The replacement must generally be bought within two years after the end of the first tax year in which any gain is realized, or three years for condemned business or investment real estate. The replacement's basis is its cost minus the deferred gain.