Using oily sludge from Karamay Oilfield in Xinjiang as research object,the treatment conditions were optimized for oily sludge with organic solvent extraction and surfactant washing under ultrasonic condition through the single factor experiment.When the oily sludge was extracted by petroleum ether under the optimum conditions as follows:treatment temperature of 55 ℃,ultrasonic intensity of 320 W,treatment time of 5 min,liquid-solid ratio of 7.5 L·g-1,the residual oil content decreased to 6%.And when the oily sludge was furtherly washed by SDBS-OP-10(1∶1)under the optimum conditions as follows:treatment temperature of 55 ℃,ultrasonic intensity of 320 W,treament time of 11 min,liquid-solid ratio of 15.0 L·g-1,pH value of 5,the residual oil content was only about 0.6%.