What the inspector will likely flag:
- Guardrail height – 34" is too short. IRC R302.1 requires guards on decks 4 inches above grade (and higher) to be minimum 36" high measured vertically above the horizontal projection of the deck surface. Your 34" rail is 2" short.
- 8" gap between deck boards and bottom rail – potential climb hazard. IRC R302.1 also requires that guardrails prevent a 4-inch sphere from passing through (for residential decks). An 8" gap exceeds this and could allow a child to slip through or use the space to climb.
- Picket spacing – 5" clear is acceptable. IRC R302.1 requires balusters to be spaced so a 4-inch sphere cannot pass. Your 5" spacing is compliant.
Summary of violations:
- Guardrail height: 34" → must be 36"
- Gap between deck and bottom rail: 8" → must be ≤4"
Fixes:
- Add a 2" extension to the top of the rail or install a taller rail system.
- Install a 4" wide board or additional baluster directly under the deck boards to close the 8" gap.
If the deck is in a jurisdiction that has adopted the IRC, these are clear code violations. If it's a local code with different requirements, check with the AHJ, but IRC is the standard baseline.