An enhanced recovery process injecting foam to reduce the mobility of a driving gas and improve its sweep.