The objective of this study was to estimate heritabilities for and genetic correlations among different pathogen-specific mastitis traits. The traits were unspecific mastitis, which is all mastitis treatments regardless of the causative pathogen as well as mastitis caused by Streptococcus dysgalactiae, Escherichia coli, coagulase-negative staphylococci (CNS), Staphylococcus aureus and Streptococcus uberis. Also groups of pathogens were investigated, Gram-negative v. Gram-positive and contagious v. environmental pathogens. Data from 168 158 Danish Holstein cows calving first time between 1998 and 2006 were used in the analyses. Variances and covariances were estimated using uni- and bivariate threshold models via Gibbs sampling. Posterior means of heritabilities of pathogen-specific mastitis were lower than the heritability of unspecific mastitis, ranging from 0.035 to 0.076 for S. aureus and S. uberis, respectively. The heritabilities of groups of pathogen ranged from 0.053 to 0.087. Genetic correlations among the pathogen-specific mastitis traits ranged from 0.45 to 0.77. These estimates tended to be lowest for bacteria eliciting very different immune responses, which can be considered as the overall pleiotropic effect of genes affecting resistance to a specific pathogen, and highest for bacteria sharing characteristics regarding immune response. The genetic correlations between the groups of pathogens were high, 0.73 and 0.83. Results showed that the pathogen-specific traits used in this study should be considered as different traits. Genetic evaluation for pathogen-specific mastitis resistance may be beneficial despite lower heritabilities than unspecific mastitis because a pathogen-specific mastitis trait is a direct measure of an udder infection, and because the cost of a mastitis case caused by different pathogens has been shown to differ greatly. Sampling bias may be present because there were not pathogen information on all mastitis treatments and because some farms do not record pathogen information. Therefore, improved recording of pathogen information and mastitis treatments in general is critical for a successful genetic evaluation of udder health. Also, economic values have to be specified for each pathogen-specific trait separately.