The Trespass to Property Act of Ontario is a provincial law in Ontario, Canada dealing with illegal entry into private and public property. As a provincial law, the penalties and mechanisms of enforcement are also provincial. This is an important distinction; under the Canadian system, criminal law is within the realm of federal authority and anyone violating this statute would be subject to quasi-criminal (not full criminal) enforcement. The Act is an attempt to codify what was formerly recognized by the common law. It is most often used by private-property owners to keep unwanted individuals off their property. There are many methods of notifying unwanted individuals that they have been banned (for future access), but the most common is a personal notice to the offender.
Similar laws exist in Prince Edward Island and Saskatchewan.