An interplay of transcription factors interprets signalling pathways to define anteroposterior positions along the vertebrate axis. In the hindbrain, these transcription factors prompt the position-appropriate appearance of seven to eight segmental structures, known as rhombomeres (r1-r8). The evolutionarily conserved Cdx caudal-type homeodomain transcription factors help specify the vertebrate trunk and tail but have not been shown to directly regulate hindbrain patterning genes. Mafb (Kreisler, Krml1, valentino), a basic domain leucine zipper transcription factor, is required for development of r5 and r6 and is the first gene to show restricted expression within these two segments. The homeodomain protein vHnf1 (Hnf1b) directly activates Mafb expression. vHnf1 and Mafb share an anterior expression limit at the r4/r5 boundary but vHnf1 expression extends beyond the posterior limit of Mafb and, therefore, cannot establish the posterior Mafb expression boundary. Upon identifying regulatory sequences responsible for posterior Mafb repression, we have used in situ hybridization, immunofluorescence and chromatin immunoprecipitation (ChIP) analyses to determine that Cdx1 directly inhibits early Mafb expression in the neural tube posterior of the r6/r7 boundary, which is the anteriormost boundary of Cdx1 expression in the hindbrain. Cdx1 dependent repression of Mafb is transient. After the 10-somite stage, another mechanism acts to restrict Mafb expression in its normal r5 and r6 domain, even in the absence of Cdx1. Our findings identify Mafb as one of the earliest direct targets of Cdx1 and show that Cdx1 plays a direct role in early hindbrain patterning. Thus, just as Cdx2 and Cdx4 govern the trunk-to-tail transition, Cdx1 may regulate the hindbrain-to-spinal cord transition.