The cheapest fence I’ve ever built cost me $14 in screws and ran 32 feet around my raised vegetable beds. The wood was free. A pallet garden fence isn’t just a budget hack — done right, it looks intentional, lasts 5 to 7 years outdoors, and gives you something to lean tomato cages and trellises against. The catch is that not every pallet is safe for garden use, and the build sequence matters if you want it to hold up through real weather. Below is the process I’ve used on my own property and on a few client jobs.
- Sourcing Pallets That Are Safe and Free
- Pallet Sizes to Plan For
- Tools and Materials You'll Need
- Layout and Post Setting
- Breaking Down Pallets Cleanly
- Two Layout Styles That Work
- Assembly Tips That Save Time
- Finish and Sealer Choices
- Adding a Gate
- Climbing Plants and Decorative Touches
- Maintenance Over the Years
Sourcing Pallets That Are Safe and Free
Look for the IPPC stamp on every pallet you collect. Stamps marked “HT” mean heat treated (safe to use). Stamps marked “MB” mean methyl bromide fumigated — a banned pesticide in many countries — and these should never go anywhere near food crops or children. Unmarked domestic pallets are usually fine but verify the source before assuming.
The best free pallets come from small businesses: bike shops, brewery distributors, hardware stores, and garden centers. They often pay to have pallets hauled away and will gladly let you take them. Avoid pallets from chemical suppliers, paint stores, or anywhere food was directly stored without protective wrapping.
Pallet Sizes to Plan For
Standard GMA pallets are 48 inches by 40 inches. Half-pallets at 48 by 20 are common. Block pallets at 48 by 40 with chunkier corner blocks are sturdier than stringer pallets. For a garden fence, I prefer the heavier block-style pallets even if they’re harder to break down — the planks are usually thicker and last longer outdoors.
Plan on one full-size pallet covering roughly 4 linear feet of fence at 40 inches tall, or 5 feet at 32 inches tall after trimming.
Tools and Materials You’ll Need
- Reciprocating saw with metal-cutting blade: The fastest way to break down pallets without splitting wood
- Cordless drill and 3-inch exterior screws: About 1 lb of screws per 30 feet of fence
- 4×4 cedar or pressure-treated posts: $14 to $22 each, every 6 to 8 feet
- Quikrete fast-setting concrete: One 50-lb bag per post
- Post-hole digger or 2-person auger: Auger rents for $65 a day
- Outdoor wood stain or sealer: Penofin or Thompson’s Water Seal, $35 a gallon
For 30 feet of fence, total cost should run between $80 and $140 depending on how many posts and how much sealer you use.
Layout and Post Setting
Sketch the fence line on paper first. Note the gate opening (3 feet minimum if you want to push a wheelbarrow through), and mark every 6 to 8 feet for posts. String mason’s line between corner stakes and use it as your reference for keeping posts in line.
Dig post holes 24 inches deep, or 30 inches in zone 4 and colder where frost heave is severe. Set each post in the hole, plumb it with a 4-foot level, brace it with two 1×3 stakes, and pour dry Quikrete in around it. Add 1 gallon of water on top of the dry mix per bag and let it cure for 30 minutes before removing the braces.
Breaking Down Pallets Cleanly
Standing the pallet on its edge, slide a reciprocating saw blade between the top and bottom planks and cut through the nails. This preserves the planks intact rather than splitting them, which is what happens when you try to pry them apart. Plan on 3 to 4 minutes per pallet to fully disassemble.
Stack the planks by length and width. You’ll typically end up with two or three useful sizes, and grouping them ahead of time speeds up assembly.
Two Layout Styles That Work
The horizontal-plank style runs pallet boards left to right between posts, screwed face-on to the post. It builds fast and looks like a traditional ranch fence. The picket style stands pallet planks vertically, attached to two horizontal stringers (also from pallet wood) running between posts. Pickets give a cleaner garden look and let air and bees through more readily — useful around pollinator-dependent crops.
Assembly Tips That Save Time
Pre-drill every screw hole. Pallet wood is usually oak or southern yellow pine — both split easily near the ends without a pilot hole. Use a 1/8-inch drill bit and exterior-rated screws (T25 or square drive resists camming out). Space planks 1/2 inch apart for a louvered look that handles wind better than a solid fence; the gap is invisible from a few feet away but cuts wind load by 30 percent.
Keep the bottom edge at least 2 inches off the ground. Wood touching dirt rots within two seasons, regardless of species or sealer.
Finish and Sealer Choices
Bare pallet wood weathers to silver-gray in about 6 months and lasts 3 to 4 years before any planks need replacement. With a stain-and-sealer combo applied immediately after assembly, expect 6 to 8 years of useful life. My preferred finish is Penofin Penetrating Oil Finish in Cedar — one coat brushed on with a $4 chip brush, no overlap marks, and natural-looking color.
For a more rustic look, skip the stain and just brush boiled linseed oil on the planks. It darkens the wood beautifully and costs about $25 a gallon.
Adding a Gate
The gate is where most pallet garden fence builds fall apart. Build the gate frame from straight, knot-free 2x4s rather than pallet wood — gates flex constantly and pallet boards don’t have the strength for it. Use galvanized T-hinges (Stanley makes a 6-inch version for $9 a pair) and a simple gravity latch from any hardware store. Hang the gate so it’s 1 inch above the ground at its lowest swing point so it doesn’t drag.
Climbing Plants and Decorative Touches
A pallet fence makes an ideal trellis for pole beans, peas, cucumbers, and morning glories. Staple 1/2-inch mesh hardware cloth to the inside of the fence to give vines something to grab. For purely decorative beds, sweet pea, clematis, and climbing nasturtium all look at home against weathered pallet wood.
Maintenance Over the Years
Once a year — early spring works well — walk the fence line and replace any planks that have soft spots or splits. Reseal high-sun sections every 2 to 3 years with another coat of Penofin. Check post bases for any wobble; if a post moves, dig out around it and add another bag of fast-setting concrete. With this minimal upkeep, a well-built pallet garden fence holds up surprisingly long for what amounts to free wood and a Saturday afternoon.