When two different strains of swarming Proteus mirabilis encounter one another on an agar plate, swarming ceases and a visible line of demarcation forms. This boundary region is known as the Dienes line and is associated with the formation of rounded cells. While the Dienes line appears to be the product of distinction between self and nonself, many aspects of its formation and function are unclear. In this work, we studied Dienes line formation using clinical isolates labeled with fluorescent proteins. We show that round cells in the Dienes line originate exclusively from one of the swarms involved and that these round cells have decreased viability. In this sense one of the swarms involved is dominant over the other. Close cell proximity is required for Dienes line formation, and when strains initiate swarming in close proximity, the dominant Dienes type has a significant competitive advantage. When one strain is killed by UV irradiation, a Dienes line does not form. Killing of the dominant strain limits the induction of round cells. We suggest that both strains are actively involved in boundary formation and that round cell formation is the result of a short-range killing mechanism that mediates a competitive advantage, an advantage highly specific to the swarming state. Dienes line formation has implications for the physiology of swarming and social recognition in bacteria.The gram-negative bacterium Proteus mirabilis is well known for its ability to differentiate into hyperflagellated, motile, and elongated swarmer cells that rapidly spread over a surface. When cultured on a nutrient agar plate, a strain of P. mirabilis typically is able to colonize the whole plate within 24 h. This phenomenon is both of interest in terms of the differentiation and survival strategy of the organism and of practical importance, as contamination of agar plates by swarming P. mirabilis is a common problem in diagnostic microbiology. When two different strains of P. mirabilis swarm on the same agar plate, a visible demarcation line with lower cell density forms at the intersection, and this line is known as a Dienes line (5, 6). A Dienes line is seen when both strains are swarming; it is not a property of the smaller vegetative cells (5). When two identical isolates meet, the swarming edges merge without formation of a Dienes line. This phenomenon has been used in epidemiological typing of clinical isolates (4,20,23,28) and raises interesting questions concerning its mechanism and biological importance. Dienes typing in the clinical environment suggests that the number of Dienes types is large; 81 types were found in one study alone (25).