An electrical pump for breast milk, having an electric motor, a pump, at least one suction cup, a suction line connecting the suction cup to the pump, an outlet for breast milk connected to the suction cup, a venting line connected to the suction cup, an electrically activated venting valve in the venting line, an electronic control system which adjusts the speed of the electric motor and the electrically activated venting valve to switch the electric motor on and off to allow the electric motor to run at a desired speed and to operate the electric motor continuously and/or in cycles, in which the electric motor is alternately switched on and off, and the electronic control system opens the venting valve when the electric motor is switched off, and closes the venting valve when the electric motor is switched on.