There's a meaningful difference, in the CRA's eyes, between renting out a room and building a fully self-contained unit. Once a space has its own entrance, kitchen, and bathroom, it starts to look less like part of your house and more like a separate dwelling, and that's where the tax picture shifts.
The principal residence folio describes a deemed disposition applying when a change in use is "substantial and of a more permanent nature," involving a structural change, and it specifically names converting part of a house into a self-contained domestic establishment for earning rental income as an example. In practical terms, carving your basement into a true legal apartment can trigger a partial change in use. When that happens, the tax rules treat you as having sold the rented portion at its fair market value and immediately reacquired it, with the principal residence exemption usually covering any gain up to that point, but with future growth on the rental portion potentially becoming taxable when you eventually sell. If you're weighing whether to build to that standard, it's worth understanding both the permit side of a renovation and this tax side together, since the structural choices drive both.
The Election That Can Defer the Hit
Happily, there's a designed escape hatch. You can elect under subsection 45(2) of the Income Tax Act to be treated as not having made that change in use, which defers recognizing any gain. This election used to be off-limits for partial changes, but since March 19, 2019, it has been available when only part of a property changes use, which is exactly the secondary-suite scenario. You make it by filing a signed letter with your tax return for the year the change happened, and it comes with one firm string attached: you can't claim CCA while it's in force, or the election is treated as rescinded. Used well, it can even let the property qualify as your principal residence for up to four additional years. Because this is a genuine election with real consequences, it's the natural moment to loop in a tax professional who can file it correctly for your year.