Choose a location for your junction box that is easily accessible and complies with local electrical codes. Proper planning of conduit and cord grip installation will help installers. A junction box provides a code-approved place to house wire connections, whether for outlets, switches, or splices. We may be compensated if you purchase through links on our website. To install a junction box correctly, choose a box that matches the wiring method and environment, mount it securely, bring cables in. According to the NEC (National Electrical Code), all wire splices and electrical connections must be enclosed within an approved electrical junction box to ensure safety, accessibility, and code compliance.