An off-water power-off glass tube type warmer is provided with a glass tube, a cover body, and a temperature display unit. The glass tube is provided with a water-off protection sensor or a tilt switch, a control circuit board, and a bidirectional controllable Either a silicon switching element (TRIAC) or a relay, a heating element, the control circuit board has a control unit (MCU or comparator), and each element in the glass tube is electrically connected to form a control loop. The temperature control, induction, heating and other devices are put into the glass tube, which has a wide range of practical uses. The water protection sensor detects whether the water is out of the water and controls the heating of the heating element. It can ensure that the heating stops quickly when leaving the water to save electricity. And avoid the situation where the heating temperature is too high, leaving the water surface to burn; or when the heater is tilted too much, the heating element stops heating by the tilt switch.一種離水斷電玻璃管式加溫器,設有一玻璃管、一蓋體、一溫度顯示單元,該玻璃管內設有一離水保護傳感器或是設一傾斜開關、一控制電路板、一雙向可控矽開關元件(TRIAC)或繼電器其中任一種、一發熱元件,該控制電路板具有一控制單元(MCU或比較器),該玻璃管內各元件電性連接構成一控制迴路。以將溫控、感應、加溫等裝置放入玻璃管內,實用範圍廣泛,並透過離水保護傳感器感知是否離水,控制發熱元件加熱與否,可以確保離開水時快速停止加溫,達到節省電能及避免加熱溫度過高、離開水面空燒之情形;或者當加溫器倾斜過大時,藉由傾斜開關令發熱元件停止加熱。