The invention relates to a self-aligning rail type impact massage machine core which comprises a core frame, a motor, an inclined mandrel, a swing block, a universal coupling, a connecting rod, an impact shaft and an impact shaft sleeve. The motor and the impact shaft sleeve are correspondingly fixed to the two ends of the core frame, and the motor drives the inclined mandrel to rotate and drives the impact shaft to do reciprocating rectilinear motion along the impact shaft sleeve through the swing block, the universal shaft joint and the connecting rod. Wherein a guide mechanism is further arranged, and the guide mechanism comprises a self-aligning rod and a track groove; the aligning rod is locked on a non-rotating moving part in the impact shaft transmission chain; the rail groove is formed in the core frame and restrains the movement direction of the aligning rod. According to the invention, the self-aligning rod is matched with the track groove, so that the reciprocating motion of the impact shaft is restrained, the motion flexibility of each part is ensured, unnecessary wear is reduced, and the difficulty of processing and assembling is solved. The whole device has the advantages of being compact in structure, flexible in movement matching, low in noise and free of twisting.