Various embodiments relate to systems and methods for monitoring adherence to a medication regimen through the use of a smart medication container. The container can include an electronic display that presents relevant information, such as dosage and/or medication information, instructions, user information, messages, notifications, and device information (e.g., battery status, network connectivity status). A pair of conductive elements positioned on either side of the container's opening can be configured to continually measure capacitance in order to identify when contents (e.g., pills) leave the container. More than one pair of conductive elements may be used to improve accuracy and reduce the effects of noise. A processor is able to analyze the capacitance data and determine whether medication has been dispensed from the container and, if so, how much medication was dispensed. A computer system can then compare the results to a planned medication regimen to determine a state of compliance.