The present invention relates to a wire fixing device for a cardiac pacemaker electrode, including: an electrode fixator used for clamping the tail of an electrode, where the electrode fixator includes an electrode clamping component, first hooks and second hooks; the electrode clamping component includes a first clamping piece and a second clamping piece that are semicircular cylindrical, one side edge of the first clamping piece and one side edge of the second clamping piece are connected in a hinged manner by a clamp hinge connector, and a circular tube is formed when the electrode clamping component is closed; several first hooks are provided on the back of the first clamping piece, several second hooks are provided on the back of the second clamping piece, and hook tips of the first hooks and the second hooks are all bent towards a rotation direction of the electrode clamping component during closing; and the first hooks and the second hooks can be interlaced with each other when the electrode clamping component is closed, and can be separated when the electrode clamping component is open. The present invention does not require a suture, achieves firm fixing, does not damage an electrode, and facilitates detachment and re-implantation.