Background: The potential long-term clinical risks of staying on failing nucleoside reverse-transcriptase inhibitor/non-nucleoside reverse-transcriptase inhibitor (NRTI/NNRTI)-based first-line antiretroviral treatment (ART) regimens and acquired drug-resistance mutations (DRMs) have not been well elucidated. Methodology: The study population included adult HIV patients who were initially ART-naive and who started first-line regimens between 2003-2005 at two sentinel sites in China. ART regimens were either AZT/DDI/NVP or D4T/DDI/NVP, primarily. Given the national treatment program policy at that time, patients had no access to protease-inhibitor-based second-line regimens and remained on first-line despite virologic failure for prolonged periods. HIV RNA and CD4 testing were performed at pre-ART baseline and every 6 months (including after virologic failure). Patients with HIV RNA>1,000 copies/ml on ART had longitudinal genotyping to test for drug resistance. We estimated the effects of acquired DRMs on mortality, using marginal structural models to account for time-varying confounding. Results: Five hundred seventeen patients were included. After median 58 months follow-up, 404 (78%) patients had HIV RNA>1,000 copies/ml at least once, and 291 (56%) of the 517 had DRMs. At initial detection of DRMs, all patients but one had >1 NNRTI-class mutation and 63% had both NRTIand NNRTI-mutations. Seventy six (15%) patients died. Patients were more likely to develop DRMs if they had HIV RNA > 10,000 copies/ml at baseline (HR=1.42) or at the previous visit (HR=1.39), CD4 count < 350 cells/mm3 at the previous visit (HR=1.92), no education beyond elementary school (HR=1.35), used alcohol (HR=1.43), were farmers (HR=1.49), initiated ART in 2003 (HR=2.77) or 2004 (HR=1.79). The mortality hazards ratio for acquired DRMs was 2.49 (95% confidence interval: 1.38-4.51) after adjusting via inverse-probability-weights (IPW) for baseline (including age, gender, occupation, site, education level, marital status, alcohol use, calendar time of treatment initiation, level of initial adherence, baseline CD4 count and viral load) and time-varying confounders (modification of first-line ART regimens, CD4 count and HIV RNA at the previous visit). The hazard ratio increased over time since first detection of DRMs (see Figure 1). Conclusions: We identified an elevated risk of mortality associated with acquired DRMs. The excess risk increased with time since first detection of DRMs.