The invention discloses a medicine for preventing and treating goldfish swim bladder disorder. The medicine contains the following raw materials: vegetable-and-fruit enzyme powder, herba plantaginis, rhizoma coptidis, radix astragali, cortex phellodendri, herba portulacae, tangerine peels, radix Aucklandiae, citrus aurantium, fructus aurantii, spikenard, sword beans, persimmon calyx, dried tangerine peels, fructus schizandrae, lycium barbarum, radix rehmanniae, dioscorea opposita, propolis, sulfamethoxazole and trimethoprim. The medicine can be used for remarkably improving the immune disease resistance of goldfish to swim bladder disorder and plays a role in treating the goldfish swim bladder disorder; the formula has the effects of aiding digestion, diminishing inflammation, resisting bacteria, benefiting intestines, and the like and has obvious effects of calming and lowering reversed flow of Qi, eliminating stagnation of Qi, treating enteritis, expelling toxins and improving toxin resistance of livers. The medicine for preventing and treating the goldfish swim bladder disorder and fish feed are combined and are made into granules of different grain sizes, and thus, the cure rate of the goldfish swim bladder disorder reaches 90% or more.