The invention relates to a preparation method of a bearing retainer with a cooling and wear-resistant structure for a robot, and belongs to the technical field of mechanical basic parts and manufacture. A first retainer body, a second retainer body and a group of inner hexagon countersunk head screws are included, the first retainer body and the second retainer body are each provided with a groupof roller pockets, the end face, close to the first retainer body, of the second retainer body is provided with a first boss, the outer wall of the first boss is provided with a group of pawls, one end, close to the first retainer body, of the second retainer body is provided with a first groove, the inner wall of the first groove is provided with a group of wedge-shaped grooves, the first boss isarranged in the first groove, and the group of pawls are clamped in the group of wedge-shaped grooves. According to the preparation method, the design of a split structure is adopted, so that the replacement of the retainer part is facilitated, the pawls and the wedge-shaped grooves are arranged for radial rotation, the first retainer body and the second retainer body form a structurally stable whole through the group of inner hexagon countersunk head screws, and the service life of a bearing is prolonged.