The invention relates to a device for connecting a syringe to a container or tubing, particularly for connecting a syringe to a container for receiving infusion-, transfusion-, or enteral nutrition solutions and particularly for connecting a syringe to tubing of a blood tube system of an extracorporeal blood treatment device or to tubing for a venous portal. The invention also relates to a container and tubing with such a device. The device according to the invention has a connecting part (2) which connects to the container or the tubing, the connecting part having a recess (3) in which a membrane (12) is arranged, the membrane closing the channel-shaped recess. A hollow body (22) having a syringe (23) is arranged in the recess (3) of the connecting part (2) in such a manner that the membrane (12) is pierced upon connection of the syringe to the connecting part. The device according to the invention is characterized in that the membrane (12) is arranged above the hollow body (22) in the connecting part (2) recess (3), such that upon connection of the syringe to the connecting part, the membrane is pressed onto the tip of the hollow body.