Nalmefene and naltrexone are used to block the effects of narcotics and alcohol. In the present work, for the first time a microextraction technique was presented to reduce matrix interferences and improve detection limits of the drugs in urine and plasma samples. Electromembrane extraction (EME) followed by high performance liquid chromatography (HPLC) coupled with ultraviolet (UV) detection was optimized and validated for quantification of nalmefene and naltrexone from biological fluids. The membrane consists 85% of 2-nitrophenyl octyl ether (NPOE) and 15% di-(2-ethylhexyl) phosphate (DEHP) immobilized in the pores of a hollow fiber. A 100 V electrical field was applied to make the analytes migrate from sample solution with pH 2.0, through the supported liquid membrane (SLM) into an acidic acceptor solution with pH 1.0 which was located inside the lumen of hollow fiber. Extraction recoveries in the range of 54% and 75% were obtained in different biological matrices which resulted in preconcentration factors in the range of 109–149 and satisfactory repeatability (2.0 < RSD% < 8.3). The method offers good linearity with estimation of coefficient higher than 0.9946. Finally, it was applied to determination and quantification of drugs in human plasma and urine samples and satisfactory results were yielded.