Shell's experimental in-situ oil shale facility, Piceance Basin, Colorado

Shale oil extraction is an industrial process for unconventional oil production. This process converts kerogen in oil shale into shale oil by pyrolysis, hydrogenation, or thermal dissolution. The resultant shale oil is used as fuel oil or upgraded to meet refinery feedstock specifications by adding hydrogen and removing sulfur and nitrogen impurities. Shale oil extraction is usually performed above ground (ex situ processing) by mining the oil shale and then treating it in processing facilities. Other modern technologies perform the processing underground (on-site or in situ processing) by applying heat and extracting the oil via oil wells. The earliest description of the process dates to the 10th century. The industry shrank in the mid-20th century following the discovery of large reserves of conventional oil, but high petroleum prices at the beginning of the 21st century have led to renewed interest. As of 2010, major long-standing extraction industries are operating in Estonia, Brazil, and China. Its economic viability varies with the ratio of local energy input costs to energy output value. National energy security issues have also played a role in its development. Critics of shale oil extraction pose questions about environmental management issues, such as waste disposal, extensive water use and waste water management, and air pollution.