The role of harvester ants in Mediterranean grassland and scrubland has mostly focused on seed consumption. However, recent studies have reported their role as accidental dispersal agents of some of the collected seeds via refuse piles. The objective of this study is to examine the effect of the ant Messor barbarus on seed availability and dispersal of one of its major diet components, Lavandula stoechas subsp. pedunculata, in scrubland, grassland and the ecotones between them. After confirming and quantifying the Lavandula contribution to M. barbarus diet, we described the spatial and temporal patterns of pre-and post-dispersal seed predation, seed content and seedling occurrence in the refuse piles. Our results show that: (1) Lavandula propagules constitute a high proportion of the prey items collected by M. barbarus, with particularly intense collection activity in mid-summer, spring and autumn, in decreasing order. (2) Predispersal predation rate was significantly higher in the ecotone than in the scrubland (76% and 13.5% of total seed production lost respectively). (3) Season and propagule type (seed vs. fruit) were the most significant variables explaining the post-dispersal predation probability, which approached 100% of seeds after 48 h in mid-summer. (4) Viable Lavandula seeds were found in refuse piles at densities of 0.06-0.2 per g of refuse pile material, or 58.8-207.2 per refuse pile. On the one hand, these results indicate that the ecotones are most affected by M. barbarus pre-dispersal consumption, which may locally limit Lavandula colonisation. On the other hand, the small proportion of consumed seeds that is dispersed to refuse piles may be relevant at the population level, as this dispersal implies arrival at potentially favourable sites for establishment.