The invention relates to numerically-controlled machine tools, in particular to a composite flexible manufacturing unit, and mainly aims to solve the technical problems that an existing flexible manufacturing unit is large in floor space and high in investment, large and medium key part machining is large in error due to multiple clamping and multiple positioning, low in machining precision and small in application range, and the like in the prior art. The composite flexible manufacturing unit comprises a flexible manufacturing unit base and is characterized in that at least one gantry machining center, at least one horizontal machining center, at least one vertical machining center base, at least one machine tool body, at least one saddle, at least one standing column and at least one spindle box are connected to the flexible manufacturing unit base. The flexible manufacturing unit is provided with a common base and a common working table which formed by the machining centers, a common flexible clamp and a common central control device, a conveying device is arranged outside the flexible manufacturing unit, the base is connected with the gantry machining centers and the horizontal machining centers composited to the same machine tool, and all of or part of the vertical machining centers are provided with tool magazines.