During the evolution of insects from a millipede-like ancestor, the Hox genes are thought to have promoted the diversification of originally identical body structures [1,2]. In Drosophila melanogaster, antennae and legs are homologous structures that differ from each other as a result of the Hox gene Antennapedia (Antp), which promotes leg identities by repressing unknown antennal-determining genes [3-7]. Here we present four lines of evidence that identify extradenticle (exd) and homothorax (hth) as antennal-determining genes. First, removing the function of exd [8,9] or hth, which is required for the nuclear localization of Exd protein , transforms the antenna into leg; such transformations occur without activation of Antp. Second, hth is expressed and Exd is nuclear in most antennal cells, whereas both are restricted to proximal cells of the leg. Third, Antp is a repressor of hth. Fourth, ectopic expression of Meis1, a murine hth homologue , can trigger antennal development elsewhere in the fly. Taken together, these data indicate that hth is an antennal selector gene, and that Antp promotes leg development by repressing hth and consequently nuclear Exd.