Provided is an electronic device that allows management of food or drink consumption. Said electronic device is provided with the following: a storage unit (104) that stores data regarding a food or drink for which consumption is prohibited or restricted; and a warning unit (111, 105, 108) that issues a warning if the food or drink stored in the storage unit has been or is about to be consumed.