A novel corrosion and scale inhibitor has been prepared by using sodium of polyaspartic acid, polyepoxysuccinic acid,sodium gluconate and synergy as raw materials. The performance of corrosion and scale inhibition were evaluated by hanging-piece corrosion test and scale inhibition test. The results showed that the dosage of the corrosion inhibitor was 100 mg / L,the corrosion inhibiting rate reached 89. 04%,having good corrosion inhibition performance. Anti-scaling performance was significantly better than the corrosion inhibitors which have frequently used by oilfields.