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 patients smartphone inputs one or more of the patients 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 medications 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 patients 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.