The invention discloses an electric power cabinet with a protection mechanism, which comprises an electric power cabinet. The front surface of the electric power cabinet is provided with a door plate, the inner side of the door plate is connected with a first connecting plate, the inner side of the first connecting plate is provided with a second connecting plate, and the outer side of the second connecting plate is connected with a first limiting rod. The end, away from the second connecting plate, of the first limiting rod is arranged in the second open groove, the outer side of the second open groove is formed in the first connecting plate, and a second limiting rod is arranged at the end, away from the first connecting plate, of the second connecting plate. When a door plate is closed, a seventh connecting plate is driven to seal a rotating shaft, the interior of the electric power cabinet is protected, dust and other impurities are prevented from entering the electric power cabinet to damage electrical elements and wires in the electric power cabinet, the service life of the electrical elements and the wires is prolonged, economic benefits are improved, later maintenance expenditure is reduced, the wires are arranged, subsequent detection and maintenance are facilitated, wire arrangement time is reduced, and detection efficiency is improved.