Rarely, E. coli may be passed from one person to another. If someone with an E. coli infection doesn't wash his or her hands after going to the bathroom, the bacteria can be transferred to objects touched by that person. Anyone who touches these objects may become infected.