Like many countries. Canada taxes non-residents who realize gains on real estate located within its borders. Please have a look at this blog posting.
This will be true whether the real estate is capital property that is held for the purposes of earning from rental or a business; capital property held for personal use; or inventory of a business (e.g. where it is held for resale).
This article will focus on situations where the real estate is capital property.