Check local building codes and permit requirements
Measure the deck perimeter and mark railing locations
Gather materials, tools, fasteners, and safety gear
Inspect the deck framing for strength and repair any damage
Mark post locations according to code spacing
Cut and install post anchors or mount posts directly to framing
Plumb each post and secure it firmly
Install blocking if needed for added support
Attach top and bottom rails between posts
Cut balusters or infill panels to fit
Secure balusters or panels at code-compliant spacing
Install the top cap or handrail
Check all connections for tightness and alignment
Sand rough edges and seal or paint exposed wood
Inspect the finished railing for stability and code compliance
