A massager with swinging and kneading massage function comprises a massage main body (20), a bottom housing (22) and a cover housing (23). A motor (24) is arranged in the massage main body (20), and a mandrel (241) of the motor (24) extends towards two sides and a belt pulley group (25) and a screw gear (26) are sleeve mounted on each side of the mandrel (241) respectively. Two groups of massage heads (30) are installed on two sides of the outer periphery of the cover housing (23), and two transmission shafts (31) penetrate through the cover housing (23) from the inside of the bottom housing (22) and are engaged with the corresponding massage head (30) respectively. A big gear (33) is sleeve installed on the outer periphery of the transmission shaft (31), a gear group (27) is engaged with and drives the big gear (33), and the screw gear (26) drives the massage head (30) to rotate through the gear group (27) such that kneading massage effect is brought. Two sides of the motor (24) are provided with an eccentric gear group (40) respectively, and eccentric shafts (41) of the two eccentric gear assemblies (40) are connected to and transmitted by the belt pulley group (25). The massager provides a swing massage and a kneading massage when the motor (24) rotates in positive direction and provides swinging massage without kneading massage when the motor (24) rotates in reverse direction through first single-direction bearings (32) which are sleeve installed on the two transmission shafts (31), or the massager provides a swing massage and a kneading massage when the motor (24) rotates in positive direction and provides kneading massage without swinging massage when the motor (24) rotates in reverse direction through second single-direction bearings (411) which are sleeve installed on the eccentric shafts (41).Ce dispositif de massage à mouvement alternatif et doté dune fonction de massage par pétrissage comprend un corps principal de massage (20), une coque inférieure (22)