The invention relates to a numerical control machine tool, particularly to a numerical control gantry vertical and horizontal combined machining center of combination of a tool magazine and a main shaft on a saddle. The center solves the problems that the tool magazine is arranged on neither a vertical main shaft nor a horizontal main shaft of the machine tool, so that a tool can not be changed timely, and the working efficiency is lower, and a machine tool structure can not be suitable for meeting the requirements for high efficiency, precision, combination, and energy conservation. The numerical control gantry vertical and horizontal combined machining center comprises a base, a working platform, and a vertical column, wherein the vertical column is movably connected with a cross beam through a vertical column guide rail; the cross beam is movably connected with a cross beam saddle through a cross beam guide rail; the vertical column is movably connected with a vertical column saddle through the vertical column guide rail; the cross beam saddle is movably connected with a vertical main shaft device through a vertical ram guide rail; the vertical saddle is movably connected with a horizontal main shaft device; the cross beam saddle and the vertical saddle are fixed with the tool magazine through a tool magazine bracket; the base, the vertical column, the cross beam, the vertical main shaft device, and the horizontal main shaft device are provided with screw rod driving devices; the tool magazine, the screw rod driving devices, and main shaft devices are all connected with the electrical numerical control device.