Magnetic multiwall carbon nanotubes immobilized with 1-buthyl-3-methyl-immidazolium tetra chloroferrate ionic liquid as an efficient adsorbent was synthesized to remove dibenzothiophene from n-hexane. SEM-EDX, FT-IR, NMR, and Mass spectrometry were used for characterization of the synthesized ionic liquid and magnetic sorbent. Central composite design (CCD) was applied to achieve the optimum conditions for three influential parameters of temperature, time, and sorbent mass. At the predicted conditions, temperature of 23.2 °C, time of 24.7 min, and sorbent mass of 0.836 g, the sulfur removal of 97.9 ± 0.5% was experimentally obtained which was close to the model sulfur removal prediction of 98.4%. This noticeable agreement proved the proper and acceptable estimation of the central composite design model for the proposed process.