Iron nanoparticles were prepared by a green method following functionalization using 1-butyl-3-methylimidazolium bromide. 1-Butyl-3-methylimidazole iron nanoparticles were characterized using FTIR spectroscopy, energy dispersive X-ray fluorescence, X-ray diffraction, scanning electron microscopy and transmission electron microscopy. The nanoparticles were used in solid-phase membrane micro-tip extraction to separate vitamin B complex from plasma before high-performance liquid chromatography. The optimum conditions obtained were sorbent (15 mg), agitation time (30 min), pH (9.0), desorbing solvent [water (5 mL) + methanol (5 mL) + sodium hydroxide (0.1 N) + acetic acid (d = 1.05 kg/L, pH 5.5), desorbing volume (10 mL) and desorption time (30 min). The percentage recoveries of all the eight vitamin B complex were from 60 to 83%. A high-performance liquid chromatography method was developed using a PhE column (250 × 4.6 mm, 5.0 μm) and water/acetonitrile (95:5, v/v; pH 4.0 with 0.1% formic acid) mobile phase. The flow rate was 1.0 mL/min with detection at 270 and 210 nm. The values of the capacity, separation and resolution factor were 0.57-39.47, 1.12-6.00 and 1.84-26.26, respectively. The developed sample preparation and chromatographic methods were fast, selective, inexpensive, economic and reproducible. The developed method can be applied for analyzing these drugs in biological and environmental matrices.