Genetic improvement of udder health in dairy cows is of high relevance as mastitis is one of the most prevalent diseases. Since it is known that the heritability of mastitis is low and direct data on mastitis cases are often not available in large numbers, auxiliary traits, such as somatic cell count (SCC) are used for the genetic evaluation of udder health. In previous studies, models to predict clinical mastitis based on mid-infrared (MIR) spectral data and a somatic cell count-derived score (SCS) were developed. Those models can provide a probability of mastitis for each cow at every test-day, which is potentially useful as an additional auxiliary trait for the genetic evaluation of udder health. Furthermore, MIR spectral data were used to estimate contents of lactoferrin, a glycoprotein positively associated with immune response. The present study aimed to estimate heritabilities (h2) and genetic correlations (ra) for clinical mastitis diagnosis (CM), SCS, MIR-predicted mastitis probability (MIRprob), MIR + SCS-predicted mastitis probability (MIRSCSprob) and lactoferrin estimates (LF). Data for this study were collected within the routine milk recording and health monitoring system of Austria from 2014 to 2021 and included records of approximately 54,000 Fleckvieh cows. Analyses were performed in two datasets, including test-day records from 5 to 150 or 5 to 305 days in milk. Prediction models were applied to obtain MIR- and SCS-based phenotypes (MIRprob, MIRSCSprob, LF). To estimate heritabilities and genetic correlations bivariate linear animal models were applied for all traits. A lactation model was used for CM, defined as a binary trait, and a test-day model for all other continuous traits. In addition to the random animal genetic effect, the fixed effects year-season of calving and parity-age at calving and the random permanent environmental effect were considered in all models. For CM the random herd-year effect, for continuous traits the random herd-test day effect and the covariate days in milk (linear and quadratic) were additionally fitted. The obtained genetic parameters were similar in both datasets. The heritability found for CM was expectedly low (h2 = 0.02). For SCS and MIRSCSprob, heritability estimates ranged from 0.23 to 0.25, and for MIRprob and LF from 0.15 to 0.17. CM was highly correlated with SCS and MIRSCSprob (ra = 0.85 to 0.88). Genetic correlations of CM were moderate with MIRprob (ra = 0.26 and 0.37) during 150 and 305 days in milk, respectively and low with LF (h2 = 0.10 and 0.11). However, basic selection index calculations indicate that the added value of the new MIR-predicted phenotypes is limited for genetic evaluation of udder health.