The paper reviews properties of room temperature ionic liquids (RTILs) as electrolytes for lithium and lithium-ion batteries. It has been shown that the formation of the solid electrolyte interface (SEI) on the anode surface is critical to the correct operation of secondary lithium-ion batteries, including those working with ionic liquids as electrolytes. The SEI layer may be formed by electrochemical transformation of (i) a molecular additive, (ii) RTIL cations or (iii) RTIL anions. Such properties of RTIL electrolytes as viscosity, conductivity, vapour pressure and lithium-ion transport numbers are also discussed from the point of view of their influence on battery performance.