A rod-shaped implant element for the connection of bone anchoring elements includes at least one rigid section that is configured to be placed in a receiver member of a bone anchoring element and a flexible section that is adjacent to the rigid section. The flexible section and the rigid section are formed as a continuous one-piece element.