In this paper, a highly selective sample clean-up procedure combining magnetic dummy molecular imprinting with solid-phase extraction was developed for rapid separation and determination of 4-nonylphenol (NP) in the environmental water samples. The magnetic dummy molecularly imprinted polymers (mag-DMIPs) based on multi-walled carbon nanotubes were successfully synthesized with a surface molecular imprinting technique using 4-tert-octylphenol as the dummy template and tetraethylorthosilicate as the cross-linker. The maximum adsorption capacity of the mag-DMIPs for NP was 52.4mgg −1 and it took about 20min to achieve the adsorption equilibrium. The mag-DMIPs exhibited the specific selective adsorption toward NP. Coupled with high performance liquid chromatography analysis, the mag-DMIPs were used to extract solid-phase and detect NP in real water samples successfully with the recoveries of 88.6–98.1%.