IRC R507 Code-Compliant Guardrail Height and Baluster Spacing
Code requires guardrails on residential decks 30 inches or higher above grade to be 36 inches minimum height (42 inches for commercial), with balusters or other infill spaced no more than 4 inches apart (the 4-inch sphere rule). Real installation verifies Massachusetts code compliance before, during, and after installation. Code violations on Cape Cod town inspection are common on owner-built or unpermitted railing work and can require complete rework before final certificate of occupancy.




