Infection with human cytomegalovirus (HCMV) is associated with substantial morbidity in immunosuppressed patients and after congenital infections. Therefore, development of a vaccine against HCMV is a main public health priority., Human cytomegalovirus (HCMV) may cause severe infections in lung transplant recipients (LTRs). In response to HCMV infections, a subset of NKG2C+ NK cells expands, which limits HCMV replication and is characterized by high expression of the activating NKG2C/CD94 and absence of the inhibitory NKG2A/CD94 receptor. Both receptors bind to HLA-E, which is stabilized by HCMV-encoded UL40 peptides. HLA-E and UL40 occur as different genetic variants. In this study, we investigated the interplay between the human NK cell response and the infecting HCMV-UL40 strain, and we assessed the impact of HCMV-UL40 and of donor- and recipient-encoded HLA-E*0101/0103 variants on HCMV replication after lung transplantation. We included 137 LTRs displaying either no or low- or high-level (>1,000 copies/ml plasma) viremia. HCMV-UL40 and HLA-E*0101/0103 variants were determined. UL40 diversity was investigated by next-generation sequencing. UL40 peptide-dependent NK cell cytotoxicity was assessed by flow cytometry. Donor-encoded HLA-E*0101/0103 was significantly associated with development of high-level viremia after transplantation (P = 0.007). The HCMV-UL40 variant VMAPRTLIL occurred significantly more frequently in highly viremic LTRs, and the variant VMTPRTLIL occurred significantly more frequently in low-viremic LTRs (P = 0.004). This difference was associated with a better inhibition of NKG2A+ NKG2C− NK cells by VMAPRTLIL (P