A Bayesian procedure for misclassified binary data was developed. An animal breeding simulation indicated that, when error of classification was ignored, the variance between clusters was inferred incorrectly. Data were reanalyzed assuming that the probability of misclassification was either known or unknown. In the first case, input parameter values were recovered in the analysis. When the probability was unknown, there was a slight bias; the true probability of misclassification and the true number of miscoded observations appeared within high credibility regions. An analysis of fertility in dairy cows is presented.