A system for heating a subsurface formation is described. The system includes a first elongated heater in a first opening in the formation. The first elongated heater includes an exposed metal section in a portion of the first opening. The portion is below a layer of the formation to be heated. The exposed metal section is exposed to the formation. A second elongated heater is in a second opening in the formation. The second opening connects to the first opening at or near the portion of the first opening below the layer to be heated. At least a portion of an exposed metal section of the second elongated heater is electrically coupled to at least a portion of the exposed metal section of the first elongated heater in the portion of the first opening below the layer to be heated.