- Open Access
Bacterial Motility Patterns Vary Smoothly with Spatial Confinement and Disorder
PRX Life 4, 013002 – Published 6 January, 2026
DOI: https://doi.org/10.1103/7hgr-pssv
Abstract
In unconfined environments, bacterial motility patterns directly reflect the internal states of the cell. Bacteria operating a run-and-tumble behavioral program swim forward when in a “run” state, and they are stalled in place when in a reorienting “tumble” state. However, in natural environments, motility dynamics are a convolution of bacterial behavior and physical constraints. Recent investigations showed that Escherichia coli swimming through highly confined porous media exhibit extended periods of “trapping” punctuated by forward “hops,” suggesting a potential shift in motility strategy. We introduce a microfluidic device to systematically explore bacterial movement in a range of spatially structured environments, bridging the extremes of unconfined and highly confined conditions. We show that run-and-tumble and hop-and-trap are not distinct locomotive modes, but end points of a continuous spectrum of motility. We present the first unifying framework, “swim-and-stall”, to characterize this continuum of observed motility patterns. We demonstrate that a single control program underlies motility across all environments tested—that is, physical structure alone shapes changes in observed output. Our results establish a quantitative link between behavioral rules and environmental context, and show that E. coli can navigate dynamic, complex habitats without reprogramming their motility strategy. This robustness may explain the evolutionary persistence of run-and-tumble behavior in a diverse range of peritrichously flagellated bacteria and inform broader models of active transport in structured media.
Physics Subject Headings (PhySH)
Collections
This article appears in the following collection:

PRX Life Collection on adaptation and learning
PRX Life presents a special collection on ‘Biological systems that learn’, curated by the organizers of the National Institute for Theory and Mathematics in Biology (NITMB) workshop together with early-career researchers. The papers in this collection illustrate how living systems acquire functions, showing it is useful to describe them as tunable matter with many individually adjustable degrees of freedom characterizing microscopic properties. Drawing inspiration from AI and non-biological systems that can acquire desired functions, the featured research highlights the timeliness of the topic and its potential to drive unifying frameworks for emergent collective function in living tunable matter.
Every article in this collection is subject to a rigorous peer review process, upholding the high standards applied to all papers in the journal. The PRX Life editorial team manages peer review and makes all editorial decisions.
Article Text
Supplemental Material
References (50)
- L. Turner, W. S. Ryu, and H. C. Berg, Real-Time imaging of fluorescent flagellar filaments, J. Bacteriol. 182, 2793 (2000).
- E. coli in Motion, Biological and Medical Physics, Biomedical Engineering, edited by H. C. Berg (Springer, New York, 2004).
- L. Xie, T. Altindal, S. Chattopadhyay, and X.-L. Wu, Bacterial flagellum as a propeller and as a rudder for efficient chemotaxis, Proc. Natl. Acad. Sci. USA 108, 2246 (2011).
- M. Tian, Z. Wu, R. Zhang, and J. Yuan, A new mode of swimming in singly flagellated pseudomonas aeruginosa, Proc. Natl. Acad. Sci. USA 119, e2120508119 (2022).
- N. Wadhwa and H. C. Berg, Bacterial motility: Machinery and mechanisms, Nat. Rev. Microbiol. 20, 161 (2022).
- L. Craig, K. T. Forest, and B. Maier, Type IV pili: Dynamics, biophysics and functional consequences, Nat. Rev. Microbiol. 17, 429 (2019).
- A. J. Wolfe and H. C. Berg, Migration of bacteria in semisolid agar, Proc. Natl. Acad. Sci. USA 86, 6973 (1989).
- O. A. Croze, G. P. Ferguson, M. E. Cates, and W. C. Poon, Migration of chemotactic bacteria in soft agar: Role of gel concentration, Biophys. J. 101, 525 (2011).
- T. Bhattacharjee and S. S. Datta, Bacterial hopping and trapping in porous media, Nat. Commun. 10, 2075 (2019).
- T. Bhattacharjee and S. S. Datta, Confinement and activity regulate bacterial motion in porous media, Soft Matter 15, 9920 (2019).
- N. Figueroa-Morales, R. Soto, G. Junot, T. Darnige, C. Douarche, V. A. Martinez, A. Lindner, and E. Clement, 3D spatial exploration by e. Coli echoes motor temporal variability, Phys. Rev. X 10, 021004 (2020).
- N. Fatin-Rouge, K. Starchev, and J. Buffle, Size effects on diffusion processes within agarose gels, Biophys. J. 86, 2710 (2004).
- J. M. Zalc, S. C. Reyes, and E. Iglesia, The effects of diffusion mechanism and void structure on transport rates and tortuosity factors in complex porous structures, Chem. Eng. Sci. 59, 2947 (2004).
- W. B. Lindquist, A. Venkatarangan, J. Dunsmuir, and T.-f. Wong, Pore and throat size distributions measured from synchrotron X-ray tomographic images of fontainebleau sandstones, J. Geophys. Res.: Solid Earth 105, 21509 (2000).
- C. Jin and A. Sengupta, Microbes in porous environments: From active interactions to emergent feedback, Biophys. Rev. 16, 173 (2024).
- K. Namba, I. Yamashita, and F. Vonderviszt, Structure of the core and central channel of bacterial flagella, Nature (London) 342, 648 (1989).
- J. A. Nirody, Y.-R. Sun, and C.-J. Lo, The biophysicist's guide to the bacterial flagellar motor, Adv. Phys.: X 2, 324 (2017).
- M. Sim et al., Growth rate control of flagellar assembly in escherichia coli strain RP437, Sci. Rep. 7, 41189 (2017).
- See Supplemental Material at http://link.aps.org/supplemental/10.1103/7hgr-pssv for Figs. S1–S14 and Movies S1–S3.
- S. Chattopadhyay, R. Moldovan, C. Yeung, and X. L. Wu, Swimming efficiency of bacterium escherichia coli, Proc. Natl. Acad. Sci. USA 103, 13712 (2006).
- A. M. Berezhkovskii, L. Dagdug, and S. M. Bezrukov, Discriminating between anomalous diffusion and transient behavior in microheterogeneous environments, Biophys. J. 106, L09 (2014).
- M. Ernst et al., A model for the transient subdiffusive behavior of particles in mucus, Biophys. J. 112, 172 (2017).
- E. Yamamoto, T. Akimoto, M. Yasui, and K. Yasuoka, Origin of subdiffusion of water molecules on cell membrane surfaces, Sci. Rep. 4, 4720 (2014).
- M. J. Saxton, A biological interpretation of transient anomalous subdiffusion. I. Qualitative model, Biophys. J. 92, 1178 (2007).
- A. Dehkharghani, N. Waisbord, and J. S. Guasto, Self-transport of swimming bacteria is impaired by porous microstructure, Commun. Phys. 6, 18 (2023).
- P. Levitz and D. Tchoubar, Disordered porous solids: From chord distributions to small angle scattering, J. Phys. I 2, 771 (1992).
- T. Jakuszeit, O. A. Croze, and S. Bell, Diffusion of active particles in a complex environment: Role of surface scattering, Phys. Rev. E 99, 012610 (2019).
- S. Anand, X. Ma, S. Guo, S. Martiniani, and X. Cheng, Transport and energetics of bacterial rectification, Proc. Natl. Acad. Sci. USA 121, e2411608121 (2024).
- M. Heo et al., Impact of fluorescent protein fusions on the bacterial flagellar motor, Sci. Rep. 7, 12583 (2017).
- S. Rashid et al., Adjustment in tumbling rates improves bacterial chemotaxis on obstacle-laden terrains, Proc. Natl. Acad. Sci. USA 116, 11770 (2019).
- T. Fenchel, Microbial behavior in a heterogeneous world, Science 296, 1068 (2002).
- H. H. Mattingly, Coarse-graining bacterial diffusion in disordered media to surface states, Proc. Natl. Acad. Sci. USA 122, e2407313122 (2025).
- T. Pietrangeli, R. Foffi, R. Stocker, C. Ybert, C. Cottin-Bizonne, and F. Detcheverry, Universal law for the dispersal of motile microorganisms in porous media, Phys. Rev. Lett. 134, 188303 (2025).
- Y. Bai et al., Optimal run-tumble navigation in disordered landscapes, arXiv:2510.12106.
- R. Stocker, J. R. Seymour, A. Samadani, D. E. Hunt, and M. F. Polz, Rapid chemotactic response enables marine bacteria to exploit ephemeral microscale nutrient patches, Proc. Natl. Acad. Sci. USA 105, 4209 (2008).
- C. Martínez-Pérez, S. T. Zweifel, R. Pioli, and R. Stocker, Space, the final frontier: The spatial component of phytoplankton–bacterial interactions, Mol. Microbiol. 122, 331 (2024).
- J. B. Lynch et al., Transitioning to confined spaces impacts bacterial swimming and escape response, Biophys. J. 121, 2653 (2022).
- C. Lohrmann and C. Holm, Optimal motility strategies for self-propelled agents to explore porous media, Phys. Rev. E 108, 054401 (2023).
- M. K. Montgomery and M. McFall-Ngai, Embryonic development of the light organ of the sepiolid squid euprymna scolopes berry, Biol. Bull. 184, 296 (1993).
- T. Essock-Burns, C. Bongrand, W. E. Goldman, E. G. Ruby, and M. J. McFall-Ngai, Interactions of symbiotic partners drive the development of a complex biogeography in the squid-vibrio symbiosis, mBio 11, e00853-20 (2020).
- M. Raatz, M. Hintsche, M. Bahrs, M. Theves, and C. Beta, Swimming patterns of a polarly flagellated bacterium in environments of increasing complexity, Eur. Phys. J.: Spec. Top. 224, 1185 (2015).
- V. Tokárová et al., Patterns of bacterial motility in microfluidics-confining environments, Proc. Natl. Acad. Sci. USA 118, e2013925118 (2021).
- X.-Y. Zhuang, C.-K. Tseng, and C.-J. Lo, Viscosity-dependent swimming patterns assist aliivibrio fischeri for symbiont partner finding, Phys. Rev. Res. 6, 033214 (2024)
- M. Grognot, J. W. Nam, L. E. Elson, and K. M. Taute, Physiological adaptation in flagellar architecture improves vibrio alginolyticus chemotaxis in complex environments, Proc. Natl. Acad. Sci. USA 120, e2301873120 (2023).
- R. O. Schlechter et al., Chromatic bacteria–a broad host-range plasmid and chromosomal insertion toolbox for fluorescent protein expression in bacteria, Front. Microbiol. 9, 3052 (2018).
- J.-Y. Tinevez et al., TrackMate: An open and extensible platform for single-particle tracking, Methods 115, 80 (2017).
- GitHub repository (2025), https://github.com/Seashell520/MotilityContinuum.git.
- https://www.dropbox.com/scl/fo/sfdxub50ny3niq647s0m1/AP2umhdJng3Pm1bxp02KQpc?rlkey=xad6wdjedgs7uwg8h2ty53sz0&st=9ozcb7om&dl=0
- L. J. Galindo, T. A. Richards, and J. A. Nirody, Evolutionarily diverse fungal zoospores show contrasting swimming patterns specific to ultrastructure, Curr. Biol. 34, 4567 (2024).
- P. Virtanen et al., SciPy 1.0: Fundamental algorithms for scientific computing in python, Nat. Methods 17, 261 (2020).