Effective HIV-specific T-cell immunity requires the ability to inhibit virus replication in the infected host, but the functional characteristics of cells able to mediate this effect are not well defined. Since Gag-specific CD8 T cells have repeatedly been associated with lower viremia, we examined the influence of Gag specificity on the ability of unstimulated CD8 T cells from chronically infected persons to inhibit virus replication in autologous CD4 T cells. Persons with broad (>or=6; n = 13) or narrow (<or=1; n = 13) Gag-specific responses, as assessed by gamma interferon enzyme-linked immunospot assay, were selected from 288 highly active antiretroviral therapy (HAART)-naive HIV-1 clade C-infected South Africans, matching groups for total magnitude of HIV-specific CD8 T-cell responses and CD4 T-cell counts. CD8 T cells from high Gag responders suppressed in vitro replication of a heterologous HIV strain in autologous CD4 cells more potently than did those from low Gag responders (P < 0.003) and were associated with lower viral loads in vivo (P < 0.002). As previously shown in subjects with low viremia, CD8 T cells from high Gag responders exhibited a more polyfunctional cytokine profile and a stronger ability to proliferate in response to HIV stimulation than did low Gag responders, which mainly exhibited monofunctional CD8 T-cell responses. Furthermore, increased polyfunctionality was significantly correlated with greater inhibition of viral replication in vitro. These data indicate that enhanced suppression of HIV replication is associated with broader targeting of Gag. We conclude that it is not the overall magnitude but rather the breadth, magnitude, and functional capacity of CD8 T-cell responses to certain conserved proteins, like Gag, which predict effective antiviral HIV-specific CD8 T-cell function.