In this study, an environmentally friendly magnetic dispersive micro solid-phase extraction was developed based on a deep eutectic solvent as a carrier and disperser of ferrofluids for the isolation and preconcentration of meloxicam from biological samples. The extracted analyte was then analyzed by high performance liquid chromatography with ultraviolet detection (HPLC-UV). The ferrofluid was prepared via a combination of silica-coated magnetic nanoparticles and an ethylene glycol/choline chloride deep eutectic solvent as a carrier. In this method, the rapid injection of the magnetic nanoparticles into the sample solution using a green carrier liquid increased the contact surface between the adsorbent and the target analyte which reduced the amount of the adsorbent and extraction time. A fractional factorial design was used for screening some effective parameters such as the amount of SiO2@Fe3O4, extraction time, pH of the sample solution, amount of the salt, volume of the desorption solvent, and desorption time. The effective parameters were then optimized by central composite design. Optimized extraction conditions were: amount of SiO2@Fe3O4 of 2 mg; extraction time of 1 min; pH of the sample solution of 4; volume of the desorption solvent of 200 mL; and desorption time of 2 min. Under the optimal conditions, wide linear ranges of 5–500 mg L1 for water and 10–500 mg L1 were obtained for urine and plasma samples with acceptable extraction recoveries above 89.2%. Limit of detections (LODs) were in the range of 1.5–3.0 mg L1. The enrichment factors achieved were above 44.6 with relative standard deviations lower than 6.2%.