ABSTRACT: Swarming on rigid surfaces requires movement of cells as individuals and as a group of cells. For the bacterium Proteus mirabilis, an individual cell can respond to a rigid surface by elongating and migrating over micrometer-scale distances. Cells can form groups of transiently aligned cells, and the collective population is capable of migrating over centimeter-scale distances. To address how P. mirabilis populations swarm on rigid surfaces, we asked whether cell elongation and single-cell motility are coupled to population migration. We first measured the relationship between agar concentration (a proxy for surface rigidity), single-cell phenotypes, and swarm colony phenotypes. We find that cell elongation and single-cell motility are coupled with population migration on low-percentage hard agar (1% to 2.5%) and become decoupled on high-percentage hard agar (>2.5%). Next, we evaluate how disruptions in lipopolysaccharide (LPS), specifically the O-antigen components, affect responses to hard agar. We find that LPS is not essential for elongation and motility of individual cells, as predicted, and instead functions to broaden the range of agar concentrations on which cell elongation and motility are coupled with population migration. These findings demonstrate that cell elongation and motility are coupled with population migration under a permissive range of surface conditions; increasing agar concentration is sufficient to decouple these behaviors. Since swarm colonies cover greater distances when these steps are coupled than when they are not, these findings suggest that collective interactions among P. mirabilis cells might be emerging as a colony expands outwards on rigid surfaces.IMPORTANCE How surfaces influence cell size, cell-cell interactions, and population migration for robust swarmers like P. mirabilis is not fully understood. Here, we have elucidated how cells change length along a spectrum of sizes that positively correlates with increases in agar concentration, regardless of population migration. Single-cell phenotypes can be decoupled from collective population migration simply by increasing agar concentration. A cell's lipopolysaccharides function to broaden the range of agar conditions under which cell elongation and single-cell motility remain coupled with population migration. In eukaryotes, the physical environment, such as a surface matrix, can impact cell development, shape, and migration. These findings support the idea that rigid surfaces similarly act on swarming bacteria to impact cell shape, single-cell motility, and collective population migration.