When looking at how to avoid capital gains tax on rental property or property you own, it is wise to look at tax exemptions.
You’re exempt from CGT on an investment property if:
You acquired your home before 20 September 1985
Your property is your main residence
You have an eligible granny flat arrangement