A method of recovery of casting-head gases produced at oil stripping provides absorption of Chydrocarbons from casting-head gases by at least partially oil stripped: for gases of second and subsequent separation stages with pressure higher than the pressure of said gases separation preferably using a fluid-jet ejector; for gases of the first stage separation using an absorber. Oil with hydrocarbons absorbed from casting-head gases is transported by a pipeline to further transfer or oil processing, where Chydrocarbons are recovered by known methods. The method can be used in oil industry.