The invention discloses a device for measuring the thickness of a ship plate. An actuator is installed on a wall-climbing robot, and a pressure sensor and an ultrasonic thickness measurement sensor are installed on the actuator; a control unit is electrically connected with the wall-climbing robot, the pressure sensor, the ultrasonic thickness measurement sensor and the actuator; a coupling agent container is installed on a support, a container pressing head is installed on the upper portion of the coupling agent container, a reset spring is installed between the container pressing head and the coupling agent container, the container pressing head is connected with a smearing head through a hose, one side of the smearing head is connected with a push rod, and the other side of the smearing head is connected with the reset spring; an ejector rod is movably installed in the support, a reset spring is arranged between the ejector rod and the support, and a wedge block, the pressure sensor and the ultrasonic thickness measurement sensor are installed at the lower end of the ejector rod; a cam shaft is connected with a rotary shaft of a stepping motor, and a pressing head cam and an ejector rod cam are installed on the cam shaft in a staggered mode. According to the device for measuring the thickness of the ship plate, thickness measurement points which are distributed more evenly are obtained, thickness measurement efficiency is improved, labor intensity is reduced, the labor cost is reduced, and the working time is shortened.