Project Zomboid fence types and gates in Build 42

A fence in Build 42 is low: the game's tooltip for most of them is "Provides limited protection from the horde." A gate is how you get through without climbing: "Get to the other side of a fence without having to climb over it!" The tables below list the 12 fences and 9 gates of the building menu. The yard below is closed the other way, by a Log Wall with a Wide Log Gate.

A yard closed by a log wall with a wide log gate in front of a wooden house
54 sections of Log Wall and one Wide Log Gate: 221 logs and as many rags or the like. Tap to open the base in the editor.
Open this yard in the editor

Fences

Base health is the number in the fence's file; the game adds the builder's skill level times the "per level" number.

FenceSkillBase healthPer levelItems for one section
Log Fencenone200502 Log, 2 Rag, Twine, Rope or Sheet Rope
Crude Wooden Fencenone200506 Long Stick or Sapling, 2 Rag or the like
Wooden Fence (Basic)Carpentry 3250202 Plank, 2 Nails; hammer
Wooden Fence (Advanced)Carpentry 5350202 Plank, 2 Nails; hammer
Wooden Fence (Craftsman)Carpentry 7450202 Plank, 2 Nails; hammer
Barbed Wire FenceCarpentry 5100201 Barbed Wire; hammer
Metal Fence (Basic)Welding 3250202 Steel Rod, Welding Rods 2 uses, Welding Torch 2 uses
Metal Fence (Craftsman)Welding 5450202 Steel Rod, Welding Rods 2 uses, Welding Torch 2 uses
Metal Pole FenceWelding 3350203 Iron Pipe, Welding Rods 2 uses, Welding Torch 2 uses
Big Metal Pole FenceWelding 3450505 Iron Pipe, 2 Scrap Metal, Welding Rods 5 uses, Welding Torch 5 uses
Small Metal Wire FenceWelding 3200202 Iron Pipe, 1 Scrap Metal, Wire 1 use, Welding Rods 2 uses, Welding Torch 2 uses
Big Wire FenceWelding 3400503 Iron Pipe, 4 Scrap Metal, Wire 3 uses, Welding Rods 5 uses, Welding Torch 4 uses

What the game's tooltips add: a Barbed Wire Fence "Can inflict surface wounds when climbed over."; through the big metal and wire fences "Pointy weapons can attack through this." A Short Brick Wall is on the walls page: "A strong short wall you (and zombies) can climb over." A Wooden Fence Post takes 1 Plank and "Can be attached to barbed wire."

Gates

A gate's file sets no base health: it gets 300 for each level of the builder's skill.

GateSkillItems
Wide Log Gatenone5 Log, 5 Rag or the like
Wooden Fence GateCarpentry 34 Plank, 4 Nails, 2 Door Hinge, 1 Doorknob; hammer
Double Tall Wooden GateCarpentry 48 Plank, 8 Nails, 4 Door Hinge, 2 Doorknob; hammer
Metal Wire Fence GateWelding 32 Iron Pipe, 1 Scrap Metal, Wire 1 use, Welding Rods 2 uses, Welding Torch 2 uses
Metal Pole Fence GateWelding 33 Iron Pipe, 2 Door Hinge, 2 Scrap Metal, Welding Rods 4 uses, Welding Torch 4 uses
Big Pole Fence GateWelding 35 Iron Pipe, 2 Door Hinge, 4 Scrap Metal, Welding Rods 4 uses, Welding Torch 4 uses
Big Wire Fence GateWelding 33 Iron Pipe, 2 Door Hinge, 4 Scrap Metal, Welding Rods 4 uses, Welding Torch 4 uses
Double Tall Metal Pole GateWelding 510 Iron Pipe, 4 Door Hinge, 4 Scrap Metal, Welding Rods 10 uses, Welding Torch 10 uses
Double Tall Wire Fence GateWelding 58 Iron Pipe, Wire 4 uses, 4 Door Hinge, 2 Scrap Metal, Welding Rods 10 uses, Welding Torch 10 uses

The three double tall gates are the ones a car fits through: the game says the wooden one is "A tall double door vehicles can pass through.", the metal ones are "wide enough to let vehicles through." The Wide Log Gate is two Squares wide.

Fence a yard in the editor

In the editor a drag lays a whole run of fence along the edges of the Squares; leave the gap for the gate and set the gate in it. The Calculator gives the items for the whole run.

More guides: base design, wall types, the building menu, a second floor, furniture.