A study is made of the characteristics of the displacement of paraffinic oil by hot and cold water in the presence of a gaseous phase. For this purpose, a mathematical model of the process is developed which is based on the laws of conservation of mass and energy. A combination of studies with the aid of this model for linear and radial flows in homogeneous and multilayer inhomogeneous formations shows that the effect of the gaseous phase on the filtration process must be taken into account when working oil fields by water injection.