How to Install a Gate on a Wood Fence
A step-by-step build for a sturdy wood gate that stays square, swings freely, and does not sag.
A wood fence gate is a small project that fails in predictable ways: it sags, it drags, or it twists. All three come from skipping the frame or hanging the gate on weak posts.
This is the sequence that works.
Tools and Materials
- Post hole digger or auger
- 4x4 posts (two, for the gate opening)
- 2x4 lumber for the frame, 1x6 or fence pickets for the face
- Exterior screws, 3 inch and 1-5/8 inch
- Galvanized strap hinges and a latch
- Concrete mix
- Level, speed square, and a drill
Step 1: Set the Gate Posts
The gate posts carry the whole gate, so they get more concrete than fence posts.
- Dig holes 30 to 36 inches deep and at least 10 inches across
- Set the posts so the opening is 1 inch wider than the finished gate on each side
- Fill with concrete, slope the top away from the post so water runs off
- Brace the posts and let the concrete cure 24 hours before hanging anything
Do not attach a gate to a post that is only 2 feet deep. It will lean within a season.
Step 2: Build the Frame
Build the frame flat on the ground, not in place.
- Cut two vertical stiles to the gate height
- Cut top and bottom rails to the opening width
- Add a diagonal brace from the bottom hinge corner to the top latch corner, and make sure it runs in compression, meaning the end at the hinge side is low
- Screw with two 3-inch screws at every joint, and glue the joints if you want it to last
The diagonal brace is the single most important part. A gate without one will rack.
Step 3: Attach the Face Boards
- Fasten pickets or boards with 1-5/8 inch screws
- Leave a small gap between boards for drainage and airflow
- Keep the top edge straight and the boards flush to the frame
Step 4: Hang the Gate
- Use strap hinges that span at least a third of the gate width, not small butt hinges
- Set the gate with a 1 to 2 inch gap at the bottom for ground clearance and a quarter inch per side
- Shim the gate in place and check the diagonal measurements — both should match before you drive screws
- Fasten hinges to the post first, then to the gate
Step 5: Install the Latch and Stop
- Mount the latch so the gate closes firmly against a stop block
- Add a stop block on the latch post so the gate cannot swing past the closed position
- Check that the gate swings freely and latches with a light push
Step 6: Protect It
Seal or stain all six sides of the wood before or immediately after installation. End grain is where rot starts.
Preventing Sag Later
- Add a turnbuckle from the top hinge corner to the bottom latch corner for adjustable tension
- Re-tighten hinges annually
- Keep the bottom of the gate off wet ground
A gate built this way will stay square for a decade. The brace and the deep posts are what make the difference.