The relative benefits of group foraging change as animals grow. Metabolic requirements, competitive abilities and predation risk are often allometric and influenced by group size. How individuals optimise costs and benefits as they grow can strongly influence consumption patterns. The shoaling fish Sarpa salpa is the principal herbivore of temperate Posidonia oceanica seagrass meadows. We used in-situ observations to describe how ontogeny influenced S. salpa individual feeding behaviour, shoaling behaviour and group foraging strategies, and its potential consequences to seagrass meadows. Shoaling was strongly influenced by body length: shoals were highly length-assorted and there was a clear positive relationship between body length and shoal size. Foraging strategies changed dramatically with shoal size. Small shoals foraged simultaneously and scattered over large areas. In contrast, larger shoals (made of larger individuals) employed a potentially cooperative strategy where individuals fed rotationally and focused in smaller areas for longer times (spot feeding). Thus, as individuals grew, they increased their potential impact as well, not merely because they consumed more, but because they formed larger shoals capable of considerably concentrating their grazing within the landscape. Our results indicate that ontogenetic shifts in group foraging strategies can have large ecosystem-wide consequences when the species is an important ecosystem modifier. While feeding in groups has clear immediate and evolutionary advantages, it is not without its challenges 1. The benefits of locating resources, facilitating consumption and diluting predation risk have to be offset against strong competitive pressures within the group, particularly when resources are scarce 2,3. For herbivores that spend a good portion of their time either trying to find food or feeding, group foraging has additional advantages. For one, it increases the success of finding feeding sites-either because there are more eyes to search, or because some individuals are better experienced 4. Once a resource is found, cooperative feeding can also maximize the foraging efficiency of the group 5,6. Feeding is a particularly risky activity in predator-prone areas, and groups help both to dilute the risk of individual predation as well to increase overall group vigilance 7-9. However, as the size of the group increases, so do the costs of joining it 10. For instance, the increased vigilance and dilution that groups provide needs to be balanced against higher conspicuousness as groups grow 11 ; odd sized individuals or those in a weak physical state may be easy pickings in larger groups 12-14. Also, in resource-limited environments, group foraging can enhance intraspecific competition 2,3. How individuals optimise costs and benefits is linked to the size, composition and behaviour of the group 8,10 , and can determine how key functions are distributed across the habitat. Large herbivore aggregations can radically modify vegetation structure 15,16 , leading, in...