There are multiple definitions - click on the translation that matches your context.

Gefängnis

Substantiv

full

penitentiary

noun

Definitions of penitentiary

English

a large prison (=a building where convicted criminals are kept). The term is commonly associated with the US, but is also used in other jurisdictions, especially ones in the Americas.

He was incarcerated in Louisiana State Penitentiary.