In this chapter, I examine the evidence for a role for the preeminent selection pressure, ecology, in shaping animal brains and in causing changes in brain size within and among species. I describe what ‘ecology’ has meant in comparative analyses, e.g. foraging, range size, and life history variables. I provide evidence for a clear association between ecology and the size of sensory-motor brain regions and go on to use the relationship between space and the hippocampus to show the generality of this relationship beyond food storing. I discuss the strength of the data showing that migration, foraging, and domestication have caused changes in brain size. I conclude that while there is evidence of domestication, in particular, having changed whole brain size, it is at the level of brain regions that there is overwhelming evidence for an effect of ecology on brain size.