Automatic milking systems using in-line measurements of markers for mastitis offer new possibilities for cheap and readily assessment of mastitis treatment efficacy. The aim was to evaluate the potential of daily measurements of in-line composite somatic cell count, using DeLaval Online Cell Counter (OCC), to assess treatment efficacy in cows with subclinical Staphylococcus aureus mastitis. 34 cows infected with S. aureus were randomly allocated to one of three treatment regimens. A cow was only classified as cured if no S. aureus was present in any of the quarters on day 7, 14, 28 and 56 after treatment. Daily measurements of OCC were compared between cured and non-cured cows, using summarization of the measurements over different time periods. Eighteen cows were classified as cured and sixteen as not cured based on bacteriology. The OCC of cured cows (101,000 cells/ml) were significantly lower than for cows not cured (262,000 cells/ml) (P<0,001). Using a three day average of OCC with a cut off value at 200,000 cells/ml was a reliable tool to predict bacteriological cure at day 56 from day 13 and onwards. The sensitivity compared to the four repeated bacteriological tests were 1.00, the specificity 0.86 and the accuracy 84%. However this was not reliable if the OCC of the cow before treatment was below 200,000 cells/ml. The study indicates that calculating a three day average with a cut off value at 200,000 cells/ml and visual inspection of the individual OCC plots can be used as cheap and readily available methods to evaluate treatment efficacy soon after treatment.