Researchers have developed a new method for studying bacterial swimming, one that allows them to trap Escherichia coli bacteria and modify the microbes’ environment without hindering the way they move. The new approach uses optical traps, microfluidic chambers and fluorescence to get an improved picture of how E. coli get around.