The invention discloses a new application of quinolone compounds as bactericides in prevention and treatment of bacterial diseases and citrus canker of crops. The quinolone compounds comprise floroxacin, enofloxacin, gatifloxacin, moxifloxacin hydrochloride, enrofloxacin, marbofloxacin, floxacin, mononorfloxacin mesylate, prulifloxacin, Balofloxacin, pazufloxacin mesylate, pipemidic acid, sparfloxacin, difloxacin hydrochloride, lomefloxacin hydrochloride, pefloxacin, tosufloxacin mesylate, Cinoxacin, galafloxacin, besifloxacin hydrochloride, ofloxacin, nalidixic acid, Clinafloxacin and Sitafloxacin. The quinolone compounds can be used for preventing and treating bacterial diseases caused by citrus canker pathogens, especially gatifloxacin, moxifloxacin hydrochloride, mononorfloxacin mesylate, sparfloxacin, tosufloxacin mesylate, clinafloxacin and sitafloxacin, has excellent bacteriostatic activity on citrus canker pathogens, and can be used for preventing and treating bacterial diseases of crops.