For any outlet, junction box, or switch point where a connection or splice will be made, there must be at least six inches of free conductor. This length is measured from the point where the wire exits the cable sheath or raceway inside the box. These rules define when you must install a box, how large it must be, how you must install it, and how inspectors evaluate compliance. This guide breaks down the actual rules inspectors check — with calculations and real-world examples. Extension Beyond the Opening: If the. Learn key electrical code requirements for junction boxes, including sizing, grounding, materials, and clearance to ensure safety and efficiency.