With a 1031 exchange
https://brave-hot.unicornplatform.page/blog/the-basics-of-real-estate-investing-41/?nocache=72861
With a 1031 exchange, investors have a limited window of time to identify and acquire replacement properties to qualify for tax deferral benefits