The invention provides an eccentricity detection method for a washing machine. The method comprises the following steps: S1, entering a washing procedure; S2, reading the value of an acceleration sensor to obtain an inclination angle of a corresponding outer drum; S3, judging whether the inclination angle of the outer drum is greater than a preset value; S4, if the judgment result is yes, controlling a motor to perform a certain period of time of eccentric treatment, then returning to S3, and if the judgment result is no, entering next step; S5, judging whether the washing time is ended; and S6, if the judgment result is yes, detecting and correcting the inclination angle and then ending the washing procedure, and if the judgment result is no, returning to S2. The method provides an active detection mode, namely whether the washing machine is eccentric during washing and bleaching is detected by utilizing the acceleration sensor, and the corresponding eccentric treatment is performed if the washing machine is eccentric, so that a drum collision phenomenon caused by high eccentricity during dewatering in the washing machine is avoided, and the service life of the washing machine is prolonged.