Host‐associated organisms (e.g., parasites, commensals, and mutualists) may rely on their hosts for only a portion of their life cycle. The life‐history traits and physiology of hosts are well‐known determinants of the biodiversity of their associated organisms. The environmental context may strongly influence this interaction, but the relative roles of host traits and the environment are poorly known for host‐associated communities. We studied the roles of host traits and environmental characteristics affecting ant‐associated mites in semi‐natural constructed grasslands in agricultural landscapes of the Midwest USA. Mites are frequently found in ant nests and also riding on ants in a commensal dispersal relationship known as phoresy. During nonphoretic stages of their development, ant‐associated mites rely on soil or nest resources, which may vary depending on host traits and the environmental context of the colony. We hypothesized that mite diversity is determined by availability of suitable host ant species, soil detrital resources and texture, and habitat disturbance. Results showed that that large‐bodied and widely distributed ant species within grasslands support the most diverse mite assemblages. Mite richness and abundance were predicted by overall ant richness and grassland area, but host traits and environmental predictors varied among ant hosts: mites associated with Aphaenogaster rudis depended on litter depth, while Myrmica americana associates were predicted by host frequency and grassland age. Multivariate ordinations of mite community composition constructed with host ant species as predictors demonstrated host specialization at both the ant species and genus levels, while ordinations with environmental variables showed that ant richness, soil texture, and grassland age also contributed to mite community structure. Our results demonstrate that large‐bodied, locally abundant, and cosmopolitan ant species are especially important regulators of phoretic mite diversity and that their role as hosts is also dependent on the context of the interaction, especially soil resources, texture, site age, and area.