The best way to save on capital gains tax is by following what is mentioned under Section 54. Here, it says you can avoid paying tax on long-term capital gains if you reinvest the money you get by buying another property. You will need to buy the new property either one year before or two years after the sale of the old property. The other catch is you can’t transfer the newly purchased property within three years of buying it.