If your deck is 30 inches or less off the ground, railings are not required by the International Residential Code. However, local building codes may have stricter requirements, and railings are recommended for safety.