Abstract: In an own-medium controlled magnetic valve (2) actuatable by an electromagnetically controlled pilot vale (46) for controlling liquids, having a main valve member (50) in the form of a differential piston and means to suppress pressure surges during the closure of the main valve (12) implying the cooperation of an overflow channel (68, 80, 82) with a limited passage cross section between both sides of the main valve member (50). The overflow channel consists at least partly of an elastic-walled choke channel (80) which can be increasingly narrowed by squeezing during the closure of the main valve (12). This ensures that the closing movement takes place rapidly and with enduring precision despite gentle closing.