Type III secretion systems (T3SSs) are multiprotein molecular devices used by many Gram-negative bacterial pathogens to translocate effector proteins into eukaryotic cells. A T3SS is also used for protein export in flagellar assembly, which promotes bacterial motility. The two systems are evolutionarily related, possessing highly conserved components in their export apparatuses. Enteropathogenic Escherichia coli (EPEC) employs a T3SS, encoded by genes in the locus of enterocyte effacement (LEE) pathogenicity island, to colonize the human intestine and cause diarrheal disease. In the present work, we investigated the role of the LEE-encoded EscO protein (previously Orf15 or EscA) in T3SS biogenesis. We show that EscO shares similar properties with the flagellar FliJ and the Yersinia YscO protein families. Our findings demonstrate that EscO is essential for secretion of all categories of T3SS substrates. Consistent with its central role in protein secretion, it was found to interact with the ATPase EscN and its negative regulator, EscL, of the export apparatus. Moreover, we show that EscO stimulates EscN enzymatic activity; however, it is unable to upregulate ATP hydrolysis in the presence of EscL. Remarkably, EscO partially restored the swimming defect of a Salmonella flagellar fliJ mutant and was able to stimulate the ATPase activity of FliI. Overall, our data indicate that EscO is the virulence counterpart of the flagellar FliJ protein.