Polymeric ionic liquid-coated magnetic nanoparticles have been successfully prepared as adsorbents for the magnetic solid-phase extraction of four drugs, namely alfuzosin, doxazosin, terazosin and prazosin, from pharmaceutical preparations, urine samples and plasma samples. The four drugs were detected by fluorescence spectrophotometer. Several extraction parameters, including the pH of the solution; the type, ratio and volume of the desorbing reagent; the amount of adsorbent; the time of the extraction and desorption processes; and the addition of NaCl, were investigated and optimized. Linear responses were determined for the four drugs in the concentration range of 0.5 - 45 ng mL(-1). The limit of detection values for alfuzosin, doxazosin, terazosin and prazosin, which were defined as three times the standard deviation of a blank sample, were determined to be 0.035, 0.034, 0.027 and 0.028 ng mL(-1) (n = 11), respectively. Furthermore, this new method gave preconcentration factors of 114.5, 111.3, 111.1 and 108.5 for these four drugs.