How much you reinvest matters
How much would I need to reinvest to defer all of my gain?
Gain is generally recognized to the extent proceeds are not reinvested. A simple, hypothetical example: you receive $1,000,000 for property with an adjusted basis of $200,000, so the gain is $800,000. If you reinvest the full $1,000,000, the whole gain may be deferred. If you reinvest $900,000, up to $100,000 of gain may be taxable now.
For illustration only. Your numbers and your tax advisor’s analysis decide what applies.