A pill bottle is provided. The pill bottle includes a bottle, a warning unit arranged on the bottle, a processor, and a scale. The scale can measure the total weight of the pills in the bottle. When a user takes out some pills, the processor can determine the decrease of the total weight of the pills. The processor can determine the amount of the pills taken out by the user according to the decrease of the total weight and a pre-stored weight of a single pill. When determining that the amount of the pills taken out by the user does not match a preset value, the processor controls the warning unit to output warning information to the user.本發明提供一種具有提醒功能的藥瓶,包括藥瓶本體和設置在藥瓶本體上的提示單元,還包括設置在藥瓶本體內部的處理器和稱重單元,該稱重單元用於測量該藥瓶本體內的藥片的總重量,當用戶取出一部分藥片後,該處理器通過該稱重單元確定藥瓶本體內的藥片的總重量的減少量,並且根據預先存儲的藥片單體的重量確定用戶取出的藥片的數量,當確定的用戶取出的藥片的數量與預定數量不符時,該處理器控制該提示單元輸出提示資訊以提醒用戶。