The invention relates to a clamping device for fixing a circuit breaker. The clamping device for fixing the circuit breaker comprises a base, a fixed clamping piece, a movable clamping piece and a telescoping module, wherein the fixed clamping piece, the movable clamping piece, and the telescoping module are arranged on the base, and the movable clamping piece is movably arranged on the base; anda fixed base is arranged on the base, the movable clamping piece is connected with the fixed base through a reset spring, the telescopic module is connected with the movable clamping piece through a connecting assembly, the connecting assembly comprises a connecting rod and a hollow base, the connecting rod is fixed to the movable clamping piece, the hollow base is fixed to the telescopic module,the end of the connecting rod penetrates through the shell wall of the hollow base, two clamping grooves are symmetrically formed in the end face of the end of the connecting rod, first electromagnetic blocks are arranged in the clamping grooves, two second electromagnetic blocks corresponding to the first electromagnetic blocks are arranged in the hollow base, and the second electromagnetic blocks are connected with the inner wall of the hollow base through elastic connecting pieces. Compared with the prior art, the clamping device has the advantages of simple structure, high unlocking efficiency and the like.