Latest
Oct 27 · 42.22 pre-release: ladders and crowbar break-insOct 23 · First-person mods are not officially supportedOct 21 · The Indie Stone on Java mods: download responsiblySep 28 · Build 42.21 Stable: zombie duplication fixesAug 26 · Security fixes on every branchAug 17 · Servers now handle up to 254 playersJul 29 · Build 42 goes Stable

Rats, mice and other pests in Project Zomboid

Build 42 added rats and mice as real animals, with rat infestations that grow as the months pass. This page covers what pests exist, what they actually damage, how to trap and eat them, and the sandbox settings that control them. It also says plainly which pests are not in the game. Written for Build 42 (42.22), November 2026.

A warehouse at night in Project Zomboid
Rats gather around trash and corpses as the apocalypse wears on.
01Part

Do vermin exist in Build 42?

Yes, partly. Build 42 added rats and mice as real animals in the world. Earlier builds had dead mice and rats only as items from traps; in Build 42 they are part of the animal system and can be hunted, trapped and butchered. The Indie Stone lists rats alongside sheep, pigs, rabbits and deer in its Build 42 feature overview.

Other pests are simpler. Flies and maggots are tied to rotting corpses, and maggots are an edible item. We found no source for mosquitoes, ticks, cockroach infestations or any insect that bites the player in Build 42. There are also no cats or dogs to keep rodents down, as far as any source we checked shows.

PestSignDamageFix
RatsScurrying and gnawing sounds in buildings, rats near trash and bodiesSpoiled or ruined loot in infested-building storiesKill them, trap them with a mouse trap, clear trash and corpses
MiceLive mice caught in traps, mostly in town and farm areasNo confirmed damage to your storesMouse trap with cheese or peanut butter
FliesBuzzing and swarms around old corpsesPart of the decaying-corpse health effectBurn or bury bodies, keep them away from your base
MaggotsAppear in and around rotting bodiesNo direct damage; a sign of long-dead corpsesRemove corpses; set Corpse Maggot Spawn in sandbox
Mosquitoes, ticksNone foundNot in the game as far as we can tellNothing to do
02Part

How rat infestation grows over time

Rats do not sit in every house from day one. In a September 2023 development blog, The Indie Stone explained that rats spawn procedurally as you explore, and that the world drifts toward a "Maximum Rat Index" as days pass. At that point rats have their highest spawn chance and show up in bigger groups. They can spawn with trash, trash containers and corpses, and some buildings get randomized rat stories with filthy supplies and destroyed loot.

The blog gave about two months as the default time to reach the peak. Current Build 42 sandbox lists show a default of 90 days instead, so the default seems to have changed since that post. Either way, the practical result is the same: a house you loot in week one is cleaner than one you open in month three.

Infested buildings were planned with their own sound design: rats in the ceiling and walls, gnawing, and scurrying across floors. Treat those sounds as the main warning sign. Wild animals in general also leave tracks and droppings that you can follow when hunting. We could not confirm a separate rat-droppings item that marks infested houses, so do not rely on one.

03Part

What vermin damage, and what they do not

This is where older forum posts and real Build 42 behavior split. Players have long asked for mice that chew through rice and crackers in cupboards. That request is still a request: we found no source showing that rats or mice eat food in your containers, raid your fridge, or spoil stored meals in a base you have cleared.

The confirmed damage is limited to loot you find. Rat-story buildings can hold ruined or unsanitary supplies, so check what you pick up in an infested house. We also found no source saying rats eat growing crops. Crop problems in Build 42 come from weather, season and plant care, which the farming guide covers.

Sealing food still matters, but for spoilage, not pests. Fridges, freezers, canning and drying are what keep food edible; see food preservation.

04Part

Dealing with rats and mice

You can attack rats directly like any small animal. For a steady catch, use the mouse trap, the only trap that takes mice and rats. One trapping guide says it cannot be crafted and only turns up as loot (one source). Every trap needs fresh bait, and a trap only rolls for a catch while its square is unloaded, so walk away after setting it.

BaitBait weight (one source)
Cheese60
Processed cheese55
Peanut butter, bacon bits40
Orange, apple, tomato35
Chocolate30

The same source gives zone weights that favor farms and trailer parks for both species, with towns close behind and forests poor. Mice and rats are active all day, so there is no time window. A catch can come out alive or as a dead mouse or rat. Early mouse traps are a common way to start leveling Trapping.

Opinion Clear trash bags and corpses from around your base, since those are where rats spawn. Pick a base you claim early, before the rat index climbs.

05Part

Eating rodents, maggots and insects

Dead rats and mice are food. In Build 42 small animals go through the butchering system for a small amount of meat; cook it before eating like any raw meat. We could not confirm exact meat weights for each species in Build 42, so check the item in game.

Maggots can be eaten raw in an emergency or used as fishing bait. Foraging can also turn up insects such as crickets and grasshoppers. Opinion These are calorie scraps; a single rabbit is worth more than a pocket of bugs, so use insects as fishing bait unless you are starving.

06Part

Sandbox settings for vermin and maggots

Rats sit in the Animals section of sandbox settings, now labeled as a vermin index. Maggots and corpse decay are under character, health and food.

SettingVariableDefaultEffect
Maximum Vermin IndexMaximumRatIndex25 (range 0 to 50)How often and how heavily rats appear in infested buildings
Days Until Maximum Vermin IndexDaysUntilMaximumRatIndex90 (range 0 to 365)Days for the world to reach that peak
Corpse Maggot SpawnMaggotSpawnIn and Around BodiesIf and where maggots spawn on corpses
Time Before Corpse RemovalHoursForCorpseRemoval216 hoursHow long bodies last; 0 stops maggots
Decaying Corpse Health ImpactDecayingCorpseHealthImpactNormalHow much rotting bodies hurt health and mood

All defaults above are the Apocalypse preset values from one sandbox reference (one source). Setting the vermin index to 0 should remove infested-building rats; we have not tested this. Flies have no setting of their own.

07Part

Quick answers

Are there rats in Project Zomboid Build 42?

Yes. Build 42 added rats and mice as animals. Rats spawn as you explore, especially near trash and corpses, and grow more common as days pass.

Do rats eat my stored food in Project Zomboid?

We found no source showing that rats or mice eat food in your containers in Build 42. Infested buildings can hold ruined loot, but your own stores only face normal spoilage.

How do I catch rats and mice?

Use a mouse trap baited with fresh cheese or peanut butter, then leave the area so the trap's square unloads. Mouse traps are found as loot.

Can you eat rats in Project Zomboid?

Yes. Dead rats and mice can be butchered for a small amount of meat. Cook it before eating.

Are there cats or mosquitoes in Project Zomboid?

Not that we could find. Build 42 has no cats or dogs, and no mosquitoes or biting insects.

How do I turn off rats in sandbox?

Lower Maximum Vermin Index in the Animals section of sandbox settings. The default is 25 on a 0 to 50 scale; 0 should remove infested-building rats.

Rat behavior comes from an official 2023 development blog and the Build 42.20 overview; sandbox defaults and trap figures each come from a single third-party reference. Absence claims (no food raiding, no cats, no mosquitoes) mean no source we checked describes them. Sources: Indie Stone blog: Sky High (rats) · Indie Stone: Build 42.20 overview · Pindrop sandbox settings · PZFans animal traps guide. Your game is the final word: if it disagrees with us, tell us and we will fix the page.