This extraction uses a specific solvent to selectively remove the undesirable components of low lubricating oil quality naturally present in crude oil distillate and residual stocks. The unit produces paraffinic or naphthenic raffinates suitable for further processing into lube base stocks. The process selectively removes aromatics and compounds containing heteroatoms such as oxygen, nitrogen or sulfur.