Chronic hepatitis C virus (HCV) infection is a leading cause of cirrhosis worldwide and kills more Americans than 59 other infections, including HIV and tuberculosis, combined. While direct-acting antiviral (DAA) treatments are effective, limited uptake of therapy, particularly in high-risk groups, remains a substantial barrier to eliminating HCV. We developed a long-acting DAA system (LA-DAAS) capable of prolonged dosing and explored its cost-effectiveness. We designed a retrievable coil-shaped LA-DAAS compatible with nasogastric tube administration and the capacity to encapsulate and release gram levels of drugs while resident in the stomach. We formulated DAAs in drug-polymer pills and studied the release kinetics for 1 mo in vitro and in vivo in a swine model. The LA-DAAS was equipped with ethanol and temperature sensors linked via Bluetooth to a phone application to provide patient engagement.