Although continued growth in unconventional oil and gas production is generally projected, its long-term growth potential and sustainability have significant uncertainties. A critical problem is the low hydrocarbon recovery rates from shale and other tight formations using the horizontal well drilling and hydraulic fracturing techniques: <
10% for tight oil and ~ 20% for shale gas. Moreover, the production rate for a given well typically declines rapidly within one year. The low recoveries and declining production of shale oil and gas reservoirs are apparently related to the small porosity (a few to a few hundred nm) and low permeability (10<
sup>
?16<
/sup>
?10<
sup>
?20<
/sup>
m<
sup>
2<
/sup>
) of shale matrix, which make the enclosed hydrocarbon fluids difficult to access. Furthermore, to enhance the hydrocarbon recovery from shale matrix, it is essential to study its nanopore structure and confined fluid behavior.