This guide covers building a wood garden gate that hangs plumb, closes cleanly, and resists the sag that makes most garden gates fail within a few years. The most common failure mode for DIY gates is the absence of a diagonal tension brace running from the top of the hinge stile to the bottom of the latch stile. This brace is the single most important structural element in a gate — it counteracts the moment force that swings the gate down over time. Without it, every wood gate will sag regardless of how well it's built otherwise.
The gate described here is 36 inches wide × 48 inches tall, made from 1×4 cedar pickets on a 2×4 cedar frame. The same frame principles apply to any width gate under 48 inches — wider gates require heavier framing (2×6 stiles) and heavier hardware. Gates over 48 inches wide should be built as double gates to eliminate the span-to-weight problem entirely.
Time: 4–6 hours. Cost: $80–$150. Difficulty: Beginner to Intermediate. Permit: Generally not required for a garden gate; verify locally if adjacent to a regulated fence.
What You'll Need
Tools
Miter saw or circular saw
Drill/driver
Clamps (4 bar clamps or pipe clamps)
Speed square and tape measure
Level (4-foot preferred)
Pencil compass or string-line for marking a diagonal brace cut
Materials — 36×48-Inch Gate
2 vertical stiles (sides of the gate frame): 2×4 cedar × 48 in
3 horizontal rails (top, middle, bottom): 2×4 cedar × 29 in (the net span between stiles; gate width minus 2 × stile width = 36 − 3 − 3 = 30 in, but adjust for overlap style)
1 diagonal tension brace: 2×4 cedar cut to fit from upper hinge corner to lower latch corner
Gate pickets: 1×4 cedar, 48 in long, quantity depends on spacing — a 36-in gate with 1×4 pickets at 3-in spacing uses about 6–7 pickets
Exterior wood glue
1 5/8-inch stainless or hot-dipped galvanized screws for picket attachment
3-inch exterior screws for frame assembly
Hinges: two heavy strap hinges or T-hinges, at least 12 inches arm length, with a combined gate+hinge weight rating well above the actual gate weight. A 36×48 cedar gate weighs 18–25 lbs — use hinges rated for at least 60 lbs each.
Gate latch: gravity latch, cane bolt, or thumb latch — appropriate to the security level needed
Step-by-Step Instructions
Step 1 · Measure the opening and plan the gate dimensions
Measure the rough opening between the two posts. Check that the posts are plumb by holding a level against each one. Out-of-plumb posts produce a parallelogram opening that makes square gate construction impossible — correct the post lean before building the gate. The finished gate width should be the opening width minus 1 inch total (1/2 inch clearance per side). The finished gate height depends on fence height and personal preference. Write these final dimensions before cutting a single piece.
Step 2 · Check and reinforce the hinge post
The hinge post carries all the gate's weight and all the moment force when the gate is open. Probe the post at ground level with a screwdriver — if it's soft, the post is rotting and must be replaced before a gate is hung on it. Even a slight lean in the hinge post will produce a gate that swings open or swings closed on its own, depending on the direction of the lean. A 4×4 post is the minimum for a residential garden gate; a 6×6 post is appropriate for heavy cedar or softwood gates and in windy locations. See how to set a fence post if the existing post needs replacement.
Step 3 · Build the gate frame — stiles and rails
Assemble the frame on a flat surface (a sheet of plywood on sawhorses is ideal). Place the two stiles parallel at the gate width. Place the top rail flush with the top of the stiles, the bottom rail flush with the bottom, and a middle rail centered between them. Glue and screw: apply exterior wood glue to each joint face, clamp, drive two 3-inch screws through the stile face into each rail end. Check square by measuring the diagonals — they should match within 1/8 inch. Pull the frame into square with a bar clamp across the longer diagonal if needed, before the glue sets.
Step 4 · Install the diagonal tension brace
The tension brace runs from the top inside corner of the hinge stile to the bottom inside corner of the latch stile. This direction is critical: the brace must run from upper-hinge to lower-latch, not the reverse. The hinge end is the high point; the latch end is the low point. The diagonal works in tension to pull the latch corner upward and counteract the natural sag direction. Measure the diagonal distance between those two inside corners, then cut a 2×4 to length with a compound miter (both ends mitered to sit flat in the frame corners — roughly 45° on each end, adjusted to the actual frame geometry). Glue and screw through the diagonal into each rail it intersects, and into each stile corner at the ends.
Step 5 · Attach the pickets
Lay the frame face-down on the flat surface. Mark the picket spacing across the top rail — equal spacing from edge to edge with a small gap between pickets for wood movement (1/4 inch per picket is standard). For cedar in an outdoor environment, close-spaced or touching pickets trap moisture and cause rot at contact points. Mark the positions, then set each picket in place, check it's square to the frame, and drive two 1 5/8-inch screws per rail crossing (two screws at the top rail, two at the middle rail, two at the bottom rail). Do not glue pickets to the frame — they need to move seasonally.
Step 6 · Attach the hinges to the gate
Install the two hinges on the hinge stile before hanging. The top hinge goes in the top 6 inches of the gate; the bottom hinge goes in the bottom 6 inches. This maximizes the moment arm resisting gate sag. Heavier gates (over 25 lbs) benefit from a third hinge centered between the top and bottom. Use the screws provided with the hinges, but confirm they are at least 1.5 inches long and stainless steel or hot-dipped galvanized — zinc-plated screws corrode in 18–24 months with cedar, which contains tannins that accelerate galvanic corrosion.
Step 7 · Hang the gate on the post
Have a helper hold the gate in the opening while you drive the hinge screws into the post. Start with the bottom hinge — set it at the correct height, drive one screw, check level, drive the remaining screws. Attach the top hinge the same way. Open and close the gate to test swing. The gate should swing freely without scraping the ground, and should return to a natural resting position neither swinging fully open nor fully closed (a plumb post and a correctly brace gate will rest in the closed position under its own weight).
Step 8 · Install the latch
A gravity latch is the simplest: the latch arm drops into a catch on the opposite post or strike plate when the gate swings closed. Position the strike plate on the opposite post so the latch arm engages cleanly when the gate is fully closed and plumb. Test the latch by pushing the gate closed from both sides — the arm should drop reliably into the strike. For a child-resistant latch, install a flip-over latch or a cane bolt in the ground. For a locking garden gate, install a hasp and padlock in addition to the gravity latch.
Step 9 · Apply exterior finish
Apply an exterior oil or semi-transparent stain to all surfaces of the completed gate before or immediately after hanging. Pay attention to end grain on all pickets and frame members — end grain absorbs moisture most rapidly and is the first place rot starts. Apply two coats to end grain. Re-apply every 2–3 years or whenever water stops beading on the surface. Unfinished cedar weathers silver-gray in 12–18 months — stable but more prone to checking (small surface cracks) without any finish protection.
Common Mistakes
No diagonal tension brace. Every gate without a diagonal brace will sag within 2–5 years. The brace must run from upper-hinge corner to lower-latch corner — not the reverse.
Brace in the wrong direction. A brace running from lower-hinge to upper-latch works in compression and pushes the latch corner up, which is opposite to what's needed and eventually splits the joints. Direction matters.
Hinges too small for gate weight. Size hinges for at least 2.5× the actual gate weight. Undersized hinges deform and the gate drops.
Gluing pickets to the frame. Cedar and wood pickets move seasonally. Glued pickets split at the screw locations as the wood expands. Screw without glue.
Rotted or leaning hinge post. No gate can hang plumb from a defective post. Fix the post before the gate.
Zinc-plated screws on cedar. Cedar's tannins corrode zinc plating within 18 months outdoors, producing red-brown staining and eventual fastener failure. Use stainless or hot-dipped galvanized only.
When to Call a Pro
Garden gate construction is a beginner project once the hinge post is verified as solid and plumb. Call a fencing contractor if the existing post is rotted, if the opening requires a new post installation, or if the design requires an automated gate operator. Gate operators require electrical work and a specific frame/post specification that varies by manufacturer.
Maintenance
Check hinge screws annually — they loosen as the post and gate wood move seasonally. Re-drive loose screws immediately; a hinge with loose screws will sag the gate within one season. Inspect the latch annually for alignment — a gate that no longer self-closes is either sagging (check the brace) or the latch strike needs adjustment. Re-apply exterior finish every 2–3 years.
Gate Hardware Selection: Hinges, Latches, and Fasteners
Hardware on a cedar garden gate must resist the combination of moisture, cedar tannins, and constant mechanical cycling. Cedar tannins (organic acids) react with zinc to produce unsightly black staining and accelerate corrosion of the zinc itself. This means standard bright zinc hardware — which is what most home center gate packages contain — is incompatible with cedar and redwood. Use only stainless steel or hot-dipped galvanized hardware on cedar or redwood.
Hinge selection: the hinge must support the gate's weight plus dynamic load from swinging. A 36×48-inch cedar gate built from 1×6 cedar boards and framing weighs approximately 15–20 pounds. T-hinges or strap hinges in 8-inch length are appropriate for this weight. Sizing rule of thumb: hinge length (long dimension of the T or strap) should be at least 1/3 of the gate width — for a 36-inch gate, an 8-inch strap hinge satisfies this (8/36 = 22%, which is slightly under, but two 8-inch T-hinges on a 36-inch gate is the standard residential specification). For heavier gates or gates exposed to wind, use 10 or 12-inch strap hinges.
Ball-bearing hinges (the round ball visible in the barrel knuckle) are for doors that swing thousands of times per year. For a garden gate swung a few times daily, plain-bearing hinges are adequate and cost significantly less. The key specification is corrosion resistance, not bearing type.
Latch selection: the most reliable outdoor latches are the gravity latch (a simple pivoting bar that drops into a catch when the gate swings shut — no spring mechanism to fail) and the thumb latch (a lever with a spring-loaded bar that latches automatically). Both are available in galvanized and stainless steel. Bolt latches (a sliding bolt through a keeper) are the most secure but require two-hand operation — appropriate for a gate that is opened infrequently.
Post Selection, Setting, and Sizing
A gate that sags does so because the hinge post has moved — either tilted under the gate's cantilever load, heaved from frost, or rotted at the soil line. Every gate sag problem traces to one of these three post failure modes. Preventing them requires proper post sizing, depth, and material selection.
Post sizing for a standard garden gate: 4×4 minimum for a single-swing gate up to 48 inches wide; 4×6 or 6×6 for a gate 48–72 inches wide or any double gate. The gate's weight and the moment arm (gate width) create a tipping force on the hinge post — larger posts resist this tipping better because of their greater section modulus.
Post depth: the general rule is bury 1/3 of the total post length. For a 7-foot total post length (4-foot above grade, 3-foot below), minimum burial depth is 2.33 feet — a 3-foot burial is the standard specification. In frost-prone areas, the burial depth must extend below the frost line — see regional frost depth data above. Posts not buried below frost depth will heave annually, eventually misaligning the gate.
Concrete: set hinge posts in concrete. Mix one 60-lb bag of fast-setting concrete per post (Quikrete Fast-Setting, Sakrete Fast-Setting), pour dry into the hole, add water, and allow to set 24 hours before hanging the gate. For maximum post longevity, crown the concrete above grade and slope it away from the post on all sides to direct water away from the post face. The concrete-to-post interface at the soil line is where rot concentrates.
Diagonal Brace Direction: The Mechanical Explanation
The diagonal brace in a gate frame prevents the frame from racking — the rectangle of stiles, rails, and brace distorting into a parallelogram as the unsupported gate edge (the latch side) sags. The brace must work in tension, not compression, to be effective.
Why tension? A wood diagonal in compression is a column — it can buckle sideways and fail. A wood diagonal in tension is a tie rod — it cannot buckle and fails only if the tensile stress exceeds the wood's ultimate tensile strength, which is much higher than its buckling threshold. A properly oriented tension brace in a gate with a standard diagonal section can support the gate's cantilever load indefinitely without maintenance.
Correct orientation: run the brace from the upper hinge corner (top of the hinge side) to the lower latch corner (bottom of the latch side). When the latch side sags down, this brace is pulled in tension — it resists the sag. Incorrect orientation (lower hinge to upper latch) places the brace in compression — it supports the gate initially but under sustained load it will eventually bow and the gate will sag. This mistake is common in kit gates and DIY builds where the brace direction is not specified.
Brace attachment: use metal T-straps or structural screws with a metal gusset at each end. A glued-and-screwed connection provides both tensile and shear resistance. Notching the brace into the stiles (cutting a matching notch) is the strongest method but requires accurate cutting; metal hardware at each end is the simplest method with equivalent strength if proper fasteners are used.
Cedar Finish Options and Maintenance Schedule
Unfinished cedar weathers to silver-gray in 12–18 months outdoors. This natural weathering is aesthetically acceptable to many gardeners but slightly accelerates the rate of surface checking. Finishing extends the cedar's life, maintains its original honey-gold color, and prevents moisture cycling from opening surface checks into larger cracks over years.
Finish options:
Semi-transparent exterior oil stain: penetrates the wood, provides UV protection, enhances grain. Brands: Cabot Australian Timber Oil, Penofin, Ready Seal. Apply annually or every other year on gate surfaces. Wipe on, let penetrate, wipe off excess. One coat plus a second wet-on-wet coat on end grain
Solid exterior stain: film-forming, hides grain, provides more complete color coverage. Longer recoat interval (2–3 years) but will eventually peel on horizontal surfaces. Requires stripping when peeling occurs — more maintenance work than penetrating stain in the long run
Clear penetrating oil (tung oil, Danish oil): natural look, easy application, requires annual recoating. Best for cedar in light-exposure locations (partially shaded garden) where UV degradation is less aggressive
Paint: maximum moisture protection and color durability. Completely hides grain character. Requires complete back priming (all faces including the back of boards) before and after installation for paint adhesion and moisture resistance. Oil-based primer over cedar is strongly recommended — latex primer over cedar can lift tannin to the surface, causing bleed-through staining
Maintenance schedule: inspect the gate annually for sagging (measure the gap between latch edge and post at top and bottom; any difference indicates sag), check hardware tightness (tighten all screws and re-apply Loctite or use stainless screws that will not loosen), reapply finish when water no longer beads on the wood surface.
Troubleshooting: Gate Sag After Installation
Gate sag — the latch side dropping over time — has three causes, each with a specific remedy:
Post movement: probe the hinge post base with a screwdriver. If wood is soft, the post is rotting and must be replaced. If wood is sound but the post is visibly tilted, the footing has shifted — excavate, add concrete, and reset. Post movement is the most common cause of severe sag (more than 1 inch).
Hinge fastener loosening: over thousands of cycles, screws in end grain loosen. Replace screws with longer or larger-diameter fasteners; drill new pilot holes offset from the original holes so fresh wood contacts the new fastener threads. For severely stripped holes, fill with epoxy wood consolidant (Abatron LiquidWood) and re-drill.
Brace failure: if the diagonal brace has split, bowed, or separated from its connections, the gate has lost its anti-sag structural element. Install a cable turnbuckle system: run 1/4-inch galvanized cable from the upper hinge corner to the lower latch corner (the same path as the wood brace), secure to eye bolts, and tighten with a turnbuckle until the gate is plumb. This repair is reversible and adjustable.
Gate Width and Traffic Planning
The standard 36-inch gate width accommodates a single person and most garden equipment (hand trucks, wheelbarrows up to 26-inch wheel tread, garden carts). For riding mower or lawn tractor access, the gate opening must match the mower deck width plus at least 4 inches of clearance — most residential riders require 42 to 52-inch openings. A double gate (two 24-inch leaves) provides a combined 48-inch opening and can be secured in the center with a cane bolt dropped into the paving.
For a side yard with frequent traffic by adults carrying items, 36 inches is the minimum; 42 inches is more comfortable. A 48-inch single gate is possible with proper post and brace design but requires a heavier post (4×6 or 6×6) and a robust diagonal brace to resist the increased cantilever load from the wider gate.
By HowTo: Home EditionUpdated May 2, 20264–6 hours · Beginner–Intermediate$80–$150
This guide covers building a 36×48-inch cedar gate that hangs plumb and resists sag. The single most important structural element: a diagonal tension brace running from the upper hinge corner to the lower latch corner. Without it, every gate sags.
Brace direction matters. The diagonal must run from upper-hinge corner to lower-latch corner — this is the tension direction that pulls the latch corner up. The reverse direction pushes it up (compression) and eventually splits the joints.
Cut List — 36×48-Inch Gate
2 stiles: 2×4 cedar × 48 in
3 rails (top, mid, bottom): 2×4 cedar × 29 in
1 diagonal brace: 2×4 cedar — measure and cut to fit between upper-hinge and lower-latch inside corners
6–7 pickets: 1×4 cedar × 48 in at 3-in spacing with 1/4-in gaps
Hinges: two 12-in strap hinges, 60-lb rated each
Latch: gravity, cane bolt, or thumb latch
The 9 Steps
Step 01
Measure the opening and check post plumb
Check both posts for plumb. Out-of-plumb posts create a parallelogram opening — the gate cannot be built square to fit it. Correct the lean before building. Gate width = opening width minus 1 inch total (1/2-in clearance per side).
Step 02
Inspect and reinforce the hinge post
Probe the hinge post at ground level with a screwdriver. If it's soft, the post is rotting — replace it before hanging any gate. See how to set a fence post. A 4×4 is minimum; 6×6 for heavy gates or windy sites.
Step 03
Build the gate frame flat on a level surface
Place stiles parallel at gate width. Top, bottom, and center rails between them. Glue + two 3-in screws per joint. Measure diagonals to check square — pull with a bar clamp across the longer diagonal before the glue sets.
Step 04
Install the diagonal tension brace
Measure from upper-hinge inside corner to lower-latch inside corner. Cut 2×4 to fit with compound miters. Glue + screw through the diagonal into each rail it intersects, and into each stile corner. This is the brace that prevents sag.
Step 05
Attach pickets
Frame face-down on the work surface. Mark picket positions with 1/4-in gaps between pickets (wood movement clearance). Two 1 5/8-in screws per picket per rail — do not glue pickets to the frame.
Step 06
Attach hinges to the gate
Top hinge in top 6 inches. Bottom hinge in bottom 6 inches. Use stainless or hot-dipped galvanized screws only — zinc-plated screws corrode in 18 months against cedar tannins.
Step 07
Hang the gate on the post
Helper holds gate in opening. Start with bottom hinge: one screw, check level, drive remaining screws. Repeat for top hinge. Test swing — gate should move freely and rest in a natural closed position.
Step 08
Install the latch
Position the strike plate so the gravity arm drops cleanly into it when the gate swings fully closed. Test from both sides. For child-resistant: add a cane bolt or flip-over latch above the gravity latch.
Step 09
Apply exterior finish
Two coats exterior oil or stain to all surfaces, especially end grain. End grain absorbs moisture first and is where rot starts. Re-apply every 2–3 years when water stops beading.
Common Mistakes
No diagonal brace — every gate without one sags within 2–5 years
Brace in wrong direction — must run upper-hinge to lower-latch, not the reverse
Undersized hinges — rate hinges for 2.5× the actual gate weight
Glued pickets — they split at screw locations as wood moves seasonally; screw without glue
Rotted hinge post — no gate hangs plumb from a soft post; replace the post first
Zinc-plated hardware on cedar — red staining and failure within 18 months