irs.gov - website profile
Publication 527 (2018), Residential Rental Property ...
Tax-free exchange of rental property occasionally used for personal purposes. If you meet certain qualifying use standards, you may qualify for a tax-free exchange (a like-kind or section 1031 exchange) of one piece of rental property you own for a similar piece of rental property, even if you have used the rental property for personal purposes.
irs.gov Alternatives