The invention discloses a cable for an industrial robot, and relates to the technical field of cables. The cable comprises a sheath layer and a cable core, wherein the inner side wall of the sheath layer is provided with a guide groove, the sheath layer is internally and coaxially provided with a wire separating frame slidably, the wire separating frame is arranged in a polygon shape, and a firstwire placing channel is formed between sides of the wire separating frame and the inner side wall of the sheath layer; the cable core is arranged in the middle of the wire separating frame, a second wire placing channel is formed between the outer side wall of the cable core and the inner side wall of the wire separating frame, wire cores are arranged in the first wire placing channel and the second wire placing channel, and the side walls of the wire separating frame and the wire cores are connected with pull ropes. The wire separating frame is arranged in the cable; the wire cores in the cable are separately arranged and do not make contact with each other; when one wire core is damaged, the damaged wire core can be conveniently pulled out and replaced through the pull rope, the cable can be repaired and reused in a short time, meanwhile, when a mechanical arm of the industrial robot is replaced, related control cables can be added or reduced in the cable in a targeted mode, and operation and maintenance are quite convenient.