In this research, it was attempted to describe in vitro the efficiency of a natural polymer synthesized from sugarcane waste by bacteria for application in enhanced crude oil recovery. Necessary experiments were carried out with the main targets of extraction and description of the polymer and its effectiveness in enhanced oil recovery. It is shown that in the polymer concentrations of 1, 2, 5, and 8 wt%, the viscosity is equal to 26.08, 76.51, 100.94, and 168.36 mPa s. A shear‐thinning flow behavior is observed at initial shear rates. The sandstone wettability alteration is observed through the contact angles at concentrations of 1, 2, 5, and 8 wt% that are 85.93°, 72.19°, 76.51°, and 71.09°, respectively. Based on salinity compatibility, the polymer work up to a salinity of 90 000 ppm and based on viscosity tests, up to a salinity of 120 000 ppm. Regarding the performance of the polymer solution against temperature, it shows an acceptable performance in increasing the viscosity at the highest temperature of 75 °C. The water cut reaches its minimum of 8%, and then increases. By injecting 3.3 Pore volum (PV), the oil recovery reaches 81.4%. In a polymeric slug injection program, the oil recovery factor reaches 74.8%.Similarly, the water cut starts to decrease after the injection of polymer, and finally, after the injection of 0.9 PV including 0.5 PV of the polymer solution and 0.4 PV of water, reaches its minimum during the experiment, i.e., 22%.