The protection of steel surfaces from wear under extreme pressure conditions is of major importance in several industries as it provides better performance and longer life of machinery. The motivation for this work was to study the lubrication of steel by ionic liquids (ILs), which have recently emerged as greener alternatives to commercial lubricants and additives. Three ILs based on sulfur-containing anions, used as 2-wt% additives in polyethylene glycol base oil (MW 200; PEG 200), were tested in the lubrication of ASTM 52100 bearing steel contacts in extreme pressure conditions (under mixed lubrication with a Hertzian pressure of 1.12 GPa) using a mini traction machine (MTM). Due to the poor resistance to corrosion of bearing steel, a semi-ester of succinic acid derivative corrosion inhibitor (Lanxess RC 4801) was added to the mixtures at a 1 wt% concentration. The ILs 1-hexyl-methylimidazolium trifluoromethanesulfonate ([C6mim][TfO]) and 1-hexyl-4-picolinium trifluoromethanesulfonate ([C6-4-pic][TfO]) revealed promising results in terms of surface protection of bearing steel. In contrast, 4-picolinium hydrogen sulfate ([4-picH][HSO4]) as 2-wt% additive to PEG 200 + 1% RC 4801 did not show any improvement in wear performance compared to neat PEG 200 + 1% RC 4801. PEG 200 + 2% [C6mim][TfO] + 1%RC 4801 allowed for a decrease in wear up to ~ 76% and PEG 200 + 2% [C6-4-pic][TfO] + 1%RC 4801 up to ~ 46% when compared with neat PEG 200 + 1% RC 4801. Optical microscopy images suggest the formation of an adsorbed layer, which was further supported by chemical analysis via x-ray photoelectron spectroscopy (XPS) data for [C6mim][TfO]. Graphical abstract