Serial measurements of three milkability traits from two commercial dairy farms in Germany were used to estimate heritabilities and breeding values (BVs). Overall, 6352 cows in first, second and third lactations supplied 2 188 810 records based on daily values recorded from 1998 to 2003. Only the records between day 8 and day 305 after calving were considered. The estimated genetic correlations between different parities within the three milkability traits ranged from rg = 0.88 to 0.98, i.e. they were sufficiently high to warrant a repeatability model. The resulting estimated heritability coefficients were h2 = 0.42 for average milk flow, h2 = 0.56 for maximum milk flow and h2 = 0.38 for milking time. We analysed the genetic correlation between milkability and somatic cell score (SCS) and between milkability and the liability to mastitis, respectively, as the optimum milk flow for udder health is not well defined. There were 66 146 records with information on somatic cell count. Furthermore, 23 488 days of medical treatment for udder diseases were available, resulting in 2 600 302 days of observation in total. Heritabilities for the liability to mastitis, estimated with a test-day threshold model, were h2 = 0.19 and h2 = 0.13, depending on the data-recording period (first 50 days of lactation and first 305 days of lactation, respectively). With respect to the relationship between milkability and udder health, the results indicated a slight and linear correlation insofar as one can assume: the higher the milk flow, the worse the udder health. For this reason, bulls and cows with high BVs for milk flow should be excluded from breeding to avoid a deterioration of udder health. The establishment of a special data-recording scheme for functional traits such as milkability and mastitis on commercial dairy farms may be possible according to these results.