A flip-flop circuit able to commute in correspondence with any logic transition of the input signal using a flip-flop and a logic gate of the EXNOR type receiving at its input a signal and the inverted output of the flip-flop. To the output of the EXNOR gate is connected a set-reset flip-flop which allows a reset to be effected after each commutation of the circuit in order to prepare it for the next transition.