The invention discloses a flocking technology with an anti-deviation structure. The flocking technology comprises a winding roller, a workbench, a base and a driving motor; the winding roller is arranged at the top end of the workbench; and the base is placed at the bottom end of one side of the workbench. According to the flocking technology, a driving motor is started, cloth is pulled out by thewinding roller and placed on a conveyor belt for a flocking process, the driving motor rotates to drive the conveyor belt to operate, the cloth moving on the conveyor belt is gummed firstly by a rubber roller; however, if the rubber roller is not completely contacted with the cloth, the gumming effect is poor, and a poor flocking effect is caused. Therefore, in order to avoid this, the rubber roller is designed flexibly. The rubber roller is placed on fixed seats by rotating shafts at the two ends, U-shaped guide rails are designed on the surfaces of the fixed seats, the rotating shafts are placed in the U-shaped guide rails, and height adjustment is carried out in cooperation with limiting springs at the bottoms of the rotating shafts, so that the flexibility of the rubber roller is higher, and then the stress area between the rubber roller and the cloth is adjusted.