A method for controlling a laundry treating apparatus, the method comprising: a first foreign substance separation operation of rotating a drum rotatably disposed inside a tub with water stored therein to remove foreign substances from the laundry via the friction with water; a first draining operation of draining water inside the tub to an outside of the tub; a first maintaining operation (S110, S1100) of maintaining a first speed after a rotation speed of the drum reaches the preset first speed; a first measurement operation (S150, S1500) of measuring a magnitude of unbalance occurring in the drum while the drum rotates at the first speed; a second maintaining operation (S210, S2100) of maintaining a second speed after accelerating the rotation speed of the drum to the preset second speed when a first measured value measured in the first measurement operation is equal to or less than a preset first reference value (S170, S1700); a second measurement operation (S250, S2500) of measuring a magnitude of unbalance occurring in the drum while the drum rotates at the second speed; a first stop operation (S300, S3300) of stopping the rotation of the drum when a second measured value measured in the second measurement operation is equal to or less than a preset second reference value (S270, S2700); and a first dehydration operation (S600, S3600) of removing water from the laundry by accelerating the drum to a third speed set higher than the second speed, characterized in that the first dehydration operation is stopped when a magnitude of unbalance of the drum measured while accelerating the drum to the third speed is greater than a preset unbalance reference value, wherein the unbalance reference value is set based on the second measured value, wherein the unbalance reference value is set based on a first number of times, wherein the first number of times is the number of times the second measured value is equal to or smaller than the second reference value when the first maintaining operation, the first measurement operation, the second maintaining operation, the second measurement operation, and the stop operation of stopping the rotation of the drum are repeated a preset number of repetitions. a first foreign substance separation operation of rotating a drum rotatably disposed inside a tub with water stored therein to remove foreign substances from the laundry via the friction with water; a first draining operation of draining water inside the tub to an outside of the tub; a first maintaining operation (S110, S1100) of maintaining a first speed after a rotation speed of the drum reaches the preset first speed; a first measurement operation (S150, S1500) of measuring a magnitude of unbalance occurring in the drum while the drum rotates at the first speed; a second maintaining operation (S210, S2100) of maintaining a second speed after accelerating the rotation speed of the drum to the preset second speed when a first measured value measured in the first measurement operation is equal to or less than a preset first reference value (S170, S1700); a second measurement operation (S250, S2500) of measuring a magnitude of unbalance occurring in the drum while the drum rotates at the second speed; a first stop operation (S300, S3300) of stopping the rotation of the drum when a second measured value measured in the second measurement operation is equal to or less than a preset second reference value (S270, S2700); and a first dehydration operation (S600, S3600) of removing water from the laundry by accelerating the drum to a third speed set higher than the second speed, characterized in that the first dehydration operation is stopped when a magnitude of unbalance of the drum measured while accelerating the drum to the third speed is greater than a preset unbalance reference value, wherein the unbalance reference value is set based on the second measured value, wherein the unbalance reference value is set based on a first number of times, wherein the first number of times is the number of times the second measured value is equal to or smaller than the second reference value when the first maintaining operation, the first measurement operation, the second maintaining operation, the second measurement operation, and the stop operation of stopping the rotation of the drum are repeated a preset number of repetitions.