Abstract: In an electric discharge machine, wherein electric power is supplied between an electrode and a workpiece to machine the workpiece, a jumping motion is performed to temporarily increase a distance between the electrode and the workpiece. The electric discharge machine includes a detector for detecting a machining reaction force; a setting unit for setting a specified value of the machining reaction force; a comparator for comparing a detected value of the machining reaction force with a specified value of the machining reaction force; and a changing unit for changing a locus of the jumping motion so that the machining reaction force can be reduced if the comparator finds that the detected value of the machining reaction force is greater than the specified value of the machining reaction force.