A device for producing anastomoses between hollow organs. The device includes an inner sleeve mounted around the end of the first hollow organ and an outer sleeve mounted around the end of the second hollow organ, the end being arranged over the end of the first hollow organ, which is turned inside out over the inner sleeve. The inner sleeve and outer sleeve are separable. In order to obtain a secure and durable anastomosis that is easy to carry out, the inner sleeve and outer sleeve comprise electricity-conducting materials, for example in the form of contact surfaces that can be connected to an external power or voltage to electrocoagulate the hollow organs that are to be joined.