A device (1) for closing an opening (2) in a septum (4) of a heart (3) comprises: at least two closure elements (12) with threads (8) for closing the opening (2), a feed catheter (5) for insertion of the closure element (12) into the heart (3), a puncture cannula (6), a stylet (7) for pushing the closure element (12) out of the puncture cannula (6), and a screw catheter (10) having a coil (11) for penetration the edge of the opening (2). The puncture cannula (6) and the elements (12) can be moved through the screw catheter (10) and the coil (11). If the edges of the opening (2) overlap, a lobe (15) away from the feed catheter (5) can be kept in place with a second coil (111), or a suction tube (16) during placement of the anchor (12).