An electric heater (1) having a linear heater body (20) housed in a heat transfer tube (10), wherein the heater body (20) has a folded section (24) in the heat transfer tube (10) so that a pair of ends (26a, 26b) of the heater body is lead out from one end of the heat transfer tube (10). The heater body (20) includes a heat generation portion (25) formed along a part of the heat transfer tube (10), and a lead portion (26) capable of electrically connecting the heat generation portion (25) to the outside of the heat transfer tube (10). The electric heater (1) can be inserted into a narrow space to provide local heating.