A tool rack includes a frame having two sidewalls and two slots are defined through the two sidewalls. A plurality of recesses are defined in the frame and a rod having second recesses is connected between the two sidewalls. A restriction member is connected to the frame and two distal ends of the restriction member are movably engaged with the slots of the frame. The restriction member includes third recesses which are located in alignment with the recesses so that the tools are engaged with the first, second and third recesses. A stop plate extends from a distal end of an inside of each third recess so as to prevent the tools from disengaging from these recesses. When shifting the restriction member, the stop plates are moved away from the recesses so that the tools can be picked out from the tool rack.