A tool-hanging rack has a rail frame and at least one tool mount. The rail frame has a back plate, two rails, and a positioning board. The rails are disposed on a side face of the back plate and are parallel with each other. Each rail has a connecting segment and a rail segment. The connecting segment has a first end connected with the side face of the back plate and a second end. The rail segment is connected with the second end of the connecting segment and has a side face facing the side face of the other rail and a positioning groove defined in the side face and extending along a longitudinal direction of the rail. The positioning board is mounted in the positioning grooves. The at least one tool mount is mounted slidably on the two rails of the rail frame.