Phaseolus vulgaris is the most legume cultivated in the world; in Mexico, it is considered the second most important crop after corn. The aim of this research was to determine the characteristics of Xanthomonas campestris strain “Xcf1-APJR” isolated from the leaves of bean crops, and determine the antimicrobial activity of cinnabarin on this strain. Bacterial cultures were obtained from leaves with necrotic leaf spot symptoms of bean plant variety “Flor de Mayo M38” in Puebla, Mexico. The antimicrobial activity of cinnabarin was tested at 7, 14 and 21 days on X. campestris pv. campestris. The Xcf1-APJR strain showed 100% identity with X. campestris pv. campestris as a causal agent of necrotic leaf spot. Treatment with a potato dextrose medium with a dehydrated sugar cane (PDA+C) showed a higher orange pigmentation than the other treatments after 7, 14 and 21 days of incubation and a higher concentration of cinnabarin (54.33 InU/g) with in vitro antimicrobial activity against X. campestris pv. campestris.