The invention discloses a switch type surge protector, which comprises a protector shell, wherein a hot melting action assembly, a piezoresistor (2) and a resistor bracket (3) for fixing the piezoresistor (2) are arranged in the protector shell, the piezoresistor (2) is fixed in the protector shell through the resistor bracket (3), the lower end of the piezoresistor (2) is provided with two protector terminals (4), two sides of the piezoresistor (2) are respectively provided with a conducting sheet (5), the hot melting action assembly comprises a fixed iron core (6) and a coil winding (7), thefixed iron core (6) is fixed on the inner wall of the protector shell, the coil winding (7) is wound outside the fixed iron core (6), and one end of the coil winding (7) is electrically connected with one protector terminal (4) of the piezoresistor (2). According to the invention, the grounding reliability of the surge protector is guaranteed, and the connection between the grounding wire and thewiring end of the surge protector is prevented from loosening after being pulled.