A device (10, 200) for anastomosis of a tubular structure (90) comprises a firstand a second member of a generally hollow open configuration, which each includesa rigid part (11, 13) and an elastic part (12), and a connection member (15, 160)for interlocking the first and second members. According to a first embodimentthe connection member (15) is integral with the rigid part (11) of the first member,and has longitudinal slits (37) forming tongues (38) there between, of whichat least one has an outward protrusion (39) at its free end. ). In an alternate embodimentof the first embodiment, the connection member (15) has at least one circumferentialgroove (192) around the outer periphery, and the second rigid part (193) has aprotrusion (194) arranged around the inner periphery. According to a secondembodiment (200) the connection member (160) is arranged as a member separatedfrom the first rigid part (11). The elastic parts (12) are essentially circularrings, and are made of a polymeric, a biocompatible and/or biodegradable material.The rigid parts (11, 13) have an outer surface that is partly semi-circular incross section, wherein the diameter at a non-connecting end (30, 40) is largerthan or equal to the diameter at a connecting end (31, 41), which ends in an edge(36, 46). The first and second members are connected to each other so that a distanceis formed between the elastic parts (12). A cavity (203) is formed between therigid parts (13) and the connection member and the tubular structure (90), whenarranged in the device (200).