a wire electric discharge machine performs electric discharge machining on a workpiece by relatively moving a workpiece placed on a workpiece table and a wire electrode supported by upper and lower wire guides according to a machining program . the wire electric discharge machine comprises an interference determination unit configured to determine whether or not the top or bottom surface of the workpiece table interferes with the wire electrode at the height of the surface during the execution of the machining program .