A switch-equipped sprinkler including a main body, a rotary water-distributing switch and a color-changeable warning facial cap mounted in a facial cap of the sprinkler. The switch is mounted in the main body. The switch has an operating handle arranged between the facial cap and the handle of the sprinkler. In the case that the temperature of the water exceeds a set value, the color-changeable facial cap will warn a user. The switch is operable with single handle to control the path of the water flow and switch the figures of the sprinkled water as necessary.