A latching solenoid valvue, designed for the protection of vacuum systems, is described. In case of power failure, the latching mechanism is released by the action of a charged capacitor and the valve seals off the main part of the system. An air vent is incorporated in the valve.