A drug delivery system capable of continuous delivery of ganciclovir into the vitreous cavity has been developed. The device consists of a 6-mg pellet of ganciclovir that is coated with a series of polymers with variable permeability to ganciclovir. The device is surgically implanted through the pars plana.