The invention relates to the technical field of control cabinets, and particularly relates to an outdoor electric power control cabinet based on Internet of Things. The cabinet comprises a cabinet body, a bottle type tank body, a box body, a heat dissipation through groove, a speed reducer, a main chain wheel, an auxiliary chain wheel, first bidirectional screw rods, first sleeves, a driving motor, a barrier plate, first supporting plates, an electromagnetic valve and a connecting pipe. The driving motor and the speed reducer are arranged; under the action of the main chain wheel and the auxiliary chain wheel, the two first bidirectional screw rods synchronously rotate so that two first sleeves move outwards, the barrier plate moves forwards to a limit position under the action of two first supporting plates, and the heat dissipation through groove is blocked by the barrier plate so that gas circulation between the cabinet body and the outside is blocked; and fire is prevented from being bigger, the electromagnetic valve is started, the fire extinguishing agent in the bottle type tank body flows into the connecting pipe, and the fire extinguishing agent is sprayed into the closed cabinet body through the connecting pipe so that the fire extinguishing function is realized, the fire is prevented from being further increased, and the safety is high.