The invention provides a pacemaker. The pacemaker includes a pulser, a cable and a pacemaker electrode. The pacemaker electrode includes a body and an insulating layer. The body includes at least one carbon nanotube yarn. The carbon nanotube yarn includes a plurality of carbon nanotubes. The carbon nanotubes are interconnected along one axis of the body by Van de Waals force. The insulating layer is coated on the outer surface of the body.本發明提供一種起搏器及起搏器電極,起搏器電極包括一本體以及一絕緣層。所述本體包括至少一奈米碳管線,所述奈米碳管線包括複數奈米碳管,奈米碳管沿本體之軸向排列並通過凡得瓦力首尾相連;絕緣層包覆於本體之外表面。所述起搏器包括一脈衝發生器、一連接線及上述起搏器電極。