Two-phase (liquid, vapor) flow in confined spaces is fundamentally interesting and practically important in many practical applications such as thermal management, offering the potential to impart high thermal transport performance owing to high surface-to-volume ratio and latent heat released during liquid/vapor phase transition. However, the associated physical size effect, in coupling with the striking contrast in specific volume between liquid and vapor phases, also leads to the onset of unwanted vapor backflow and chaotic two-phase flow patterns, which seriously deteriorates the practical thermal transport performances. Here, we develop a thermal regulator consisting of classical Tesla valves and engineered capillary structures, which can switch its working states and boost its heat transfer coefficient and critical heat flux in its “switched-on” state. We demonstrate that the Tesla valves and the capillary structures serve to eliminate vapor backflow and promote liquid flow along the sidewalls of both Tesla valves and main channels, respectively, which synergistically enable the thermal regulator to self-adapt to varying working conditions by rectifying the chaotic two-phase flow into an ordered and directional flow. We envision that revisiting century-old design can promote the development of next generation cooling devices towards switchable and very high heat transfer performances for power electronic devices.