The invention discloses a wall-climbing robot capable of turning around vertically. The wall-climbing robot comprises a control box, a first moving device, a second moving device and a steering engine with one end connected with the first moving device and the other end connected with the second moving device. A first electromagnetic track and a first motor are arranged on the outer portion of the first moving device, and a first distance sensor and a first pressure sensor are arranged on the first moving device. The second moving device is provided with a second electromagnetic track and a second motor and is further provided with a second distance sensor and a second pressure sensor. A control module, a first electromagnetic track and second electromagnetic track driving module, a first motor and second motor driving module, a steering engine driving module and a power supply supplying power to various modules are arranged in the control box. The wall-climbing robot is simple in structure, low in cost and capable of conveniently clearing accumulated dust in a horizontal pipe and a vertical pipe of a central air conditioning.