A new flavin catalyst 2 immobilized in an ionic liquid ([BMIm]PF6) was used for the highly selective oxidation of sulfides to sulfoxides by hydrogen peroxide. The sulfoxides were obtained in good to high yields and high selectivity without any detectable overoxidation to sulfone. The catalyst in the ionic liquid was recycled up to seven times without loss of activity or selectivity.