Meets Code Requirements: NEC Article 314 mandates that all electrical connections outside the protective sheathing of cables must be housed in approved boxes. Installing without proper junction boxes is a code violation. 💡 Quick Answer: An outdoor electrical junction box is a weatherproof enclosure where electrical wires connect or split, required by code to protect connections from moisture, provide safe access for maintenance, and prevent electrical hazards in exterior applications. What is an Outdoor Electrical. Successful low voltage landscape lighting installation starts with a wiring plan before any digging begins.