Here, task-specific ionic liquid solid-phase extraction is proposed for the first time. In this approach, a thiourea-functionalized ionic liquid is immobilized on the solid sorbent, multiwalled carbon nanotubes. These modified nanotubes packed into a solid-phase extraction column are used for the selective extraction and preconcentration of ultra-trace amounts of lead(II) from aqueous samples prior to electrothermal atomic absorption spectroscopy determination. The thiourea functional groups act as chelating agents for lead ions retaining them and so, give the selectivity to the sorbent. Elution of the retained ions can be performed using an acidic thiourea solution. The effects of experimental parameters including pH of the aqueous solution, type and amount of eluent, and the flow rates of sample and eluent solutions on the separation efficiency are investigated. The linear dependence of absorbance of lead on its concentration in the initial solution is in the range of 0.5-40.0 ng/mL with the detection limit of 0.13 ng/mL (3(Sb)/m, n = 10). The proposed method is applicable to the analysis of red lipstick, pine leaves, and water samples for their lead contents.