An approach combining single-cell imaging, agent-based simulations, and continuum mechanics theory is used to observe the effect of environmental stiffness on biofilm development. These measurements indicate that confined biofilms behave as active nematics, i…