A mobile terminal and a method of controlling the same are disclosed, by which a snooze function for an alarm can be activated depending on whether a user sleeps after outputting the alarm. The mobile terminal may include a sensor (190) configured to sense information associated with a user, a memory (160) configured to store prescribed alarm settings, an output unit (150) configured to provide an alarm based on the stored alarm settings, a controller (180) configured to control the alarm based on the sensed information, wherein the controller configured to control the output unit to output the alarm based on the alarm settings, control the sensor to sense the information associated with the user after the alarm is provided, determine whether the sensed information corresponds to a sleep state of the user, and automatically activate a snooze function when the sensed information corresponds to the sleep state.