The utility model relates to a rubbing and beating synchronous massager which comprises a power lengthwise walking device and a rubbing and beating synchronous device. The power lengthwise walking device comprises a sliding walking channel formed in an outer shell part. A lengthwise walking rack is arranged beside the sliding walking channel. The rubbing and beating synchronous device comprises a first transmission device arranged in a machine shell part and used for power transmission. The first transmission device can transmit power to a second transmission device which can transmit power to a rotation slant-faced structure. The rotation slant-faced structure drives a swing arm to swing in a left-and-right mode. The swing arm is connected with a massaging head support, an infrared lamp plate and two massaging heads in an assembled mode so that the two massaging heads can rub. The first transmission device can transmit power to a third transmission device which transmits power to an eccentric wheel so that an eccentric shaft and a connection rod press block which are connected with the massaging head support pull the massaging head support to beat and the two massaging heads can massage by beating.