The invention discloses a method for correcting errors of industrial robot offline programming on spot and belongs to the technical field of industrial robot offline programming. According to the method, offline programming simulation of an industrial robot is carried out in a computer, the specific positions of two industrial cameras are determined, a new simulation coordinate system is established, the positions of two correcting points and the coordinate values of the two correcting points are determined in the new coordinate system, and three feature points, within the shooting range of the two industrial cameras, on the industrial robot and the coordinate values of the three feature points are determined; on spot, the two industrial cameras are arranged according to the simulation position and shoot the correcting points, and the coordinates of the correcting points and a correction matrix are obtained; the three feature points, determined in simulation, on the robot are shot, and the coordinates of the three feature points relative to the industrial cameras are obtained; and homogeneous transformation in coordinate transformation is utilized, related data needed by correction is obtained, the data is transmitted to the computer, and the offline programming simulation of the industrial robot is corrected. The method is simple and easy to practice, and robot offline programming simulation is more precise and accurate.