A method and
system of safe medication dispensing includes a smart medication container that includes a sensor and a
signal transmitter and a smartphone that includes a processor, memory, local storage, and a
signal receiver. A
software application on the patient's smartphone inputs one or more of the patient's medications including the dosage,
dosage schedule, and number of doses on hand. The
software application alerts the patient to take a specific medication according to the medication's
dosage schedule. The sensor senses when the patient opens the smart medication container and the
signal transmitter transmits a status signal to the smartphone indicating the status of the container. Upon receiving the status signal, the
software application updates the patient's
dosage schedule. The software application may prompt the patient for refills, to log, or to report the taking of the medication to a third-party monitor.