Relatively little is known about the neural circuitry underlying sex-specific behaviors. We have expressed the feminizing gene transformer in genetically defined subregions of the brain of male Drosophila, and in particular within different domains of the mushroom bodies. Mushroom bodies are phylogenetically conserved insect brain centers implicated in associative learning and various other aspects of behavior. Expression of transformer in lines that mark certain subsets of mushroom body intrinsic neurons, and in a line that marks a component of the antennal lobe, causes males to exhibit nondiscriminatory sexual behavior: they court mature males in addition to females. Expression of transformer in other mushroom body domains, and in control lines, has no such effect. Our data support the view that genetically defined subsets of mushroom body intrinsic neurons perform different functional roles.