The invention provides a robot control method based on 5G. The method is applied to a robot control system, the control system comprises a main control unit and an execution unit, the main control unit and the execution unit are provided with a 5G communication module respectively, and the main control unit and the execution unit are in 5G communication wireless connection through the 5G communication modules; the control method comprises the steps that S101, the main control unit receives information, and judges whether a preset instruction is generated or not according to the received information; if yes, S102 is executed, and if not, S101 is executed; S102, the preset instruction is sent to the 5G communication module of the execution unit corresponding to the preset instruction through the 5G communication module of the main control unit; and S103, the 5G communication module of the execution unit receives the preset instruction, and the execution unit finishes corresponding work according to the preset instruction. According to the method, the robot control system is divided into the main control unit and the execution unit, the execution unit and the main control unit are in 5G communication wireless connection, so that the movement range of a robot can be enlarged, the line is simplified, and the maintenance difficulty is reduced.