The invention discloses a computer table with a lifting function, which includes a workbench, a first support rod and a second support rod are fixedly connected to the top of the workbench from left to right in sequence, and the inner chamber of the first support rod A rotating shaft is arranged transversely at the bottom, and the left side of the rotating shaft penetrates to the outside of the first support rod and is fixedly connected with a connecting rod. The present invention is provided with a table board, a fixed block, a horizontal plate, a second support bar, a first chute, a first slide block, a first slide bar, a connecting rod, a handle, a support plate, a second slide block, and a second chute , the second slide bar, the tooth plate, the rotating shaft and the gear are used together to effectively lift the computer desk, which solves the problem that the existing computer desk is used due to the differences in the user's height, weight and gender. The problem of poor comfort during work reduces labor loss, facilitates the use of users, improves the practicability of the computer desk, and is suitable for popularization and use.