Bistable solenoid valve device (5, 105) for a fluid system, having a solenoid valve (1, 101), a circuit arrangement (30, 130) and a control device for actuating the circuit arrangement (30, 130), wherein the solenoid valve (1, 101) has: an armature, which can be displaced between a first armature position and a second armature position, and valve means (8, 9, 10, 11), which can be displaced by way of the armature and which are in various valve positions in the first and second armature position (I, II), a permanent-magnet device (16, 116) for forming a holding permanent magnetic field, which holds the armature in the second armature position, a switching electromagnet device for forming a switching electromagnetic field for an armature switching process from the first armature position to the second armature position, and a return device (12, 18; 70) for returning the armature in a return switching process to the first armature position, wherein the circuit arrangement (30, 130) is designed to actuate the switching electromagnet device in the armature switching process by way of a switching current (I2_S), wherein the control device is designed to actuate the circuit arrangement (30, 130) in such a way that the switching electromagnet device in the return switching process is energized by way of a compensation current (I_k) to form a compensating electromagnetic field (EM2_k) for at least partial compensation of the holding permanent magnetic field, wherein the solenoid valve (1, 101) has a magnetic yoke (20, 21) and a holding core for positioning the armature in the second armature position, wherein an air gap is formed between the armature and the holding core in the first armature position, and the holding permanent magnetic field and the switching electromagnetic field run over the magnetic yoke (20, 21), the holding core and the armature, wherein the return device (12, 18) has a first core for positioning the armature in the first armature position and a first electromagnet device, which is energized in the return switching process to form a first electromagnetic field, wherein the first electromagnetic field and a first permanent magnetic field of the permanent-magnet device run over the magnetic yoke (20, 21), the first core and the armature, wherein in the first armature position the first permanent magnetic field holds the armature on the first core and the air gap is formed between the armature and the holding core, wherein the control device is designed to actuate the circuit arrangement in such a way that the first electromagnet device in the armature switching process is energized by way of a compensation current (I_k) to form a temporally increasing compensating electromagnetic field for at least partial compensation of the first permanent magnetic field. an armature, which can be displaced between a first armature position and a second armature position, and valve means (8, 9, 10, 11), which can be displaced by way of the armature and which are in various valve positions in the first and second armature position (I, II), a permanent-magnet device (16, 116) for forming a holding permanent magnetic field, which holds the armature in the second armature position, a switching electromagnet device for forming a switching electromagnetic field for an armature switching process from the first armature position to the second armature position, and a return device (12, 18; 70) for returning the armature in a return switching process to the first armature position, wherein the circuit arrangement (30, 130) is designed to actuate the switching electromagnet device in the armature switching process by way of a switching current (I2_S), wherein the control device is designed to actuate the circuit arrangement (30, 130) in such a way that the switching electromagnet device in the return switching process is energized by way of a compensation current (I_k) to form a compensating electromagnetic field (EM2_k) for at least partial compensation of the holding permanent magnetic field, wherein the solenoid valve (1, 101) has a magnetic yoke (20, 21) and a holding core for positioning the armature in the second armature position, wherein an air gap is formed between the armature and the holding core in the first armature position, and the holding permanent magnetic field and the switching electromagnetic field run over the magnetic yoke (20, 21), the holding core and the armature, wherein the return device (12, 18) has a first core for positioning the armature in the first armature position and a first electromagnet device, which is energized in the return switching process to form a first electromagnetic field, wherein the first electromagnetic field and a first permanent magnetic field of the permanent-magnet device run over the magnetic yoke (20, 21), the first core and the armature, wherein in the first armature position the first permanent magnetic field holds the armature on the first core and the air gap is formed between the armature and the holding core, wherein the control device is designed to actuate the circuit arrangement in such a way that the first electromagnet device in the armature switching process is energized by way of a compensation current (I_k) to form a temporally increasing compensating electromagnetic field for at least partial compensation of the first permanent magnetic field.