An effective and sensitive method for simultaneous analysis of malachite green (MG), enrofloxacin (ENFLX) and ciprofloxacin (CPFLX) by liquid chromatography-diode array detection with solid-phase extraction (SPE) is developed. The conditions of SPE and LC were investigated and optimised. The effective separation of these compounds was achieved using a ZY1104 C18 column (250 × 4.6 mm, 5 μm) with 20 mM tetrabutyl ammonium bromide (pH 3.0)-acetonitrile as mobile phase and gradient elution. The diode array detection was used at 278 nm for ENFLX and CPFLX and at 613 nm for MG. Under the optimal conditions, the method LOD values of MG, ENFLX and CPFLX were 0.01, 0.07 and 0.10 μg L( -1) for fish farming water samples and 1.5, 10.5 and 15 μg kg( -1) for fish feed samples, respectively. The relative recoveries of the three analytes were achieved to be 76.7-82.3% with the RSDs (n = 5) of 3.2-4.6% for spiked fish farming water samples and 78.8-93.7% with the RSDs (n = 5) of 3.1-4.8% for spiked fish feed samples.