Abstract: In situ carbon dioxide (CO2) foam flooding has proved to be economically feasible in the oil field, but its self‐generation behavior in the bulk scale/porous media is far from understood. In this study, the optimum in situ CO2‐foaming agent was first screened, and then in situ foam was investigated in the bulk. In situ foam flooding was conducted to evaluate the displacement characteristics and enhanced oil recovery of this system. The results showed that the foaming agent comprising 0.5% sodium dodecyl sulfonate (SDS) + 0.5% lauramido propyl hydroxyl sultaine (LHSB) gave the best foam properties and that the in situ CO2 foam with a slow releasing rate is effective both in bulk scale and in porous media, allowing a considerable enhancement of oil recovery in sand packs with different permeabilities. [ABSTRACT FROM AUTHOR]