The invention discloses a retractable computer data line. The retractable computer data line comprises a base, wherein a rotation rod is fixedly connected with the top of the base, a support plate anda fixed plate are rotatably connected with a surface of the rotation rod, a roller is fixedly connected with one sides, opposite to each other, of the support plate and the fixed plate, a data line is movably connected to a surface of the roller, a contact block is fixedly connected to a top end of the rotation rod, a clamping device is fixedly connected with one side of the contact block, a shaft block is fixedly connected to an inner wall of the roller, a spring sheet is fixedly connected to one side of the shaft block, and one end of the spring sheet is fixedly connected with the surface of the rotation rod. The invention relates to the technical field of computer accessory. By the retractable computer data line, the problem that the data line can be in mess when a plurality of peripherals are connected is changed, the working efficiency is improved, the function of the data line is greatly improved, the whole operation process is simple and convenient, and convenience is brought to daily life of people.