A mobile terminal and auto-focusing method for the same are disclosed. The
auto-focusing method uses a lens position error compensation and
includes: detecting a target object during a photograph mode; determining
a lens position at which a focus value gradient related to the detected
target object changes sign while moving a lens of the camera module in
units of one step size; and performing lens position compensation by
moving the lens to the found lens position. As a result, the lens
position errors caused by a conventional a voice coil motor are
compensated, thereby providing rapid and fine auto-focusing.