The lubricity of diesel fuel was determined by using the highfrequency reciprocating rig (HFRR) test. Based on the physicochemical properties of the fractions of low sulfur and ultralow sulfur diesel fuels from hydrorefining, hydrogen under medium pressure and hydrocracking, the relationship between lubricity and properties of diesel fuels was analyzed. By using the stepwise regression method, the prediction model where the content of sulfur was below 200 μg per gram for the hydrogenation diesel fuel was established with a relative error within 7%. According to this model, the lubricity of ultralow sulfur diesel with high viscosity, high nitrogen content, and lowcyclanes is better. The model can well predict the lubricity of the ultralow sulfur diesel fuel and hydrofining diesel fuel.