The invention discloses a washing machine for automobile parts. The washing machine comprises a washing box, an oil collecting groove, a sludge discharging groove, an ultrasonic vibrating box, a waterinjecting device, a containing device, a power plug, a switch panel and a waste water treating device, wherein the waste water treating device comprises an electric track arranged above the washing box, an oil collecting plate arranged on the electric track, a first straight arm arranged at the left end of the oil collecting plate, a second straight arm arranged at the right end of the oil collecting plate, a sludge scraping assembly arranged below the oil collecting plate, a rotating part a and a rotating part b. According to the washing machine for the automobile parts, through the waste water treating device, oil stains on the upper layer of waste water and sludge on the lower layer of the waste water are removed, so that clean rest water bodies are reserved, the parts cannot be polluted by the oil stains after being taken out, secondary washing is not required, washing procedures are reduced, and water resources are saved; and meanwhile, when a next batch of parts is washed, the water only continues to the target water level on the basis of the clean water retained previously, so that the water is saved.