Two explanations exist for the evolutionary origin of grouping in primary consumers: reduction of individual predation risk and resource-mediated aggregation. While several studies have assessed relationships between aggregation and predation risk, few studies have examined the circumstances under which resource-mediated aggregation can lead to stable group formation. Using a model, we examined if forage preference alone can generate stable aggregation, and what were the circumstances of its emergence and stability. The model was a spatially explicit grazing model using empirically derived parameters to simulate large ruminant foraging in a meadow. Simulation results indicated that aggregation can spontaneously arise if grazers exhibit preference for forage of higher nutritional quality, usually associated with intermediate stages of forage growth. In this case, foragers could establish and maintain 'islands' of high quality forage as a result of revisiting continuous paths of previously grazed patches. However, aggregation was an intermittent phenomenon and occurred only within a narrow range of parameters. If grazer density was low compared to the amount of forage, the grazers' foraging paths intersected too rarely to form contiguous islands of high forage quality; if their density was too high, the entire available area was uniformly utilized and foraging movements resembled unbounded random walks. We conclude that it is difficult to conceive of the evolution of grouping without the involvement of predators, since the relationship between grazer and forage abundance is ultimately co-regulated by predator abundance, and because in modern grazers, predator avoidance and foraging behavior seem to be functionally inseparable. Future research should consider the reinforcing effects of predator avoidance as well as foraging behavior on consumer aggregation.