As the mammalian embryo develops, it must engage one of the two distinct programmes of gene activity, morphogenesis and organogenesis that characterize males and females. In males, sexual development hinges on testis determination and differentiation, but also involves many coordinated transcriptional, signalling and endocrine networks that underpin the masculinization of other organs and tissues, including the brain. Here we bring together current knowledge about these networks, identify gaps in the overall picture, and highlight the known defects that lead to disorders of male sexual development.