An automatic pill dispenser includes a case for securing pill boxes, a displayer, a water heater and a controller. The displayer and the controller are secured to the case. The water heater is secured to the case and for placing a cup. The controller is electrically connected to the water heater. The controller controls the displayer to display a prompt message, which is whether need hot water, when the automatic pill dispenser is dispensing pills. The controller controls the water heater to operate when a yes message is received, so that water in the cup is heated.一種自動取藥機,包括有用以裝設複數藥盒之機殼及固定於所述機殼上之顯示幕,所述自動取藥機還包括有加熱器及固定於所述機殼上之控制器,所述加熱器固定於所述機殼上,用以放置一水杯,所述控制器電連接所述加熱器,所述控制器於所述自動取藥機開始取藥時顯示一是否需要熱水之提示資訊於所述顯示幕上,並於接收到一需要熱水之資訊時開始讓所述加熱器加熱,從而對放置於所述加熱器上之水杯中之水進行加熱。10...機殼11...頂壁13...外壁20...控制器21...顯示幕300...加熱器30...外殼31...安裝底板311...凸部3112...限位槽313...限位塊3131...限位片32...頂面板321...開口35...側面板36...前面板361...撥動部37...彈性件39...折邊50...電熱片60...導熱片61...平坦部63...環部65...限位空間70...溫度感測器500...水杯