The invention relates to a multi-axis two-degree-of-freedom synchronous swing device, which includes an outer frame, an inner frame, a plurality of turntables, a swing mechanism, a pitch mechanism, a protective cover and a limit device. The inner frame is arranged inside the outer frame, and through The first rotating pair is rotationally connected with the first side and the second side of the outer frame, and a plurality of turntables are evenly arranged on the first end surface of the inner frame, and the plurality of turntables are all rotationally connected with the inner frame through the second rotating pair, and the swing mechanism passes through The swing link is rotatably connected to a plurality of turntables, the pitch mechanism is fixedly connected to the first end of the inner frame through the rocker, the protective cover is installed on the first end surface of the outer frame, and the first side of the outer frame is provided with a limiting device. The oscillating device of the present invention has two rotational degrees of freedom, not only can oscillate within a certain range to adjust the working area, but also can simultaneously polish multiple identical workpieces, and can replace the processing spindle of the original machine tool to compensate for the adjustment of the spindle position and posture Insufficient range, improve machining accuracy, and control production quality standards.