The efficacy of allogeneic hematopoietic stem cell transplantation for hematologic malignancies is limited by the difficulty in suppressing graft-versus-host disease (GVHD) without compromising graft-versus-tumor (GVT) effects. We previously showed that RAS/MEK/ERK signaling depends on memory differentiation in human T cells, which confers susceptibility to selective inhibition of naive T cells. Actually, antineoplastic MEK inhibitors selectively suppress alloreactive T cells, sparing virus-specific T cells in vitro. Here, we show that trametinib, a MEK inhibitor clinically approved for melanoma, suppresses GVHD safely without affecting GVT effects in vivo. Trametinib prolonged survival of GVHD mice and attenuated GVHD symptoms and pathology in the gut and skin. It inhibited ERK1/2 phosphorylation and expansion of donor T cells, sparing Tregs and B cells. Although high-dose trametinib inhibited myeloid cell engraftment, low-dose trametinib suppressed GVHD without severe adverse events. Notably, trametinib facilitated the survival of mice transplanted with allogeneic T cells and P815 tumor cells with no residual P815 cells observed in the livers and spleens, whereas tacrolimus resulted in P815 expansion. These results confirm that trametinib selectively suppresses GVHD-inducing T cells while sparing antitumor T cells in vivo, which makes it a promising candidate for translational studies aimed at preventing or treating GVHD.