Grazing has therefore resulted in marked impacts on Australia’s plants, soils and biota. Here, we focus on the effects of grazing history (long-ungrazed, recently ungrazed and long-grazed sites) and grazing pressure (using distance from water as a proxy) on both aboveground and belowground foraging ant communities in a semi-arid woodland. Grazing history had a stronger effect than grazing pressure, but only on aboveground communities. Richness of aboveground foraging ants was greatest at long-grazed sites and least at long-ungrazed sites. There were no direct effects of grazing pressure on overall richness of aboveground or belowground foraging ants, and increased grazing pressure was associated only with greater richness of aboveground Hot Climate Specialists. Grazing history and pressure were associated with strong indirect suppressive effects on aboveground ant richness via reductions in biocrust or litter cover, but there were no clear or significant associations for belowground communities. Our study suggests that the history of grazing provides a better indicator of ant richness and community structure than pressure associated with proximity to water sources. Belowground foraging ant communities are unlikely to be influenced by livestock grazing under the conditions experienced in this study.