The invention relates to a five-axis linkage ultrasonic composite electric spark micro-finish machining numerical control machine tool. The machine tool comprises a tool electrode, an amplitude-change pole, a flange plate, a piezoelectric transducer, a support disc, a supporting frame, a stand column, a base, an A-direction rotary workbench mechanism, a C-direction rotary liquid tank mechanism, a Z-axis lifting table mechanism, a Y-axis sliding mechanism and an X-axis saddle mechanism. Vibrational excitation is added in the transverse direction of the tool electrode so that workpieces can be transversely machined by the tool electrode, the limitation of a machine tool workpiece forming mechanism is removed, and multi-direction machining of the workpieces is achieved. The workbench mechanism is driven through five-axis linkage for feeding, the feeding direction is stable, the feeding speed is controlled and adjusted by a servo motor, micro-fine feeding machining of the workpieces on a complex line is achieved, and the probability of the tool electrode for machining complex special-shaped faces is increased. In machining of the machine tool, a workbench moves to promote flowing of work liquid, machining heat and machined products can be easily discharged, the work liquid is updated, and the machining efficiency and precision of the workpieces are improved.