The invention discloses an experimental apparatus for high-temperature high-pressure loop spray corrosion simulation and electrochemical testing, belongs to the electrochemical field, and is particularly suitable for simulation experiment of erosion corrosion caused by simulating the complex components such as elbow, tee and the like in petroleum and gas collection pipes, petroleum and gas conveying pipes and the like so as to convey the high-temperature high-pressure multi-phase fluid pipe components and in-situ electrochemical signal testing of the erosion corrosion of high-temperature high-pressure fluid under erosion conditions. The apparatus comprises a high pressure kettle, a circulating loop, a high-temperature high-pressure flow gauge, a vortex pump, a control box, a circulating condensation system, a three-electrode system, a signal conduction path, an external electrochemical work station and a high pressure gas bottle. The apparatus has the advantages of simulating the erosion corrosion condition of the fluid medium in the oil and gas pipeline well, testing the electrochemical signal of the working electrode under high-speed spray condition such as polar curve, AC impedance and the like and having important significance to the research of the erosion corrosion action, rule and mechanism of the high-temperature high-pressure fluid.