Groucho and Tup1 are members of a conserved family of WD repeat proteins that interact with specific transcription factors to repress target genes. Here we show that mutations in WD domains of the Groucho-like protein, UNC-37, affect a motor neuron trait that also depends on UNC-4, a homeodomain protein that controls neuronal specificity in Caenorhabditis elegans. In unc-4 mutants, VA motor neurons assume the pattern of synaptic input normally reserved for their lineal sister cells, the VB motor neurons; the loss of normal input to the VAs produces a distinctive backward movement defect. Substitution of a conserved residue (H to Y) in the fifth WD repeat in unc-37(e262) phenocopies the Unc-4 movement defect. Conversely, an amino acid change (E to K) in the sixth WD repeat of UNC-37 is a strong suppressor of unc-37(e262) and of specific unc-4 missense mutations. We have previously shown that UNC-4 expression in the VA motor neurons specifies the wild-type pattern of presynaptic input. Here we demonstrate that UNC-37 is also expressed in the VAs and that unc-37 activity in these neurons is sufficient to restore normal movement to unc-37(e262) animals. We propose that UNC-37 and UNC-4 function together to prevent expression of genes that define the VB pattern of synaptic inputs and thereby generate connections specific to the VA motor neurons. In addition, we show that the WD repeat domains of UNC-37 and of the human homolog, TLE1, are functionally interchangeable in VA motor neurons which suggests that this highly conserved protein domain may also specify motor neuron identity and synaptic choice in more complex nervous systems.