Check local property lines, permits, and setback rules
Choose fence type, gate size, and materials
Measure the fence line and mark post locations
Call utility locating services before digging
Gather tools and materials
Dig post holes to proper depth
Set corner and gate posts first
Align posts plumb and secure with concrete
Let concrete cure fully
Attach string line between posts for alignment
Install remaining fence posts
Attach rails, panels, pickets, or wire to posts
Build or assemble the gate frame
Add diagonal bracing to the gate frame
Install gate hinges on the gate post
Hang the gate and check swing clearance
Install latch, lock, and stop block
Adjust hinges and latch for proper operation
Trim any excess material
Seal, stain, paint, or treat the fence and gate
Inspect all fasteners and connections
Test the gate repeatedly for smooth opening and closing
