The evolutionary transition from unicellularity to multicellularity was a key innovation in the history of life. Experimental evolution is an important tool to study the formation of undifferentiated cellular clusters, the likely first step of this transition. Although multicellularity first evolved in bacteria, previous experimental evolution research has primarily used eukaryotes. Moreover, it focuses on mutationally driven (and not environmentally induced) phenotypes. Here we show that both Gram-negative and Gram-positive bacteria exhibit phenotypically plastic (i.e., environmentally induced) cell clustering. Under high salinity, they form elongated clusters of ~ 2 cm. However, under habitual salinity, the clusters disintegrate and grow planktonically. We used experimental evolution withEscherichia colito show that such clustering can be assimilated genetically: the evolved bacteria inherently grow as macroscopic multicellular clusters, even without environmental induction. Highly parallel mutations in genes linked to cell wall assembly formed the genomic basis of assimilated multicellularity. While the wildtype also showed cell shape plasticity across high versus low salinity, it was either assimilated or reversed after evolution. Interestingly, a single mutation could genetically assimilate multicellularity by modulating plasticity at multiple levels of organization. Taken together, we show that phenotypic plasticity can prime bacteria for evolving undifferentiated macroscopic multicellularity.