We examined the relationship between residential eviction and exhibiting detectable plasma HIV-1 RNA viral load (VL) among a prospective cohort of antiretroviral therapy (ART)-exposed HIV-seropositive people who use illicit drugs (PWUD) in Vancouver, Canada. We used multivariable generalized estimating equations to estimate the effect of residential eviction on detectable VL and examine ART adherence as a mediating variable. Between June 2007 and May 2014, 705 ART-exposed participants were included in the study, among whom 500 (70.9 %) experienced at least one period of detectable VL. In a time-updated multivariable model, eviction independently increased the odds of detectable VL among those who were homeless [adjusted odds ratio (AOR) = 2.25; 95 % confidence interval (CI) 1.18-4.29] as well as not homeless (AOR = 1.76; 95 % CI 1.17-2.63) post eviction. The results of mediation analyses suggest that this association was mediated by incomplete ART adherence. These findings suggest the need for further development and evaluation of interventions to prevent evictions and promote ART adherence among PWUD facing eviction.