Although the invention method of injecting foaming agent and steam into production wells is effective with any foaming agent, the method works particularly well with foaming agents of the general formula: RO(R'O)n RSO3- M+,where R is an alkyl radical, branched or linear or an alkylaryl radical such as an alkylbenzene, alkyltoluene or alkylxylene group, having from about 8 to about 24 carbon atoms