An overcurrent protection circuit that is applied to an electronic circuit including at least one series circuit of an upper switching element (11, 13, 15) and a lower switching element (12, 14, 16), wherein the overcurrent protection circuit comprises: an amplification circuit configured to amplify an inter-terminal voltage of a shunt resistor for through-current detection; an offset application circuit connected to an input terminal of the amplification circuit to allow the amplification circuit to provide an output with a predetermined offset voltage additionally applied thereto; a comparison circuit for through-current sensing that compares an output voltage from the amplification circuit with a predetermined first reference voltage higher than the offset voltage to output a through-current sensing signal (Vc) when the output voltage from the amplification circuit is higher than the first reference voltage; an amplification circuit failure determination circuit that compares the output voltage from the amplification circuit with a predetermined second reference voltage that is higher than zero and lower than the offset voltage to output an amplification circuit failure determination signal (Sa) corresponding to a result of the comparison, and a duration measurement circuit configured to measure a duration for which a through-current sensing signal (Vc) is output from the comparison circuit for through-current sensing, wherein the duration measurement circuit includes: a first switch configured to be normally off and to be turned on when the through-current sensing signal (Vc) is output from the comparison circuit for through-current sensing; a capacitor having a first electrode connected to a first terminal of the first switch and a second electrode that is grounded; a power supply for charging connected to a second terminal of the first switch to charge the capacitor, and the duration measurement circuit is configured to output an inter-terminal voltage of the capacitor. an amplification circuit configured to amplify an inter-terminal voltage of a shunt resistor for through-current detection; an offset application circuit connected to an input terminal of the amplification circuit to allow the amplification circuit to provide an output with a predetermined offset voltage additionally applied thereto; a comparison circuit for through-current sensing that compares an output voltage from the amplification circuit with a predetermined first reference voltage higher than the offset voltage to output a through-current sensing signal (Vc) when the output voltage from the amplification circuit is higher than the first reference voltage; an amplification circuit failure determination circuit that compares the output voltage from the amplification circuit with a predetermined second reference voltage that is higher than zero and lower than the offset voltage to output an amplification circuit failure determination signal (Sa) corresponding to a result of the comparison, and a duration measurement circuit configured to measure a duration for which a through-current sensing signal (Vc) is output from the comparison circuit for through-current sensing, wherein the duration measurement circuit includes: a first switch configured to be normally off and to be turned on when the through-current sensing signal (Vc) is output from the comparison circuit for through-current sensing; a capacitor having a first electrode connected to a first terminal of the first switch and a second electrode that is grounded; a power supply for charging connected to a second terminal of the first switch to charge the capacitor, and the duration measurement circuit is configured to output an inter-terminal voltage of the capacitor. a first switch configured to be normally off and to be turned on when the through-current sensing signal (Vc) is output from the comparison circuit for through-current sensing; a capacitor having a first electrode connected to a first terminal of the first switch and a second electrode that is grounded; a power supply for charging connected to a second terminal of the first switch to charge the capacitor, and the duration measurement circuit is configured to output an inter-terminal voltage of the capacitor.