During organogenesis of the C. elegans digestive system, epithelial cells within a cyst-like primordium develop diverse shapes through largely unknown mechanisms. We here analyze two adjacent, dorsal epithelial cells, called pm8 and vpi1, that remodel their shapes and apical junctions to become donut-shaped, or toroidal, single-cell tubes. pm8 and vpi1 delaminate from the dorsal cyst epithelium and migrate ventrally, across the midline of the cyst, on a transient tract of laminin. pm8 appears to encircle the midline by wrapping around finger-like projections from neighboring cells. Finally, pm8 and vpi1 self-fuse to become toroids by expressing AFF-1 and EFF-1, two fusogens that are each sufficient to promote crossfusion between other cell types. Notch signaling in pm8 induces AFF-1 expression, while simultaneously repressing EFF-1 expression; vpi1 expresses EFF-1 independent of Notch. Thus, the adjacent pm8 and vpi1 cells express different fusogens, allowing them to self-fuse into separate, single-cell tubes while avoiding crossfusion.