The study of sex differences in the brain is a topic of neuroscientific study that has broad reaching implications for culture, society and biomedical science. Recent research in rodent models has led to dramatic shifts in our views of the mechanisms underlying the sexual differentiation of the brain. These include the surprising discoveries of a role for immune cells and inflammatory mediators in brain masculinization and a role for epigenetic suppression in brain feminization. How and to what degree these findings will translate to human brain development will be questions of central importance in future research in this field.