A mobile terminal comprising: a first frame ; a second frame configured to slidably move with respect to the first frame in a first direction to switch from a first state to a second state and in a second direction opposite to the first direction to switch from the second state to the first state; and a driving unit configured to control a slide movement of the second frame , wherein the driving unit comprises: a motor coupled to the first frame ; a pinion gear rotated by a rotational force transferred from the motor ; a first rack gear extended in the first direction and configured to linearly move in the first direction or the second direction in accordance with rotation of the pinion gear ; a second rack gear disposed to be overlapped with the first rack gear in a forward or backward direction in the first state and disposed to release an overlap state with the first rack gear in the second state, the second rack gear comprising a rack guide protrusion protruding in a third direction perpendicular to a moving direction of the second rack gear ; and a rack guide rail receiving the rack guide protrusion , wherein the second rack gear comprises the rack guide protrusion and wherein the rack guide rail comprises a horizontal portion extended in the first direction and an inclined portion extended from an end portion of the second rack gear of the horizontal portion to form a slope. a first frame ; a second frame configured to slidably move with respect to the first frame in a first direction to switch from a first state to a second state and in a second direction opposite to the first direction to switch from the second state to the first state; and a driving unit configured to control a slide movement of the second frame , wherein the driving unit comprises: a motor coupled to the first frame ; a pinion gear rotated by a rotational force transferred from the motor ; a first rack gear extended in the first direction and configured to linearly move in the first direction or the second direction in accordance with rotation of the pinion gear ; a second rack gear disposed to be overlapped with the first rack gear in a forward or backward direction in the first state and disposed to release an overlap state with the first rack gear in the second state, the second rack gear comprising a rack guide protrusion protruding in a third direction perpendicular to a moving direction of the second rack gear ; and a rack guide rail receiving the rack guide protrusion , wherein the second rack gear comprises the rack guide protrusion and wherein the rack guide rail comprises a horizontal portion extended in the first direction and an inclined portion extended from an end portion of the second rack gear of the horizontal portion to form a slope. a motor coupled to the first frame ; a pinion gear rotated by a rotational force transferred from the motor ; a first rack gear extended in the first direction and configured to linearly move in the first direction or the second direction in accordance with rotation of the pinion gear ; a second rack gear disposed to be overlapped with the first rack gear in a forward or backward direction in the first state and disposed to release an overlap state with the first rack gear in the second state, the second rack gear comprising a rack guide protrusion protruding in a third direction perpendicular to a moving direction of the second rack gear ; and a rack guide rail receiving the rack guide protrusion , wherein the second rack gear comprises the rack guide protrusion and wherein the rack guide rail comprises a horizontal portion extended in the first direction and an inclined portion extended from an end portion of the second rack gear of the horizontal portion to form a slope. <EOS>