Although the adhesion of enterohemorrhagic Escherichia coli (EHEC) is central to the EHEC-host interaction during infection, it remains unclear how such adhesion regulates virulence factors. Adhesion to abiotic surfaces by E. coli has been reported to be an outer membrane lipoprotein NlpE-dependent activation cue of the Cpx pathway. Therefore, we investigated the role of NlpE in EHEC on the adhesion-mediated expression of virulence genes. NlpE in EHEC contributed to upregulation of the locus of enterocyte effacement (LEE) genes encoded type III secretion system and to downregulated expression of the flagellin gene by activation of the Cpx pathway during adherence to hydrophobic glass beads and undifferentiated Caco-2 cells. Moreover, LysR homologue A (LrhA) in EHEC was involved in regulating the expression of the LEE genes and flagellin gene in response to adhesion. Gel mobility shift analysis revealed that response regulator CpxR bound to the lrhA promoter region and thereby regulated expressions of the LEE genes and flagellin gene via the transcriptional regulator LrhA in EHEC. Therefore, these results suggest that the sensing of adhesion signals via NlpE is important for regulation of the expression of the type III secretion system and flagella in EHEC during infection.