A feedthrough of a medical electronic device, which in particular is implantable and has a device housing in which electronic and/or electrical function units are housed and which has a housing opening closed by the feedthrough, wherein the feedthrough has an insulating body, a feedthrough flange surrounding the insulating body and fixed to the housing opening, and at least one connection element penetrating through the insulating body for the external connection of at least one component of the device, wherein the connection element or at least one connection element consists at least in part, in particular substantially fully, of a shape-memory alloy.