Direct sequencing of polymerase chain reaction (PCR) amplified DNA has been used to detect the DNA sequences for bovine beta-casein (CASB) A3 and B variants. Based on these sequences we have designed primers which create allele-specific restriction sites in the PCR product. Restriction analysis of PCR product generated in one reaction enable us to identify the A1, A2, A3 and B alleles of CASB rapidly without the use of radioactivity.