Troubleshooting

There’s no time restriction. As long as it was your principle residence the entire time you owned it, and you didn’t rent out any part of it, you won’t pay capital gains on the sale.  However, be aware that if you buy/sell homes frequently, this may cause the CRA to review your transactions, as they don’t want the principle residence designation to be abused by “house flippers” and others whose primary motive is profit.