SARS-CoV-2 variants have emerged that escape neutralization and potentially impact vaccine efficacy. T cell responses play a role in protection from reinfection and severe disease, but the potential for spike mutations to affect T cell immunity is poorly studied. We assessed both neutralizing antibody and T cell responses in 44 South African COVID-19 patients infected either with B.1.351, now dominant in South Africa, or infected prior to its emergence (first wave), to provide an overall measure of immune evasion. We show for the first time that robust spike-specific CD4 and CD8 T cell responses were detectable in B.1.351-infected patients, similar to first wave patients. Using peptides spanning only the B.1.351 mutated regions, we identified CD4 T cell responses targeting the wild type peptides in 12/22 (54.5%) first wave patients, all of whom failed to recognize corresponding B.1.351-mutated peptides (p=0.0005). However, responses to the mutated regions formed only a small proportion (15.7%) of the overall CD4 response, and few patients (3/44) mounted CD8 responses that targeted the mutated regions. First wave patients showed a 12.7 fold reduction in plasma neutralization of B.1.351. This study shows that despite loss of recognition of immunodominant CD4 epitope(s), overall CD4 and CD8 T cell responses to B.1.351 are preserved. These observations may explain why, despite substantial loss of neutralizing antibody activity against B.1.351, several vaccines have retained the ability to protect against severe COVID-19 disease.