The present invention provides an overcurrent prevention device for a robot, which protects an electrical system when an overcurrent is detected, and prevents a robot from being disabled or unstable in its posture regardless of the situation. It includes: FET (80a), which is inserted in the power supply circuit (7a), and when it is turned off, cuts off the power supply circuit (7a) to stop the power supply to the drive circuit (72); a current sensor (80b), which generates The output corresponding to the current of the motor energization; and the overcurrent suppression unit (comparator (80c), the first and second delay circuits (80d, 80e), EX-OR circuit (80f), AND circuit (80g), oscillator ( 80h), buffer (80i), AND circuit (80j), insulated gate driver (80k), latch circuit (801), ECU (70)), which compares the output V1 of the current sensor with the threshold Va, when the current When the output of the sensor exceeds the threshold value, the switching operation of turning on/off the switching element is performed within a first predetermined time (T2) to intermittently shut off the power supply circuit.