The aim of the study was to evaluate the interference of acid and alkaline detergents employed in the cleaning of milking equipment of caprine dairy farms on the performance of microbial tests used in antibiotic control (BRT MRL, Delvotest MCS, and Eclipse 100). Eight concentrations of commercial detergents, five acid (0–0·25%) and five alkaline (0–1%) were add to antimicrobial-free goat's milk to evaluate the detergent effect on the response of microbial inhibitor tests. To evaluate the effect of detergents on the detection capability of microbial tests two detergents at 0·5 ml/l (one acid and one basic) and eight concentrations of four β-lactam antibiotics (ampicillin, amoxicillin, cloxacillin and benzylpenicillin) were used. Milk without detergents was used as control. The spiked samples were analysed twelve times by three microbial tests. The results showed that the presence of acid detergents did not affect the response of microbial tests for any of the concentrations tested. However, at concentrations equal to or greater than 2 ml/l alkaline detergents positive results were found in microbial tests (16·7–100%). The detection limits of the screening tests for penicillins were not modified substantially by the presence of detergents. In general, the presence of acid and alkaline detergents in goat's milk did not produce a great interference in the microbial tests, only high concentrations of detergents could cause non-compliant results, but these concentrations are difficult to find in practice if proper cleaning procedures are applied in goat dairy farms.