Ecological conditions and pathogen stress shape human cognition and behavior and can explain cultural and behavioral patterns cross-culturally. It has been previously shown that human values and preferences are also phenotypically plastic in response to parasitic stress across regions, and that parasite prevalence is associated with the out-group prejudice and nonconformity tolerance. Human preference for music is also variable across the world, and no previous study has considered this variability in the light of behavioral ecology. Research has shown that in the regions in which the parasite stress is higher, there is higher aversion against out-groups, and unusual and deviant behaviors. In the current study we hypothesized that extreme forms of music such as heavy metal, which is associated with antisocial behavior, irreligiosity, and deviation from the norm is less prevalent in the regions with higher prevalence of pathogenic stress. We tested our hypothesis using publicly available data measuring number and intensity of metal bands and parasite prevalence while controlling for importance of religion, human development index, and population size across European countries. Results showed that parasite stress negatively predicts the number of heavy metal bands. However, no relationship was found between the intensity of the music and parasite stress. We discussed our results in terms of association of parasite stress with tolerance to out-group members (metal community and culture) and with the openness to new musical endeavors. Overall, this study extends the role of the ecological and biological variation (parasite stress) in shaping human cognition to musical preference and prevalence.