This invention relates to a method for determining whether a bovine animal possesses a gene for �-casein A2 or the gene for �-casein A1 in its milk by testing the DNA of the bovine animal for the presence of at least one DNA marker (excluding those DNA markers present in the sequence of the genes themselves). In particular, the method uses SNPs as DNA markers for the �-casein A2 and �- casein A1 genes.