The invention discloses an automatic spraying switching device and belongs to the technical field of building parts. A spring seat is fixed to the top face of a base, a reset spring is embedded in the spring seat, a top sleeve and a switch shaft are fixed to the end of the reset spring, reset rollers are embedded in the two ends of the switch shaft through bearings, and a sliding block is arranged on one side of each reset roller, the section of the sliding block is in a wedge shape, the wedge-shaped face of the sliding block is tightly attached to the reset rolling wheel, the sliding block is embedded in a notch in the edge side column in a sliding mode, a top plate is fixed to the top end of the sliding block in a bolted mode, a pressing rolling wheel is arranged on the top face of the top plate and tightly attached to the top plate, the pressing rolling wheel is embedded into one end of a lever through a bearing, and the other end of the lever is driven by a steering engine. When the automatic spraying device is used for spraying, the steering engine drives one end of the lever to be lifted, the other end of the lever is pressed, the sliding block moves downwards, the wedge-shaped surface pushes the reset roller to move backwards, the ejector sleeve and the switch shaft also move backwards, the reset spring in the spring seat is compressed, the spray gun ejector pin in the ejector sleeve controls the plunger switch to be turned on, and automatic spraying of paint is achieved.