The impact of pre-exposure prophylaxis (PrEP) on slowing the global HIV epidemic hinges on effective drugs and delivery platforms. Oral drug regimens are the pillar of HIV PrEP, but variable adherence has spurred development of long-acting delivery systems with the aim of increasing PrEP access, uptake, and persistence. We have developed a long-acting subcutaneous nanofluidic implant that can be refilled transcutaneously for sustained release of the HIV drug islatravir, a nucleoside reverse transcriptase translocation inhibitor that is used for HIV PrEP. In rhesus macaques, the islatravir-eluting implants achieved constant concentrations of islatravir in plasma (median 3.14 nM) and islatravir triphosphate in peripheral blood mononuclear cells (median 0.16 picomole per 106 cells) for more than 20 months. These drug concentrations were above the established PrEP protection threshold. In two unblinded, placebo-controlled studies, islatravir-eluting implants conferred 100% protection against infection with SHIVSF162P3 after repeated low-dose rectal or vaginal challenge in male or female rhesus macaques, respectively, compared to placebo control groups. The islatravir-eluting implants were well tolerated with mild local tissue inflammation and no signs of systemic toxicity over the 20-month study period. This refillable islatravir-eluting implant has potential as a long-acting drug delivery system for HIV PrEP.