Source http://www.cic.gc.ca/english/resources/manuals/enf/enf04-eng.pdf
13.15. Valid visas in expired passports
If an expired passport contains a valid visa counterfoil, the counterfoil can still be used since the
expiration of the passport has no effect on the visa's validity. Holders of a valid visa may continue
to use their visa until the date it expires even if the visa is in an expired passport. Visitors can fulfil
the visa and passport requirements by presenting both the renewed and expired passports
containing the valid visa counterfoil to a BSO when seeking entry into Canada. The Regulations
state that visas should not be issued longer than the validity of the passport. However, due to preIRPA cases, it is possible to encounter visas in expired passports.
It is not possible to "transfer" a valid visa into a new passport. If the holder of a valid visa wishes
to have a visa placed in their new passport or if the passport is deemed ‘not valid’ for political or
security concerns, visitors must apply for a replacement visa by submitting a new application and
paying the replacement document fee in accordance with R311(2).
If the applicant wishes to obtain a visa valid for a longer period in the new document, this will
constitute a new temporary resident visa application and any applicable fees resulting from this
new application will be collected. The previous visa will subsequently be cancelled.