New wiki skin!

The default skin has recently changed.
Toggle between a light and dark theme via the gear icon (without logging in).
Feedback can be left on the discussion page or the pzwiki_editing Discord channel.
Prefer the legacy skin? Switch to old look (requires login).

Key

From PZwiki
UI Tick.png
This page has been revised for the current stable version (41.78.16).
Help by adding any missing content. [edit]
Key
Key Model.png
Key2 Model.png
Key3 Model.png
Key2 Model.png
Key3 Model.png
General
Category
Security
Encumbrance
Moodle Icon HeavyLoad.png
0.0
Function
Lock and unlock doors
Technical
Item ID
Base.Key1
Base.Key2
Base.Key3
Base.Key4
Base.Key5
PlushSpiffo.pngThis article is about key to open doors. For key to open padlocks, see Key (Padlock). For a car key, see Car Key.

A key is used to lock and unlock doors in the game.

Usage

Locking and unlocking

Keys are connected to garage doors and regular door around the house, hovering over the key in your inventory will highlight the doors it is connected to in yellow. If it is in the player's inventory, the "Unlock Door" context option will appear when selecting a door.

Distribution

A key is a common item. Although it is possible to find keys in containers such as counters, dressers, and crates, it is much more common to find them on the corpses of zombies that were inside or in the vicinity of the building. If a door exists, it is likely to have a key that corresponds to it.

The loot distributions can be found in the table(s) below.

Key1 distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
kitchen counter 2.81%
livingroom counter 2.81%
Key2 distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
kitchen counter 2.81%
livingroom counter 2.81%
Key3 distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
kitchen counter 2.81%
livingroom counter 2.81%
Key4 distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
kitchen counter 2.81%
livingroom counter 2.81%
Key5 distribution Show / Hide
Effective chance calculations are based off of default loot settings, and median zombie density. The higher the density of zombies in an area, the higher the effective chance of an item spawning. Chance is also influenced by the lucky and unlucky traits.
Containers
Building/Room Container Effective chance
kitchen counter 2.81%
livingroom counter 2.81%

Code

Code icon.png Code snippet! This section contains source code from Project ZomboidShow / Hide

Source: ProjectZomboid\media\scripts\newitems.txt

Retrieved: Build 41.78.16
item Key1
	{
	    DisplayCategory = Security,
		Weight	=	0,
		Type	=	Key,
		DisplayName	=	Key,
		Icon	=	Key1,
		MetalValue = 5,
		WorldStaticModel = Key,
	}

See also