Shale oil, produced from oil shale of the Rocky Mountain region by many of the usual retorting processes, consists mainly of high boiling compounds of nitrogen, sulfur, and oxygen; less than half is hydrocarbons. Gasoline boiling-range naphtha has been produced in a yield of 49.6 percent by volume by recycle thermal cracking of the crude The raw naphtha, of poor quality, was upgraded by dilute acid and caustic treatment followed by concentrated sulfuric acid treatment. Hydrofining thermally cracked naphtha at 400 and 800 psig produced hotter yields of stable gasoline with slightly lower clear octane numbers but higher leaded octane numbers. Recycle hydrocracking of crude shale oil at 3,000 psig produced over 100 percent by volume of stable, low-sulfur, and low-nitrogen gasoline with low octane numbers. Hydrotreating of a naphtha from hydrocracking crude shale oil, to reduce its nitrogen content to 7 pm, followed by catalytic reforming raised its octane numbers to 89, clear, and 99 with 3 ml of TEL.