The utility model relates to the technical field of switch cabinets, and discloses a switch cabinet with wiring grooves, which comprises a cabinet body, a plurality of groups of wiring grooves are mounted in the cabinet body through fixing bolts, a plurality of groups of threaded holes are uniformly formed in the inner wall of the front surface of the cabinet body up and down, the threaded holes are used for fixing the wiring grooves through the fixing bolts, and connecting cylinders are fixedly mounted at the bottom ends of the wiring grooves. A connecting rod is inserted into the connecting cylinder, a connecting plate is fixedly installed at the end, away from the connecting cylinder, of the connecting rod, a baffle is fixedly installed at the top end of the connecting plate, a locking block is fixedly installed at the bottom end of the wiring groove, and the connecting plate and the locking block are fixed through a locking bolt. According to the switch cabinet with the wiring groove, a connecting cylinder, a connecting rod, a connecting plate and a baffle plate which are arranged at the bottom end of the wiring groove are used for limiting a cable placed in the wiring groove, so that the cable is well protected, and the baffle plate is locked through a locking bolt, so that the cable is fixed in the wiring groove, and the cable is prevented from being separated from the interior of the wiring groove.