A simple, quick and easy protocol was standardized for extraction of total DNA of the bacteria Xanthomonas axonopodis pv. phaseoli. The DNA obtained by this method had high quality and the quantity was enough for the Random Amplified Polymorphic DNA (RAPD) reactions with random primers, and Polymerase Chain Reaction (PCR) with primers of the hypersensitivity and pathogenicity gene (hrp). The DNA obtained was free of contamination by proteins or carbohydrates. The ratio 260nm/380nm of the DNA extracted ranged from 1.7 to 1.8. The hrp gene cluster is required by bacterial plant pathogen to produce symptoms on susceptible hosts and hypersensitive reaction on resistant hosts. This gene has been found in different bacteria as well as in Xanthomonas campestris pv. vesicatoria (9). The primers RST21 and RST22 (9) were used to amplify the hrp gene of nine different isolates of Xanthomonas axonopodis pv. phaseoli from Botucatu, São Paulo State, Brazil, and one isolate, "Davis". PCR amplified products were obtained in all isolates pathogenic to beans.