Nervous system function critically depends on continuous expression of neuron type-specific terminal identity features, such as neurotransmitter receptors, ion channels and neuropeptides. How post-mitotic neurons select and maintain their terminal identity features is poorly understood. We elucidate the mechanistic basis of this fundamental process in the context of C. elegans ventral cord cholinergic motor neurons (MNs) by uncovering a dual role for the conserved terminal selector UNC-3 (Collier/Ebf). We find that UNC-3 is continuously required, from development through adulthood, to not only activate cholinergic MN identity features, but also simultaneously prevent expression of multiple terminal features normally reserved for three other ventral cord neuron types (VD, VC, CA). However, cholinergic MNs lacking
unc-3 do not adopt a mixed identity, i.e., a composite of ectopically expressed features of those three neuron types. Instead, our single-cell analysis of an extensive repertoire of MN terminal identity markers revealed two distinct populations of
unc-3 cholinergic MNs. One population gains terminal features normally reserved for the sex-shared GABAergic VD neurons, while a second population acquires terminal features of sex-specific MNs, i.e., CA features in
unc-3 males and VC features in
unc-3 hermaphrodites. Through an unbiased genetic screen, we identified the conserved Hox protein LIN-39 (Scr/Dfd/Hox4-5) as the intermediary factor necessary for induction of both sex-shared (VD) and sex-specific (CA, VC) terminal identity features in
unc-3 mutants. Intriguingly, the dual function of UNC-3 is achieved via an unconventional mechanism. Activation of cholinergic MN terminal identity features depends on UNC-3's synergy with LIN-39. Suppression of alternative identity features (e.g., VD, VC) relies on the ability of UNC-3 to block a switch in the transcriptional targets of LIN-39, i.e., a switch from activating cholinergic MN identity genes to activating alternative identity genes. Given that terminal selectors and Hox proteins are known to be expressed in a multitude of neuron types across species, the strategy of a terminal selector preventing a Hox-mediated transcriptional switch in post-mitotic neurons may constitute a general principle for consolidating neuronal terminal identity throughout life.