The main complications following allogeneic hematopoietic stem cell transplantation are graft-versus-host disease and poor immune reconstitution leading to severe infections. Mature donor T cells present in the transplant facilitate T cell reconstitution in adults, but also induce graft-versus-host disease, which itself impairs immune reconstitution. Thus, infusing a large number of donor T cells with a diverse repertoire should accelerate functional immune reconstitution after transplantation, only if graft-versus-host disease can be controlled. We previously demonstrated that preventive treatment with ganciclovir could control graft-versus-host disease in mice if donor T cells are made to express viral thymidine kinase as a "suicide" gene. Here we evaluated the recovery of functional antiviral immune responses in such mice. Irradiated mice received an allogeneic hematopoietic stem cell transplantation with thymidine kinase-expressing T cells and were protected from graft-versus-host disease by ganciclovir treatment, and then challenged with lymphocytic choriomeningitis virus. Grafted mice could mount efficient antilymphocytic choriomeningitis virus immune responses leading to viral elimination. Furthermore, when transplanted cells were obtained from mice previously immunized against lymphocytic choriomeningitis virus, grafted mice developed memory-type accelerated responses against the virus. We conclude that efficient graft-versus-infection effects can be mediated by naive T cells and memory donor T cells that persist after suicide gene therapy for prevention of graft-versus-host disease.