Home & Garden
146,357 views
25 min · 3 min read
7 steps
Advanced

How to install a privacy fence gate and align the latches

Installing a privacy fence gate and aligning the latches is a satisfying weekend project that improves security and curb appeal. With basic tools, two helpers, and a few hours, you can hang a gate that swings smoothly and stays aligned through the seasons.

Verified by pleasexplain editors
  1. Step 1: Measure and prepare opening

    Measure the rough opening width and height twice; subtract 1/2 inch from width for clearance and 1/4 inch from height for ground clearance. Remove debris and level the ground where posts will sit so the gate will hang plumb and not drag when closed.

    [Illustration: person with tape measure at fence opening marking dimensions on a post]

  2. Step 2: Set and plumb hinge post

    Dig a 12-18 inch diameter hole 24-36 inches deep for the hinge post depending on frost line; set post in concrete and check plumb with a level. Allow concrete to cure 24-48 hours before hanging the gate so the post does not shift under load.

    [Illustration: wood post set in concrete with level held against it and wet concrete around base]

  3. Step 3: Install latch-side post

    Position the latch-side post opposite the hinge post, keeping the measured opening and using a temporary spacer to hold the gap. Set this post in concrete, confirm it is plumb and aligned with the hinge post face, and let concrete cure 24-48 hours.

    [Illustration: installer holding a spacer between two fence posts checking alignment before pouring concrete]

  4. Step 4: Assemble gate frame and hang

    Build or assemble the gate frame square using a carpenter's square; diagonal measurements should match within 1/8 inch. Attach heavy-duty hinges to the gate and have a helper lift it into place, temporarily fastening hinge leaves to the hinge post with lag screws so you can make final adjustments.

    [Illustration: worker holding wooden gate while another screws hinges to post with drill]

  5. Step 5: Shim and level the gate

    With the gate hung, use 1/8 to 1/4 inch shims behind hinge leaves to set a consistent 1/2 inch clearance from the frame to posts and ground clearance of 1/4 to 1/2 inch. Tighten hinge fasteners while the gate is held plumb and recheck swing; the gate should move freely without binding.

    [Illustration: close-up of shims placed behind hinge leaf while person tightens bolts with wrench]

  6. Step 6: Mark and install latch hardware

    Close the gate in its final position and mark the center of the latch on the latch-side post and gate frame; use a scrap block clamped to the gate for consistent alignment. Install the latch and strike plate or keeper, drilling pilot holes and using screws long enough to bite into the post (1-1/2 to 2 inches) for strength.

    [Illustration: person marking latch position on gate with pencil and holding strike plate in place]

  7. Step 7: Test, adjust, and weatherproof

    Operate the gate 20-30 times to confirm smooth latching; if the latch misses, loosen mount screws and shift hardware up/down by 1/16 to 1/8 inch until it seats. Finish by applying exterior-grade sealant or paint to exposed cut ends and tighten all fasteners; check hardware again after 1 week and after seasonal temperature changes.

    [Illustration: person opening gate repeatedly while another watches latch engagement and notes adjustments]


  • Work with a helper when lifting gates heavier than 30 pounds to avoid strain and misalignment.
  • Use stainless steel or galvanized hardware in outdoor, wet, or coastal locations to prevent rust for 10+ years.
  • If the ground slopes, build a slight gap taper or use adjustable hinges to maintain even clearance along the gate.
  • Pre-drill screw holes 3/4 of the screw length to avoid splitting cedar or pressure-treated wood posts.
  • Label hinge leaves and keep original fasteners to compare lengths when replacing or upgrading hardware.
  • Keep a small tube of exterior silicone on hand to seal screw heads and cut ends to extend the life of the wood finish.

  • Do not hang a gate before concrete posts cure; premature loading can cause leaning and misalignment.
  • Avoid relying on screws into softwood without passing through into solid post material; use lag screws into the post to prevent pullout under repeated use.
  • Be careful when using power tools near hands and while holding the gate; secure the gate with a clamp or helper when fastening hardware.
  • Do not force a misaligned latch closed repeatedly; forcing can strip screws and damage the latch mechanism leading to insecure closure.

Was this guide helpful?