A rope guide for a rope drum in a crane, the rope guide surrounding a rope drum and keeping a hoisting rope in a spiral rope groove of the rope drum when winding the hoisting rope into the rope groove or unwinding it from the rope groove, whereby the rope guide comprises a body that is made up of several parts and surrounds the rope drum; a rope guide element at a winding/unwinding point of the hoisting rope; retaining means (15, 14, 8a) for the hoisting rope for pressing the hoisting rope into the rope groove; and several guide rolls as guide members distributed on the circumference of the rope guide and arranged to move on the surface of rope drum or the hoisting rope to guide the hoisting rope being wound onto the rope drum or unwound from it, wherein the body is a chain-like entity comprising chain links that are interconnected so as to form a ring-like entity extending around the entire rope drum, to which ring-like entity the rope guide element, hoisting rope retaining means (15, 14, 8a) and guide members are installable, characterised in that the chain-like entity comprises parallel chain links in an axial direction of the rope drum, the links being attached to each other in a circumferential direction of the rope drum and to an adjacent chain link available in each case in the axial direction of the rope drum, the adjacent chain links in the body forming spaces between them into which the rope guide element, hoisting rope retaining means (15, 14, 8a) and the guide members are installable, the guide members are fastened to selected points in the space between the chain links by joints connecting opposite chain links and forming a bearing point for the guide members, whereby the consecutive chain links on opposite sides of the body are made with the same bolted joints, in which the location of consecutive guide members is adjustable to correspond to the pitch of the rope groove and in which the location of the guide members is switchable according to the handedness of the rope groove in the rope drum, and that at least most of the chain links are substantially similar and interchangeable. a rope drum in a crane, the rope guide surrounding a rope drum and keeping a hoisting rope in a spiral rope groove of the rope drum when winding the hoisting rope into the rope groove or unwinding it from the rope groove, whereby the rope guide comprises a body that is made up of several parts and surrounds the rope drum; a rope guide element at a winding/unwinding point of the hoisting rope; retaining means (15, 14, 8a) for the hoisting rope for pressing the hoisting rope into the rope groove; and several guide rolls as guide members distributed on the circumference of the rope guide and arranged to move on the surface of rope drum or the hoisting rope to guide the hoisting rope being wound onto the rope drum or unwound from it, wherein the body is a chain-like entity comprising chain links that are interconnected so as to form a ring-like entity extending around the entire rope drum, to which ring-like entity the rope guide element, hoisting rope retaining means (15, 14, 8a) and guide members are installable, the chain-like entity comprises parallel chain links in an axial direction of the rope drum, the links being attached to each other in a circumferential direction of the rope drum and to an adjacent chain link available in each case in the axial direction of the rope drum, the adjacent chain links in the body forming spaces between them into which the rope guide element, hoisting rope retaining means (15, 14, 8a) and the guide members are installable, the guide members are fastened to selected points in the space between the chain links by joints connecting opposite chain links and forming a bearing point for the guide members, whereby the consecutive chain links on opposite sides of the body are made with the same bolted joints, in which the location of consecutive guide members is adjustable to correspond to the pitch of the rope groove and in which the location of the guide members is switchable according to the handedness of the rope groove in the rope drum, and that at least most of the chain links are substantially similar and interchangeable.