the pegs going trough circuit board are 5mm long but you can shorten them to minimum of 2mm for cleaner look.