A cable management device applicable to a rack server includes first and second support arms and a connecting member. The first support arm includes front and rear portions and a first guiding portion located at the front portion of the first support arm. The second support arm includes front and rear portions and a first guiding portion located at the front portion of the second support arm. The connecting member, movably connected between the first and second support arms, includes front and rear guiding portions. The first guiding portion of the first support arm and the first guiding portion of the second support arm are movable along and relative to the front and rear guiding portions of the connecting member respectively.