The invention provides a method for accurately measuring the 
nuclear magnetic resonance porosity of oil-containing shale. According to the method, 
nuclear magnetic resonance T2 spectral distribution and 
porosity of 
kerosene shale different in 
waiting time and echo interval are measured, the oil-containing shale 
porosity is compared with the 
helium porosity with respect to calibration 
waiting time and echo intervals, and the 
nuclear magnetic resonance T2 spectral distribution obtained at the time of the optimum 
echo time and the echo interval can represent reservoir 
physical property traits of the oil-containing shale. According to the method, factors influencing the measuring accuracy of the nuclear magnetic 
resonance porosity of the oil-containing shale are ascribed to the type and measurement parameters (
waiting time and echo intervals) of sample saturated fluid, and the hydration influence of a shale sample is eliminated through saturated 
kerosene; the optimum waiting time and echo intervals are calibrated by analyzing T2 spectral distribution variation and the 
helium porosity; by means of the method, nuclear magnetic 
resonance T2 spectral distribution and porosity of the 
kerosene shale different in waiting time and echo interval are measured, thus the optimum measurement parameters which can accurately represent the porosity of the oil-containing shale can be obtained, test operation is simple and easy to conduct, and 
operability is great.