<p>The invention concerns a method and device for controlling an electromagnetic valve, in particular an electromagnetic valve in a brake system with anti-locking and/or traction control. When the valve is switched over to the open position, the current to the valve is controlled such that, during a first phase, it decreases in accordance with a first function for a preset time (DT) and then remains approximately constant during a second phase.</p>