BackgroundParasites can exert selection pressure on their hosts through effects on survival, on reproductive success, on sexually selected ornament, with important ecological and evolutionary consequences, such as changes in population viability. Consequently, hemoparasites have become the focus of recent avian studies. Infection varies significantly among taxa. Various factors might explain the differences in infection among taxa, including habitat, climate, host density, the presence of vectors, life history and immune defence. Feeding behaviour can also be relevant both through increased exposure to vectors and consumption of secondary metabolites with preventative or therapeutic effects that can reduce parasite load. However, the latter has been little investigated. Psittaciformes (parrots and cockatoos) are a good model to investigate these topics, as they are known to use biological control against ectoparasites and to feed on toxic food. We investigated the presence of avian malaria parasites (Plasmodium), intracellular haemosporidians (Haemoproteus, Leucocytozoon), unicellular flagellate protozoans (Trypanosoma) and microfilariae in 19 Psittaciformes species from a range of habitats in the Indo-Malayan, Australasian and Neotropical regions. We gathered additional data on hemoparasites in wild Psittaciformes from the literature. We considered factors that may control the presence of hemoparasites in the Psittaciformes, compiling information on diet, habitat, and climate. Furthermore, we investigated the role of diet in providing antiparasitic secondary metabolites that could be used as self-medication to reduce parasite load.ResultsWe found hemoparasites in only two of 19 species sampled. Among them, all species that consume at least one food item known for its secondary metabolites with antimalarial, trypanocidal or general antiparasitic properties, were free from hemoparasites. In contrast, the infected parrots do not consume food items with antimalarial or even general antiparasitic properties. We found that the two infected species in this study consumed omnivorous diets. When we combined our data with data from studies previously investigating blood parasites in wild parrots, the positive relationship between omnivorous diets and hemoparasite infestation was confirmed. Individuals from open habitats were less infected than those from forests.ConclusionsThe consumption of food items known for their secondary metabolites with antimalarial, trypanocidal or general antiparasitic properties, as well as the higher proportion of infected species among omnivorous parrots, could explain the low prevalence of hemoparasites reported in many vertebrates.Electronic supplementary materialThe online version of this article (10.1186/s13071-018-2940-3) contains supplementary material, which is available to authorized users.