The invention discloses a tree-climbing pruning robot which comprises an upper rack, an electric saw, a lower rack and a driving mechanism, one end of the upper rack is connected with one end of the lower rack, the electric saw is arranged on the upper rack, the driving mechanism is obliquely arranged on the upper rack, the other end of the upper rack is connected with the other end of the lower rack based on a screw, and the upper rack, the lower rack and the screw form a closed ring based on a tree trunk; and the driving mechanism comprises a fixed seat, a driving motor, a first driving wheel and a second driving wheel, the driving motor is in transmission connection with the first driving wheel and the second driving wheel, and the driving motor, the first driving wheel and the second driving wheel are arranged on the fixed seat. According to the embodiment of the invention, the electric saw and the driving mechanism are arranged on the same side, the upper rack and the lower rack clamp the trunk of a tree under the action of gravity, the driving motor drives the driving wheels to climb on the tree, the electric saw cleans branches on the tree, the operation is simple, and the cost is saved.