The present invention relates to a method for removing gas accumulations from a component of an extracorporeal blood circuit, a control device for executing a method according to the present invention, a medical treatment apparatus which comprises at least one control device and/or stands in signal transmission or is connected for signal transmission with it, a digital storage medium, a computer program product as well as a computer program.