The invention discloses an oil-water separator comprising a water inlet, a water outlet, a container, a movable filter residue bucket, a fixed filter net, an 
oil storage area, a vortex shallow filter, a 
sludge bucket, an electronic integration controller, an oil suction port, a 
slag suction port and a 
biological filter disc, wherein the fixed filter net finely filters the 
wastewater; an oil drop of which the 
diameter is 10-100 microns is separated and ascended to the 
oil storage area in the vortex shallow filter; the 
sludge bucket concentrates the waste residue; the waste residue descends to the bottom of the 
sludge bucket to be gathered under the effect of gravity after participating on the sludge bucket; the oil suction port is used for absorbing oil; the 
slag suction port is used for absorbing the 
slag; the 
biological filter disc is used for discharging the residual 
sewage. By adopting the oil-water separator, the environment-friendly problem of emission of restaurant waste water is solved, so that the discharged water achieves the corresponding national emission standards, the congestion problems of drainage pipelines caused by 
waste oil wall built-up are solved, separated excessive oil impurities are solved, and the 
processing link of restaurant 
waste oil in specified use is reduced.