"enclosure for animals," O.E. penn, penne, "enclosure," perhaps related to O.E. pinn "pin, peg" (see
pin) on notion of a bolted gate or else "structure made of pointed stakes." The verb, "to enclose in a pen" is attested from c.1200. Slang noun meaning "prison" (1884) is shortening