This paper constructs a three-dimensional transient hydrodynamic lubrication model for cylinder liner-piston ring based on the three-dimensional transient average Reynolds equation and asperity contact model. A computer program was written with FORTRAN to calculate hydrodynamic lubrication, in which the surface roughness, the variable viscosity effect and the deformation of the circumferential direction of the cylinder liner are taken into account. The film pressure distribution in different crank angle during the stroke, minimum film thickness and friction are computed and analyzed with this program. This three-dimensional transient hydrodynamic lubrication model provides a design basis for the friction analysis of cylinder liner-piston ring.