A sensor capable of continuously measuring specific molecules in the bloodstream in vivo would give clinicians a valuable window into patients’ health and their response to therapeutics. Such technology would enable truly personalized medicine, wherein therapeutic agents could be tailored with optimal doses for each patient to maximize efficacy and minimize side effects. Unfortunately, continuous, real-time measurement is currently only possible for a handful of targets, such as glucose, lactose, and oxygen, and the few existing platforms for continuous measurement are not generalizable for the monitoring of other analytes, such as small-molecule therapeutics. In response, we have developed a real-time biosensor capable of continuously tracking a wide range of circulating drugs in living subjects. Our microfluidic electrochemical detector for in vivo continuous monitoring (MEDIC) requires no exogenous reagents, operates at room temperature, and can be reconfigured to measure different target molecules by exchanging probes in a modular manner. To demonstrate the system’s versatility, we measured therapeutic in vivo concentrations of doxorubicin (a chemotherapeutic) and kanamycin (an antibiotic) in live rats and in human whole blood for several hours with high sensitivity and specificity at subminute temporal resolution. We show that MEDIC can also obtain pharmacokinetic parameters for individual animals in real time. Accordingly, just as continuous glucose monitoring technology is currently revolutionizing diabetes care, we believe that MEDIC could be a powerful enabler for personalized medicine by ensuring delivery of optimal drug doses for individual patients based on direct detection of physiological parameters.