The stability of foam has been a topic of interest in many industries, as the foam is commonly used in products such as food, cosmetics, cleaning agents, and enhanced oil recovery. However, the presence of oil can significantly influence the stability of foam, affecting its quality and performance. Understanding the link between oil and foam stability is crucial for several industries to uphold the effectiveness and consistency of their products. The stability of foam in the presence of oil is a critical issue for its application in oil recovery. To achieve proper mobility control, the foam must remain stable while it comes in contact with oil. . According to certain research, the oil phase destabilizes the generated foam, this interaction depletes the liquid content in the thin films (lamellae) that separate gas bubbles in the foam . Additionally, the presence of oil changes the wettability of the rock and disturbs the gas- as a bridge between gas bubbles, respectively (Table ) . These mechanisms lead to the coalescence and subsequent reduction in the stability of the foam structure . where σgw is the surface tension between gas and water, σow is the interfacial tension between oil and water, and σgo is the surface tension between gas and oil.