In this work, the desulfurization ability of the 1-hexyl-2,4-dimethylpyridinium bis(trifluoromethylsulfonyl)imide ionic liquid, [h 2,4 mmpy][NTf 2 ], has been compared with that of 1-hexyl-3,5-dimethylpyridinium bis(trifluoromethylsulfonyl)imide, [h 3,5 mmpy][NTf 2 ]. With this aim, liquid–liquid equilibrium data have been obtained for the [h 2,4 mmpy][NTf 2 ]+thiophene+toluene, [h 2,4 mmpy][NTf 2 ]+thiophene+hexane and [h 2,4 mmpy][NTf 2 ]+pyridine+hexane ternary systems at 298.15K and atmospheric pressure. The obtained data have been adequately correlated using the UNIQUAC and NRTL models. The suitability of both ionic liquids as solvents for extractive desulfurization has been evaluated in terms of solute distribution ratio and selectivity.