The bright-line test
A residential property sold from 1 July 2024 within two years of buying it is taxed on the gain, unless an exclusion such as the main home applies. For sales before then, property bought from 29 March 2018 had a longer period — five or ten years, depending on when it was bought.