Protease inhibitors are among the most active antiviral drugs used in the treatment of Human immunodeficiency virus type 1 (HIV-1) infection. The efficacy of these compounds, however, can be threatened by the emergence of viral resistance, the result of the gradual accumulation of specific mutations in the viral protease. HIV-1 resistance to protease inhibitors often results in impaired protease function and in the loss of the replicative capacity of the virus, an effect that can be partially corrected by selection of compensatory mutations in one of the natural substrates of the protease, the Gag protein. In this study, we have found that Gag mutations not only correct viral replicative capacity but also play a major and direct role in resistance. We observed that this effect is essentially mediated by mutations in the C-terminal region of Gag, and that it correlates with the extent of cleavage downstream of the Gag nucleocapsid protein. Our results establish that mutations in Gag constitute a second and important pathway of HIV-1 resistance to protease inhibitors in patients failing antiretroviral treatment.