A numerical control electrolytic-mechanical composite machine tool comprises a machine body, a frame, a horizontal work bench, a numerical control double-revolving work bench, a protection box, a spindle head, an electrical spindle, a numerical control system, a pulse power supply, an electrolyte circulating device, and an X-direction transmission mechanism, a Z-direction transmission mechanism as well as a Y-direction transmission mechanism, wherein the electrical spindle, the pulse power supply, an electrolyte pump of the electrolyte circulating device, an X-direction servo motor, a Z-direction servo motor, a Y-direction servo motor, and a B revolving motor and a C revolving motor of the numerical control double-revolving motor are all controlled by the numerical control system. By controlling the relative movement of a composite cathode and an anode workpiece, the machine tool can process mold cavities and mold surfaces for complex workpieces, thus processing workpieces of different shapes. By changing different composite cathodes and adjusting different processing parameters, rough processing, finish processing and surface smoothing of one part can be achieved by one machine tool in different processing manners such as drilling, milling, cutting, grinding and polishing, thus eliminating installation error caused by repeated installation of workpieces.