The type III secretion system (T3SS) is a multiprotein complex that plays a central role in the virulence of many Gram-negative bacterial pathogens. To ensure that effector proteins are efficiently translocated into the host cell, bacteria must be able to sense their contact with the host cell. In this study, we found that EscP, which was previously shown to function as the ruler protein of the enteropathogenic Escherichia coli T3SS, is also involved in the switch from the secretion of translocator proteins to the secretion of effector proteins. In addition, we demonstrated that EscP can interact with the gatekeeper protein SepL and that the EscP-SepL complex dissociates upon a calcium concentration drop. We suggest a model in which bacterial contact with the host cell is accompanied by a drop in the calcium concentration that causes SepL-EscP complex dissociation and triggers the secretion of effector proteins. IMPORTANCE The emergence of multidrug-resistant bacterial strains, especially those of pathogenic bacteria, has serious medical and clinical implications. At the same time, the development and approval of new antibiotics have been limited for years. Recently, antivirulence drugs have received considerable attention as a novel antibiotic strategy that specifically targets bacterial virulence rather than growth, an approach that applies milder evolutionary pressure on the bacteria to develop resistance. A highly attractive target for the development of antivirulence compounds is the type III secretion system, a specialized secretory system possessed by many Gram-negative bacterial pathogens for injecting virulence factors (effectors) into host cells. In this study, we shed light on the molecular mechanism that allows bacteria to sense their contact with the host cell and to respond with the timed secretion of effector proteins. Understanding this critical step for bacterial virulence may provide a new therapeutic strategy.