Toxoplasma gondii is largely transmitted to definitive felid hosts through predation. Not all prey species represent identical risks of infection for cats because of differences in prey susceptibility, exposure and/or lifespan. Previously published studies have shown that prevalence in rodent and lagomorph species is positively correlated with body mass. We tested the hypothesis that different prey species have different infection risks by comparing infection dynamics of feral cats at 4 sites in the sub-Antarctic Kerguelen archipelago which differed in prey availability. Cats were trapped from 1994 to 2004 and anti-T. gondii IgG antibodies were detected using the modified agglutination test (⩾1:40). Overall seroprevalence was 51·09%. Antibody prevalence differed between sites, depending on diet and also on sex, after taking into account the effect of age. Males were more often infected than females and the difference between the sexes tended to be more pronounced in the site where more prey species were available. A difference in predation efficiency between male and female cats may explain this result. Overall, our results suggest that the composition of prey items in cat diet influences the risk of T. gondii infection. Prey compositon should therefore be considered important in any understanding of infection dynamics of T. gondii.