The invention discloses application of an enrofloxacin salt in preparation of an oral preparation for pigs. The enrofloxacin salt is at least one of salts formed by enrofloxacin and metal ions, and the metal ions are zinc, copper, calcium, magnesium, iron, cobalt, manganese, chromium, silver or nickel. The enrofloxacin salt formed by the enrofloxacin and the metal ions can significantly improve the palatability of the enrofloxacin to pigs; furthermore pharmacokinetics and artificial infection prove that the enrofloxacin salt formed by the enrofloxacin and the metal ions does not affect bioavailability, so enrofloxacin salt can be developed into the oral preparation administrated via the digestive tract, for pig-raising without affecting normal feed intake of the pigs.