The invention relates to a nail for connecting bony structures, which is designed for percutaneous insertion into at least one bone. The nail (4) is configured to assume a first shape, in which said nail can be positioned substantially straight in an insertion tube (3), and a second shape, in which said nail assumes a curved shape outside the insertion tube (3). The nail is pointed at the distal end thereof.