We have compared the dorsoventral development of hemichordates and chordates to deduce the organization of their common ancestor, and hence to identify the evolutionary modifications of the chordate body axis after the lineages split. In the hemichordate embryo, genes encoding bone morphogenetic proteins (Bmp) 2/4 and 5/8, as well as several genes for modulators of Bmp activity, are expressed in a thin stripe of ectoderm on one midline, historically called "dorsal." On the opposite midline, the genes encoding Chordin and Anti-dorsalizing morphogenetic protein (Admp) are expressed. Thus, we find a Bmp-Chordin developmental axis preceding and underlying the anatomical dorsoventral axis of hemichordates, adding to the evidence from Drosophila and chordates that this axis may be at least as ancient as the first bilateral animals. Numerous genes encoding transcription factors and signaling ligands are expressed in the three germ layers of hemichordate embryos in distinct dorsoventral domains, such as pox neuro, pituitary homeobox, distalless, and tbx2/3 on the Bmp side and netrin, mnx, mox, and single-minded on the Chordin-Admp side. When we expose the embryo to excess Bmp protein, or when we deplete endogenous Bmp by small interfering RNA injections, these expression domains expand or contract, reflecting their activation or repression by Bmp, and the embryos develop as dorsalized or ventralized limit forms. Dorsoventral patterning is independent of anterior/posterior patterning, as in Drosophila but not chordates. Unlike both chordates and Drosophila, neural gene expression in hemichordates is not repressed by high Bmp levels, consistent with their development of a diffuse rather than centralized nervous system. We suggest that the common ancestor of hemichordates and chordates did not use its Bmp-Chordin axis to segregate epidermal and neural ectoderm but to pattern many other dorsoventral aspects of the germ layers, including neural cell fates within a diffuse nervous system. Accordingly, centralization was added in the chordate line by neural-epidermal segregation, mediated by the pre-existing Bmp-Chordin axis. Finally, since hemichordates develop the mouth on the non-Bmp side, like arthropods but opposite to chordates, the mouth and Bmp-Chordin axis may have rearranged in the chordate line, one relative to the other.