Compared with a conventional single section two-phase closed thermosyphon (TPCT) wellbore, a two-section TPCT wellbore has better heat transfer performance, which may improve the temperature distribution of fluid in wellbores, increase the temperature of fluid in wellheads and even more effectively reduce the failure rate of conventional TPCT wellbores. Heat transfer performance of two-section TPCT wellbores is affected by working medium, combination mode and oil flow rate. Different working media are introduced into the upper and lower TPCTs, which may achieve a better match between the working medium and the temperature field in the wellbores. Interdependence exists between the combination mode and the flow rate of the oil, which affects the heat transfer performance of a two-section TPCT wellbore. The experimental results show that a two-section TPCT wellbore, with equal upper and lower TPCTs respectively filled with Freon and methanol, has the best heat transfer performance when the oil flow rate is 200 L/h.