Complex evolutionary dynamics have produced extensive variation in brain anatomy in the animal world. In guppies,
Poecilia reticulata
, brain size and anatomy have been extensively studied in the laboratory contributing to our understanding of brain evolution and the cognitive advantages that arise with brain anatomical variation. However, it is unclear whether these laboratory results can be translated to natural populations. Here, we study brain neuroanatomy and its relationship with sexual traits across 18 wild guppy populations in diverse environments. We found extensive variation in female and male relative brain size and brain region volumes across populations in different environment types and with varying degrees of predation risk. In contrast with laboratory studies, we found differences in allometric scaling of brain regions, leading to variation in brain region proportions across populations. Finally, we found an association between sexual traits, mainly the area of black patches and tail length, and brain size. Our results suggest differences in ecological conditions and sexual traits are associated with differences in brain size and brain regions volumes in the wild, as well as sexual dimorphisms in the brain's neuroanatomy.