A green and simple method, ionic liquid-based microwave-assisted surfactant-improved dispersive liquid–liquid microextraction and derivatization was developed for the determination of aminoglycosides in milk samples. Nonionic surfactant Triton X-100 and ionic liquid 1-hexyl-3-methylimidazolium hexafluorophosphate were used as the disperser and extraction solvent, respectively. Extraction, preconcentration, and derivatization of aminoglycosides were carried out in a single step. Several experimental parameters, including type and volume of extraction solvent, type and concentration of surfactant, microwave power and irradiation time, concentration of derivatization reagent, and pH value and volume of buffer were investigated and optimized. Under the optimum experimental conditions, the linearities for determining the analytes were in the range 0.4–10.0 ng/mL for tobramycin, 1.0–25.0 ng/mL for neomycin, and 2.0–50.0 ng/mL for gentamicin, with the correlation coefficients ranging from 0.9991 to 0.9998. The LODs for the analytes were between 0.11 and 0.50 ng/mL. The present method was applied to the analysis of different milk samples, and the recoveries of aminoglycosides obtained were in the range 96.4–105.4% with the RSDs lower than 5.5%. The results showed that the present method was a rapid, convenient, and environmentally friendly method for the determination of aminoglycosides in milk samples.