Always consult your local building codes before purchasing railing. General guidelines are: Decks under 24″ in overall height don’t need railings. For decks between 24″ and 71″ in overall height, a 36″ high railing is needed, and decks over 71″ from the ground require a 42″ railing. Please verify with your local building official.