The homeodomain is a highly conserved structural module that binds DNA and participates in protein-protein interactions. Most homeodomains contain residues at positions 47 and 51 which mediate recognition of a TAAT core binding sequence in the major groove. The constraints imposed on the identity of these residues by homeodomain structure and DNA docking have been examined in the context of the POU domain of the Oct-1 transcription factor. A bacterial library, in which POU homeodomain residues 47 and 51 have been randomized, was probed on nitrocellulose filters for the binding of DNA fragments containing the consensus octamer sequence. The residues which provide for the highest affinity interaction with the octamer consensus sequence, and the greatest specificity, are the highly conserved wild-type residues valine 47 and asparagine 51. Interestingly, a class of variants containing arginine at position 51 was also detected in the screen and found to have moderate affinity for the consensus sequence but reduced specificity compared to the wild-type protein. A single variant containing arginine at both positions 47 and 51 was detected when the library was probed with fragments containing nucleotide substitutions at positions expected to be contacted by residues 47 and 51. This variant was used to alter the DNA-binding specificity of a transcriptional regulatory complex which depends upon Oct-1 for DNA recognition. These findings suggest that homeodomain structure and DNA docking constrain in the versatility of the domain in that only a limited set of amino acid determinants can endow the domain with specific, high-affinity DNA binding.