§ 133.27 CARRYING WEAPONS.
   No person shall go armed with a dangerous weapon concealed on or about his or her person, or shall, within the limits of the city, go armed with a pistol or revolver, or any loaded firearm of any kind, whether concealed or not, or shall knowingly carry or transport in a vehicle a pistol or revolver, provided that this section does not apply to any of the following:
(Iowa Code § 724.4)
   (A)   Own premises. A person who goes armed with a dangerous weapon in his or her own dwelling or place of business, or on land owned or possessed by the person;
(Iowa Code § 724.4(a))
   (B)   Peace officer. Any peace officer, when his or her duties require the person to carry those weapons;
(Iowa Code § 724.4(b))
   (C)   Armed forces. Any member of the armed forces of the United States or of the National Guard or person in the service of the United States, when the weapons are carried in connection with his or her duties as such;
(Iowa Code § 724.4(c))
   (D)   Within container. Any person who for any lawful purpose carries an unloaded pistol, revolver or other dangerous weapon inside a closed and fastened container or securely wrapped package which is too large to be concealed on the person;
(Iowa Code § 724.4(e))
   (E)   Within vehicle. Any person who for any lawful purpose carries or transports an unloaded pistol or revolver in any vehicle inside a closed and fastened container or securely wrapped package which is too large to be concealed on the person or inside a cargo or luggage compartment where the pistol or revolver will not be readily accessible to any person riding in the vehicle or common carrier;
(Iowa Code § 724.4(f))
   (F)   Target practice. Any person while he or she is lawfully engaged in target practice on a range designed for that purpose or while engaged in lawful hunting for game in any place designated by local law as a hunting area;
(Iowa Code § 724.4(g))
   (G)   Valid permit. Any person who has in his or her possession and who displays to any peace officer on demand a valid permit to carry weapons which has been issued to the person, and whose conduct is within the limits of that permit. No person shall be convicted of a violation of this section if the person produces at his or her trial a permit to carry weapons which was valid at the time of the alleged offense and which would have brought the person’s conduct within this exception if the permit had been produced at the time of the alleged offense; and
(Iowa Code § 724.4(i))
   (H)   Correctional officer. Any correctional officer, when the officer’s duties require, serving under the authority of the State Department of Corrections.
(Iowa Code § 724.4(d))
(1999 Code, § 41.14)
   (I)   Law enforcement officer. A law enforcement officer from another state when the officer’s duties require the officer to carry the weapon and the officer is in the state for any of the following reasons:
      (1)   The extradition or other lawful removal of a prisoner from this state;
      (2)   Pursuit of a suspect in compliance with state code; and
      (3)   Activities in the capacity of a law enforcement officer with the knowledge and consent of the Chief of Police.