The invention relates to a scratching and corrosive wear test device, in particular to a high-temperature high-pressure in-situ scratching and corrosive wear test device. The device solves the problems that in-situ single-time scratching, reciprocating multiple-time corrosive wear and the like are difficult to realize under the high-temperature and high-pressure environment in the prior art. The device is provided with a frequency converter, a motor, a high-pressure kettle, a control cabinet, a double-upright-post fixed bracket, a moving shaft, a scratching head and the like, can perform in-situ single-time scratching, reciprocating multiple-time corrosive wear research on the surface of a test sample at high temperature and high pressure, and can detect a signal, which represents the process of a test sample surface membrane changed from damage to passivation in the scratching or corrosive wear process, by cooperating a high-temperature high-pressure reference electrode and a high-temperature high-pressure working auxiliary electrode which are arranged on the high-pressure kettle, with an electrochemical working station.