42.01 TRESPASSING.
1.   Prohibited. It is unlawful for a person to knowingly trespass upon the property of another.
(Code of Iowa, Sec. 716.8)
2.   Definitions. For purposes of this section:
(Code of Iowa, Sec. 716.7[1])
   A.   “Property” includes any land, dwelling, building, conveyance, vehicle, or other temporary or permanent structure, whether publicly or privately owned.
   B.   “Public utility” is a public utility as defined in Section 476.1 of the Code of Iowa or an electric transmission line as provided in Chapter 478 of the Code of Iowa.
   C.   “Public utility property” means any land, dwelling, building, conveyance, vehicle, or other temporary or permanent structure owned, leased, or operated by a public utility and that is completely enclosed by a physical barrier of any kind.
   D.   “Railway corporation” means a corporation, company, or person owning, leasing, or operating any railroad in whole or in part within this State.
   E.   “Railway property” means all tangible real and personal property owned, leased, or operated by a railway corporation, with the exception of any administrative building or offices of the railway corporation.
   F.   “Trespass” means one or more of the following acts:
(Code of Iowa, Sec. 716.7[2a])
      (1)   Entering upon or in property without the express permission of the owner, lessee, or person in lawful possession with the intent to commit a public offense or to use, remove therefrom, alter, damage, harass, or place thereon or therein anything animate or inanimate.
      (2)   Entering or remaining upon or in property without justification after being notified or requested to abstain from entering or to remove or vacate therefrom by the owner, lessee, or person in lawful possession, or the agent or employee of the owner, lessee, or person in lawful possession, or by any peace officer, magistrate, or public employee whose duty it is to supervise the use or maintenance of the property.
      (3)   Entering upon or in property for the purpose or with the effect of unduly interfering with the lawful use of the property by others.
      (4)   Being upon or in property and wrongfully using, removing therefrom, altering, damaging, harassing, or placing thereon or therein anything animate or inanimate, without the implied or actual permission of the owner, lessee, or person in lawful possession.
      (5)   Entering or remaining upon or in railway property without lawful authority or without the consent of the railway corporation which owns, leases, or operates the railway property. This paragraph does not apply to passage over a railroad right-of-way, other than a track, railroad roadbed, viaduct, bridge, trestle, or railroad yard, by an unarmed person if the person has not been notified or requested to abstain from entering onto the right-of-way or to vacate the right-of-way and the passage over the right-of-way does not interfere with the operation of the railroad.
      (6)   Entering or remaining upon or in public utility property without lawful authority or without the consent of the public utility that owns, leases, or operates the public utility property. This paragraph does not apply to passage over public utility right-of-way by a person if the person has not been notified or requested by posted signage or other means to abstain from entering onto the right-of-way or to vacate the right-of-way.
3.   Specific Exceptions. “Trespass” does not mean either of the following:
(Code of Iowa, Sec. 716.7[2b])
   A.   Entering upon the property of another for the sole purpose of retrieving personal property which has accidentally or inadvertently been thrown, fallen, strayed, or blown onto the property of another, provided that the person retrieving the property takes the most direct and accessible route to and from the property to be retrieved, quits the property as quickly as is possible, and does not unduly interfere with the lawful use of the property. This paragraph does not apply to public utility property where the person has been notified or requested by posted signage or other means to abstain from entering.
   B.   Entering upon the right-of-way of a public road or highway.