Test-day records for average flow rate (AFR) from the routine dairy recording from Bavarian Fleckvieh cows were analysed. Two data sets with observations on approximately 20 000 cows each were sampled from the total data set. For the estimation of variance parameters, a two-step approach was applied. In a first step multiple-trait restricted maximum likelihood (REML) analyses were carried out. For each of the first three lactations, six time periods with up to 33 days were defined. An algorithm for iterative summing of expanded part matrices was applied in order to combine the estimates. In a second step covariance functions (CF) for additive-genetic variances and non-genetic animal variances were derived using second-order Legendre polynomials plus an exponential term. Estimates of test-day heritability for AFR ranged from 0.21 to 0.40, and were largest in lactation 1. For lactations 1 and 3, heritabilities decreased considerably towards the end of lactation. Genetic correlation estimates within lactation decreased as the distance between days in milk (DIM) increased. Genetic correlations between corresponding DIM in the three lactations were generally large, ranging from 0.80 to 0.99. The largest estimates were found between DIM from lactations 2 and 3. Results from this study suggest that including AFR data from second and third lactations in genetic evaluation systems could the improve accuracy of genetic selection.