The best way to get answers to your question is to consult with a real estate attorney. One way to avoid possible taxes is to do some form of a tax free exchange if you sell the home you have and buy a home having the same or greater sales price as the one sold.You have to designate replacement property in a certain period of time (Starker or a reverse Starker transaction) and you have to have a straw person holding the sales proceeds of your home to make the deal fly. The above suggestion is somewhat complicated. That is why you need to consult with a real estate or a tax attorney.